changes.txt revision 210976
1117521Snjl----------------------------------------
2210976Sjkim06 August 2010. Summary of changes for version 20100806:
3210976Sjkim
4210976Sjkim1) ACPI CA Core Subsystem:
5210976Sjkim
6210976SjkimDesigned and implemented a new host interface to the _OSI support code. This 
7210976Sjkimwill allow the host to dynamically add or remove multiple _OSI strings, as 
8210976Sjkimwell as install an optional handler that is called for each _OSI invocation. 
9210976SjkimAlso added a new AML debugger command, 'osi' to display and modify the global 
10210976Sjkim_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
11210976Sjkimreference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
12210976SjkimNew Functions:
13210976Sjkim    AcpiInstallInterface - Add an _OSI string.
14210976Sjkim    AcpiRemoveInterface - Delete an _OSI string.
15210976Sjkim    AcpiInstallInterfaceHandler - Install optional _OSI handler.
16210976SjkimObsolete Functions:
17210976Sjkim    AcpiOsValidateInterface - no longer used.
18210976SjkimNew Files:
19210976Sjkim    source/components/utilities/utosi.c
20210976Sjkim
21210976SjkimRe-introduced the support to enable multi-byte transfers for Embedded 
22210976SjkimController (EC) operation regions. A reported problem was found to be a bug 
23210976Sjkimin the host OS, not in the multi-byte support. Previously, the maximum data 
24210976Sjkimsize passed to the EC operation region handler was a single byte. There are 
25210976Sjkimoften EC Fields larger than one byte that need to be transferred, and it is 
26210976Sjkimuseful for the EC driver to lock these as a single transaction. This change 
27210976Sjkimenables single transfers larger than 8 bits. This effectively changes the 
28210976Sjkimaccess to the EC space from ByteAcc to AnyAcc, and will probably require 
29210976Sjkimchanges to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
30210976Sjkimtransfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
31210976Sjkim
32210976SjkimFixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
33210976Sjkimprototype in acpiosxf.h had the output value pointer as a (void *).
34210976SjkimIt should be a (UINT64 *). This may affect some host OSL code.
35210976Sjkim
36210976SjkimFixed a couple problems with the recently modified Linux makefiles for iASL 
37210976Sjkimand AcpiExec. These new makefiles place the generated object files in the 
38210976Sjkimlocal directory so that there can be no collisions between the files that are 
39210976Sjkimshared between them that are compiled with different options.
40210976Sjkim
41210976SjkimExample Code and Data Size: These are the sizes for the OS-independent 
42210976Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
43210976Sjkimdebug version of the code includes the debug output trace mechanism and has a 
44210976Sjkimmuch larger code and data size.
45210976Sjkim
46210976Sjkim  Previous Release:
47210976Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
48210976Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
49210976Sjkim  Current Release:
50210976Sjkim    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
51210976Sjkim    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
52210976Sjkim
53210976Sjkim2) iASL Compiler/Disassembler and Tools:
54210976Sjkim
55210976SjkimiASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
56210976Sjkimnamespace from and disassemble an entire group of AML files. Useful for 
57210976Sjkimloading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
58210976Sjkimdisassembling with one simple command. ACPICA BZ 865. Lin Ming.
59210976Sjkim
60210976SjkimiASL: Allow multiple invocations of -e option. This change allows multiple 
61210976Sjkimuses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
62210976SjkimLin Ming.
63210976Sjkim
64210976Sjkim----------------------------------------
65209746Sjkim02 July 2010. Summary of changes for version 20100702:
66209746Sjkim
67209746Sjkim1) ACPI CA Core Subsystem:
68209746Sjkim
69209746SjkimImplemented several updates to the recently added GPE reference count 
70209746Sjkimsupport. The model for "wake" GPEs is changing to give the host OS complete 
71209746Sjkimcontrol of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
72209746Sjkimmethods, since the host already must execute them. Also, additional changes 
73209746Sjkimwere made to help ensure that the reference counts are kept in proper 
74209746Sjkimsynchronization with reality. Rafael J. Wysocki.
75209746Sjkim
76209746Sjkim1) Ensure that GPEs are not enabled twice during initialization.
77209746Sjkim2) Ensure that GPE enable masks stay in sync with the reference count.
78209746Sjkim3) Do not inadvertently enable GPEs when writing GPE registers.
79209746Sjkim4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
80209746Sjkiminterface. This interface will set or clear individual GPEs for wakeup.
81209746Sjkim5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
82209746Sjkimare now used for "runtime" GPEs only.
83209746Sjkim
84209746SjkimChanged the behavior of the GPE install/remove handler interfaces. The GPE is 
85209746Sjkimno longer disabled during this process, as it was found to cause problems on 
86209746Sjkimsome machines. Rafael J. Wysocki.
87209746Sjkim
88209746SjkimReverted a change introduced in version 20100528 to enable Embedded 
89209746SjkimController multi-byte transfers. This change was found to cause problems with 
90209746SjkimIndex Fields and possibly Bank Fields. It will be reintroduced when these 
91209746Sjkimproblems have been resolved.
92209746Sjkim
93209746SjkimFixed a problem with references to Alias objects within Package Objects. A 
94209746Sjkimreference to an Alias within the definition of a Package was not always 
95209746Sjkimresolved properly. Aliases to objects like Processors, Thermal zones, etc. 
96209746Sjkimwere resolved to the actual object instead of a reference to the object as it 
97209746Sjkimshould be. Package objects are only allowed to contain integer, string, 
98209746Sjkimbuffer, package, and reference objects. Redhat bugzilla 608648.
99209746Sjkim
100209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
101209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
102209746Sjkimdebug version of the code includes the debug output trace mechanism and has a 
103209746Sjkimmuch larger code and data size.
104209746Sjkim
105209746Sjkim  Previous Release:
106209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
107209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
108209746Sjkim  Current Release:
109209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
110209746Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
111209746Sjkim
112209746Sjkim2) iASL Compiler/Disassembler and Tools:
113209746Sjkim
114209746SjkimiASL: Implemented a new compiler subsystem to allow definition and 
115209746Sjkimcompilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
116209746Sjkimare called "ACPI Data Tables", and the new compiler is the "Data Table 
117209746SjkimCompiler". This compiler is intended to simplify the existing error-prone 
118209746Sjkimprocess of creating these tables for the BIOS, as well as allowing the 
119209746Sjkimdisassembly, modification, recompilation, and override of existing ACPI data 
120209746Sjkimtables. See the iASL User Guide for detailed information.
121209746Sjkim
122209746SjkimiASL: Implemented a new Template Generator option in support of the new Data 
123209746SjkimTable Compiler. This option will create examples of all known ACPI tables 
124209746Sjkimthat can be used as the basis for table development. See the iASL 
125209746Sjkimdocumentation and the -T option.
126209746Sjkim
127209746SjkimDisassembler and headers: Added support for the WDDT ACPI table (Watchdog 
128209746SjkimDescriptor Table).
129209746Sjkim
130209746SjkimUpdated the Linux makefiles for iASL and AcpiExec to place the generated 
131209746Sjkimobject files in the local directory so that there can be no collisions 
132209746Sjkimbetween the shared files between them that are generated with different 
133209746Sjkimoptions.
134209746Sjkim
135209746SjkimAdded support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
136209746Sjkimthe #define __APPLE__ to enable this support.
137209746Sjkim
138209746Sjkim----------------------------------------
139209746Sjkim28 May 2010. Summary of changes for version 20100528:
140209746Sjkim
141209746SjkimNote: The ACPI 4.0a specification was released on April 5, 2010 and is 
142209746Sjkimavailable at www.acpi.info. This is primarily an errata release.
143209746Sjkim
144209746Sjkim1) ACPI CA Core Subsystem:
145209746Sjkim
146209746SjkimUndefined ACPI tables: We are looking for the definitions for the following 
147209746SjkimACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
148209746Sjkim
149209746SjkimImplemented support to enable multi-byte transfers for Embedded Controller 
150209746Sjkim(EC) operation regions. Previously, the maximum data size passed to the EC 
151209746Sjkimoperation region handler was a single byte. There are often EC Fields larger 
152209746Sjkimthan one byte that need to be transferred, and it is useful for the EC driver 
153209746Sjkimto lock these as a single transaction. This change enables single transfers 
154209746Sjkimlarger than 8 bits. This effectively changes the access to the EC space from 
155209746SjkimByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
156209746SjkimController driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
157209746Sjkimtransfers. Alexey Starikovskiy, Lin Ming
158209746Sjkim
159209746SjkimImplemented a performance enhancement for namespace search and access. This 
160209746Sjkimchange enhances the performance of namespace searches and walks by adding a 
161209746Sjkimbackpointer to the parent in each namespace node. On large namespaces, this 
162209746Sjkimchange can improve overall ACPI performance by up to 9X. Adding a pointer to 
163209746Sjkimeach namespace node increases the overall size of the internal namespace by 
164209746Sjkimabout 5%, since each namespace entry usually consists of both a namespace 
165209746Sjkimnode and an ACPI operand object. However, this is the first growth of the 
166209746Sjkimnamespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
167209746Sjkim
168209746SjkimImplemented a performance optimization that reduces the number of namespace 
169209746Sjkimwalks. On control method exit, only walk the namespace if the method is known 
170209746Sjkimto have created namespace objects outside of its local scope. Previously, the 
171209746Sjkimentire namespace was traversed on each control method exit. This change can 
172209746Sjkimimprove overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
173209746Sjkim
174209746SjkimAdded support to truncate I/O addresses to 16 bits for Windows compatibility. 
175209746SjkimSome ASL code has been seen in the field that inadvertently has bits set 
176209746Sjkimabove bit 15. This feature is optional and is enabled if the BIOS requests 
177209746Sjkimany Windows OSI strings. It can also be enabled by the host OS. Matthew 
178209746SjkimGarrett, Bob Moore.
179209746Sjkim
180209746SjkimAdded support to limit the maximum time for the ASL Sleep() operator. To 
181209746Sjkimprevent accidental deep sleeps, limit the maximum time that Sleep() will 
182209746Sjkimactually sleep. Configurable, the default maximum is two seconds. ACPICA 
183209746Sjkimbugzilla 854.
184209746Sjkim
185209746SjkimAdded run-time validation support for the _WDG and_WED Microsoft predefined 
186209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
187209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
188209746Sjkim
189209746SjkimExpanded all statistic counters used during namespace and device 
190209746Sjkiminitialization from 16 to 32 bits in order to support very large namespaces.
191209746Sjkim
192209746SjkimReplaced all instances of %d in printf format specifiers with %u since nearly 
193209746Sjkimall integers in ACPICA are unsigned.
194209746Sjkim
195209746SjkimFixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
196209746Sjkimas AE_NO_HANDLER.
197209746Sjkim
198209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
199209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
200209746Sjkimdebug version of the code includes the debug output trace mechanism and has a 
201209746Sjkimmuch larger code and data size.
202209746Sjkim
203209746Sjkim  Previous Release:
204209746Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
205209746Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
206209746Sjkim  Current Release:
207209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
208209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
209209746Sjkim
210209746Sjkim2) iASL Compiler/Disassembler and Tools:
211209746Sjkim
212209746SjkimiASL: Added compiler support for the _WDG and_WED Microsoft predefined 
213209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
214209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
215209746Sjkim
216209746SjkimAcpiExec: added option to disable the memory tracking mechanism. The -dt 
217209746Sjkimoption will disable the tracking mechanism, which improves performance 
218209746Sjkimconsiderably.
219209746Sjkim
220209746SjkimAcpiExec: Restructured the command line options into -d (disable) and -e 
221209746Sjkim(enable) options.
222209746Sjkim
223209746Sjkim----------------------------------------
224207344Sjkim28 April 2010. Summary of changes for version 20100428:
225207344Sjkim
226207344Sjkim1) ACPI CA Core Subsystem:
227207344Sjkim
228207344SjkimImplemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
229207344Sjkimincluding FADT-based and GPE Block Devices, execute any _PRW methods in the 
230207344Sjkimnew table, and process any _Lxx/_Exx GPE methods in the new table. Any 
231207344Sjkimruntime GPE that is referenced by an _Lxx/_Exx method in the new table is 
232207344Sjkimimmediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
233207344SjkimDevices. Provides compatibility with other ACPI implementations. Two new 
234207344Sjkimfiles added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
235207344Sjkim
236207344SjkimFixed a regression introduced in version 20100331 within the table manager 
237207344Sjkimwhere initial table loading could fail. This was introduced in the fix for 
238207344SjkimAcpiReallocateRootTable. Also, renamed some of fields in the table manager 
239207344Sjkimdata structures to clarify their meaning and use.
240207344Sjkim
241207344SjkimFixed a possible allocation overrun during internal object copy in 
242207344SjkimAcpiUtCopySimpleObject. The original code did not correctly handle the case 
243207344Sjkimwhere the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
244207344Sjkim
245207344SjkimUpdated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
246207344Sjkimpossible access beyond end-of-allocation. Also, now fully validate descriptor 
247207344Sjkim(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
248207344Sjkim
249207344SjkimExample Code and Data Size: These are the sizes for the OS-independent 
250207344Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
251207344Sjkimdebug version of the code includes the debug output trace mechanism and has a 
252207344Sjkimmuch larger code and data size.
253207344Sjkim
254207344Sjkim  Previous Release:
255207344Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
256207344Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
257207344Sjkim  Current Release:
258207344Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
259207344Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
260207344Sjkim
261207344Sjkim2) iASL Compiler/Disassembler and Tools:
262207344Sjkim
263207344SjkimiASL: Implemented Min/Max/Len/Gran validation for address resource 
264207344Sjkimdescriptors. This change implements validation for the address fields that 
265207344Sjkimare common to all address-type resource descriptors. These checks are 
266207344Sjkimimplemented: Checks for valid Min/Max, length within the Min/Max window, 
267207344Sjkimvalid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
268207344Sjkimtable 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
269207344Sjkimand aslrestype2.c files into five new files. ACPICA BZ 840.
270207344Sjkim
271207344SjkimiASL: Added support for the _Wxx predefined names. This support was missing 
272207344Sjkimand these names were not recognized by the compiler as valid predefined 
273207344Sjkimnames. ACPICA BZ 851.
274207344Sjkim
275207344SjkimiASL: Added an error for all predefined names that are defined to return no 
276207344Sjkimvalue and thus must be implemented as Control Methods. These include all of 
277207344Sjkimthe _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
278207344Sjkimnames such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
279207344Sjkim
280207344SjkimiASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
281207344SjkimASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
282207344Sjkimdynamically loaded via the Load() operator. Also cleaned up output for the -
283207344Sjkimta and -tc options. ACPICA BZ 853.
284207344Sjkim
285207344SjkimTests: Added a new file with examples of extended iASL error checking. 
286207344SjkimDemonstrates the advanced error checking ability of the iASL compiler. 
287207344SjkimAvailable at tests/misc/badcode.asl.
288207344Sjkim
289207344Sjkim----------------------------------------
290206117Sjkim31 March 2010. Summary of changes for version 20100331:
291206117Sjkim
292206117Sjkim1) ACPI CA Core Subsystem:
293206117Sjkim
294206117SjkimCompleted a major update for the GPE support in order to improve support for 
295206117Sjkimshared GPEs and to simplify both host OS and ACPICA code. Added a reference 
296206117Sjkimcount mechanism to support shared GPEs that require multiple device drivers. 
297206117SjkimSeveral external interfaces have changed. One external interface has been 
298206117Sjkimremoved. One new external interface was added. Most of the GPE external 
299206117Sjkiminterfaces now use the GPE spinlock instead of the events mutex (and the 
300206117SjkimFlags parameter for many GPE interfaces has been removed.) See the updated 
301206117SjkimACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
302206117SjkimWysocki. ACPICA BZ 831.
303206117Sjkim
304206117SjkimChanged:
305206117Sjkim    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
306206117SjkimRemoved:
307206117Sjkim    AcpiSetGpeType
308206117SjkimNew:
309206117Sjkim    AcpiSetGpe
310206117Sjkim
311206117SjkimImplemented write support for DataTable operation regions. These regions are 
312206117Sjkimdefined via the DataTableRegion() operator. Previously, only read support was 
313206117Sjkimimplemented. The ACPI specification allows DataTableRegions to be read/write, 
314206117Sjkimhowever.
315206117Sjkim
316206117SjkimImplemented a new subsystem option to force a copy of the DSDT to local 
317206117Sjkimmemory. Optionally copy the entire DSDT to local memory (instead of simply 
318206117Sjkimmapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
319206117Sjkimthe original DSDT, creating the need for this option. Default is FALSE, do 
320206117Sjkimnot copy the DSDT.
321206117Sjkim
322206117SjkimImplemented detection of a corrupted or replaced DSDT. This change adds 
323206117Sjkimsupport to detect a DSDT that has been corrupted and/or replaced from outside 
324206117Sjkimthe OS (by firmware). This is typically catastrophic for the system, but has 
325206117Sjkimbeen seen on some machines. Once this problem has been detected, the DSDT 
326206117Sjkimcopy option can be enabled via system configuration. Lin Ming, Bob Moore.
327206117Sjkim
328206117SjkimFixed two problems with AcpiReallocateRootTable during the root table copy. 
329206117SjkimWhen copying the root table to the new allocation, the length used was 
330206117Sjkimincorrect. The new size was used instead of the current table size, meaning 
331206117Sjkimtoo much data was copied. Also, the count of available slots for ACPI tables 
332206117Sjkimwas not set correctly. Alexey Starikovskiy, Bob Moore.
333206117Sjkim
334206117SjkimExample Code and Data Size: These are the sizes for the OS-independent 
335206117Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
336206117Sjkimdebug version of the code includes the debug output trace mechanism and has a 
337206117Sjkimmuch larger code and data size.
338206117Sjkim
339206117Sjkim  Previous Release:
340206117Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
341206117Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
342206117Sjkim  Current Release:
343206117Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
344206117Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
345206117Sjkim
346206117Sjkim2) iASL Compiler/Disassembler and Tools:
347206117Sjkim
348206117SjkimiASL: Implement limited typechecking for values returned from predefined 
349206117Sjkimcontrol methods. The type of any returned static (unnamed) object is now 
350206117Sjkimvalidated. For example, Return(1). ACPICA BZ 786.
351206117Sjkim
352206117SjkimiASL: Fixed a predefined name object verification regression. Fixes a problem 
353206117Sjkimintroduced in version 20100304. An error is incorrectly generated if a 
354206117Sjkimpredefined name is declared as a static named object with a value defined 
355206117Sjkimusing the keywords "Zero", "One", or "Ones". Lin Ming.
356206117Sjkim
357206117SjkimiASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
358206117Sjkimreducing the requested registry access rights. ACPICA BZ 842.
359206117Sjkim
360206117SjkimDisassembler: fixed a possible fault when generating External() statements. 
361206117SjkimIntroduced in commit ae7d6fd: Properly handle externals with parent-prefix 
362206117Sjkim(carat). Fixes a string length allocation calculation. Lin Ming.
363206117Sjkim
364206117Sjkim----------------------------------------
365204773Sjkim04 March 2010. Summary of changes for version 20100304:
366204773Sjkim
367204773Sjkim1) ACPI CA Core Subsystem:
368204773Sjkim
369204773SjkimFixed a possible problem with the AML Mutex handling function 
370204773SjkimAcpiExReleaseMutex where the function could fault under the very rare 
371204773Sjkimcondition when the interpreter has blocked, the interpreter lock is released, 
372204773Sjkimthe interpreter is then reentered via the same thread, and attempts to 
373204773Sjkimacquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
374204773SjkimMing.
375204773Sjkim
376204773SjkimImplemented additional configuration support for the AML "Debug Object". 
377204773SjkimOutput from the debug object can now be enabled via a global variable, 
378204773SjkimAcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
379204773SjkimThis debug output is now available in the release version of ACPICA instead 
380204773Sjkimof just the debug version. Also, the entire debug output module can now be 
381204773Sjkimconfigured out of the ACPICA build if desired. One new file added, 
382204773Sjkimexecuter/exdebug.c. Lin Ming, Bob Moore.
383204773Sjkim
384204773SjkimAdded header support for the ACPI MCHI table (Management Controller Host 
385204773SjkimInterface Table). This table was added in ACPI 4.0, but the defining document 
386204773Sjkimhas only recently become available.
387204773Sjkim
388204773SjkimStandardized output of integer values for ACPICA warnings/errors. Always use 
389204773Sjkim0x prefix for hex output, always use %u for unsigned integer decimal output. 
390204773SjkimAffects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
391204773Sjkiminvocations.) These invocations were converted from the original 
392204773SjkimACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
393204773Sjkim
394204773SjkimExample Code and Data Size: These are the sizes for the OS-independent 
395204773Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
396204773Sjkimdebug version of the code includes the debug output trace mechanism and has a 
397204773Sjkimmuch larger code and data size.
398204773Sjkim
399204773Sjkim  Previous Release:
400204773Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
401204773Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
402204773Sjkim  Current Release:
403204773Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
404204773Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
405204773Sjkim
406204773Sjkim2) iASL Compiler/Disassembler and Tools:
407204773Sjkim
408204773SjkimiASL: Implemented typechecking support for static (non-control method) 
409204773Sjkimpredefined named objects that are declared with the Name() operator. For 
410204773Sjkimexample, the type of this object is now validated to be of type Integer: 
411204773SjkimName(_BBN, 1). This change migrates the compiler to using the core predefined 
412204773Sjkimname table instead of maintaining a local version. Added a new file, 
413204773Sjkimaslpredef.c. ACPICA BZ 832.
414204773Sjkim
415204773SjkimDisassembler: Added support for the ACPI 4.0 MCHI table.
416204773Sjkim
417204773Sjkim----------------------------------------
418202771Sjkim21 January 2010. Summary of changes for version 20100121:
419202771Sjkim
420202771Sjkim1) ACPI CA Core Subsystem:
421202771Sjkim
422202771SjkimAdded the 2010 copyright to all module headers and signons. This affects 
423202771Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, the 
424202771Sjkimtools/utilities, and the test suites.
425202771Sjkim
426202771SjkimImplemented a change to the AcpiGetDevices interface to eliminate unnecessary 
427202771Sjkiminvocations of the _STA method. In the case where a specific _HID is 
428202771Sjkimrequested, do not run _STA until a _HID match is found. This eliminates 
429202771Sjkimpotentially dozens of _STA calls during a search for a particular device/HID, 
430202771Sjkimwhich in turn can improve boot times. ACPICA BZ 828. Lin Ming.
431202771Sjkim
432202771SjkimImplemented an additional repair for predefined method return values. Attempt 
433202771Sjkimto repair unexpected NULL elements within returned Package objects. Create an 
434202771SjkimInteger of value zero, a NULL String, or a zero-length Buffer as appropriate. 
435202771SjkimACPICA BZ 818. Lin Ming, Bob Moore.
436202771Sjkim
437202771SjkimRemoved the obsolete ACPI_INTEGER data type. This type was introduced as the 
438202771Sjkimcode was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
439202771Sjkim64-bit AML integers). It is now obsolete and this change removes it from the 
440202771SjkimACPICA code base, replaced by UINT64. The original typedef has been retained 
441202771Sjkimfor now for compatibility with existing device driver code. ACPICA BZ 824.
442202771Sjkim
443202771SjkimRemoved the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
444202771Sjkimthe parse tree object.
445202771Sjkim
446202771SjkimAdded additional warning options for the gcc-4 generation. Updated the source 
447202771Sjkimaccordingly. This includes some code restructuring to eliminate unreachable 
448202771Sjkimcode, elimination of some gotos, elimination of unused return values, some 
449202771Sjkimadditional casting, and removal of redundant declarations.
450202771Sjkim
451202771SjkimExample Code and Data Size: These are the sizes for the OS-independent 
452202771Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
453202771Sjkimdebug version of the code includes the debug output trace mechanism and has a 
454202771Sjkimmuch larger code and data size.
455202771Sjkim
456202771Sjkim  Previous Release:
457202771Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
458202771Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
459202771Sjkim  Current Release:
460202771Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
461202771Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
462202771Sjkim
463202771Sjkim2) iASL Compiler/Disassembler and Tools:
464202771Sjkim
465202771SjkimNo functional changes for this release.
466202771Sjkim
467202771Sjkim----------------------------------------
468200553Sjkim14 December 2009. Summary of changes for version 20091214:
469200553Sjkim
470200553Sjkim1) ACPI CA Core Subsystem:
471200553Sjkim
472200553SjkimEnhanced automatic data type conversions for predefined name repairs. This 
473200553Sjkimchange expands the automatic repairs/conversions for predefined name return 
474200553Sjkimvalues to make Integers, Strings, and Buffers fully interchangeable. Also, a 
475200553SjkimBuffer can be converted to a Package of Integers if necessary. The nsrepair.c 
476200553Sjkimmodule was completely restructured. Lin Ming, Bob Moore.
477200553Sjkim
478200553SjkimImplemented automatic removal of null package elements during predefined name 
479200553Sjkimrepairs. This change will automatically remove embedded and trailing NULL 
480200553Sjkimpackage elements from returned package objects that are defined to contain a 
481200553Sjkimvariable number of sub-packages. The driver is then presented with a package 
482200553Sjkimwith no null elements to deal with. ACPICA BZ 819.
483200553Sjkim
484200553SjkimImplemented a repair for the predefined _FDE and _GTM names. The expected 
485200553Sjkimreturn value for both names is a Buffer of 5 DWORDs. This repair fixes two 
486200553Sjkimpossible problems (both seen in the field), where a package of integers is 
487200553Sjkimreturned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
488200553Sjkim
489200553SjkimImplemented additional module-level code support. This change will properly 
490200553Sjkimexecute module-level code that is not at the root of the namespace (under a 
491200553SjkimDevice object, etc.). Now executes the code within the current scope instead 
492200553Sjkimof the root. ACPICA BZ 762. Lin Ming.
493200553Sjkim
494200553SjkimFixed possible mutex acquisition errors when running _REG methods. Fixes a 
495200553Sjkimproblem where mutex errors can occur when running a _REG method that is in 
496200553Sjkimthe same scope as a method-defined operation region or an operation region 
497200553Sjkimunder a module-level IF block. This type of code is rare, so the problem has 
498200553Sjkimnot been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
499200553Sjkim
500200553SjkimFixed a possible memory leak during module-level code execution. An object 
501200553Sjkimcould be leaked for each block of executed module-level code if the 
502200553Sjkiminterpreter slack mode is enabled This change deletes any implicitly returned 
503200553Sjkimobject from the module-level code block. Lin Ming.
504200553Sjkim
505200553SjkimRemoved messages for successful predefined repair(s). The repair mechanism 
506200553Sjkimwas considered too wordy. Now, messages are only unconditionally emitted if 
507200553Sjkimthe return object cannot be repaired. Existing messages for successful 
508200553Sjkimrepairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
509200553Sjkim
510200553SjkimExample Code and Data Size: These are the sizes for the OS-independent 
511200553Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
512200553Sjkimdebug version of the code includes the debug output trace mechanism and has a 
513200553Sjkimmuch larger code and data size.
514200553Sjkim
515200553Sjkim  Previous Release:
516200553Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
517200553Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
518200553Sjkim  Current Release:
519200553Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
520200553Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
521200553Sjkim
522200553Sjkim2) iASL Compiler/Disassembler and Tools:
523200553Sjkim
524200553SjkimiASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
525200553Sjkimwere no longer automatically removed at the termination of the compile.
526200553Sjkim
527200553Sjkimacpiexec: Implemented the -f option to specify default region fill value. 
528200553SjkimThis option specifies the value used to initialize buffers that simulate 
529200553Sjkimoperation regions. Default value is zero. Useful for debugging problems that 
530200553Sjkimdepend on a specific initial value for a region or field.
531200553Sjkim
532200553Sjkim----------------------------------------
533199337Sjkim12 November 2009. Summary of changes for version 20091112:
534199337Sjkim
535199337Sjkim1) ACPI CA Core Subsystem:
536199337Sjkim
537199337SjkimImplemented a post-order callback to AcpiWalkNamespace. The existing 
538199337Sjkiminterface only has a pre-order callback. This change adds an additional 
539199337Sjkimparameter for a post-order callback which will be more useful for bus scans. 
540199337SjkimACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
541199337Sjkim
542199337SjkimModified the behavior of the operation region memory mapping cache for 
543199337SjkimSystemMemory. Ensure that the memory mappings created for operation regions 
544199337Sjkimdo not cross 4K page boundaries. Crossing a page boundary while mapping 
545199337Sjkimregions can cause kernel warnings on some hosts if the pages have different 
546199337Sjkimattributes. Such regions are probably BIOS bugs, and this is the workaround. 
547199337SjkimLinux BZ 14445. Lin Ming.
548199337Sjkim
549199337SjkimImplemented an automatic repair for predefined methods that must return 
550199337Sjkimsorted lists. This change will repair (by sorting) packages returned by _ALR, 
551199337Sjkim_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
552199337Sjkimand do not contain NULL package elements. Adds one new file, 
553199337Sjkimnamespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
554199337Sjkim
555199337SjkimFixed a possible fault during predefined name validation if a return Package 
556199337Sjkimobject contains NULL elements. Also adds a warning if a NULL element is 
557199337Sjkimfollowed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
558199337Sjkiminclude repair or removal of all such NULL elements where possible.
559199337Sjkim
560199337SjkimImplemented additional module-level executable AML code support. This change 
561199337Sjkimwill execute module-level code that is not at the root of the namespace 
562199337Sjkim(under a Device object, etc.) at table load time. Module-level executable AML 
563199337Sjkimcode has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
564199337Sjkim
565199337SjkimImplemented a new internal function to create Integer objects. This function 
566199337Sjkimsimplifies miscellaneous object creation code. ACPICA BZ 823.
567199337Sjkim
568199337SjkimReduced the severity of predefined repair messages, Warning to Info. Since 
569199337Sjkimthe object was successfully repaired, a warning is too severe. Reduced to an 
570199337Sjkiminfo message for now. These messages may eventually be changed to debug-only. 
571199337SjkimACPICA BZ 812.
572199337Sjkim
573199337SjkimExample Code and Data Size: These are the sizes for the OS-independent 
574199337Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
575199337Sjkimdebug version of the code includes the debug output trace mechanism and has a 
576199337Sjkimmuch larger code and data size.
577199337Sjkim
578199337Sjkim  Previous Release:
579199337Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
580199337Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
581199337Sjkim  Current Release:
582199337Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
583199337Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
584199337Sjkim
585199337Sjkim2) iASL Compiler/Disassembler and Tools:
586199337Sjkim
587199337SjkimiASL: Implemented Switch() with While(1) so that Break works correctly. This 
588199337Sjkimchange correctly implements the Switch operator with a surrounding While(1) 
589199337Sjkimso that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
590199337Sjkim
591199337SjkimiASL: Added a message if a package initializer list is shorter than package 
592199337Sjkimlength. Adds a new remark for a Package() declaration if an initializer list 
593199337Sjkimexists, but is shorter than the declared length of the package. Although 
594199337Sjkimtechnically legal, this is probably a coding error and it is seen in the 
595199337Sjkimfield. ACPICA BZ 815. Lin Ming, Bob Moore.
596199337Sjkim
597199337SjkimiASL: Fixed a problem where the compiler could fault after the maximum number 
598199337Sjkimof errors was reached (200).
599199337Sjkim
600199337Sjkimacpixtract: Fixed a possible warning for pointer cast if the compiler warning 
601199337Sjkimlevel set very high.
602199337Sjkim
603199337Sjkim----------------------------------------
604198237Sjkim13 October 2009. Summary of changes for version 20091013:
605197104Sjkim
606197104Sjkim1) ACPI CA Core Subsystem:
607197104Sjkim
608198237SjkimFixed a problem where an Operation Region _REG method could be executed more 
609198237Sjkimthan once. If a custom address space handler is installed by the host before 
610198237Sjkimthe "initialize operation regions" phase of the ACPICA initialization, any 
611198237Sjkim_REG methods for that address space could be executed twice. This change 
612198237Sjkimfixes the problem. ACPICA BZ 427. Lin Ming.
613198237Sjkim
614198237SjkimFixed a possible memory leak for the Scope() ASL operator. When the exact 
615198237Sjkiminvocation of "Scope(\)" is executed (change scope to root), one internal 
616198237Sjkimoperand object was leaked. Lin Ming.
617198237Sjkim
618198237SjkimImplemented a run-time repair for the _MAT predefined method. If the _MAT 
619198237Sjkimreturn value is defined as a Field object in the AML, and the field
620198237Sjkimsize is less than or equal to the default width of an integer (32 or 64),_MAT 
621198237Sjkimcan incorrectly return an Integer instead of a Buffer. ACPICA now 
622198237Sjkimautomatically repairs this problem. ACPICA BZ 810.
623198237Sjkim
624198237SjkimImplemented a run-time repair for the _BIF and _BIX predefined methods. The 
625198237Sjkim"OEM Information" field is often incorrectly returned as an Integer with 
626198237Sjkimvalue zero if the field is not supported by the platform. This is due to an 
627198237Sjkimambiguity in the ACPI specification. The field should always be a string. 
628198237SjkimACPICA now automatically repairs this problem by returning a NULL string 
629198237Sjkimwithin the returned Package. ACPICA BZ 807.
630198237Sjkim
631198237SjkimExample Code and Data Size: These are the sizes for the OS-independent 
632198237Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
633198237Sjkimdebug version of the code includes the debug output trace mechanism and has a 
634198237Sjkimmuch larger code and data size.
635198237Sjkim
636198237Sjkim  Previous Release:
637198237Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
638198237Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
639198237Sjkim  Current Release:
640198237Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
641198237Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
642198237Sjkim
643198237Sjkim2) iASL Compiler/Disassembler and Tools:
644198237Sjkim
645198237SjkimDisassembler: Fixed a problem where references to external symbols that 
646198237Sjkimcontained one or more parent-prefixes (carats) were not handled correctly, 
647198237Sjkimpossibly causing a fault. ACPICA BZ 806. Lin Ming.
648198237Sjkim
649198237SjkimDisassembler: Restructured the code so that all functions that handle 
650198237Sjkimexternal symbols are in a single module. One new file is added, 
651198237Sjkimcommon/dmextern.c.
652198237Sjkim
653198237SjkimAML Debugger: Added a max count argument for the Batch command (which 
654198237Sjkimexecutes multiple predefined methods within the namespace.)
655198237Sjkim
656198237SjkimiASL: Updated the compiler documentation (User Reference.) Available at 
657198237Sjkimhttp://www.acpica.org/documentation/. ACPICA BZ 750.
658198237Sjkim
659198237SjkimAcpiXtract: Updated for Lint and other formatting changes. Close all open 
660198237Sjkimfiles.
661198237Sjkim
662198237Sjkim----------------------------------------
663198237Sjkim03 September 2009. Summary of changes for version 20090903:
664198237Sjkim
665198237Sjkim1) ACPI CA Core Subsystem:
666198237Sjkim
667197104SjkimFor Windows Vista compatibility, added the automatic execution of an _INI 
668197104Sjkimmethod located at the namespace root (\_INI). This method is executed at 
669197104Sjkimtable load time. This support is in addition to the automatic execution of 
670197104Sjkim\_SB._INI. Lin Ming.
671197104Sjkim
672197104SjkimFixed a possible memory leak in the interpreter for AML package objects if 
673197104Sjkimthe package initializer list is longer than the defined size of the package. 
674197104SjkimThis apparently can only happen if the BIOS changes the package size on the 
675197104Sjkimfly (seen in a _PSS object), as ASL compilers do not allow this. The 
676197104Sjkiminterpreter will truncate the package to the defined size (and issue an error 
677197104Sjkimmessage), but previously could leave the extra objects undeleted if they were 
678197104Sjkimpre-created during the argument processing (such is the case if the package 
679197104Sjkimconsists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
680197104Sjkim
681197104SjkimFixed a problem seen when a Buffer or String is stored to itself via ASL. 
682197104SjkimThis has been reported in the field. Previously, ACPICA would zero out the 
683197104Sjkimbuffer/string. Now, the operation is treated as a noop. Provides Windows 
684197104Sjkimcompatibility. ACPICA BZ 803. Lin Ming.
685197104Sjkim
686197104SjkimRemoved an extraneous error message for ASL constructs of the form 
687197104SjkimStore(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
688197104Sjkimare seen in many BIOSs and are once again treated as NOOPs and no error is 
689197104Sjkimemitted when they are encountered. ACPICA BZ 785.
690197104Sjkim
691197104SjkimFixed an extraneous warning message if a _DSM reserved method returns a 
692197104SjkimPackage object. _DSM can return any type of object, so validation on the 
693197104Sjkimreturn type cannot be performed. ACPICA BZ 802.
694197104Sjkim
695197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
696197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
697197104Sjkimdebug version of the code includes the debug output trace mechanism and has a 
698197104Sjkimmuch larger code and data size.
699197104Sjkim
700197104Sjkim  Previous Release:
701197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
702197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
703197104Sjkim  Current Release:
704197104Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
705197104Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
706197104Sjkim
707197104Sjkim2) iASL Compiler/Disassembler and Tools:
708197104Sjkim
709197104SjkimiASL: Fixed a problem with the use of the Alias operator and Resource 
710197104SjkimTemplates. The correct alias is now constructed and no error is emitted. 
711197104SjkimACPICA BZ 738.
712197104Sjkim
713197104SjkimiASL: Implemented the -I option to specify additional search directories for 
714197104Sjkiminclude files. Allows multiple additional search paths for include files. 
715197104SjkimDirectories are searched in the order specified on the command line (after 
716197104Sjkimthe local directory is searched.) ACPICA BZ 800.
717197104Sjkim
718197104SjkimiASL: Fixed a problem where the full pathname for include files was not 
719197104Sjkimemitted for warnings/errors. This caused the IDE support to not work 
720197104Sjkimproperly. ACPICA BZ 765.
721197104Sjkim
722197104SjkimiASL: Implemented the -@ option to specify a Windows-style response file 
723197104Sjkimcontaining additional command line options. ACPICA BZ 801.
724197104Sjkim
725197104SjkimAcpiExec: Added support to load multiple AML files simultaneously (such as a 
726197104SjkimDSDT and multiple SSDTs). Also added support for wildcards within the AML 
727197104Sjkimpathname. These features allow all machine tables to be easily loaded and 
728197104Sjkimdebugged together. ACPICA BZ 804.
729197104Sjkim
730197104SjkimDisassembler: Added missing support for disassembly of HEST table Error Bank 
731197104Sjkimsubtables. 
732197104Sjkim
733197104Sjkim----------------------------------------
734197104Sjkim30 July 2009. Summary of changes for version 20090730:
735197104Sjkim
736197104SjkimThe ACPI 4.0 implementation for ACPICA is complete with this release.
737197104Sjkim
738197104Sjkim1) ACPI CA Core Subsystem:
739197104Sjkim
740197104SjkimACPI 4.0: Added header file support for all new and changed ACPI tables. 
741197104SjkimCompletely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
742197104Sjkimfor ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
743197104SjkimEINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
744197104Sjkimhave been some ACPI 4.0 changes to other existing tables. Split the large 
745197104Sjkimactbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
746197104Sjkim
747197104SjkimACPI 4.0: Implemented predefined name validation for all new names. There are 
748197104Sjkim31 new names in ACPI 4.0. The predefined validation module was split into two 
749197104Sjkimfiles. The new file is namespace/nsrepair.c. ACPICA BZ 770.
750197104Sjkim
751197104SjkimImplemented support for so-called "module-level executable code". This is 
752197104Sjkimexecutable AML code that exists outside of any control method and is intended 
753197104Sjkimto be executed at table load time. Although illegal since ACPI 2.0, this type 
754197104Sjkimof code still exists and is apparently still being created. Blocks of this 
755197104Sjkimcode are now detected and executed as intended. Currently, the code blocks 
756197104Sjkimmust exist under either an If, Else, or While construct; these are the 
757197104Sjkimtypical cases seen in the field. ACPICA BZ 762. Lin Ming.
758197104Sjkim
759197104SjkimImplemented an automatic dynamic repair for predefined names that return 
760197104Sjkimnested Package objects. This applies to predefined names that are defined to 
761197104Sjkimreturn a variable-length Package of sub-packages. If the number of sub-
762197104Sjkimpackages is one, BIOS code is occasionally seen that creates a simple single 
763197104Sjkimpackage with no sub-packages. This code attempts to fix the problem by 
764197104Sjkimwrapping a new package object around the existing package. These methods can 
765197104Sjkimbe repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
766197104Sjkim790.
767197104Sjkim
768197104SjkimFixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
769197104SjkimThe _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
770197104SjkimBZ 793.
771197104Sjkim
772197104SjkimFixed a problem with AcpiReset where the reset would silently fail if the 
773197104Sjkimregister was one of the protected I/O ports. AcpiReset now bypasses the port 
774197104Sjkimvalidation mechanism. This may eventually be driven into the AcpiRead/Write 
775197104Sjkiminterfaces.
776197104Sjkim
777197104SjkimFixed a regression related to the recent update of the AcpiRead/Write 
778197104Sjkiminterfaces. A sleep/suspend could fail if the optional PM2 Control register 
779197104Sjkimdoes not exist during an attempt to write the Bus Master Arbitration bit. 
780197104Sjkim(However, some hosts already delete the code that writes this bit, and the 
781197104Sjkimcode may in fact be obsolete at this date.) ACPICA BZ 799.
782197104Sjkim
783197104SjkimFixed a problem where AcpiTerminate could fault if inadvertently called twice 
784197104Sjkimin succession. ACPICA BZ 795.
785197104Sjkim
786197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
787197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
788197104Sjkimdebug version of the code includes the debug output trace mechanism and has a 
789197104Sjkimmuch larger code and data size.
790197104Sjkim
791197104Sjkim  Previous Release:
792197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
793197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
794197104Sjkim  Current Release:
795197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
796197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
797197104Sjkim
798197104Sjkim2) iASL Compiler/Disassembler and Tools:
799197104Sjkim
800197104SjkimACPI 4.0: Implemented disassembler support for all new ACPI tables and 
801197104Sjkimchanges to existing tables. ACPICA BZ 775.
802197104Sjkim
803197104Sjkim----------------------------------------
804197104Sjkim25 June 2009. Summary of changes for version 20090625:
805197104Sjkim
806197104SjkimThe ACPI 4.0 Specification was released on June 16 and is available at 
807197104Sjkimwww.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
808197104Sjkimcontinue for the next few releases.
809197104Sjkim
810197104Sjkim1) ACPI CA Core Subsystem:
811197104Sjkim
812197104SjkimACPI 4.0: Implemented interpreter support for the IPMI operation region 
813197104Sjkimaddress space. Includes support for bi-directional data buffers and an IPMI 
814197104Sjkimaddress space handler (to be installed by an IPMI device driver.) ACPICA BZ 
815197104Sjkim773. Lin Ming.
816197104Sjkim
817197104SjkimACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
818197104Sjkimsupport in both the header files and the disassembler.
819197104Sjkim
820197104SjkimCompleted a major update for the AcpiGetObjectInfo external interface. 
821197104SjkimChanges include:
822197104Sjkim - Support for variable, unlimited length HID, UID, and CID strings.
823197104Sjkim - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
824197104Sjkim - Call the _SxW power methods on behalf of a device object.
825197104Sjkim - Determine if a device is a PCI root bridge.
826197104Sjkim - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
827197104SjkimThese changes will require an update to all callers of this interface. See 
828197104Sjkimthe updated ACPICA Programmer Reference for details. One new source file has 
829197104Sjkimbeen added - utilities/utids.c. ACPICA BZ 368, 780.
830197104Sjkim
831197104SjkimUpdated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
832197104Sjkimtransfers. The Value parameter has been extended from 32 bits to 64 bits in 
833197104Sjkimorder to support new ACPI 4.0 tables. These changes will require an update to 
834197104Sjkimall callers of these interfaces. See the ACPICA Programmer Reference for 
835197104Sjkimdetails. ACPICA BZ 768.
836197104Sjkim
837197104SjkimFixed several problems with AcpiAttachData. The handler was not invoked when 
838197104Sjkimthe host node was deleted. The data sub-object was not automatically deleted 
839197104Sjkimwhen the host node was deleted. The interface to the handler had an unused 
840197104Sjkimparameter, this was removed. ACPICA BZ 778.
841197104Sjkim
842197104SjkimEnhanced the function that dumps ACPI table headers. All non-printable 
843197104Sjkimcharacters in the string fields are now replaced with '?' (Signature, OemId, 
844197104SjkimOemTableId, and CompilerId.) ACPI tables with non-printable characters in 
845197104Sjkimthese fields are occasionally seen in the field. ACPICA BZ 788.
846197104Sjkim
847197104SjkimFixed a problem with predefined method repair code where the code that 
848197104Sjkimattempts to repair/convert an object of incorrect type is only executed on 
849197104Sjkimthe first time the predefined method is called. The mechanism that disables 
850197104Sjkimwarnings on subsequent calls was interfering with the repair mechanism. 
851197104SjkimACPICA BZ 781.
852197104Sjkim
853197104SjkimFixed a possible memory leak in the predefined validation/repair code when a 
854197104Sjkimbuffer is automatically converted to an expected string object.
855197104Sjkim
856197104SjkimRemoved obsolete 16-bit files from the distribution and from the current git 
857197104Sjkimtree head. ACPICA BZ 776.
858197104Sjkim
859197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
860197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
861197104Sjkimdebug version of the code includes the debug output trace mechanism and has a 
862197104Sjkimmuch larger code and data size.
863197104Sjkim
864197104Sjkim  Previous Release:
865197104Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
866197104Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
867197104Sjkim  Current Release:
868197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
869197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
870197104Sjkim
871197104Sjkim2) iASL Compiler/Disassembler and Tools:
872197104Sjkim
873197104SjkimACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
874197104Sjkimoperation region keyword. ACPICA BZ 771, 772. Lin Ming.
875197104Sjkim
876197104SjkimACPI 4.0: iASL - implemented compile-time validation support for all new 
877197104Sjkimpredefined names and control methods (31 total). ACPICA BZ 769.
878197104Sjkim
879197104Sjkim----------------------------------------
880193267Sjkim21 May 2009. Summary of changes for version 20090521:
881193267Sjkim
882193267Sjkim1) ACPI CA Core Subsystem:
883193267Sjkim
884193267SjkimDisabled the preservation of the SCI enable bit in the PM1 control register. 
885193267SjkimThe SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
886193267Sjkima "preserved" bit - "OSPM always preserves this bit position", section 
887193267Sjkim4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
888193267Sjkimbecause the bit needs to be explicitly set by the OS as a workaround. No 
889193267Sjkimmachines fail if the bit is not preserved. Therefore, ACPICA no longer 
890193267Sjkimattempts to preserve this bit.
891193267Sjkim
892193267SjkimFixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
893193267Sjkimincorrectly formed _PRT package could cause a fault. Added validation to 
894193267Sjkimensure that each package element is actually a sub-package.
895193267Sjkim
896193267SjkimImplemented a new interface to install or override a single control method, 
897193267SjkimAcpiInstallMethod. This interface is useful when debugging in order to repair 
898193267Sjkiman existing method or to install a missing method without having to override 
899193267Sjkimthe entire ACPI table. See the ACPICA Programmer Reference for use and 
900193267Sjkimexamples. Lin Ming, Bob Moore.
901193267Sjkim
902193267SjkimFixed several reference count issues with the DdbHandle object that is 
903193267Sjkimcreated from a Load or LoadTable operator. Prevent premature deletion of the 
904193267Sjkimobject. Also, mark the object as invalid once the table has been unloaded. 
905193267SjkimThis is needed because the handle itself may not be deleted after the table 
906193267Sjkimunload, depending on whether it has been stored in a named object by the 
907193267Sjkimcaller. Lin Ming.
908193267Sjkim
909193267SjkimFixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
910193267Sjkimmutexes of the same sync level are acquired but then not released in strict 
911193267Sjkimopposite order, the internally maintained Current Sync Level becomes confused 
912193267Sjkimand can cause subsequent execution errors. ACPICA BZ 471.
913193267Sjkim
914193267SjkimChanged the allowable release order for ASL mutex objects. The ACPI 4.0 
915193267Sjkimspecification has been changed to make the SyncLevel for mutex objects more 
916193267Sjkimuseful. When releasing a mutex, the SyncLevel of the mutex must now be the 
917193267Sjkimsame as the current sync level. This makes more sense than the previous rule 
918193267Sjkim(SyncLevel less than or equal). This change updates the code to match the 
919193267Sjkimspecification.
920193267Sjkim
921193267SjkimFixed a problem with the local version of the AcpiOsPurgeCache function. The 
922193267Sjkim(local) cache must be locked during all cache object deletions. Andrew 
923193267SjkimBaumann.
924193267Sjkim
925193267SjkimUpdated the Load operator to use operation region interfaces. This replaces 
926193267Sjkimdirect memory mapping with region access calls. Now, all region accesses go 
927193267Sjkimthrough the installed region handler as they should.
928193267Sjkim
929193267SjkimSimplified and optimized the NsGetNextNode function. Reduced parameter count 
930193267Sjkimand reduced code for this frequently used function.
931193267Sjkim
932193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
933193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
934193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
935193267Sjkimmuch larger code and data size.
936193267Sjkim
937193267Sjkim  Previous Release:
938193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
939193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
940193267Sjkim  Current Release:
941193267Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
942193267Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
943193267Sjkim
944193267Sjkim2) iASL Compiler/Disassembler and Tools:
945193267Sjkim
946193267SjkimDisassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
947193267Sjkimwith sub-table disassembly and handling invalid sub-tables. Attempt recovery 
948193267Sjkimafter an invalid sub-table ID.
949193267Sjkim
950193267Sjkim----------------------------------------
951193267Sjkim22 April 2009. Summary of changes for version 20090422:
952193267Sjkim
953193267Sjkim1) ACPI CA Core Subsystem:
954193267Sjkim
955193267SjkimFixed a compatibility issue with the recently released I/O port protection 
956193267Sjkimmechanism. For windows compatibility, 1) On a port protection violation, 
957193267Sjkimsimply ignore the request and do not return an exception (allow the control 
958193267Sjkimmethod to continue execution.) 2) If only part of the request overlaps a 
959193267Sjkimprotected port, read/write the individual ports that are not protected. Linux 
960193267SjkimBZ 13036. Lin Ming
961193267Sjkim
962193267SjkimEnhanced the execution of the ASL/AML BreakPoint operator so that it actually 
963193267Sjkimbreaks into the AML debugger if the debugger is present. This matches the 
964193267SjkimACPI-defined behavior.
965193267Sjkim
966193267SjkimFixed several possible warnings related to the use of the configurable 
967193267SjkimACPI_THREAD_ID. This type can now be configured as either an integer or a 
968193267Sjkimpointer with no warnings. Also fixes several warnings in printf-like 
969193267Sjkimstatements for the 64-bit build when the type is configured as a pointer. 
970193267SjkimACPICA BZ 766, 767.
971193267Sjkim
972193267SjkimFixed a number of possible warnings when compiling with gcc 4+ (depending on 
973193267Sjkimwarning options.) Examples include printf formats, aliasing, unused globals, 
974193267Sjkimmissing prototypes, missing switch default statements, use of non-ANSI 
975193267Sjkimlibrary functions, use of non-ANSI constructs. See generate/unix/Makefile for 
976193267Sjkima list of warning options used with gcc 3 and 4. ACPICA BZ 735.
977193267Sjkim
978193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
979193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
980193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
981193267Sjkimmuch larger code and data size.
982193267Sjkim
983193267Sjkim  Previous Release:
984193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
985193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
986193267Sjkim  Current Release:
987193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
988193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
989193267Sjkim
990193267Sjkim2) iASL Compiler/Disassembler and Tools:
991193267Sjkim
992193267SjkimiASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
993193267Sjkimthe 64-bit build.
994193267Sjkim
995193267SjkimiASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
996193267Sjkimcorrectly digest Windows/DOS formatted files (with CR/LF).
997193267Sjkim
998193267SjkimiASL: Added a new option for "quiet mode" (-va) that produces only the 
999193267Sjkimcompilation summary, not individual errors and warnings. Useful for large 
1000193267Sjkimbatch compilations.
1001193267Sjkim
1002193267SjkimAcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
1003193267Sjkimtimeout that can be used to detect hang conditions during execution of AML 
1004193267Sjkimcode (includes both internal semaphores and AML-defined mutexes and events.)
1005193267Sjkim
1006193267SjkimAdded new makefiles for the generation of acpica in a generic unix-like 
1007193267Sjkimenvironment. These makefiles are intended to generate the acpica tools and 
1008193267Sjkimutilities from the original acpica git source tree structure.
1009193267Sjkim
1010193267SjkimTest Suites: Updated and cleaned up the documentation files. Updated the 
1011193267Sjkimcopyrights to 2009, affecting all source files. Use the new version of iASL 
1012193267Sjkimwith quiet mode. Increased the number of available semaphores in the Windows 
1013193267SjkimOSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
1014193267Sjkiman alternate implementation of the semaphore timeout to allow aslts to 
1015193267Sjkimexecute fully on Cygwin.
1016193267Sjkim
1017193267Sjkim----------------------------------------
1018193267Sjkim20 March 2009. Summary of changes for version 20090320:
1019193267Sjkim
1020193267Sjkim1) ACPI CA Core Subsystem:
1021193267Sjkim
1022193267SjkimFixed a possible race condition between AcpiWalkNamespace and dynamic table 
1023193267Sjkimunloads. Added a reader/writer locking mechanism to allow multiple concurrent 
1024193267Sjkimnamespace walks (readers), but block a dynamic table unload until it can gain 
1025193267Sjkimexclusive write access to the namespace. This fixes a problem where a table 
1026193267Sjkimunload could (possibly catastrophically) delete the portion of the namespace 
1027193267Sjkimthat is currently being examined by a walk. Adds a new file, utlock.c, that 
1028193267Sjkimimplements the reader/writer lock mechanism. ACPICA BZ 749.
1029193267Sjkim
1030193267SjkimFixed a regression introduced in version 20090220 where a change to the FADT 
1031193267Sjkimhandling could cause the ACPICA subsystem to access non-existent I/O ports.
1032193267Sjkim
1033193267SjkimModified the handling of FADT register and table (FACS/DSDT) addresses. The 
1034193267SjkimFADT can contain both 32-bit and 64-bit versions of these addresses. 
1035193267SjkimPreviously, the 64-bit versions were favored, meaning that if both 32 and 64 
1036193267Sjkimversions were valid, but not equal, the 64-bit version was used. This was 
1037193267Sjkimfound to cause some machines to fail. Now, in this case, the 32-bit version 
1038193267Sjkimis used instead. This now matches the Windows behavior.
1039193267Sjkim
1040193267SjkimImplemented a new mechanism to protect certain I/O ports. Provides Microsoft 
1041193267Sjkimcompatibility and protects the standard PC I/O ports from access via AML 
1042193267Sjkimcode. Adds a new file, hwvalid.c
1043193267Sjkim
1044193267SjkimFixed a possible extraneous warning message from the FADT support. The 
1045193267Sjkimmessage warns of a 32/64 length mismatch between the legacy and GAS 
1046193267Sjkimdefinitions for a register.
1047193267Sjkim
1048193267SjkimRemoved the obsolete AcpiOsValidateAddress OSL interface. This interface is 
1049193267Sjkimmade obsolete by the port protection mechanism above. It was previously used 
1050193267Sjkimto validate the entire address range of an operation region, which could be 
1051193267Sjkimincorrect if the range included illegal ports, but fields within the 
1052193267Sjkimoperation region did not actually access those ports. Validation is now 
1053193267Sjkimperformed on a per-field basis instead of the entire region.
1054193267Sjkim
1055193267SjkimModified the handling of the PM1 Status Register ignored bit (bit 11.) 
1056193267SjkimIgnored bits must be "preserved" according to the ACPI spec. Usually, this 
1057193267Sjkimmeans a read/modify/write when writing to the register. However, for status 
1058193267Sjkimregisters, writing a one means clear the event. Writing a zero means preserve 
1059193267Sjkimthe event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
1060193267Sjkimand the ACPICA code now simply always writes a zero to the ignored bit.
1061193267Sjkim
1062193267SjkimModified the handling of ignored bits for the PM1 A/B Control Registers. As 
1063193267Sjkimper the ACPI specification, for the control registers, preserve 
1064193267Sjkim(read/modify/write) all bits that are defined as either reserved or ignored.
1065193267Sjkim
1066193267SjkimUpdated the handling of write-only bits in the PM1 A/B Control Registers. 
1067193267SjkimWhen reading the register, zero the write-only bits as per the ACPI spec. 
1068193267SjkimACPICA BZ 443. Lin Ming.
1069193267Sjkim
1070193267SjkimRemoved "Linux" from the list of supported _OSI strings. Linux no longer 
1071193267Sjkimwants to reply true to this request. The Windows strings are the only paths 
1072193267Sjkimthrough the AML that are tested and known to work properly.
1073193267Sjkim
1074193267Sjkim  Previous Release:
1075193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1076193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1077193267Sjkim  Current Release:
1078193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1079193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1080193267Sjkim
1081193267Sjkim2) iASL Compiler/Disassembler and Tools:
1082193267Sjkim
1083193267SjkimAcpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
1084193267Sjkimaetables.c
1085193267Sjkim
1086193267Sjkim----------------------------------------
1087193267Sjkim20 February 2009. Summary of changes for version 20090220:
1088193267Sjkim
1089193267Sjkim1) ACPI CA Core Subsystem:
1090193267Sjkim
1091193267SjkimOptimized the ACPI register locking. Removed locking for reads from the ACPI 
1092193267Sjkimbit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
1093193267Sjkimnot required when reading the single-bit registers. The 
1094193267SjkimAcpiGetRegisterUnlocked function is no longer needed and has been removed. 
1095193267SjkimThis will improve performance for reads on these registers. ACPICA BZ 760.
1096193267Sjkim
1097193267SjkimFixed the parameter validation for AcpiRead/Write. Now return 
1098193267SjkimAE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
1099193267Sjkimthe register has an address of zero. Previously, these cases simply returned 
1100193267SjkimAE_OK. For optional registers such as PM1B status/enable/control, the caller 
1101193267Sjkimshould check for a valid register address before calling. ACPICA BZ 748.
1102193267Sjkim
1103193267SjkimRenamed the external ACPI bit register access functions. Renamed 
1104193267SjkimAcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
1105193267Sjkimfunctions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
1106193267SjkimAlso, restructured the code for these functions by simplifying the code path 
1107193267Sjkimand condensing duplicate code to reduce code size.
1108193267Sjkim
1109193267SjkimAdded new functions to transparently handle the possibly split PM1 A/B 
1110193267Sjkimregisters. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
1111193267Sjkimnow handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
1112193267Sjkim746.
1113193267Sjkim
1114193267SjkimAdded a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
1115193267SjkimThis function writes both of the PM1 control registers (A/B). These registers 
1116193267Sjkimare different than the PM1 A/B status and enable registers in that different 
1117193267Sjkimvalues can be written to the A/B registers. Most notably, the SLP_TYP bits 
1118193267Sjkimcan be different, as per the values returned from the _Sx predefined methods.
1119193267Sjkim
1120193267SjkimRemoved an extra register write within AcpiHwClearAcpiStatus. This function 
1121193267Sjkimwas writing an optional PM1B status register twice. The existing call to the 
1122193267Sjkimlow-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
1123193267Sjkimregister. ACPICA BZ 751.
1124193267Sjkim
1125193267SjkimSplit out the PM1 Status registers from the FADT. Added new globals for these 
1126193267Sjkimregisters (A/B), similar to the way the PM1 Enable registers are handled. 
1127193267SjkimInstead of overloading the FADT Event Register blocks. This makes the code 
1128193267Sjkimclearer and less prone to error.
1129193267Sjkim
1130193267SjkimFixed the warning message for when the platform contains too many ACPI tables 
1131193267Sjkimfor the default size of the global root table data structure. The calculation 
1132193267Sjkimfor the truncation value was incorrect.
1133193267Sjkim
1134193267SjkimRemoved the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
1135193267Sjkimobsolete macro, since it is now a simple reference to ->common.type. There 
1136193267Sjkimwere about 150 invocations of the macro across 41 files. ACPICA BZ 755.
1137193267Sjkim
1138193267SjkimRemoved the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
1139193267SjkimTYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
1140193267Sjkimsimply SLEEP_TYPE. ACPICA BZ 754.
1141193267Sjkim
1142193267SjkimConditionally compile the AcpiSetFirmwareWakingVector64 function. This 
1143193267Sjkimfunction is only needed on 64-bit host operating systems and is thus not 
1144193267Sjkimincluded for 32-bit hosts.
1145193267Sjkim
1146193267SjkimDebug output: print the input and result for invocations of the _OSI reserved 
1147193267Sjkimcontrol method via the ACPI_LV_INFO debug level. Also, reduced some of the 
1148193267Sjkimverbosity of this debug level. Len Brown.
1149193267Sjkim
1150193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1151193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1152193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1153193267Sjkimmuch larger code and data size.
1154193267Sjkim
1155193267Sjkim  Previous Release:
1156193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1157193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1158193267Sjkim  Current Release:
1159193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1160193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1161193267Sjkim
1162193267Sjkim2) iASL Compiler/Disassembler and Tools:
1163193267Sjkim
1164193267SjkimDisassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
1165193267Sjkimvarious legal performance profiles.
1166193267Sjkim
1167193267Sjkim----------------------------------------
1168193267Sjkim23 January 2009. Summary of changes for version 20090123:
1169193267Sjkim
1170193267Sjkim1) ACPI CA Core Subsystem:
1171193267Sjkim
1172193267SjkimAdded the 2009 copyright to all module headers and signons. This affects 
1173193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
1174193267Sjkimthe tools/utilities.
1175193267Sjkim
1176193267SjkimImplemented a change to allow the host to override any ACPI table, including 
1177193267Sjkimdynamically loaded tables. Previously, only the DSDT could be replaced by the 
1178193267Sjkimhost. With this change, the AcpiOsTableOverride interface is called for each 
1179193267Sjkimtable found in the RSDT/XSDT during ACPICA initialization, and also whenever 
1180193267Sjkima table is dynamically loaded via the AML Load operator.
1181193267Sjkim
1182193267SjkimUpdated FADT flag definitions, especially the Boot Architecture flags.
1183193267Sjkim
1184193267SjkimDebugger: For the Find command, automatically pad the input ACPI name with 
1185193267Sjkimunderscores if the name is shorter than 4 characters. This enables a match 
1186193267Sjkimwith the actual namespace entry which is itself padded with underscores.
1187193267Sjkim
1188193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1189193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1190193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1191193267Sjkimmuch larger code and data size.
1192193267Sjkim
1193193267Sjkim  Previous Release:
1194193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1195193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1196193267Sjkim  Current Release:
1197193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1198193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1199193267Sjkim
1200193267Sjkim2) iASL Compiler/Disassembler and Tools:
1201193267Sjkim
1202193267SjkimFix build error under Bison-2.4.
1203193267Sjkim
1204193267SjkimDissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
1205193267Sjkimflags. Now decode all flags, regardless of the FADT version. Flag output 
1206193267Sjkimincludes the FADT version which first defined each flag.
1207193267Sjkim
1208193267SjkimThe iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
1209193267SjkimDSDT). Windows only.
1210193267Sjkim
1211193267Sjkim----------------------------------------
1212193267Sjkim04 December 2008. Summary of changes for version 20081204:
1213193267Sjkim
1214193267Sjkim1) ACPI CA Core Subsystem:
1215193267Sjkim
1216193267SjkimThe ACPICA Programmer Reference has been completely updated and revamped for 
1217193267Sjkimthis release. This includes updates to the external interfaces, OSL 
1218193267Sjkiminterfaces, the overview sections, and the debugger reference.
1219193267Sjkim
1220193267SjkimSeveral new ACPICA interfaces have been implemented and documented in the 
1221193267Sjkimprogrammer reference:
1222193267SjkimAcpiReset - Writes the reset value to the FADT-defined reset register.
1223193267SjkimAcpiDisableAllGpes - Disable all available GPEs.
1224193267SjkimAcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
1225193267SjkimAcpiGetGpeDevice - Get the GPE block device associated with a GPE.
1226193267SjkimAcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
1227193267SjkimAcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
1228193267SjkimAcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
1229193267Sjkim
1230193267SjkimMost of the public ACPI hardware-related interfaces have been moved to a new 
1231193267Sjkimfile, components/hardware/hwxface.c
1232193267Sjkim
1233193267SjkimEnhanced the FADT parsing and low-level ACPI register access: The ACPI 
1234193267Sjkimregister lengths within the FADT are now used, and the low level ACPI 
1235193267Sjkimregister access no longer hardcodes the ACPI register lengths. Given that 
1236193267Sjkimthere may be some risk in actually trusting the FADT register lengths, a run-
1237193267Sjkimtime option was added to fall back to the default hardcoded lengths if the 
1238193267SjkimFADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
1239193267Sjkimoption is set to true for now, and a warning is issued if a suspicious FADT 
1240193267Sjkimregister length is overridden with the default value.
1241193267Sjkim
1242193267SjkimFixed a reference count issue in NsRepairObject. This problem was introduced 
1243193267Sjkimin version 20081031 as part of a fix to repair Buffer objects within 
1244193267SjkimPackages. Lin Ming.
1245193267Sjkim
1246193267SjkimAdded semaphore support to the Linux/Unix application OS-services layer 
1247193267Sjkim(OSL). ACPICA BZ 448. Lin Ming.
1248193267Sjkim
1249193267SjkimAdded the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
1250193267Sjkimbe implemented in the OSL, or will binary semaphores be used instead.
1251193267Sjkim
1252193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1253193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1254193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1255193267Sjkimmuch larger code and data size.
1256193267Sjkim
1257193267Sjkim  Previous Release:
1258193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1259193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1260193267Sjkim  Current Release:
1261193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1262193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1263193267Sjkim
1264193267Sjkim2) iASL Compiler/Disassembler and Tools:
1265193267Sjkim
1266193267SjkimiASL: Completed the '-e' option to include additional ACPI tables in order to 
1267193267Sjkimaid with disassembly and External statement generation. ACPICA BZ 742. Lin 
1268193267SjkimMing.
1269193267Sjkim
1270193267SjkimiASL: Removed the "named object in while loop" error. The compiler cannot 
1271193267Sjkimdetermine how many times a loop will execute. ACPICA BZ 730.
1272193267Sjkim
1273193267SjkimDisassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
1274193267SjkimBZ 743.
1275193267Sjkim
1276193267SjkimDisassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
1277193267Sjkim
1278193267Sjkim----------------------------------------
1279193267Sjkim31 October 2008. Summary of changes for version 20081031:
1280193267Sjkim
1281193267Sjkim1) ACPI CA Core Subsystem:
1282193267Sjkim
1283193267SjkimRestructured the ACPICA header files into public/private. acpi.h now includes 
1284193267Sjkimonly the "public" acpica headers. All other acpica headers are "private" and 
1285193267Sjkimshould not be included by acpica users. One new file, accommon.h is used to 
1286193267Sjkiminclude the commonly used private headers for acpica code generation. Future 
1287193267Sjkimplans include moving all private headers to a new subdirectory.
1288193267Sjkim
1289193267SjkimImplemented an automatic Buffer->String return value conversion for 
1290193267Sjkimpredefined ACPI methods. For these methods (such as _BIF), added automatic 
1291193267Sjkimconversion for return objects that are required to be a String, but a Buffer 
1292193267Sjkimwas found instead. This can happen when reading string battery data from an 
1293193267Sjkimoperation region, because it used to be difficult to convert the data from 
1294193267Sjkimbuffer to string from within the ASL. Ensures that the host OS is provided 
1295193267Sjkimwith a valid null-terminated string. Linux BZ 11822.
1296193267Sjkim
1297193267SjkimUpdated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
1298193267Sjkiminto two: one for the 32-bit vector, another for the 64-bit vector. This is 
1299193267Sjkimrequired because the host OS must setup the wake much differently for each 
1300193267Sjkimvector (real vs. protected mode, etc.) and the interface itself should not be 
1301193267Sjkimdeciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
1302193267Sjkiminterface, as it served no purpose (only the firmware reads the vector, OS 
1303193267Sjkimonly writes the vector.) ACPICA BZ 731.
1304193267Sjkim
1305193267SjkimImplemented a mechanism to escape infinite AML While() loops. Added a loop 
1306193267Sjkimcounter to force exit from AML While loops if the count becomes too large. 
1307193267SjkimThis can occur in poorly written AML when the hardware does not respond 
1308193267Sjkimwithin a while loop and the loop does not implement a timeout. The maximum 
1309193267Sjkimloop count is configurable. A new exception code is returned when a loop is 
1310193267Sjkimbroken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
1311193267Sjkim
1312193267SjkimOptimized the execution of AML While loops. Previously, a control state 
1313193267Sjkimobject was allocated and freed for each execution of the loop. The 
1314193267Sjkimoptimization is to simply reuse the control state for each iteration. This 
1315193267Sjkimspeeds up the raw loop execution time by about 5%.
1316193267Sjkim
1317193267SjkimEnhanced the implicit return mechanism. For Windows compatibility, return an 
1318193267Sjkimimplicit integer of value zero for methods that contain no executable code. 
1319193267SjkimSuch methods are seen in the field as stubs (presumably), and can cause 
1320193267Sjkimdrivers to fail if they expect a return value. Lin Ming.
1321193267Sjkim
1322193267SjkimAllow multiple backslashes as root prefixes in namepaths. In a fully 
1323193267Sjkimqualified namepath, allow multiple backslash prefixes. This can happen (and 
1324193267Sjkimis seen in the field) because of the use of a double-backslash in strings 
1325193267Sjkim(since backslash is the escape character) causing confusion. ACPICA BZ 739 
1326193267SjkimLin Ming.
1327193267Sjkim
1328193267SjkimEmit a warning if two different FACS or DSDT tables are discovered in the 
1329193267SjkimFADT. Checks if there are two valid but different addresses for the FACS and 
1330193267SjkimDSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
1331193267Sjkim
1332193267SjkimConsolidated the method argument count validation code. Merged the code that 
1333193267Sjkimvalidates control method argument counts into the predefined validation 
1334193267Sjkimmodule. Eliminates possible multiple warnings for incorrect argument counts.
1335193267Sjkim
1336193267SjkimImplemented ACPICA example code. Includes code for ACPICA initialization, 
1337193267Sjkimhandler installation, and calling a control method. Available at 
1338193267Sjkimsource/tools/examples.
1339193267Sjkim
1340193267SjkimAdded a global pointer for FACS table to simplify internal FACS access. Use 
1341193267Sjkimthe global pointer instead of using AcpiGetTableByIndex for each FACS access. 
1342193267SjkimThis simplifies the code for the Global Lock and the Firmware Waking 
1343193267SjkimVector(s).
1344193267Sjkim
1345193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1346193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1347193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1348193267Sjkimmuch larger code and data size.
1349193267Sjkim
1350193267Sjkim  Previous Release:
1351193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1352193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1353193267Sjkim  Current Release:
1354193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1355193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1356193267Sjkim
1357193267Sjkim2) iASL Compiler/Disassembler and Tools:
1358193267Sjkim
1359193267SjkimiASL: Improved disassembly of external method calls. Added the -e option to 
1360193267Sjkimallow the inclusion of additional ACPI tables to help with the disassembly of 
1361193267Sjkimmethod invocations and the generation of external declarations during the 
1362193267Sjkimdisassembly. Certain external method invocations cannot be disassembled 
1363193267Sjkimproperly without the actual declaration of the method. Use the -e option to 
1364193267Sjkiminclude the table where the external method(s) are actually declared. Most 
1365193267Sjkimuseful for disassembling SSDTs that make method calls back to the master 
1366193267SjkimDSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
1367193267Sjkim-e dsdt.aml ssdt1.aml
1368193267Sjkim
1369193267SjkimiASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
1370193267Sjkimproblem where the use of an alias within a namepath would result in a not 
1371193267Sjkimfound error or cause the compiler to fault. Also now allows forward 
1372193267Sjkimreferences from the Alias operator itself. ACPICA BZ 738.
1373193267Sjkim
1374193267Sjkim----------------------------------------
1375193267Sjkim26 September 2008. Summary of changes for version 20080926:
1376193267Sjkim
1377193267Sjkim1) ACPI CA Core Subsystem:
1378193267Sjkim
1379193267SjkimDesigned and implemented a mechanism to validate predefined ACPI methods and 
1380193267Sjkimobjects. This code validates the predefined ACPI objects (objects whose names 
1381193267Sjkimstart with underscore) that appear in the namespace, at the time they are 
1382193267Sjkimevaluated. The argument count and the type of the returned object are 
1383193267Sjkimvalidated against the ACPI specification. The purpose of this validation is 
1384193267Sjkimto detect problems with the BIOS-implemented predefined ACPI objects before 
1385193267Sjkimthe results are returned to the ACPI-related drivers. Future enhancements may 
1386193267Sjkiminclude actual repair of incorrect return objects where possible. Two new 
1387193267Sjkimfiles are nspredef.c and acpredef.h.
1388193267Sjkim
1389193267SjkimFixed a fault in the AML parser if a memory allocation fails during the Op 
1390193267Sjkimcompletion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
1391193267Sjkim
1392193267SjkimFixed an issue with implicit return compatibility. This change improves the 
1393193267Sjkimimplicit return mechanism to be more compatible with the MS interpreter. Lin 
1394193267SjkimMing, ACPICA BZ 349.
1395193267Sjkim
1396193267SjkimImplemented support for zero-length buffer-to-string conversions. Allow zero 
1397193267Sjkimlength strings during interpreter buffer-to-string conversions. For example, 
1398193267Sjkimduring the ToDecimalString and ToHexString operators, as well as implicit 
1399193267Sjkimconversions. Fiodor Suietov, ACPICA BZ 585.
1400193267Sjkim
1401193267SjkimFixed two possible memory leaks in the error exit paths of 
1402193267SjkimAcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
1403193267Sjkimsimilar in that they use a stack of state objects in order to eliminate 
1404193267Sjkimrecursion. The stack must be fully unwound and deallocated if an error 
1405193267Sjkimoccurs. Lin Ming. ACPICA BZ 383.
1406193267Sjkim
1407193267SjkimRemoved the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
1408193267SjkimACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
1409193267SjkimMoore ACPICA BZ 442.
1410193267Sjkim
1411193267SjkimRemoved the obsolete version number in module headers. Removed the 
1412193267Sjkim"$Revision" number that appeared in each module header. This version number 
1413193267Sjkimwas useful under SourceSafe and CVS, but has no meaning under git. It is not 
1414193267Sjkimonly incorrect, it could also be misleading.
1415193267Sjkim
1416193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1417193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1418193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1419193267Sjkimmuch larger code and data size.
1420193267Sjkim
1421193267Sjkim  Previous Release:
1422193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1423193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1424193267Sjkim  Current Release:
1425193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1426193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1427193267Sjkim
1428193267Sjkim----------------------------------------
1429193267Sjkim29 August 2008. Summary of changes for version 20080829:
1430193267Sjkim
1431193267Sjkim1) ACPI CA Core Subsystem:
1432193267Sjkim
1433193267SjkimCompleted a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
1434193267SjkimReference. Changes include the elimination of cheating on the Object field 
1435193267Sjkimfor the DdbHandle subtype, addition of a reference class field to 
1436193267Sjkimdifferentiate the various reference types (instead of an AML opcode), and the 
1437193267Sjkimcleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
1438193267Sjkim
1439193267SjkimReduce an error to a warning for an incorrect method argument count. 
1440193267SjkimPreviously aborted with an error if too few arguments were passed to a 
1441193267Sjkimcontrol method via the external ACPICA interface. Now issue a warning instead 
1442193267Sjkimand continue. Handles the case where the method inadvertently declares too 
1443193267Sjkimmany arguments, but does not actually use the extra ones. Applies mainly to 
1444193267Sjkimthe predefined methods. Lin Ming. Linux BZ 11032.
1445193267Sjkim
1446193267SjkimDisallow the evaluation of named object types with no intrinsic value. Return 
1447193267SjkimAE_TYPE for objects that have no value and therefore evaluation is undefined: 
1448193267SjkimDevice, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
1449193267Sjkimthese types were allowed, but an exception would be generated at some point 
1450193267Sjkimduring the evaluation. Now, the error is generated up front.
1451193267Sjkim
1452193267SjkimFixed a possible memory leak in the AcpiNsGetExternalPathname function 
1453193267Sjkim(nsnames.c). Fixes a leak in the error exit path.
1454193267Sjkim
1455193267SjkimRemoved the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
1456193267Sjkimlevels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
1457193267Sjkiminterfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
1458193267SjkimACPI_LV_EVENTS.
1459193267Sjkim
1460193267SjkimRemoved obsolete and/or unused exception codes from the acexcep.h header. 
1461193267SjkimThere is the possibility that certain device drivers may be affected if they 
1462193267Sjkimuse any of these exceptions.
1463193267Sjkim
1464193267SjkimThe ACPICA documentation has been added to the public git source tree, under 
1465193267Sjkimacpica/documents. Included are the ACPICA programmer reference, the iASL 
1466193267Sjkimcompiler reference, and the changes.txt release logfile.
1467193267Sjkim
1468193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1469193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1470193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1471193267Sjkimmuch larger code and data size.
1472193267Sjkim
1473193267Sjkim  Previous Release:
1474193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1475193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1476193267Sjkim  Current Release:
1477193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1478193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1479193267Sjkim
1480193267Sjkim2) iASL Compiler/Disassembler and Tools:
1481193267Sjkim
1482193267SjkimAllow multiple argument counts for the predefined _SCP method. ACPI 3.0 
1483193267Sjkimdefines _SCP with 3 arguments. Previous versions defined it with only 1 
1484193267Sjkimargument. iASL now allows both definitions.
1485193267Sjkim
1486193267SjkimiASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
1487193267Sjkimlength subtables when disassembling ACPI tables. Also fixed a couple of 
1488193267Sjkimerrors where a full 16-bit table type field was not extracted from the input 
1489193267Sjkimproperly.
1490193267Sjkim
1491193267Sjkimacpisrc: Improve comment counting mechanism for generating source code 
1492193267Sjkimstatistics. Count first and last lines of multi-line comments as whitespace, 
1493193267Sjkimnot comment lines. Handle Linux legal header in addition to standard acpica 
1494193267Sjkimheader.
1495193267Sjkim
1496193267Sjkim----------------------------------------
1497193267Sjkim
1498193267Sjkim29 July 2008. Summary of changes for version 20080729:
1499193267Sjkim
1500193267Sjkim1) ACPI CA Core Subsystem:
1501193267Sjkim
1502193267SjkimFix a possible deadlock in the GPE dispatch. Remove call to 
1503193267SjkimAcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
1504193267Sjkimto acquire the GPE lock but can deadlock since the GPE lock is already held 
1505193267Sjkimat dispatch time. This code was introduced in version 20060831 as a response 
1506193267Sjkimto Linux BZ 6881 and has since been removed from Linux.
1507193267Sjkim
1508193267SjkimAdd a function to dereference returned reference objects. Examines the return 
1509193267Sjkimobject from a call to AcpiEvaluateObject. Any Index or RefOf references are 
1510193267Sjkimautomatically dereferenced in an attempt to return something useful (these 
1511193267Sjkimreference types cannot be converted into an external ACPI_OBJECT.) Provides 
1512193267SjkimMS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
1513193267Sjkim
1514193267Sjkimx2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
1515193267Sjkimsubtables for the MADT and one new subtable for the SRAT. Includes 
1516193267Sjkimdisassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
1517193267SjkimSpecification, June 2008.
1518193267Sjkim
1519193267SjkimAdditional error checking for pathname utilities. Add error check after all 
1520193267Sjkimcalls to AcpiNsGetPathnameLength. Add status return from 
1521193267SjkimAcpiNsBuildExternalPath and check after all calls. Add parameter validation 
1522193267Sjkimto AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
1523193267Sjkim
1524193267SjkimReturn status from the global init function AcpiUtGlobalInitialize. This is 
1525193267Sjkimused by both the kernel subsystem and the utilities such as iASL compiler. 
1526193267SjkimThe function could possibly fail when the caches are initialized. Yang Yi.
1527193267Sjkim
1528193267SjkimAdd a function to decode reference object types to strings. Created for 
1529193267Sjkimimproved error messages. 
1530193267Sjkim
1531193267SjkimImprove object conversion error messages. Better error messages during object 
1532193267Sjkimconversion from internal to the external ACPI_OBJECT. Used for external calls 
1533193267Sjkimto AcpiEvaluateObject.
1534193267Sjkim
1535193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1536193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1537193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1538193267Sjkimmuch larger code and data size.
1539193267Sjkim
1540193267Sjkim  Previous Release:
1541193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1542193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1543193267Sjkim  Current Release:
1544193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1545193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1546193267Sjkim
1547193267Sjkim2) iASL Compiler/Disassembler and Tools:
1548193267Sjkim
1549193267SjkimDebugger: fix a possible hang when evaluating non-methods. Fixes a problem 
1550193267Sjkimintroduced in version 20080701. If the object being evaluated (via execute 
1551193267Sjkimcommand) is not a method, the debugger can hang while trying to obtain non-
1552193267Sjkimexistent parameters.
1553193267Sjkim
1554193267SjkimiASL: relax error for using reserved "_T_x" identifiers. These names can 
1555193267Sjkimappear in a disassembled ASL file if they were emitted by the original 
1556193267Sjkimcompiler. Instead of issuing an error or warning and forcing the user to 
1557193267Sjkimmanually change these names, issue a remark instead.
1558193267Sjkim
1559193267SjkimiASL: error if named object created in while loop. Emit an error if any named 
1560193267Sjkimobject is created within a While loop. If allowed, this code will generate a 
1561193267Sjkimrun-time error on the second iteration of the loop when an attempt is made to 
1562193267Sjkimcreate the same named object twice. ACPICA bugzilla 730.
1563193267Sjkim
1564193267SjkimiASL: Support absolute pathnames for include files. Add support for absolute 
1565193267Sjkimpathnames within the Include operator. previously, only relative pathnames 
1566193267Sjkimwere supported.
1567193267Sjkim
1568193267SjkimiASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
1569193267SjkimThe ACPI spec requires one interrupt minimum. BZ 423
1570193267Sjkim
1571193267SjkimiASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
1572193267SjkimHandles the case for the Interrupt Resource Descriptor where
1573193267Sjkimthe ResourceSource argument is omitted but ResourceSourceIndex
1574193267Sjkimis present. Now leave room for the Index. BZ 426
1575193267Sjkim
1576193267SjkimiASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
1577193267Sjkimwhere an error message is emitted if the target does not exist. BZ 516
1578193267Sjkim
1579193267SjkimiASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
1580193267Sjkim(get ACPI tables on Windows). This was apparently broken in version 20070919.
1581193267Sjkim
1582193267SjkimAcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
1583193267Sjkimthe EOF happens immediately after the last table in the input file. Print 
1584193267Sjkimcompletion message. Previously, no message was displayed in this case.
1585193267Sjkim
1586193267Sjkim----------------------------------------
1587193267Sjkim01 July 2008. Summary of changes for version 20080701:
1588193267Sjkim
1589193267Sjkim0) Git source tree / acpica.org
1590193267Sjkim
1591193267SjkimFixed a problem where a git-clone from http would not transfer the entire 
1592193267Sjkimsource tree.
1593193267Sjkim
1594193267Sjkim1) ACPI CA Core Subsystem:
1595193267Sjkim
1596193267SjkimImplemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
1597193267Sjkimenable bit. Now performs a read-change-write of the enable register instead 
1598193267Sjkimof simply writing out the cached enable mask. This will prevent inadvertent 
1599193267Sjkimenabling of GPEs if a rogue GPE is received during initialization (before GPE 
1600193267Sjkimhandlers are installed.)
1601193267Sjkim
1602193267SjkimImplemented a copy for dynamically loaded tables. Previously, dynamically 
1603193267Sjkimloaded tables were simply mapped - but on some machines this memory is 
1604193267Sjkimcorrupted after suspend. Now copy the table to a local buffer. For the 
1605193267SjkimOpRegion case, added checksum verify. Use the table length from the table 
1606193267Sjkimheader, not the region length. For the Buffer case, use the table length 
1607193267Sjkimalso. Dennis Noordsij, Bob Moore. BZ 10734
1608193267Sjkim
1609193267SjkimFixed a problem where the same ACPI table could not be dynamically loaded and 
1610193267Sjkimunloaded more than once. Without this change, a table cannot be loaded again 
1611193267Sjkimonce it has been loaded/unloaded one time. The current mechanism does not 
1612193267Sjkimunregister a table upon an unload. During a load, if the same table is found, 
1613193267Sjkimthis no longer returns an exception. BZ 722
1614193267Sjkim
1615193267SjkimFixed a problem where the wrong descriptor length was calculated for the 
1616193267SjkimEndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
1617193267Sjkimare calculated as 12 bytes long, but the actual length in the internal 
1618193267Sjkimdescriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
1619193267Sjkimby Linn Crosetto. BZ 728
1620193267Sjkim
1621193267SjkimFixed a possible memory leak in the Unload operator. The DdbHandle returned 
1622193267Sjkimby Load() did not have its reference count decremented during unload, leading 
1623193267Sjkimto a memory leak. Lin Ming. BZ 727
1624193267Sjkim
1625193267SjkimFixed a possible memory leak when deleting thermal/processor objects. Any 
1626193267Sjkimassociated notify handlers (and objects) were not being deleted. Fiodor 
1627193267SjkimSuietov. BZ 506
1628193267Sjkim
1629193267SjkimFixed the ordering of the ASCII names in the global mutex table to match the 
1630193267Sjkimactual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
1631193267SjkimVegard Nossum. BZ 726
1632193267Sjkim
1633193267SjkimEnhanced the AcpiGetObjectInfo interface to return the number of required 
1634193267Sjkimarguments if the object is a control method. Added this call to the debugger 
1635193267Sjkimso the proper number of default arguments are passed to a method. This 
1636193267Sjkimprevents a warning when executing methods from AcpiExec.
1637193267Sjkim
1638193267SjkimAdded a check for an invalid handle in AcpiGetObjectInfo. Return 
1639193267SjkimAE_BAD_PARAMETER if input handle is invalid. BZ 474
1640193267Sjkim
1641193267SjkimFixed an extraneous warning from exconfig.c on the 64-bit build.
1642193267Sjkim
1643193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1644193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1645193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1646193267Sjkimmuch larger code and data size.
1647193267Sjkim
1648193267Sjkim  Previous Release:
1649193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1650193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1651193267Sjkim  Current Release:
1652193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1653193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1654193267Sjkim
1655193267Sjkim2) iASL Compiler/Disassembler and Tools:
1656193267Sjkim
1657193267SjkimiASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
1658193267Sjkimresource descriptor names.
1659193267Sjkim
1660193267SjkimiASL: Detect invalid ASCII characters in input (windows version). Removed the 
1661193267Sjkim"-CF" flag from the flex compile, enables correct detection of non-ASCII 
1662193267Sjkimcharacters in the input. BZ 441
1663193267Sjkim
1664193267SjkimiASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
1665193267Sjkim"result of operation not used" warning when the DDB handle returned from 
1666193267SjkimLoadTable is not used. The warning is not needed. BZ 590
1667193267Sjkim
1668193267SjkimAcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
1669193267Sjkimpass address of table to the AML. Added option to disable OpRegion simulation 
1670193267Sjkimto allow creation of an OpRegion with a real address that was passed to _CFG. 
1671193267SjkimAll of this allows testing of the Load and Unload operators from AcpiExec.
1672193267Sjkim
1673193267SjkimDebugger: update tables command for unloaded tables. Handle unloaded tables 
1674193267Sjkimand use the standard table header output routine.
1675193267Sjkim
1676193267Sjkim----------------------------------------
1677193267Sjkim09 June 2008. Summary of changes for version 20080609:
1678193267Sjkim
1679193267Sjkim1) ACPI CA Core Subsystem:
1680193267Sjkim
1681193267SjkimImplemented a workaround for reversed _PRT entries. A significant number of 
1682193267SjkimBIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
1683193267Sjkimchange dynamically detects and repairs this problem. Provides compatibility 
1684193267Sjkimwith MS ACPI. BZ 6859
1685193267Sjkim
1686193267SjkimSimplified the internal ACPI hardware interfaces to eliminate the locking 
1687193267Sjkimflag parameter from Register Read/Write. Added a new external interface, 
1688193267SjkimAcpiGetRegisterUnlocked.
1689193267Sjkim
1690193267SjkimFixed a problem where the invocation of a GPE control method could hang. This 
1691193267Sjkimwas a regression introduced in 20080514. The new method argument count 
1692193267Sjkimvalidation mechanism can enter an infinite loop when a GPE method is 
1693193267Sjkimdispatched. Problem fixed by removing the obsolete code that passed GPE block 
1694193267Sjkiminformation to the notify handler via the control method parameter pointer.
1695193267Sjkim
1696193267SjkimFixed a problem where the _SST execution status was incorrectly returned to 
1697193267Sjkimthe caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
1698193267Sjkim20080514. _SST is optional and a NOT_FOUND exception should never be 
1699193267Sjkimreturned. BZ 716
1700193267Sjkim
1701193267SjkimFixed a problem where a deleted object could be accessed from within the AML 
1702193267Sjkimparser. This was a regression introduced in version 20080123 as a fix for the 
1703193267SjkimUnload operator. Lin Ming. BZ 10669
1704193267Sjkim
1705193267SjkimCleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
1706193267Sjkimand eliminated the use of a negative index in a loop. Operands are now 
1707193267Sjkimdisplayed in the correct order, not backwards. This also fixes a regression 
1708193267Sjkimintroduced in 20080514 on 64-bit systems where the elimination of 
1709193267SjkimACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
1710193267Sjkim
1711193267SjkimFixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
1712193267Sjkimpath did not delete a locally allocated structure.
1713193267Sjkim
1714193267SjkimUpdated definitions for the DMAR and SRAT tables to synchronize with the 
1715193267Sjkimcurrent specifications. Includes disassembler support.
1716193267Sjkim
1717193267SjkimFixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
1718193267Sjkimloop termination value was used. Loop terminated on iteration early, missing 
1719193267Sjkimone mutex. Linn Crosetto
1720193267Sjkim
1721193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1722193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1723193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1724193267Sjkimmuch larger code and data size.
1725193267Sjkim
1726193267Sjkim  Previous Release:
1727193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1728193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1729193267Sjkim  Current Release:
1730193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1731193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1732193267Sjkim
1733193267Sjkim2) iASL Compiler/Disassembler and Tools:
1734193267Sjkim
1735193267SjkimDisassembler: Implemented support for EisaId() within _CID objects. Now 
1736193267Sjkimdisassemble integer _CID objects back to EisaId invocations, including 
1737193267Sjkimmultiple integers within _CID packages. Includes single-step support for 
1738193267Sjkimdebugger also.
1739193267Sjkim
1740193267SjkimDisassembler: Added support for DMAR and SRAT table definition changes.
1741193267Sjkim
1742193267Sjkim----------------------------------------
1743193267Sjkim14 May 2008. Summary of changes for version 20080514:
1744193267Sjkim
1745193267Sjkim1) ACPI CA Core Subsystem:
1746193267Sjkim
1747193267SjkimFixed a problem where GPEs were enabled too early during the ACPICA 
1748193267Sjkiminitialization. This could lead to "handler not installed" errors on some 
1749193267Sjkimmachines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
1750193267Sjkimensures that all operation regions and devices throughout the namespace have 
1751193267Sjkimbeen initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
1752193267Sjkim
1753193267SjkimImplemented a change to the enter sleep code. Moved execution of the _GTS 
1754193267Sjkimmethod to just before setting sleep enable bit. The execution was moved from 
1755193267SjkimAcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
1756193267Sjkimimmediately before the SLP_EN bit is set, as per the ACPI specification. 
1757193267SjkimLuming Yu, BZ 1653.
1758193267Sjkim
1759193267SjkimImplemented a fix to disable unknown GPEs (2nd version). Now always disable 
1760193267Sjkimthe GPE, even if ACPICA thinks that that it is already disabled. It is 
1761193267Sjkimpossible that the AML or some other code has enabled the GPE unbeknownst to 
1762193267Sjkimthe ACPICA code.
1763193267Sjkim
1764193267SjkimFixed a problem with the Field operator where zero-length fields would return 
1765193267Sjkiman AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
1766193267Sjkimfield declarations in Field(), BankField(), and IndexField(). BZ 10606.
1767193267Sjkim
1768193267SjkimImplemented a fix for the Load operator, now load the table at the namespace 
1769193267Sjkimroot. This reverts a change introduced in version 20071019. The table is now 
1770193267Sjkimloaded at the namespace root even though this goes against the ACPI 
1771193267Sjkimspecification. This provides compatibility with other ACPI implementations. 
1772193267SjkimThe ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
1773193267Sjkim
1774193267SjkimFixed a problem where ACPICA would not Load() tables with unusual signatures. 
1775193267SjkimNow ignore ACPI table signature for Load() operator. Only "SSDT" is 
1776193267Sjkimacceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
1777193267SjkimTherefore, signature validation is worthless. Apparently MS ACPI accepts such 
1778193267Sjkimsignatures, ACPICA must be compatible. BZ 10454.
1779193267Sjkim
1780193267SjkimFixed a possible negative array index in AcpiUtValidateException. Added NULL 
1781193267Sjkimfields to the exception string arrays to eliminate a -1 subtraction on the 
1782193267SjkimSubStatus field.
1783193267Sjkim
1784193267SjkimUpdated the debug tracking macros to reduce overall code and data size. 
1785193267SjkimChanged ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
1786193267Sjkiminstead of pointers to static strings. Jan Beulich and Bob Moore.
1787193267Sjkim
1788193267SjkimImplemented argument count checking in control method invocation via 
1789193267SjkimAcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
1790193267Sjkimmany. This applies only to extern programmatic control method execution, not 
1791193267Sjkimmethod-to-method calls within the AML. Lin Ming.
1792193267Sjkim
1793193267SjkimEliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
1794193267Sjkimlonger needed, especially with the removal of 16-bit support. It was replaced 
1795193267Sjkimmostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
1796193267Sjkim32/64-bit platforms is required.
1797193267Sjkim
1798193267SjkimAdded the C const qualifier for appropriate string constants -- mostly 
1799193267SjkimMODULE_NAME and printf format strings. Jan Beulich.
1800193267Sjkim
1801193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1802193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1803193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1804193267Sjkimmuch larger code and data size.
1805193267Sjkim
1806193267Sjkim  Previous Release:
1807193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
1808193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
1809193267Sjkim  Current Release:
1810193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1811193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1812193267Sjkim
1813193267Sjkim2) iASL Compiler/Disassembler and Tools:
1814193267Sjkim
1815193267SjkimImplemented ACPI table revision ID validation in the disassembler. Zero is 
1816193267Sjkimalways invalid. For DSDTs, the ID controls the interpreter integer width. 1 
1817193267Sjkimmeans 32-bit and this is unusual. 2 or greater is 64-bit.
1818193267Sjkim
1819193267Sjkim----------------------------------------
1820193267Sjkim21 March 2008. Summary of changes for version 20080321:
1821193267Sjkim
1822193267Sjkim1) ACPI CA Core Subsystem:
1823193267Sjkim
1824193267SjkimImplemented an additional change to the GPE support in order to suppress 
1825193267Sjkimspurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
1826193267Sjkimdisable incoming GPEs that are neither enabled nor disabled -- meaning that 
1827193267Sjkimthe GPE is unknown to the system. This should prevent future interrupt floods 
1828193267Sjkimfrom that GPE. BZ 6217 (Zhang Rui)
1829193267Sjkim
1830193267SjkimFixed a problem where NULL package elements were not returned to the 
1831193267SjkimAcpiEvaluateObject interface correctly. The element was simply ignored 
1832193267Sjkiminstead of returning a NULL ACPI_OBJECT package element, potentially causing 
1833193267Sjkima buffer overflow and/or confusing the caller who expected a fixed number of 
1834193267Sjkimelements. BZ 10132 (Lin Ming, Bob Moore)
1835193267Sjkim
1836193267SjkimFixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
1837193267SjkimQword), Field, BankField, and IndexField operators when invoked from inside 
1838193267Sjkiman executing control method. In this case, these operators created namespace 
1839193267Sjkimnodes that were incorrectly left marked as permanent nodes instead of 
1840193267Sjkimtemporary nodes. This could cause a problem if there is race condition 
1841193267Sjkimbetween an exiting control method and a running namespace walk. (Reported by 
1842193267SjkimLinn Crosetto)
1843193267Sjkim
1844193267SjkimFixed a problem where the CreateField and CreateXXXField operators would 
1845193267Sjkimincorrectly allow duplicate names (the name of the field) with no exception 
1846193267Sjkimgenerated.
1847193267Sjkim
1848193267SjkimImplemented several changes for Notify handling. Added support for new Notify 
1849193267Sjkimvalues (ACPI 2.0+) and improved the Notify debug output. Notify on 
1850193267SjkimPowerResource objects is no longer allowed, as per the ACPI specification. 
1851193267Sjkim(Bob Moore, Zhang Rui)
1852193267Sjkim
1853193267SjkimAll Reference Objects returned via the AcpiEvaluateObject interface are now 
1854193267Sjkimmarked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
1855193267SjkimNULL objects - either NULL package elements or unresolved named references.
1856193267Sjkim
1857193267SjkimFixed a problem where an extraneous debug message was produced for package 
1858193267Sjkimobjects (when debugging enabled). The message "Package List length larger 
1859193267Sjkimthan NumElements count" is now produced in the correct case, and is now an 
1860193267Sjkimerror message rather than a debug message. Added a debug message for the 
1861193267Sjkimopposite case, where NumElements is larger than the Package List (the package 
1862193267Sjkimwill be padded out with NULL elements as per the ACPI spec.)
1863193267Sjkim
1864193267SjkimImplemented several improvements for the output of the ASL "Debug" object to 
1865193267Sjkimclarify and keep all data for a given object on one output line.
1866193267Sjkim
1867193267SjkimFixed two size calculation issues with the variable-length Start Dependent 
1868193267Sjkimresource descriptor.
1869193267Sjkim
1870193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1871193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1872193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
1873193267Sjkima much larger code and data size.
1874193267Sjkim
1875193267Sjkim  Previous Release:
1876193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
1877193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
1878193267Sjkim  Current Release:
1879193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
1880193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
1881193267Sjkim
1882193267Sjkim2) iASL Compiler/Disassembler and Tools:
1883193267Sjkim
1884193267SjkimFixed a problem with the use of the Switch operator where execution of the 
1885193267Sjkimcontaining method by multiple concurrent threads could cause an 
1886193267SjkimAE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
1887193267Sjkimactual Switch opcode, it must be simulated with local named temporary 
1888193267Sjkimvariables and if/else pairs. The solution chosen was to mark any method that 
1889193267Sjkimuses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
1890193267Sjkim
1891193267Sjkim----------------------------------------
1892193267Sjkim13 February 2008. Summary of changes for version 20080213:
1893193267Sjkim
1894193267Sjkim1) ACPI CA Core Subsystem:
1895193267Sjkim
1896193267SjkimImplemented another MS compatibility design change for GPE/Notify handling. 
1897193267SjkimGPEs are now cleared/enabled asynchronously to allow all pending notifies to 
1898193267Sjkimcomplete first. It is expected that the OSL will queue the enable request 
1899193267Sjkimbehind all pending notify requests (may require changes to the local host OSL 
1900193267Sjkimin AcpiOsExecute). Alexey Starikovskiy.
1901193267Sjkim
1902193267SjkimFixed a problem where buffer and package objects passed as arguments to a 
1903193267Sjkimcontrol method via the external AcpiEvaluateObject interface could cause an 
1904193267SjkimAE_AML_INTERNAL exception depending on the order and type of operators 
1905193267Sjkimexecuted by the target control method.
1906193267Sjkim
1907193267SjkimFixed a problem where resource descriptor size optimization could cause a 
1908193267Sjkimproblem when a _CRS resource template is passed to a _SRS method. The _SRS 
1909193267Sjkimresource template must use the same descriptors (with the same size) as 
1910193267Sjkimreturned from _CRS. This change affects the following resource descriptors: 
1911193267SjkimIRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
1912193267Sjkim
1913193267SjkimFixed a problem where a CopyObject to RegionField, BankField, and IndexField 
1914193267Sjkimobjects did not perform an implicit conversion as it should. These types must 
1915193267Sjkimretain their initial type permanently as per the ACPI specification. However, 
1916193267Sjkima CopyObject to all other object types should not perform an implicit 
1917193267Sjkimconversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
1918193267Sjkim
1919193267SjkimFixed a problem with the AcpiGetDevices interface where the mechanism to 
1920193267Sjkimmatch device CIDs did not examine the entire list of available CIDs, but 
1921193267Sjkiminstead aborted on the first non-matching CID. Andrew Patterson.
1922193267Sjkim
1923193267SjkimFixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
1924193267Sjkiminadvertently changed to return a 16-bit value instead of a 32-bit value, 
1925193267Sjkimtruncating the upper dword of a 64-bit value. This macro is only used to 
1926193267Sjkimdisplay debug output, so no incorrect calculations were made. Also, 
1927193267Sjkimreimplemented the macro so that a 64-bit shift is not performed by 
1928193267Sjkiminefficient compilers.
1929193267Sjkim
1930193267SjkimAdded missing va_end statements that should correspond with each va_start 
1931193267Sjkimstatement.
1932193267Sjkim
1933193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1934193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1935193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
1936193267Sjkima much larger code and data size.
1937193267Sjkim
1938193267Sjkim  Previous Release:
1939193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
1940193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
1941193267Sjkim  Current Release:
1942193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
1943193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
1944193267Sjkim
1945193267Sjkim2) iASL Compiler/Disassembler and Tools:
1946193267Sjkim
1947193267SjkimImplemented full disassembler support for the following new ACPI tables: 
1948193267SjkimBERT, EINJ, and ERST. Implemented partial disassembler support for the 
1949193267Sjkimcomplicated HEST table. These tables support the Windows Hardware Error 
1950193267SjkimArchitecture (WHEA).
1951193267Sjkim
1952193267Sjkim----------------------------------------
1953193267Sjkim23 January 2008. Summary of changes for version 20080123:
1954193267Sjkim
1955193267Sjkim1) ACPI CA Core Subsystem:
1956193267Sjkim
1957193267SjkimAdded the 2008 copyright to all module headers and signons. This affects 
1958193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
1959193267Sjkimthe tools/utilities.
1960193267Sjkim
1961193267SjkimFixed a problem with the SizeOf operator when used with Package and Buffer 
1962193267Sjkimobjects. These objects have deferred execution for some arguments, and the 
1963193267Sjkimexecution is now completed before the SizeOf is executed. This problem caused 
1964193267Sjkimunexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
1965193267Sjkim9558
1966193267Sjkim
1967193267SjkimImplemented an enhancement to the interpreter "slack mode". In the absence of 
1968193267Sjkiman explicit return or an implicitly returned object from the last executed 
1969193267Sjkimopcode, a control method will now implicitly return an integer of value 0 for 
1970193267SjkimMicrosoft compatibility. (Lin Ming) BZ 392
1971193267Sjkim
1972193267SjkimFixed a problem with the Load operator where an exception was not returned in 
1973193267Sjkimthe case where the table is already loaded. (Lin Ming) BZ 463
1974193267Sjkim
1975193267SjkimImplemented support for the use of DDBHandles as an Indexed Reference, as per 
1976193267Sjkimthe ACPI spec. (Lin Ming) BZ 486
1977193267Sjkim
1978193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
1979193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
1980193267Sjkim
1981193267SjkimFixed a problem with the LoadTable operator where the OemId and OemTableId 
1982193267Sjkiminput strings could cause unexpected failures if they were shorter than the 
1983193267Sjkimmaximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
1984193267Sjkim
1985193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
1986193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
1987193267Sjkim
1988193267SjkimImplemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
1989193267SjkimIBFT, UEFI, WDAT. Disassembler support is forthcoming.
1990193267Sjkim
1991193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1992193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1993193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
1994193267Sjkima much larger code and data size.
1995193267Sjkim
1996193267Sjkim  Previous Release:
1997193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
1998193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
1999193267Sjkim  Current Release:
2000193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2001193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2002193267Sjkim
2003193267Sjkim2) iASL Compiler/Disassembler and Tools:
2004193267Sjkim
2005193267SjkimImplemented support in the disassembler for checksum validation on incoming 
2006193267Sjkimbinary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
2007193267Sjkimheader dump at the start of the disassembly.
2008193267Sjkim
2009193267SjkimImplemented additional debugging information in the namespace listing file 
2010193267Sjkimcreated during compilation. In addition to the namespace hierarchy, the full 
2011193267Sjkimpathname to each namespace object is displayed.
2012193267Sjkim
2013193267SjkimFixed a problem with the disassembler where invalid ACPI tables could cause 
2014193267Sjkimfaults or infinite loops.
2015193267Sjkim
2016193267SjkimFixed an unexpected parse error when using the optional "parameter types" 
2017193267Sjkimlist in a control method declaration. (Lin Ming) BZ 397
2018193267Sjkim
2019193267SjkimFixed a problem where two External declarations with the same name did not 
2020193267Sjkimcause an error (Lin Ming) BZ 509
2021193267Sjkim
2022193267SjkimImplemented support for full TermArgs (adding Argx, Localx and method 
2023193267Sjkiminvocation) for the ParameterData parameter to the LoadTable operator. (Lin 
2024193267SjkimMing) BZ 583,587
2025193267Sjkim
2026193267Sjkim----------------------------------------
2027193267Sjkim19 December 2007. Summary of changes for version 20071219:
2028193267Sjkim
2029193267Sjkim1) ACPI CA Core Subsystem:
2030193267Sjkim
2031193267SjkimImplemented full support for deferred execution for the TermArg string 
2032193267Sjkimarguments for DataTableRegion. This enables forward references and full 
2033193267Sjkimoperand resolution for the three string arguments. Similar to OperationRegion 
2034193267Sjkimdeferred argument execution.) Lin Ming. BZ 430
2035193267Sjkim
2036193267SjkimImplemented full argument resolution support for the BankValue argument to 
2037193267SjkimBankField. Previously, only constants were supported, now any TermArg may be 
2038193267Sjkimused. Lin Ming BZ 387, 393
2039193267Sjkim
2040193267SjkimFixed a problem with AcpiGetDevices where the search of a branch of the 
2041193267Sjkimdevice tree could be terminated prematurely. In accordance with the ACPI 
2042193267Sjkimspecification, the search down the current branch is terminated if a device 
2043193267Sjkimis both not present and not functional (instead of just not present.) Yakui 
2044193267SjkimZhao.
2045193267Sjkim
2046193267SjkimFixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
2047193267Sjkimthe underlying AML code changed the GPE enable registers. Now, any unknown 
2048193267Sjkimincoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
2049193267Sjkiminstead of simply ignored. Rui Zhang.
2050193267Sjkim
2051193267SjkimFixed a problem with Index Fields where the Index register was incorrectly 
2052193267Sjkimlimited to a maximum of 32 bits. Now any size may be used.
2053193267Sjkim
2054193267SjkimFixed a couple memory leaks associated with "implicit return" objects when 
2055193267Sjkimthe AML Interpreter slack mode is enabled. Lin Ming BZ 349
2056193267Sjkim
2057193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2058193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2059193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2060193267Sjkima much larger code and data size.
2061193267Sjkim
2062193267Sjkim  Previous Release:
2063193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2064193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2065193267Sjkim  Current Release:
2066193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2067193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2068193267Sjkim
2069193267Sjkim----------------------------------------
2070193267Sjkim14 November 2007. Summary of changes for version 20071114:
2071193267Sjkim
2072193267Sjkim1) ACPI CA Core Subsystem:
2073193267Sjkim
2074193267SjkimImplemented event counters for each of the Fixed Events, the ACPI SCI 
2075193267Sjkim(interrupt) itself, and control methods executed. Named 
2076193267SjkimAcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
2077193267Sjkimshould be useful for debugging and statistics.
2078193267Sjkim
2079193267SjkimImplemented a new external interface, AcpiGetStatistics, to retrieve the 
2080193267Sjkimcontents of the various event counters. Returns the current values for 
2081193267SjkimAcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
2082193267SjkimAcpiMethodCount. The interface can be expanded in the future if new counters 
2083193267Sjkimare added. Device drivers should use this interface rather than access the 
2084193267Sjkimcounters directly.
2085193267Sjkim
2086193267SjkimFixed a problem with the FromBCD and ToBCD operators. With some compilers, 
2087193267Sjkimthe ShortDivide function worked incorrectly, causing problems with the BCD 
2088193267Sjkimfunctions with large input values. A truncation from 64-bit to 32-bit 
2089193267Sjkiminadvertently occurred. Internal BZ 435. Lin Ming
2090193267Sjkim
2091193267SjkimFixed a problem with Index references passed as method arguments. References 
2092193267Sjkimpassed as arguments to control methods were dereferenced immediately (before 
2093193267Sjkimcontrol was passed to the called method). The references are now correctly 
2094193267Sjkimpassed directly to the called method. BZ 5389. Lin Ming
2095193267Sjkim
2096193267SjkimFixed a problem with CopyObject used in conjunction with the Index operator. 
2097193267SjkimThe reference was incorrectly dereferenced before the copy. The reference is 
2098193267Sjkimnow correctly copied. BZ 5391. Lin Ming
2099193267Sjkim
2100193267SjkimFixed a problem with Control Method references within Package objects. These 
2101193267Sjkimreferences are now correctly generated. This completes the package 
2102193267Sjkimconstruction overhaul that began in version 20071019.
2103193267Sjkim
2104193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2105193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2106193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2107193267Sjkima much larger code and data size.
2108193267Sjkim
2109193267Sjkim  Previous Release:
2110193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2111193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2112193267Sjkim  Current Release:
2113193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2114193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2115193267Sjkim
2116193267Sjkim
2117193267Sjkim2) iASL Compiler/Disassembler and Tools:
2118193267Sjkim
2119193267SjkimThe AcpiExec utility now installs handlers for all of the predefined 
2120193267SjkimOperation Region types. New types supported are: PCI_Config, CMOS, and 
2121193267SjkimPCIBARTarget.
2122193267Sjkim
2123193267SjkimFixed a problem with the 64-bit version of AcpiExec where the extended (64-
2124193267Sjkimbit) address fields for the DSDT and FACS within the FADT were not being 
2125193267Sjkimused, causing truncation of the upper 32-bits of these addresses. Lin Ming 
2126193267Sjkimand Bob Moore
2127193267Sjkim
2128193267Sjkim----------------------------------------
2129193267Sjkim19 October 2007. Summary of changes for version 20071019:
2130193267Sjkim
2131193267Sjkim1) ACPI CA Core Subsystem:
2132193267Sjkim
2133193267SjkimFixed a problem with the Alias operator when the target of the alias is a 
2134193267Sjkimnamed ASL operator that opens a new scope -- Scope, Device, PowerResource, 
2135193267SjkimProcessor, and ThermalZone. In these cases, any children of the original 
2136193267Sjkimoperator could not be accessed via the alias, potentially causing unexpected 
2137193267SjkimAE_NOT_FOUND exceptions. (BZ 9067)
2138193267Sjkim
2139193267SjkimFixed a problem with the Package operator where all named references were 
2140193267Sjkimcreated as object references and left otherwise unresolved. According to the 
2141193267SjkimACPI specification, a Package can only contain Data Objects or references to 
2142193267Sjkimcontrol methods. The implication is that named references to Data Objects 
2143193267Sjkim(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
2144193267Sjkimimmediately upon package creation. This is the approach taken with this 
2145193267Sjkimchange. References to all other named objects (Methods, Devices, Scopes, 
2146193267Sjkimetc.) are all now properly created as reference objects. (BZ 5328)
2147193267Sjkim
2148193267SjkimReverted a change to Notify handling that was introduced in version 
2149193267Sjkim20070508. This version changed the Notify handling from asynchronous to 
2150193267Sjkimfully synchronous (Device driver Notify handling with respect to the Notify 
2151193267SjkimASL operator). It was found that this change caused more problems than it 
2152193267Sjkimsolved and was removed by most users.
2153193267Sjkim
2154193267SjkimFixed a problem with the Increment and Decrement operators where the type of 
2155193267Sjkimthe target object could be unexpectedly and incorrectly changed. (BZ 353) 
2156193267SjkimLin Ming.
2157193267Sjkim
2158193267SjkimFixed a problem with the Load and LoadTable operators where the table 
2159193267Sjkimlocation within the namespace was ignored. Instead, the table was always 
2160193267Sjkimloaded into the root or current scope. Lin Ming.
2161193267Sjkim
2162193267SjkimFixed a problem with the Load operator when loading a table from a buffer 
2163193267Sjkimobject. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
2164193267Sjkim
2165193267SjkimFixed a problem with the Debug object where a store of a DdbHandle reference 
2166193267Sjkimobject to the Debug object could cause a fault.
2167193267Sjkim
2168193267SjkimAdded a table checksum verification for the Load operator, in the case where 
2169193267Sjkimthe load is from a buffer. (BZ 578).
2170193267Sjkim
2171193267SjkimImplemented additional parameter validation for the LoadTable operator. The 
2172193267Sjkimlength of the input strings SignatureString, OemIdString, and OemTableId are 
2173193267Sjkimnow checked for maximum lengths. (BZ 582) Lin Ming.
2174193267Sjkim
2175193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2176193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2177193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2178193267Sjkima much larger code and data size.
2179193267Sjkim
2180193267Sjkim  Previous Release:
2181193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2182193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2183193267Sjkim  Current Release:
2184193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2185193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2186193267Sjkim
2187193267Sjkim
2188193267Sjkim2) iASL Compiler/Disassembler:
2189193267Sjkim
2190193267SjkimFixed a problem where if a single file was specified and the file did not 
2191193267Sjkimexist, no error message was emitted. (Introduced with wildcard support in 
2192193267Sjkimversion 20070917.)
2193193267Sjkim
2194193267Sjkim----------------------------------------
2195193267Sjkim19 September 2007. Summary of changes for version 20070919:
2196193267Sjkim
2197193267Sjkim1) ACPI CA Core Subsystem:
2198193267Sjkim
2199193267SjkimDesigned and implemented new external interfaces to install and remove 
2200193267Sjkimhandlers for ACPI table-related events. Current events that are defined are 
2201193267SjkimLOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
2202193267Sjkimthey are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
2203193267SjkimAcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2204193267Sjkim
2205193267SjkimFixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
2206193267Sjkim(acpi_serialized option on Linux) could cause some systems to hang during 
2207193267Sjkiminitialization. (Bob Moore) BZ 8171
2208193267Sjkim
2209193267SjkimFixed a problem where objects of certain types (Device, ThermalZone, 
2210193267SjkimProcessor, PowerResource) can be not found if they are declared and 
2211193267Sjkimreferenced from within the same control method (Lin Ming) BZ 341
2212193267Sjkim
2213193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2214193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2215193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2216193267Sjkima much larger code and data size.
2217193267Sjkim
2218193267Sjkim  Previous Release:
2219193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2220193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2221193267Sjkim  Current Release:
2222193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2223193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2224193267Sjkim
2225193267Sjkim
2226193267Sjkim2) iASL Compiler/Disassembler:
2227193267Sjkim
2228193267SjkimImplemented support to allow multiple files to be compiled/disassembled in a 
2229193267Sjkimsingle invocation. This includes command line wildcard support for both the 
2230193267SjkimWindows and Unix versions of the compiler. This feature simplifies the 
2231193267Sjkimdisassembly and compilation of multiple ACPI tables in a single directory.
2232193267Sjkim
2233193267Sjkim----------------------------------------
2234193267Sjkim08 May 2007. Summary of changes for version 20070508:
2235193267Sjkim
2236193267Sjkim1) ACPI CA Core Subsystem:
2237193267Sjkim
2238193267SjkimImplemented a Microsoft compatibility design change for the handling of the 
2239193267SjkimNotify AML operator. Previously, notify handlers were dispatched and 
2240193267Sjkimexecuted completely asynchronously in a deferred thread. The new design 
2241193267Sjkimstill executes the notify handlers in a different thread, but the original 
2242193267Sjkimthread that executed the Notify() now waits at a synchronization point for 
2243193267Sjkimthe notify handler to complete. Some machines depend on a synchronous Notify 
2244193267Sjkimoperator in order to operate correctly.
2245193267Sjkim
2246193267SjkimImplemented support to allow Package objects to be passed as method 
2247193267Sjkimarguments to the external AcpiEvaluateObject interface. Previously, this 
2248193267Sjkimwould return the AE_NOT_IMPLEMENTED exception. This feature had not been 
2249193267Sjkimimplemented since there were no reserved control methods that required it 
2250193267Sjkimuntil recently.
2251193267Sjkim
2252193267SjkimFixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
2253193267Sjkimcontained invalid non-zero values in reserved fields could cause later 
2254193267Sjkimfailures because these fields have meaning in later revisions of the FADT. 
2255193267SjkimFor incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
2256193267Sjkimare: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
2257193267Sjkim
2258193267SjkimFixed a problem where the Global Lock handle was not properly updated if a 
2259193267Sjkimthread that acquired the Global Lock via executing AML code then attempted 
2260193267Sjkimto acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
2261193267SjkimLiu.
2262193267Sjkim
2263193267SjkimFixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
2264193267Sjkimcould be corrupted if the interrupt being removed was at the head of the 
2265193267Sjkimlist. Reported by Linn Crosetto.
2266193267Sjkim
2267193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2268193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2269193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2270193267Sjkima much larger code and data size.
2271193267Sjkim
2272193267Sjkim  Previous Release:
2273193267Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2274193267Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2275193267Sjkim  Current Release:
2276193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2277193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2278193267Sjkim
2279193267Sjkim----------------------------------------
2280167802Sjkim20 March 2007. Summary of changes for version 20070320:
2281167802Sjkim
2282167802Sjkim1) ACPI CA Core Subsystem:
2283167802Sjkim
2284193267SjkimImplemented a change to the order of interpretation and evaluation of AML 
2285193267Sjkimoperand objects within the AML interpreter. The interpreter now evaluates 
2286193267Sjkimoperands in the order that they appear in the AML stream (and the 
2287193267Sjkimcorresponding ASL code), instead of in the reverse order (after the entire 
2288193267Sjkimoperand list has been parsed). The previous behavior caused several subtle 
2289193267Sjkimincompatibilities with the Microsoft AML interpreter as well as being 
2290193267Sjkimsomewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
2291167802Sjkim
2292193267SjkimImplemented a change to the ACPI Global Lock support. All interfaces to the 
2293193267Sjkimglobal lock now allow the same thread to acquire the lock multiple times. 
2294193267SjkimThis affects the AcpiAcquireGlobalLock external interface to the global lock 
2295193267Sjkimas well as the internal use of the global lock to support AML fields -- a 
2296193267Sjkimcontrol method that is holding the global lock can now simultaneously access 
2297193267SjkimAML fields that require global lock protection. Previously, in both cases, 
2298193267Sjkimthis would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
2299193267SjkimAcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
2300193267SjkimController. There is no change to the behavior of the AML Acquire operator, 
2301193267Sjkimas this can already be used to acquire a mutex multiple times by the same 
2302193267Sjkimthread. BZ 8066. With assistance from Alexey Starikovskiy.
2303167802Sjkim
2304193267SjkimFixed a problem where invalid objects could be referenced in the AML 
2305193267SjkimInterpreter after error conditions. During operand evaluation, ensure that 
2306193267Sjkimthe internal "Return Object" field is cleared on error and only valid 
2307193267Sjkimpointers are stored there. Caused occasional access to deleted objects that 
2308193267Sjkimresulted in "large reference count" warning messages. Valery Podrezov.
2309167802Sjkim
2310193267SjkimFixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
2311193267Sjkimdeeply nested control method invocations. BZ 7873, local BZ 487. Valery 
2312193267SjkimPodrezov.
2313167802Sjkim
2314193267SjkimFixed an internal problem with the handling of result objects on the 
2315193267Sjkiminterpreter result stack. BZ 7872. Valery Podrezov.
2316167802Sjkim
2317193267SjkimRemoved obsolete code that handled the case where AML_NAME_OP is the target 
2318193267Sjkimof a reference (Reference.Opcode). This code was no longer necessary. BZ 
2319193267Sjkim7874. Valery Podrezov.
2320167802Sjkim
2321193267SjkimRemoved obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
2322193267Sjkimremnant from the previously discontinued 16-bit support.
2323167802Sjkim
2324193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2325193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2326193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2327193267Sjkima much larger code and data size.
2328167802Sjkim
2329167802Sjkim  Previous Release:
2330167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2331167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2332167802Sjkim  Current Release:
2333167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2334167802Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2335167802Sjkim
2336167802Sjkim----------------------------------------
2337167802Sjkim26 January 2007. Summary of changes for version 20070126:
2338167802Sjkim
2339167802Sjkim1) ACPI CA Core Subsystem:
2340167802Sjkim
2341193267SjkimAdded the 2007 copyright to all module headers and signons. This affects 
2342193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2343193267Sjkimthe utilities.
2344167802Sjkim
2345193267SjkimImplemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
2346193267Sjkimduring a table load. A bad pointer was passed in the case where the DSDT is 
2347193267Sjkimoverridden, causing a fault in this case.
2348167802Sjkim
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 
2351193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2352193267Sjkima much larger code and data size.
2353167802Sjkim
2354167802Sjkim  Previous Release:
2355167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2356167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2357167802Sjkim  Current Release:
2358167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2359167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2360167802Sjkim
2361167802Sjkim----------------------------------------
2362167802Sjkim15 December 2006. Summary of changes for version 20061215:
2363167802Sjkim
2364167802Sjkim1) ACPI CA Core Subsystem:
2365167802Sjkim
2366193267SjkimSupport for 16-bit ACPICA has been completely removed since it is no longer 
2367193267Sjkimnecessary and it clutters the code. All 16-bit macros, types, and 
2368193267Sjkimconditional compiles have been removed, cleaning up and simplifying the code 
2369193267Sjkimacross the entire subsystem. DOS support is no longer needed since the 
2370193267Sjkimbootable Linux firmware kit is now available.
2371167802Sjkim
2372193267SjkimThe handler for the Global Lock is now removed during AcpiTerminate to 
2373193267Sjkimenable a clean subsystem restart, via the implementation of the 
2374193267SjkimAcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
2375193267SjkimHP)
2376167802Sjkim
2377193267SjkimImplemented enhancements to the multithreading support within the debugger 
2378193267Sjkimto enable improved multithreading debugging and evaluation of the subsystem. 
2379167802Sjkim(Valery Podrezov)
2380167802Sjkim
2381193267SjkimDebugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
2382193267Sjkimmemory used during the execution, as well as the maximum memory consumed by 
2383193267Sjkimeach of the various object types. (Valery Podrezov)
2384167802Sjkim
2385193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2386193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2387193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2388193267Sjkima much larger code and data size.
2389193267Sjkim
2390167802Sjkim  Previous Release:
2391167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2392167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2393167802Sjkim  Current Release:
2394167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2395167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2396167802Sjkim
2397167802Sjkim
2398167802Sjkim2) iASL Compiler/Disassembler and Tools:
2399167802Sjkim
2400193267SjkimAcpiExec: Implemented a new option (-m) to display full memory use 
2401193267Sjkimstatistics upon subsystem/program termination. (Valery Podrezov)
2402167802Sjkim
2403167802Sjkim----------------------------------------
2404167802Sjkim09 November 2006. Summary of changes for version 20061109:
2405167802Sjkim
2406167802Sjkim1) ACPI CA Core Subsystem:
2407167802Sjkim
2408193267SjkimOptimized the Load ASL operator in the case where the source operand is an 
2409193267Sjkimoperation region. Simply map the operation region memory, instead of 
2410193267Sjkimperforming a bytewise read. (Region must be of type SystemMemory, see 
2411193267Sjkimbelow.)
2412167802Sjkim
2413193267SjkimFixed the Load ASL operator for the case where the source operand is a 
2414193267Sjkimregion field. A buffer object is also allowed as the source operand. BZ 480
2415167802Sjkim
2416193267SjkimFixed a problem where the Load ASL operator allowed the source operand to be 
2417193267Sjkiman operation region of any type. It is now restricted to regions of type 
2418193267SjkimSystemMemory, as per the ACPI specification. BZ 481
2419167802Sjkim
2420193267SjkimAdditional cleanup and optimizations for the new Table Manager code.
2421167802Sjkim
2422193267SjkimAcpiEnable will now fail if all of the required ACPI tables are not loaded 
2423193267Sjkim(FADT, FACS, DSDT). BZ 477
2424167802Sjkim
2425193267SjkimAdded #pragma pack(8/4) to acobject.h to ensure that the structures in this 
2426193267Sjkimheader are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
2427193267Sjkimmanually optimized to be aligned and will not work if it is byte-packed. 
2428167802Sjkim
2429193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2430193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2431193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2432193267Sjkima much larger code and data size.
2433167802Sjkim
2434167802Sjkim  Previous Release:
2435167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2436167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2437167802Sjkim  Current Release:
2438167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2439167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2440167802Sjkim
2441167802Sjkim
2442167802Sjkim2) iASL Compiler/Disassembler and Tools:
2443167802Sjkim
2444193267SjkimFixed a problem where the presence of the _OSI predefined control method 
2445193267Sjkimwithin complex expressions could cause an internal compiler error.
2446167802Sjkim
2447193267SjkimAcpiExec: Implemented full region support for multiple address spaces. 
2448193267SjkimSpaceId is now part of the REGION object. BZ 429
2449167802Sjkim
2450167802Sjkim----------------------------------------
2451167802Sjkim11 October 2006. Summary of changes for version 20061011:
2452167802Sjkim
2453167802Sjkim1) ACPI CA Core Subsystem:
2454167802Sjkim
2455193267SjkimCompleted an AML interpreter performance enhancement for control method 
2456193267Sjkimexecution. Previously a 2-pass parse/execution, control methods are now 
2457193267Sjkimcompletely parsed and executed in a single pass. This improves overall 
2458193267Sjkiminterpreter performance by ~25%, reduces code size, and reduces CPU stack 
2459193267Sjkimuse. (Valery Podrezov + interpreter changes in version 20051202 that 
2460193267Sjkimeliminated namespace loading during the pass one parse.)
2461167802Sjkim
2462193267SjkimImplemented _CID support for PCI Root Bridge detection. If the _HID does not 
2463193267Sjkimmatch the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
2464193267Sjkimobtained and also checked for an ID match.
2465167802Sjkim
2466193267SjkimImplemented additional support for the PCI _ADR execution: upsearch until a 
2467193267Sjkimdevice scope is found before executing _ADR. This allows PCI_Config 
2468193267Sjkimoperation regions to be declared locally within control methods underneath 
2469193267SjkimPCI device objects.
2470167802Sjkim
2471193267SjkimFixed a problem with a possible race condition between threads executing 
2472193267SjkimAcpiWalkNamespace and the AML interpreter. This condition was removed by 
2473193267Sjkimmodifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
2474193267Sjkimentries created during any concurrent control method execution. An 
2475193267Sjkimadditional namespace race condition is known to exist between 
2476193267SjkimAcpiWalkNamespace and the Load/Unload ASL operators and is still under 
2477193267Sjkiminvestigation.
2478167802Sjkim
2479193267SjkimRestructured the AML ParseLoop function, breaking it into several 
2480193267Sjkimsubfunctions in order to reduce CPU stack use and improve maintainability. 
2481193267Sjkim(Mikhail Kouzmich)
2482167802Sjkim
2483193267SjkimAcpiGetHandle: Fix for parameter validation to detect invalid combinations 
2484193267Sjkimof prefix handle and pathname. BZ 478
2485167802Sjkim
2486193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2487193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2488193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2489193267Sjkima much larger code and data size.
2490167802Sjkim
2491167802Sjkim  Previous Release:
2492167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2493167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2494167802Sjkim  Current Release:
2495167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2496167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2497167802Sjkim
2498167802Sjkim2) iASL Compiler/Disassembler and Tools:
2499167802Sjkim
2500193267SjkimPorted the -g option (get local ACPI tables) to the new ACPICA Table Manager 
2501193267Sjkimto restore original behavior.
2502167802Sjkim
2503167802Sjkim----------------------------------------
2504167802Sjkim27 September 2006. Summary of changes for version 20060927:
2505167802Sjkim
2506167802Sjkim1) ACPI CA Core Subsystem:
2507167802Sjkim
2508193267SjkimRemoved the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
2509193267SjkimThese functions now use a spinlock for mutual exclusion and the interrupt 
2510193267Sjkimlevel indication flag is not needed.
2511167802Sjkim
2512193267SjkimFixed a problem with the Global Lock where the lock could appear to be 
2513193267Sjkimobtained before it is actually obtained. The global lock semaphore was 
2514193267Sjkiminadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
2515193267SjkimSuietov.
2516167802Sjkim
2517193267SjkimFixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
2518193267Sjkima read from a buffer or region field. (BZ 458) Fiodor Suietov.
2519167802Sjkim
2520193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2521193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2522193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2523193267Sjkima much larger code and data size.
2524167802Sjkim
2525167802Sjkim  Previous Release:
2526167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2527167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2528167802Sjkim  Current Release:
2529167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2530167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2531167802Sjkim
2532167802Sjkim
2533167802Sjkim2) iASL Compiler/Disassembler and Tools:
2534167802Sjkim
2535193267SjkimFixed a compilation problem with the pre-defined Resource Descriptor field 
2536193267Sjkimnames where an "object does not exist" error could be incorrectly generated 
2537193267Sjkimif the parent ResourceTemplate pathname places the template within a 
2538193267Sjkimdifferent namespace scope than the current scope. (BZ 7212)
2539167802Sjkim
2540193267SjkimFixed a problem where the compiler could hang after syntax errors detected 
2541193267Sjkimin an ElseIf construct. (BZ 453)
2542167802Sjkim
2543193267SjkimFixed a problem with the AmlFilename parameter to the DefinitionBlock() 
2544193267Sjkimoperator. An incorrect output filename was produced when this parameter was 
2545193267Sjkima null string (""). Now, the original input filename is used as the AML 
2546193267Sjkimoutput filename, with an ".aml" extension.
2547167802Sjkim
2548193267SjkimImplemented a generic batch command mode for the AcpiExec utility (execute 
2549193267Sjkimany AML debugger command) (Valery Podrezov).
2550167802Sjkim
2551167802Sjkim----------------------------------------
2552167802Sjkim12 September 2006. Summary of changes for version 20060912:
2553167802Sjkim
2554167802Sjkim1) ACPI CA Core Subsystem:
2555167802Sjkim
2556193267SjkimEnhanced the implementation of the "serialized mode" of the interpreter 
2557193267Sjkim(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
2558193267Sjkimspecified, instead of creating a serialization semaphore per control method, 
2559193267Sjkimthe interpreter lock is simply no longer released before a blocking 
2560193267Sjkimoperation during control method execution. This effectively makes the AML 
2561193267SjkimInterpreter single-threaded. The overhead of a semaphore per-method is 
2562193267Sjkimeliminated.
2563167802Sjkim
2564193267SjkimFixed a regression where an error was no longer emitted if a control method 
2565193267Sjkimattempts to create 2 objects of the same name. This once again returns 
2566193267SjkimAE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
2567193267Sjkimwill dynamically serialize the control method to possible prevent future 
2568193267Sjkimerrors. (BZ 440)
2569167802Sjkim
2570193267SjkimIntegrated a fix for a problem with PCI Express HID detection in the PCI 
2571193267SjkimConfig Space setup procedure. (BZ 7145)
2572167802Sjkim
2573193267SjkimMoved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
2574193267SjkimAcpiHwInitialize function - the FADT registers are now validated when the 
2575193267Sjkimtable is loaded.
2576167802Sjkim
2577193267SjkimAdded two new warnings during FADT verification - 1) if the FADT is larger 
2578193267Sjkimthan the largest known FADT version, and 2) if there is a mismatch between a 
2579193267Sjkim32-bit block address and the 64-bit X counterpart (when both are non-zero.)
2580167802Sjkim
2581193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2582193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2583193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2584193267Sjkima much larger code and data size.
2585167802Sjkim
2586167802Sjkim  Previous Release:
2587167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2588167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2589167802Sjkim  Current Release:
2590167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2591167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2592167802Sjkim
2593167802Sjkim
2594167802Sjkim2) iASL Compiler/Disassembler and Tools:
2595167802Sjkim
2596193267SjkimFixed a problem with the implementation of the Switch() operator where the 
2597193267Sjkimtemporary variable was declared too close to the actual Switch, instead of 
2598193267Sjkimat method level. This could cause a problem if the Switch() operator is 
2599193267Sjkimwithin a while loop, causing an error on the second iteration. (BZ 460)
2600167802Sjkim
2601193267SjkimDisassembler - fix for error emitted for unknown type for target of scope 
2602193267Sjkimoperator. Now, ignore it and continue.
2603167802Sjkim
2604193267SjkimDisassembly of an FADT now verifies the input FADT and reports any errors 
2605193267Sjkimfound. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
2606167802Sjkim
2607193267SjkimDisassembly of raw data buffers with byte initialization data now prefixes 
2608193267Sjkimeach output line with the current buffer offset.
2609167802Sjkim
2610193267SjkimDisassembly of ASF! table now includes all variable-length data fields at 
2611193267Sjkimthe end of some of the subtables.
2612167802Sjkim
2613193267SjkimThe disassembler now emits a comment if a buffer appears to be a 
2614193267SjkimResourceTemplate, but cannot be disassembled as such because the EndTag does 
2615193267Sjkimnot appear at the very end of the buffer.
2616167802Sjkim
2617193267SjkimAcpiExec - Added the "-t" command line option to enable the serialized mode 
2618193267Sjkimof the AML interpreter.
2619167802Sjkim
2620167802Sjkim----------------------------------------
2621167802Sjkim31 August 2006. Summary of changes for version 20060831:
2622167802Sjkim
2623167802Sjkim1) ACPI CA Core Subsystem:
2624167802Sjkim
2625167802SjkimMiscellaneous fixes for the Table Manager:
2626193267Sjkim- Correctly initialize internal common FADT for all 64-bit "X" fields
2627167802Sjkim- Fixed a couple table mapping issues during table load
2628167802Sjkim- Fixed a couple alignment issues for IA64
2629167802Sjkim- Initialize input array to zero in AcpiInitializeTables
2630193267Sjkim- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
2631193267SjkimAcpiGetTableByIndex
2632167802Sjkim
2633193267SjkimChange for GPE support: when a "wake" GPE is received, all wake GPEs are now 
2634193267Sjkimimmediately disabled to prevent the waking GPE from firing again and to 
2635193267Sjkimprevent other wake GPEs from interrupting the wake process.
2636167802Sjkim
2637193267SjkimAdded the AcpiGpeCount global that tracks the number of processed GPEs, to 
2638193267Sjkimbe used for debugging systems with a large number of ACPI interrupts.
2639167802Sjkim
2640193267SjkimImplemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
2641193267Sjkimboth the ACPICA headers and the disassembler.
2642167802Sjkim
2643193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2644193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2645193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2646193267Sjkima much larger code and data size.
2647167802Sjkim
2648167802Sjkim  Previous Release:
2649167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2650167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2651167802Sjkim  Current Release:
2652167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2653167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2654167802Sjkim
2655167802Sjkim
2656167802Sjkim2) iASL Compiler/Disassembler and Tools:
2657167802Sjkim
2658167802SjkimDisassembler support for the DMAR ACPI table.
2659167802Sjkim
2660167802Sjkim----------------------------------------
2661167802Sjkim23 August 2006. Summary of changes for version 20060823:
2662167802Sjkim
2663167802Sjkim1) ACPI CA Core Subsystem:
2664167802Sjkim
2665193267SjkimThe Table Manager component has been completely redesigned and 
2666193267Sjkimreimplemented. The new design is much simpler, and reduces the overall code 
2667193267Sjkimand data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
2668193267Sjkimnow possible to obtain the ACPI tables very early during kernel 
2669193267Sjkiminitialization, even before dynamic memory management is initialized. 
2670193267Sjkim(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
2671167802Sjkim
2672167802SjkimObsolete ACPICA interfaces:
2673167802Sjkim
2674193267Sjkim- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
2675193267Sjkimtime).
2676167802Sjkim- AcpiLoadTable: Not needed.
2677167802Sjkim- AcpiUnloadTable: Not needed.
2678167802Sjkim
2679167802SjkimNew ACPICA interfaces:
2680167802Sjkim
2681193267Sjkim- AcpiInitializeTables: Must be called before the table manager can be used.
2682193267Sjkim- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
2683193267Sjkimallocated memory after it becomes available.
2684193267Sjkim- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
2685193267Sjkimin the RSDT/XSDT.
2686167802Sjkim
2687167802SjkimOther ACPICA changes:
2688167802Sjkim
2689193267Sjkim- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
2690193267SjkimAcpiOsUnmapMemory to free this mapping.
2691193267Sjkim- AcpiGetTable returns the actual mapped table. The mapping is managed 
2692193267Sjkiminternally and must not be deleted by the caller. Use of this interface 
2693193267Sjkimcauses no additional dynamic memory allocation.
2694193267Sjkim- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
2695193267Sjkimit appeared to be unused.
2696193267Sjkim- The interface to AcpiOsMapMemory has changed to be consistent with the 
2697193267Sjkimother allocation interfaces.
2698193267Sjkim- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
2699193267Sjkimparameters.
2700193267Sjkim- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
2701193267Sjkimbit platforms. Was previously 64 bits on all platforms.
2702193267Sjkim- The interface to the ACPI Global Lock acquire/release macros have changed 
2703193267Sjkimslightly since ACPICA no longer keeps a local copy of the FACS with a 
2704193267Sjkimconstructed pointer to the actual global lock.
2705167802Sjkim
2706167802SjkimPorting to the new table manager:
2707167802Sjkim
2708193267Sjkim- AcpiInitializeTables: Must be called once, and can be called anytime 
2709193267Sjkimduring the OS initialization process. It allows the host to specify an area 
2710193267Sjkimof memory to be used to store the internal version of the RSDT/XSDT (root 
2711193267Sjkimtable). This allows the host to access ACPI tables before memory management 
2712193267Sjkimis initialized and running.
2713193267Sjkim- AcpiReallocateRootTable: Can be called after memory management is running 
2714193267Sjkimto copy the root table to a dynamically allocated array, freeing up the 
2715193267Sjkimscratch memory specified in the call to AcpiInitializeTables.
2716193267Sjkim- AcpiSubsystemInitialize: This existing interface is independent of the 
2717193267SjkimTable Manager, and does not have to be called before the Table Manager can 
2718193267Sjkimbe used, it only must be called before the rest of ACPICA can be used.
2719193267Sjkim- ACPI Tables: Some changes have been made to the names and structure of the 
2720193267Sjkimactbl.h and actbl1.h header files and may require changes to existing code. 
2721193267SjkimFor example, bitfields have been completely removed because of their lack of 
2722193267Sjkimportability across C compilers.
2723193267Sjkim- Update interfaces to the Global Lock acquire/release macros if local 
2724193267Sjkimversions are used. (see acwin.h)
2725167802Sjkim
2726167802SjkimObsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
2727167802Sjkim
2728167802SjkimNew files: tbfind.c
2729167802Sjkim
2730193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2731193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2732193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2733193267Sjkima much larger code and data size.
2734167802Sjkim
2735167802Sjkim  Previous Release:
2736167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2737167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2738167802Sjkim  Current Release:
2739167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2740167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2741167802Sjkim
2742167802Sjkim
2743167802Sjkim2) iASL Compiler/Disassembler and Tools:
2744167802Sjkim
2745167802SjkimNo changes for this release.
2746167802Sjkim
2747167802Sjkim----------------------------------------
2748167802Sjkim21 July 2006. Summary of changes for version 20060721:
2749167802Sjkim
2750167802Sjkim1) ACPI CA Core Subsystem:
2751167802Sjkim
2752193267SjkimThe full source code for the ASL test suite used to validate the iASL 
2753193267Sjkimcompiler and the ACPICA core subsystem is being released with the ACPICA 
2754193267Sjkimsource for the first time. The source is contained in a separate package and 
2755193267Sjkimconsists of over 1100 files that exercise all ASL/AML operators. The package 
2756193267Sjkimshould appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
2757167802SjkimSuietov)
2758167802Sjkim
2759193267SjkimCompleted a new design and implementation for support of the ACPI Global 
2760193267SjkimLock. On the OS side, the global lock is now treated as a standard AML 
2761193267Sjkimmutex. Previously, multiple OS threads could "acquire" the global lock 
2762193267Sjkimsimultaneously. However, this could cause the BIOS to be starved out of the 
2763193267Sjkimlock - especially in cases such as the Embedded Controller driver where 
2764193267Sjkimthere is a tight coupling between the OS and the BIOS.
2765167802Sjkim
2766193267SjkimImplemented an optimization for the ACPI Global Lock interrupt mechanism. 
2767193267SjkimThe Global Lock interrupt handler no longer queues the execution of a 
2768193267Sjkimseparate thread to signal the global lock semaphore. Instead, the semaphore 
2769193267Sjkimis signaled directly from the interrupt handler.
2770167802Sjkim
2771193267SjkimImplemented support within the AML interpreter for package objects that 
2772193267Sjkimcontain a larger AML length (package list length) than the package element 
2773193267Sjkimcount. In this case, the length of the package is truncated to match the 
2774193267Sjkimpackage element count. Some BIOS code apparently modifies the package length 
2775193267Sjkimon the fly, and this change supports this behavior. Provides compatibility 
2776193267Sjkimwith the MS AML interpreter. (With assistance from Fiodor Suietov)
2777167802Sjkim
2778193267SjkimImplemented a temporary fix for the BankValue parameter of a Bank Field to 
2779193267Sjkimsupport all constant values, now including the Zero and One opcodes. 
2780193267SjkimEvaluation of this parameter must eventually be converted to a full TermArg 
2781193267Sjkimevaluation. A not-implemented error is now returned (temporarily) for non-
2782193267Sjkimconstant values for this parameter.
2783167802Sjkim
2784167802SjkimFixed problem reports (Fiodor Suietov) integrated:
2785193267Sjkim- Fix for premature object deletion after CopyObject on Operation Region (BZ 
2786193267Sjkim350)
2787167802Sjkim
2788193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2789193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2790193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2791193267Sjkima much larger code and data size.
2792167802Sjkim
2793167802Sjkim  Previous Release:
2794167802Sjkim    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
2795167802Sjkim    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
2796167802Sjkim  Current Release:
2797167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2798167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2799167802Sjkim
2800167802Sjkim
2801167802Sjkim2) iASL Compiler/Disassembler and Tools:
2802167802Sjkim
2803167802SjkimNo changes for this release.
2804167802Sjkim
2805167802Sjkim----------------------------------------
2806167802Sjkim07 July 2006. Summary of changes for version 20060707:
2807167802Sjkim
2808167802Sjkim1) ACPI CA Core Subsystem:
2809167802Sjkim
2810193267SjkimAdded the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
2811193267Sjkimthat do not allow the initialization of address pointers within packed 
2812193267Sjkimstructures - even though the hardware itself may support misaligned 
2813193267Sjkimtransfers. Some of the debug data structures are packed by default to 
2814193267Sjkimminimize size.
2815167802Sjkim
2816193267SjkimAdded an error message for the case where AcpiOsGetThreadId() returns zero. 
2817193267SjkimA non-zero value is required by the core ACPICA code to ensure the proper 
2818193267Sjkimoperation of AML mutexes and recursive control methods.
2819167802Sjkim
2820193267SjkimThe DSDT is now the only ACPI table that determines whether the AML 
2821193267Sjkiminterpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
2822193267Sjkimthe hooks for per-table 32/64 switching have been removed from the code. A 
2823193267Sjkimclarification to the ACPI specification is forthcoming in ACPI 3.0B.
2824167802Sjkim
2825193267SjkimFixed a possible leak of an OwnerID in the error path of 
2826193267SjkimAcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
2827193267Sjkimdeletion to a single place in AcpiTbUninstallTable to correct possible leaks 
2828193267Sjkimwhen using the AcpiTbDeleteTablesByType interface (with assistance from 
2829193267SjkimLance Ortiz.)
2830167802Sjkim
2831193267SjkimFixed a problem with Serialized control methods where the semaphore 
2832193267Sjkimassociated with the method could be over-signaled after multiple method 
2833193267Sjkiminvocations.
2834167802Sjkim
2835193267SjkimFixed two issues with the locking of the internal namespace data structure. 
2836193267SjkimBoth the Unload() operator and AcpiUnloadTable interface now lock the 
2837193267Sjkimnamespace during the namespace deletion associated with the table unload 
2838193267Sjkim(with assistance from Linn Crosetto.)
2839167802Sjkim
2840167802SjkimFixed problem reports (Valery Podrezov) integrated:
2841193267Sjkim- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
2842167802Sjkim
2843167802SjkimFixed problem reports (Fiodor Suietov) integrated:
2844167802Sjkim- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
2845193267Sjkim- On Address Space handler deletion, needless deactivation call (BZ 374)
2846193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
2847193267Sjkim- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
2848193267Sjkim(BZ 376)
2849193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
2850167802Sjkim- Minimum Length of RSDT should be validated (BZ 379)
2851193267Sjkim- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
2852193267SjkimHandler (BZ (380)
2853193267Sjkim- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
2854193267Sjkim(BZ 381)
2855167802Sjkim
2856193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2857193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2858193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2859193267Sjkima much larger code and data size.
2860167802Sjkim
2861167802Sjkim  Previous Release:
2862167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
2863167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
2864167802Sjkim  Current Release:
2865167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2866167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2867167802Sjkim
2868167802Sjkim
2869167802Sjkim2) iASL Compiler/Disassembler and Tools:
2870167802Sjkim
2871167802SjkimFixed problem reports:
2872193267SjkimCompiler segfault when ASL contains a long (>1024) String declaration (BZ 
2873193267Sjkim436)
2874167802Sjkim
2875167802Sjkim----------------------------------------
2876167802Sjkim23 June 2006. Summary of changes for version 20060623:
2877167802Sjkim
2878167802Sjkim1) ACPI CA Core Subsystem:
2879167802Sjkim
2880193267SjkimImplemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
2881193267Sjkimallows the type to be customized to the host OS for improved efficiency 
2882193267Sjkim(since a spinlock is usually a very small object.)
2883167802Sjkim
2884193267SjkimImplemented support for "ignored" bits in the ACPI registers. According to 
2885193267Sjkimthe ACPI specification, these bits should be preserved when writing the 
2886193267Sjkimregisters via a read/modify/write cycle. There are 3 bits preserved in this 
2887193267Sjkimmanner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
2888167802Sjkim
2889193267SjkimImplemented the initial deployment of new OSL mutex interfaces. Since some 
2890193267Sjkimhost operating systems have separate mutex and semaphore objects, this 
2891193267Sjkimfeature was requested. The base code now uses mutexes (and the new mutex 
2892193267Sjkiminterfaces) wherever a binary semaphore was used previously. However, for 
2893193267Sjkimthe current release, the mutex interfaces are defined as macros to map them 
2894193267Sjkimto the existing semaphore interfaces. Therefore, no OSL changes are required 
2895193267Sjkimat this time. (See acpiosxf.h)
2896167802Sjkim
2897193267SjkimFixed several problems with the support for the control method SyncLevel 
2898193267Sjkimparameter. The SyncLevel now works according to the ACPI specification and 
2899193267Sjkimin concert with the Mutex SyncLevel parameter, since the current SyncLevel 
2900193267Sjkimis a property of the executing thread. Mutual exclusion for control methods 
2901193267Sjkimis now implemented with a mutex instead of a semaphore.
2902167802Sjkim
2903193267SjkimFixed three instances of the use of the C shift operator in the bitfield 
2904193267Sjkimsupport code (exfldio.c) to avoid the use of a shift value larger than the 
2905193267Sjkimtarget data width. The behavior of C compilers is undefined in this case and 
2906193267Sjkimcan cause unpredictable results, and therefore the case must be detected and 
2907193267Sjkimavoided. (Fiodor Suietov)
2908167802Sjkim
2909193267SjkimAdded an info message whenever an SSDT or OEM table is loaded dynamically 
2910193267Sjkimvia the Load() or LoadTable() ASL operators. This should improve debugging 
2911193267Sjkimcapability since it will show exactly what tables have been loaded (beyond 
2912193267Sjkimthe tables present in the RSDT/XSDT.)
2913167802Sjkim
2914193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2915193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2916193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2917193267Sjkima much larger code and data size.
2918167802Sjkim
2919167802Sjkim  Previous Release:
2920167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
2921167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
2922167802Sjkim  Current Release:
2923167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
2924167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
2925167802Sjkim
2926167802Sjkim
2927167802Sjkim2) iASL Compiler/Disassembler and Tools:
2928167802Sjkim
2929167802SjkimNo changes for this release.
2930167802Sjkim
2931167802Sjkim----------------------------------------
2932167802Sjkim08 June 2006. Summary of changes for version 20060608:
2933167802Sjkim
2934167802Sjkim1) ACPI CA Core Subsystem:
2935167802Sjkim
2936193267SjkimConverted the locking mutex used for the ACPI hardware to a spinlock. This 
2937193267Sjkimchange should eliminate all problems caused by attempting to acquire a 
2938193267Sjkimsemaphore at interrupt level, and it means that all ACPICA external 
2939193267Sjkiminterfaces that directly access the ACPI hardware can be safely called from 
2940193267Sjkiminterrupt level. OSL code that implements the semaphore interfaces should be 
2941193267Sjkimable to eliminate any workarounds for being called at interrupt level.
2942167802Sjkim
2943193267SjkimFixed a regression introduced in 20060526 where the ACPI device 
2944193267Sjkiminitialization could be prematurely aborted with an AE_NOT_FOUND if a device 
2945193267Sjkimdid not have an optional _INI method.
2946167802Sjkim
2947193267SjkimFixed an IndexField issue where a write to the Data Register should be 
2948193267Sjkimlimited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
2949193267SjkimFiodor Suietov)
2950167802Sjkim
2951167802SjkimFixed problem reports (Valery Podrezov) integrated:
2952193267Sjkim- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
2953167802Sjkim
2954167802SjkimFixed problem reports (Fiodor Suietov) integrated:
2955193267Sjkim- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
2956167802Sjkim
2957193267SjkimRemoved four global mutexes that were obsolete and were no longer being 
2958193267Sjkimused.
2959167802Sjkim
2960193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2961193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2962193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2963193267Sjkima much larger code and data size.
2964167802Sjkim
2965167802Sjkim  Previous Release:
2966167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
2967167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
2968167802Sjkim  Current Release:
2969167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
2970167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
2971167802Sjkim
2972167802Sjkim
2973167802Sjkim2) iASL Compiler/Disassembler and Tools:
2974167802Sjkim
2975193267SjkimFixed a fault when using -g option (get tables from registry) on Windows 
2976193267Sjkimmachines.
2977167802Sjkim
2978167802SjkimFixed problem reports integrated:
2979193267Sjkim- Generate error if CreateField NumBits parameter is zero. (BZ 405)
2980193267Sjkim- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
2981193267SjkimSuietov)
2982167802Sjkim- Global table revision override (-r) is ignored (BZ 413)
2983167802Sjkim
2984167802Sjkim----------------------------------------
2985167802Sjkim26 May 2006. Summary of changes for version 20060526:
2986167802Sjkim
2987167802Sjkim1) ACPI CA Core Subsystem:
2988167802Sjkim
2989193267SjkimRestructured, flattened, and simplified the internal interfaces for 
2990193267Sjkimnamespace object evaluation - resulting in smaller code, less CPU stack use, 
2991193267Sjkimand fewer interfaces. (With assistance from Mikhail Kouzmich)
2992167802Sjkim
2993193267SjkimFixed a problem with the CopyObject operator where the first parameter was 
2994193267Sjkimnot typed correctly for the parser, interpreter, compiler, and disassembler. 
2995193267SjkimCaused various errors and unexpected behavior.
2996167802Sjkim
2997193267SjkimFixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
2998193267Sjkimproduced incorrect results with some C compilers. Since the behavior of C 
2999193267Sjkimcompilers when the shift value is larger than the datatype width is 
3000193267Sjkimapparently not well defined, the interpreter now detects this condition and 
3001193267Sjkimsimply returns zero as expected in all such cases. (BZ 395)
3002167802Sjkim
3003167802SjkimFixed problem reports (Valery Podrezov) integrated:
3004193267Sjkim- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3005193267Sjkim- Allow interpreter to handle nested method declarations (BZ 5361)
3006167802Sjkim
3007167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3008193267Sjkim- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3009193267Sjkim- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3010193267Sjkim- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3011193267Sjkim- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3012167802Sjkim- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3013193267Sjkim- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3014167802Sjkim- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3015167802Sjkim- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3016193267Sjkim- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3017193267Sjkim- Status of the Global Initialization Handler call not used (BZ 366)
3018193267Sjkim- Incorrect object parameter to Global Initialization Handler (BZ 367)
3019167802Sjkim
3020193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3021193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3022193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3023193267Sjkima much larger code and data size.
3024167802Sjkim
3025167802Sjkim  Previous Release:
3026167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3027167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3028167802Sjkim  Current Release:
3029167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3030167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3031167802Sjkim
3032167802Sjkim
3033167802Sjkim2) iASL Compiler/Disassembler and Tools:
3034167802Sjkim
3035193267SjkimModified the parser to allow the names IO, DMA, and IRQ to be used as 
3036193267Sjkimnamespace identifiers with no collision with existing resource descriptor 
3037193267Sjkimmacro names. This provides compatibility with other ASL compilers and is 
3038193267Sjkimmost useful for disassembly/recompilation of existing tables without parse 
3039167802Sjkimerrors. (With assistance from Thomas Renninger)
3040167802Sjkim
3041193267SjkimDisassembler: fixed an incorrect disassembly problem with the 
3042193267SjkimDataTableRegion and CopyObject operators. Fixed a possible fault during 
3043193267Sjkimdisassembly of some Alias operators.
3044167802Sjkim
3045167802Sjkim----------------------------------------
3046167802Sjkim12 May 2006. Summary of changes for version 20060512:
3047167802Sjkim
3048167802Sjkim1) ACPI CA Core Subsystem:
3049167802Sjkim
3050193267SjkimReplaced the AcpiOsQueueForExecution interface with a new interface named 
3051193267SjkimAcpiOsExecute. The major difference is that the new interface does not have 
3052193267Sjkima Priority parameter, this appeared to be useless and has been replaced by a 
3053193267SjkimType parameter. The Type tells the host what type of execution is being 
3054193267Sjkimrequested, such as global lock handler, notify handler, GPE handler, etc. 
3055193267SjkimThis allows the host to queue and execute the request as appropriate for the 
3056193267Sjkimrequest type, possibly using different work queues and different priorities 
3057193267Sjkimfor the various request types. This enables fixes for multithreading 
3058193267Sjkimdeadlock problems such as BZ #5534, and will require changes to all existing 
3059193267SjkimOS interface layers. (Alexey Starikovskiy and Bob Moore)
3060167802Sjkim
3061193267SjkimFixed a possible memory leak associated with the support for the so-called 
3062193267Sjkim"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
3063193267SjkimSuietov)
3064167802Sjkim
3065193267SjkimFixed a problem with the Load() operator where a table load from an 
3066193267Sjkimoperation region could overwrite an internal table buffer by up to 7 bytes 
3067193267Sjkimand cause alignment faults on IPF systems. (With assistance from Luming Yu)
3068167802Sjkim
3069193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3070193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3071193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3072193267Sjkima much larger code and data size.
3073167802Sjkim
3074167802Sjkim  Previous Release:
3075167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3076167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3077167802Sjkim  Current Release:
3078167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3079167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3080167802Sjkim
3081167802Sjkim
3082167802Sjkim
3083167802Sjkim2) iASL Compiler/Disassembler and Tools:
3084167802Sjkim
3085193267SjkimDisassembler: Implemented support to cross reference the internal namespace 
3086193267Sjkimand automatically generate ASL External() statements for symbols not defined 
3087193267Sjkimwithin the current table being disassembled. This will simplify the 
3088193267Sjkimdisassembly and recompilation of interdependent tables such as SSDTs since 
3089193267Sjkimthese statements will no longer have to be added manually.
3090167802Sjkim
3091193267SjkimDisassembler: Implemented experimental support to automatically detect 
3092193267Sjkiminvocations of external control methods and generate appropriate External() 
3093193267Sjkimstatements. This is problematic because the AML cannot be correctly parsed 
3094193267Sjkimuntil the number of arguments for each control method is known. Currently, 
3095193267Sjkimstandalone method invocations and invocations as the source operand of a 
3096193267SjkimStore() statement are supported.
3097167802Sjkim
3098193267SjkimDisassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
3099193267SjkimLLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
3100193267SjkimLNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
3101193267Sjkimmore readable and likely closer to the original ASL source.
3102167802Sjkim
3103167802Sjkim----------------------------------------
3104167802Sjkim21 April 2006. Summary of changes for version 20060421:
3105167802Sjkim
3106167802Sjkim1) ACPI CA Core Subsystem:
3107167802Sjkim
3108193267SjkimRemoved a device initialization optimization introduced in 20051216 where 
3109193267Sjkimthe _STA method was not run unless an _INI was also present for the same 
3110193267Sjkimdevice. This optimization could cause problems because it could allow _INI 
3111193267Sjkimmethods to be run within a not-present device subtree. (If a not-present 
3112193267Sjkimdevice had no _INI, _STA would not be run, the not-present status would not 
3113193267Sjkimbe discovered, and the children of the device would be incorrectly 
3114167802Sjkimtraversed.)
3115167802Sjkim
3116193267SjkimImplemented a new _STA optimization where namespace subtrees that do not 
3117193267Sjkimcontain _INI are identified and ignored during device initialization. 
3118193267SjkimSelectively running _STA can significantly improve boot time on large 
3119193267Sjkimmachines (with assistance from Len Brown.)
3120167802Sjkim
3121193267SjkimImplemented support for the device initialization case where the returned 
3122193267Sjkim_STA flags indicate a device not-present but functioning. In this case, _INI 
3123193267Sjkimis not run, but the device children are examined for presence, as per the 
3124193267SjkimACPI specification.
3125167802Sjkim
3126193267SjkimImplemented an additional change to the IndexField support in order to 
3127193267Sjkimconform to MS behavior. The value written to the Index Register is not 
3128193267Sjkimsimply a byte offset, it is a byte offset in units of the access width of 
3129193267Sjkimthe parent Index Field. (Fiodor Suietov)
3130167802Sjkim
3131193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateAddress. This 
3132193267Sjkiminterface is called during the creation of all AML operation regions, and 
3133193267Sjkimallows the host OS to exert control over what addresses it will allow the 
3134193267SjkimAML code to access. Operation Regions whose addresses are disallowed will 
3135193267Sjkimcause a runtime exception when they are actually accessed (will not affect 
3136193267Sjkimor abort table loading.) See oswinxf or osunixxf for an example 
3137167802Sjkimimplementation.
3138167802Sjkim
3139193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateInterface. This 
3140193267Sjkiminterface allows the host OS to match the various "optional" 
3141193267Sjkiminterface/behavior strings for the _OSI predefined control method as 
3142193267Sjkimappropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
3143193267Sjkimfor an example implementation.
3144167802Sjkim
3145193267SjkimRestructured and corrected various problems in the exception handling code 
3146193267Sjkimpaths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
3147193267Sjkim(with assistance from Takayoshi Kochi.)
3148167802Sjkim
3149193267SjkimModified the Linux source converter to ignore quoted string literals while 
3150193267Sjkimconverting identifiers from mixed to lower case. This will correct problems 
3151193267Sjkimwith the disassembler and other areas where such strings must not be 
3152193267Sjkimmodified.
3153167802Sjkim
3154193267SjkimThe ACPI_FUNCTION_* macros no longer require quotes around the function 
3155193267Sjkimname. This allows the Linux source converter to convert the names, now that 
3156193267Sjkimthe converter ignores quoted strings.
3157167802Sjkim
3158193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3159193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3160193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3161193267Sjkima much larger code and data size.
3162193267Sjkim
3163167802Sjkim  Previous Release:
3164167802Sjkim
3165167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3166167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3167167802Sjkim  Current Release:
3168167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3169167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3170167802Sjkim
3171167802Sjkim
3172167802Sjkim2) iASL Compiler/Disassembler and Tools:
3173167802Sjkim
3174193267SjkimImplemented 3 new warnings for iASL, and implemented multiple warning levels 
3175193267Sjkim(w2 flag).
3176167802Sjkim
3177193267Sjkim1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
3178193267SjkimWAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
3179193267Sjkimcheck for the possible timeout, a warning is issued.
3180167802Sjkim
3181193267Sjkim2) Useless operators: If an ASL operator does not specify an optional target 
3182193267Sjkimoperand and it also does not use the function return value from the 
3183193267Sjkimoperator, a warning is issued since the operator effectively does nothing.
3184167802Sjkim
3185193267Sjkim3) Unreferenced objects: If a namespace object is created, but never 
3186193267Sjkimreferenced, a warning is issued. This is a warning level 2 since there are 
3187193267Sjkimcases where this is ok, such as when a secondary table is loaded that uses 
3188193267Sjkimthe unreferenced objects. Even so, care is taken to only flag objects that 
3189193267Sjkimdon't look like they will ever be used. For example, the reserved methods 
3190193267Sjkim(starting with an underscore) are usually not referenced because it is 
3191193267Sjkimexpected that the OS will invoke them.
3192167802Sjkim
3193167802Sjkim----------------------------------------
3194167802Sjkim31 March 2006. Summary of changes for version 20060331:
3195167802Sjkim
3196167802Sjkim1) ACPI CA Core Subsystem:
3197167802Sjkim
3198193267SjkimImplemented header file support for the following additional ACPI tables: 
3199193267SjkimASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
3200193267Sjkimall current and known ACPI tables are now defined in the ACPICA headers and 
3201193267Sjkimare available for use by device drivers and other software.
3202167802Sjkim
3203193267SjkimImplemented support to allow tables that contain ACPI names with invalid 
3204193267Sjkimcharacters to be loaded. Previously, this would cause the table load to 
3205193267Sjkimfail, but since there are several known cases of such tables on existing 
3206193267Sjkimmachines, this change was made to enable ACPI support for them. Also, this 
3207193267Sjkimmatches the behavior of the Microsoft ACPI implementation.
3208167802Sjkim
3209193267SjkimFixed a couple regressions introduced during the memory optimization in the 
3210193267Sjkim20060317 release. The namespace node definition required additional 
3211193267Sjkimreorganization and an internal datatype that had been changed to 8-bit was 
3212193267Sjkimrestored to 32-bit. (Valery Podrezov)
3213167802Sjkim
3214193267SjkimFixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
3215193267Sjkimcould be passed through to AcpiOsReleaseObject which is unexpected. Such 
3216193267Sjkimnull pointers are now trapped and ignored, matching the behavior of the 
3217193267Sjkimprevious implementation before the deployment of AcpiOsReleaseObject.
3218167802Sjkim(Valery Podrezov, Fiodor Suietov)
3219167802Sjkim
3220193267SjkimFixed a memory mapping leak during the deletion of a SystemMemory operation 
3221193267Sjkimregion where a cached memory mapping was not deleted. This became a 
3222193267Sjkimnoticeable problem for operation regions that are defined within frequently 
3223193267Sjkimused control methods. (Dana Meyers)
3224167802Sjkim
3225193267SjkimReorganized the ACPI table header files into two main files: one for the 
3226193267SjkimACPI tables consumed by the ACPICA core, and another for the miscellaneous 
3227193267SjkimACPI tables that are consumed by the drivers and other software. The various 
3228193267SjkimFADT definitions were merged into one common section and three different 
3229193267Sjkimtables (ACPI 1.0, 1.0+, and 2.0)
3230167802Sjkim
3231193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3232193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3233193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3234193267Sjkima much larger code and data size.
3235167802Sjkim
3236167802Sjkim  Previous Release:
3237167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3238167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3239167802Sjkim  Current Release:
3240167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3241167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3242167802Sjkim
3243167802Sjkim
3244167802Sjkim2) iASL Compiler/Disassembler and Tools:
3245167802Sjkim
3246193267SjkimDisassembler: Implemented support to decode and format all non-AML ACPI 
3247193267Sjkimtables (tables other than DSDTs and SSDTs.) This includes the new tables 
3248193267Sjkimadded to the ACPICA headers, therefore all current and known ACPI tables are 
3249193267Sjkimsupported.
3250167802Sjkim
3251193267SjkimDisassembler: The change to allow ACPI names with invalid characters also 
3252193267Sjkimenables the disassembly of such tables. Invalid characters within names are 
3253193267Sjkimchanged to '*' to make the name printable; the iASL compiler will still 
3254193267Sjkimgenerate an error for such names, however, since this is an invalid ACPI 
3255193267Sjkimcharacter.
3256167802Sjkim
3257193267SjkimImplemented an option for AcpiXtract (-a) to extract all tables found in the 
3258193267Sjkiminput file. The default invocation extracts only the DSDTs and SSDTs.
3259167802Sjkim
3260193267SjkimFixed a couple of gcc generation issues for iASL and AcpiExec and added a 
3261193267Sjkimmakefile for the AcpiXtract utility.
3262167802Sjkim
3263167802Sjkim----------------------------------------
3264167802Sjkim17 March 2006. Summary of changes for version 20060317:
3265167802Sjkim
3266167802Sjkim1) ACPI CA Core Subsystem:
3267167802Sjkim
3268193267SjkimImplemented the use of a cache object for all internal namespace nodes. 
3269193267SjkimSince there are about 1000 static nodes in a typical system, this will 
3270193267Sjkimdecrease memory use for cache implementations that minimize per-allocation 
3271193267Sjkimoverhead (such as a slab allocator.)
3272167802Sjkim
3273193267SjkimRemoved the reference count mechanism for internal namespace nodes, since it 
3274193267Sjkimwas deemed unnecessary. This reduces the size of each namespace node by 
3275193267Sjkimabout 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
3276193267Sjkimand 32 bytes for the 64-bit case.
3277167802Sjkim
3278193267SjkimOptimized several internal data structures to reduce object size on 64-bit 
3279193267Sjkimplatforms by packing data within the 64-bit alignment. This includes the 
3280193267Sjkimfrequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
3281193267Sjkiminstances corresponding to the namespace objects.
3282167802Sjkim
3283193267SjkimAdded two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
3284193267Sjkimand "Windows 2006".
3285167802Sjkim
3286193267SjkimSplit the allocation tracking mechanism out to a separate file, from 
3287193267Sjkimutalloc.c to uttrack.c. This mechanism appears to be only useful for 
3288193267Sjkimapplication-level code. Kernels may wish to not include uttrack.c in 
3289193267Sjkimdistributions.
3290167802Sjkim
3291193267SjkimRemoved all remnants of the obsolete ACPI_REPORT_* macros and the associated 
3292193267Sjkimcode. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
3293193267Sjkimmacros.)
3294167802Sjkim
3295193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3296193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3297193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3298193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3299193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3300193267Sjkimcompiler options used during generation.
3301167802Sjkim
3302167802Sjkim  Previous Release:
3303167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3304167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3305167802Sjkim  Current Release:
3306167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3307167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3308167802Sjkim
3309167802Sjkim
3310167802Sjkim2) iASL Compiler/Disassembler and Tools:
3311167802Sjkim
3312193267SjkimImplemented an ANSI C version of the acpixtract utility. This version will 
3313193267Sjkimautomatically extract the DSDT and all SSDTs from the input acpidump text 
3314193267Sjkimfile and dump the binary output to separate files. It can also display a 
3315193267Sjkimsummary of the input file including the headers for each table found and 
3316193267Sjkimwill extract any single ACPI table, with any signature. (See 
3317167802Sjkimsource/tools/acpixtract)
3318167802Sjkim
3319167802Sjkim----------------------------------------
3320167802Sjkim10 March 2006. Summary of changes for version 20060310:
3321167802Sjkim
3322167802Sjkim1) ACPI CA Core Subsystem:
3323167802Sjkim
3324193267SjkimTagged all external interfaces to the subsystem with the new 
3325193267SjkimACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
3326193267Sjkimkernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
3327193267Sjkimmacro. The default definition is NULL.
3328167802Sjkim
3329193267SjkimAdded the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
3330193267SjkimThis allows the host to define this as necessary to simplify kernel 
3331193267Sjkimintegration. The default definition is ACPI_NATIVE_UINT.
3332167802Sjkim
3333193267SjkimFixed two interpreter problems related to error processing, the deletion of 
3334193267Sjkimobjects, and placing invalid pointers onto the internal operator result 
3335193267Sjkimstack. BZ 6028, 6151 (Valery Podrezov)
3336167802Sjkim
3337193267SjkimIncreased the reference count threshold where a warning is emitted for large 
3338193267Sjkimreference counts in order to eliminate unnecessary warnings on systems with 
3339193267Sjkimlarge namespaces (especially 64-bit.) Increased the value from 0x400 to 
3340193267Sjkim0x800.
3341167802Sjkim
3342193267SjkimDue to universal disagreement as to the meaning of the 'c' in the calloc() 
3343193267Sjkimfunction, the ACPI_MEM_CALLOCATE macro has been renamed to 
3344193267SjkimACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
3345193267SjkimACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
3346193267SjkimACPI_FREE.
3347167802Sjkim
3348193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3349193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3350193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3351193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3352193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3353193267Sjkimcompiler options used during generation.
3354167802Sjkim
3355167802Sjkim  Previous Release:
3356167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3357167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3358167802Sjkim  Current Release:
3359167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3360167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3361167802Sjkim
3362167802Sjkim
3363167802Sjkim2) iASL Compiler/Disassembler:
3364167802Sjkim
3365193267SjkimDisassembler: implemented support for symbolic resource descriptor 
3366193267Sjkimreferences. If a CreateXxxxField operator references a fixed offset within a 
3367193267Sjkimresource descriptor, a name is assigned to the descriptor and the offset is 
3368193267Sjkimtranslated to the appropriate resource tag and pathname. The addition of 
3369193267Sjkimthis support brings the disassembled code very close to the original ASL 
3370193267Sjkimsource code and helps eliminate run-time errors when the disassembled code 
3371193267Sjkimis modified (and recompiled) in such a way as to invalidate the original 
3372193267Sjkimfixed offsets.
3373167802Sjkim
3374193267SjkimImplemented support for a Descriptor Name as the last parameter to the ASL 
3375193267SjkimRegister() macro. This parameter was inadvertently left out of the ACPI 
3376193267Sjkimspecification, and will be added for ACPI 3.0b.
3377167802Sjkim
3378193267SjkimFixed a problem where the use of the "_OSI" string (versus the full path 
3379193267Sjkim"\_OSI") caused an internal compiler error. ("No back ptr to op")
3380167802Sjkim
3381193267SjkimFixed a problem with the error message that occurs when an invalid string is 
3382193267Sjkimused for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
3383193267SjkimThe correct message is now displayed.
3384167802Sjkim
3385167802Sjkim----------------------------------------
3386167802Sjkim17 February 2006. Summary of changes for version 20060217:
3387167802Sjkim
3388167802Sjkim1) ACPI CA Core Subsystem:
3389167802Sjkim
3390193267SjkimImplemented a change to the IndexField support to match the behavior of the 
3391193267SjkimMicrosoft AML interpreter. The value written to the Index register is now a 
3392193267Sjkimbyte offset, no longer an index based upon the width of the Data register. 
3393193267SjkimThis should fix IndexField problems seen on some machines where the Data 
3394193267Sjkimregister is not exactly one byte wide. The ACPI specification will be 
3395193267Sjkimclarified on this point.
3396167802Sjkim
3397193267SjkimFixed a problem where several resource descriptor types could overrun the 
3398193267Sjkiminternal descriptor buffer due to size miscalculation: VendorShort, 
3399193267SjkimVendorLong, and Interrupt. This was noticed on IA64 machines, but could 
3400193267Sjkimaffect all platforms.
3401167802Sjkim
3402193267SjkimFixed a problem where individual resource descriptors were misaligned within 
3403193267Sjkimthe internal buffer, causing alignment faults on IA64 platforms.
3404167802Sjkim
3405193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3406193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3407193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3408193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3409193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3410193267Sjkimcompiler options used during generation.
3411167802Sjkim
3412167802Sjkim  Previous Release:
3413167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3414167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3415167802Sjkim  Current Release:
3416167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3417167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3418167802Sjkim
3419167802Sjkim
3420167802Sjkim2) iASL Compiler/Disassembler:
3421167802Sjkim
3422193267SjkimImplemented support for new reserved names: _WDG and _WED are Microsoft 
3423193267Sjkimextensions for Windows Instrumentation Management, _TDL is a new ACPI-
3424193267Sjkimdefined method (Throttling Depth Limit.)
3425167802Sjkim
3426193267SjkimFixed a problem where a zero-length VendorShort or VendorLong resource 
3427193267Sjkimdescriptor was incorrectly emitted as a descriptor of length one.
3428167802Sjkim
3429167802Sjkim----------------------------------------
3430167802Sjkim10 February 2006. Summary of changes for version 20060210:
3431167802Sjkim
3432167802Sjkim1) ACPI CA Core Subsystem:
3433167802Sjkim
3434193267SjkimRemoved a couple of extraneous ACPI_ERROR messages that appeared during 
3435193267Sjkimnormal execution. These became apparent after the conversion from 
3436193267SjkimACPI_DEBUG_PRINT.
3437167802Sjkim
3438193267SjkimFixed a problem where the CreateField operator could hang if the BitIndex or 
3439193267SjkimNumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
3440167802Sjkim
3441193267SjkimFixed a problem where a DeRefOf operation on a buffer object incorrectly 
3442193267Sjkimfailed with an exception. This also fixes a couple of related RefOf and 
3443193267SjkimDeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
3444167802Sjkim
3445193267SjkimFixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
3446193267SjkimAE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
3447193267Sjkim5480)
3448167802Sjkim
3449193267SjkimImplemented a memory cleanup at the end of the execution of each iteration 
3450193267Sjkimof an AML While() loop, preventing the accumulation of outstanding objects. 
3451193267Sjkim(Valery Podrezov, BZ 5427)
3452167802Sjkim
3453193267SjkimEliminated a chunk of duplicate code in the object resolution code. (Valery 
3454193267SjkimPodrezov, BZ 5336)
3455167802Sjkim
3456167802SjkimFixed several warnings during the 64-bit code generation.
3457167802Sjkim
3458193267SjkimThe AcpiSrc source code conversion tool now inserts one line of whitespace 
3459193267Sjkimafter an if() statement that is followed immediately by a comment, improving 
3460193267Sjkimreadability of the Linux code.
3461167802Sjkim
3462193267SjkimCode and Data Size: The current and previous library sizes for the core 
3463193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3464193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3465193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3466193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3467193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3468193267Sjkimof the compiler and the compiler options used during generation.
3469167802Sjkim
3470167802Sjkim  Previous Release:
3471167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3472167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3473167802Sjkim  Current Release:
3474167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3475167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3476167802Sjkim
3477167802Sjkim
3478167802Sjkim2) iASL Compiler/Disassembler:
3479167802Sjkim
3480193267SjkimFixed a problem with the disassembly of a BankField operator with a complex 
3481193267Sjkimexpression for the BankValue parameter.
3482167802Sjkim
3483167802Sjkim----------------------------------------
3484167802Sjkim27 January 2006. Summary of changes for version 20060127:
3485167802Sjkim
3486167802Sjkim1) ACPI CA Core Subsystem:
3487167802Sjkim
3488193267SjkimImplemented support in the Resource Manager to allow unresolved namestring 
3489193267Sjkimreferences within resource package objects for the _PRT method. This support 
3490193267Sjkimis in addition to the previously implemented unresolved reference support 
3491193267Sjkimwithin the AML parser. If the interpreter slack mode is enabled, these 
3492193267Sjkimunresolved references will be passed through to the caller as a NULL package 
3493167802Sjkimentry.
3494167802Sjkim
3495193267SjkimImplemented and deployed new macros and functions for error and warning 
3496193267Sjkimmessages across the subsystem. These macros are simpler and generate less 
3497193267Sjkimcode than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
3498193267SjkimACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
3499193267Sjkimmacros remain defined to allow ACPI drivers time to migrate to the new 
3500193267Sjkimmacros.
3501167802Sjkim
3502193267SjkimImplemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
3503193267SjkimAcquire/Release Lock OSL interfaces.
3504167802Sjkim
3505193267SjkimFixed a problem where Alias ASL operators are sometimes not correctly 
3506193267Sjkimresolved, in both the interpreter and the iASL compiler.
3507167802Sjkim
3508193267SjkimFixed several problems with the implementation of the ConcatenateResTemplate 
3509193267SjkimASL operator. As per the ACPI specification, zero length buffers are now 
3510193267Sjkimtreated as a single EndTag. One-length buffers always cause a fatal 
3511193267Sjkimexception. Non-zero length buffers that do not end with a full 2-byte EndTag 
3512167802Sjkimcause a fatal exception.
3513167802Sjkim
3514193267SjkimFixed a possible structure overwrite in the AcpiGetObjectInfo external 
3515193267Sjkiminterface. (With assistance from Thomas Renninger)
3516167802Sjkim
3517193267SjkimCode and Data Size: The current and previous library sizes for the core 
3518193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3519193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3520193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3521193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3522193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3523193267Sjkimof the compiler and the compiler options used during generation.
3524167802Sjkim
3525167802Sjkim  Previous Release:
3526167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3527167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3528167802Sjkim  Current Release:
3529167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3530167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3531167802Sjkim
3532167802Sjkim
3533167802Sjkim2) iASL Compiler/Disassembler:
3534167802Sjkim
3535193267SjkimFixed an internal error that was generated for any forward references to ASL 
3536193267SjkimAlias objects.
3537167802Sjkim
3538167802Sjkim----------------------------------------
3539167802Sjkim13 January 2006. Summary of changes for version 20060113:
3540167802Sjkim
3541167802Sjkim1) ACPI CA Core Subsystem:
3542167802Sjkim
3543193267SjkimAdded 2006 copyright to all module headers and signons. This affects 
3544193267Sjkimvirtually every file in the ACPICA core subsystem, iASL compiler, and the 
3545193267Sjkimutilities.
3546193267Sjkim 
3547193267SjkimEnhanced the ACPICA error reporting in order to simplify user migration to 
3548193267Sjkimthe non-debug version of ACPICA. Replaced all instances of the 
3549193267SjkimACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
3550193267Sjkimlevels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
3551193267Sjkimrespectively. This preserves all error and warning messages in the non-debug 
3552193267Sjkimversion of the ACPICA code (this has been referred to as the "debug lite" 
3553193267Sjkimoption.) Over 200 cases were converted to create a total of over 380 
3554193267Sjkimerror/warning messages across the ACPICA code. This increases the code and 
3555193267Sjkimdata size of the default non-debug version of the code somewhat (about 13K), 
3556193267Sjkimbut all error/warning reporting may be disabled if desired (and code 
3557193267Sjkimeliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
3558193267Sjkimconfiguration option. The size of the debug version of ACPICA remains about 
3559193267Sjkimthe same.
3560167802Sjkim
3561193267SjkimFixed a memory leak within the AML Debugger "Set" command. One object was 
3562193267Sjkimnot properly deleted for every successful invocation of the command.
3563167802Sjkim
3564193267SjkimCode and Data Size: The current and previous library sizes for the core 
3565193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3566193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3567193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3568193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3569193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3570193267Sjkimof the compiler and the compiler options used during generation.
3571167802Sjkim
3572167802Sjkim  Previous Release:
3573167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3574167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3575167802Sjkim  Current Release:
3576167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3577167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3578167802Sjkim
3579167802Sjkim
3580167802Sjkim2) iASL Compiler/Disassembler:
3581167802Sjkim
3582193267SjkimThe compiler now officially supports the ACPI 3.0a specification that was 
3583193267Sjkimreleased on December 30, 2005. (Specification is available at www.acpi.info)
3584167802Sjkim
3585167802Sjkim----------------------------------------
3586167802Sjkim16 December 2005. Summary of changes for version 20051216:
3587167802Sjkim
3588167802Sjkim1) ACPI CA Core Subsystem:
3589167802Sjkim
3590193267SjkimImplemented optional support to allow unresolved names within ASL Package 
3591193267Sjkimobjects. A null object is inserted in the package when a named reference 
3592193267Sjkimcannot be located in the current namespace. Enabled via the interpreter 
3593193267Sjkimslack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
3594193267Sjkimthat contain such code.
3595167802Sjkim
3596193267SjkimImplemented an optimization to the initialization sequence that can improve 
3597193267Sjkimboot time. During ACPI device initialization, the _STA method is now run if 
3598193267Sjkimand only if the _INI method exists. The _STA method is used to determine if 
3599193267Sjkimthe device is present; An _INI can only be run if _STA returns present, but 
3600193267Sjkimit is a waste of time to run the _STA method if the _INI does not exist. 
3601167802Sjkim(Prototype and assistance from Dong Wei)
3602167802Sjkim
3603193267SjkimImplemented use of the C99 uintptr_t for the pointer casting macros if it is 
3604193267Sjkimavailable in the current compiler. Otherwise, the default (void *) cast is 
3605193267Sjkimused as before.
3606167802Sjkim
3607193267SjkimFixed some possible memory leaks found within the execution path of the 
3608193267SjkimBreak, Continue, If, and CreateField operators. (Valery Podrezov)
3609167802Sjkim
3610193267SjkimFixed a problem introduced in the 20051202 release where an exception is 
3611193267Sjkimgenerated during method execution if a control method attempts to declare 
3612193267Sjkimanother method.
3613167802Sjkim
3614193267SjkimMoved resource descriptor string constants that are used by both the AML 
3615193267Sjkimdisassembler and AML debugger to the common utilities directory so that 
3616193267Sjkimthese components are independent.
3617167802Sjkim
3618193267SjkimImplemented support in the AcpiExec utility (-e switch) to globally ignore 
3619193267Sjkimexceptions during control method execution (method is not aborted.)
3620167802Sjkim
3621193267SjkimAdded the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
3622193267Sjkimgeneration.
3623167802Sjkim
3624193267SjkimCode and Data Size: The current and previous library sizes for the core 
3625193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3626193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3627193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3628193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3629193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3630193267Sjkimof the compiler and the compiler options used during generation.
3631167802Sjkim
3632167802Sjkim  Previous Release:
3633167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3634167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3635167802Sjkim  Current Release:
3636167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3637167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3638167802Sjkim
3639167802Sjkim
3640167802Sjkim2) iASL Compiler/Disassembler:
3641167802Sjkim
3642193267SjkimFixed a problem where a CPU stack overflow fault could occur if a recursive 
3643193267Sjkimmethod call was made from within a Return statement.
3644167802Sjkim
3645167802Sjkim----------------------------------------
3646167802Sjkim02 December 2005. Summary of changes for version 20051202:
3647167802Sjkim
3648167802Sjkim1) ACPI CA Core Subsystem:
3649167802Sjkim
3650193267SjkimModified the parsing of control methods to no longer create namespace 
3651193267Sjkimobjects during the first pass of the parse. Objects are now created only 
3652193267Sjkimduring the execute phase, at the moment the namespace creation operator is 
3653193267Sjkimencountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
3654193267Sjkimshould eliminate ALREADY_EXISTS exceptions seen on some machines where 
3655193267Sjkimreentrant control methods are protected by an AML mutex. The mutex will now 
3656193267Sjkimcorrectly block multiple threads from attempting to create the same object 
3657193267Sjkimmore than once.
3658167802Sjkim
3659193267SjkimIncreased the number of available Owner Ids for namespace object tracking 
3660193267Sjkimfrom 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
3661193267Sjkimsome machines with a large number of ACPI tables (either static or dynamic).
3662167802Sjkim
3663193267SjkimFixed a problem with the AcpiExec utility where a fault could occur when the 
3664193267Sjkim-b switch (batch mode) is used.
3665167802Sjkim
3666193267SjkimEnhanced the namespace dump routine to output the owner ID for each 
3667193267Sjkimnamespace object.
3668167802Sjkim
3669193267SjkimCode and Data Size: The current and previous library sizes for the core 
3670193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3671193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3672193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3673193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3674193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3675193267Sjkimof the compiler and the compiler options used during generation.
3676167802Sjkim
3677167802Sjkim  Previous Release:
3678167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3679167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3680167802Sjkim  Current Release:
3681167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3682167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3683167802Sjkim
3684167802Sjkim
3685167802Sjkim2) iASL Compiler/Disassembler:
3686167802Sjkim
3687193267SjkimFixed a parse error during compilation of certain Switch/Case constructs. To 
3688193267Sjkimsimplify the parse, the grammar now allows for multiple Default statements 
3689193267Sjkimand this error is now detected and flagged during the analysis phase.
3690167802Sjkim
3691193267SjkimDisassembler: The disassembly now includes the contents of the original 
3692193267Sjkimtable header within a comment at the start of the file. This includes the 
3693193267Sjkimname and version of the original ASL compiler.
3694167802Sjkim
3695167802Sjkim----------------------------------------
3696167802Sjkim17 November 2005. Summary of changes for version 20051117:
3697167802Sjkim
3698167802Sjkim1) ACPI CA Core Subsystem:
3699167802Sjkim
3700193267SjkimFixed a problem in the AML parser where the method thread count could be 
3701193267Sjkimdecremented below zero if any errors occurred during the method parse phase. 
3702193267SjkimThis should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
3703193267SjkimThis also fixed a related regression with the mechanism that detects and 
3704193267Sjkimcorrects methods that cannot properly handle reentrancy (related to the 
3705193267Sjkimdeployment of the new OwnerId mechanism.)
3706167802Sjkim
3707193267SjkimEliminated the pre-parsing of control methods (to detect errors) during 
3708193267Sjkimtable load. Related to the problem above, this was causing unwind issues if 
3709193267Sjkimany errors occurred during the parse, and it seemed to be overkill. A table 
3710193267Sjkimload should not be aborted if there are problems with any single control 
3711193267Sjkimmethod, thus rendering this feature rather pointless.
3712167802Sjkim
3713193267SjkimFixed a problem with the new table-driven resource manager where an internal 
3714193267Sjkimbuffer overflow could occur for small resource templates.
3715167802Sjkim
3716193267SjkimImplemented a new external interface, AcpiGetVendorResource. This interface 
3717193267Sjkimwill find and return a vendor-defined resource descriptor within a _CRS or 
3718193267Sjkim_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
3719167802Sjkim
3720193267SjkimRemoved the length limit (200) on string objects as per the upcoming ACPI 
3721193267Sjkim3.0A specification. This affects the following areas of the interpreter: 1) 
3722193267Sjkimany implicit conversion of a Buffer to a String, 2) a String object result 
3723193267Sjkimof the ASL Concatentate operator, 3) the String object result of the ASL 
3724193267SjkimToString operator.
3725167802Sjkim
3726193267SjkimFixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
3727193267Sjkimon a semaphore object would incorrectly timeout. This allows the 
3728193267Sjkimmultithreading features of the AcpiExec utility to work properly under 
3729193267SjkimWindows.
3730167802Sjkim
3731193267SjkimUpdated the Linux makefiles for the iASL compiler and AcpiExec to include 
3732193267Sjkimthe recently added file named "utresrc.c".
3733167802Sjkim
3734193267SjkimCode and Data Size: The current and previous library sizes for the core 
3735193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3736193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3737193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3738193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3739193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3740193267Sjkimof the compiler and the compiler options used during generation.
3741167802Sjkim
3742167802Sjkim  Previous Release:
3743167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3744167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3745167802Sjkim  Current Release:
3746167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3747167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3748167802Sjkim
3749167802Sjkim
3750167802Sjkim2) iASL Compiler/Disassembler:
3751167802Sjkim
3752193267SjkimRemoved the limit (200) on string objects as per the upcoming ACPI 3.0A 
3753193267Sjkimspecification. For the iASL compiler, this means that string literals within 
3754193267Sjkimthe source ASL can be of any length. 
3755167802Sjkim
3756193267SjkimEnhanced the listing output to dump the AML code for resource descriptors 
3757193267Sjkimimmediately after the ASL code for each descriptor, instead of in a block at 
3758193267Sjkimthe end of the entire resource template.
3759167802Sjkim
3760193267SjkimEnhanced the compiler debug output to dump the entire original parse tree 
3761193267Sjkimconstructed during the parse phase, before any transforms are applied to the 
3762193267Sjkimtree. The transformed tree is dumped also.
3763167802Sjkim
3764167802Sjkim----------------------------------------
3765167802Sjkim02 November 2005. Summary of changes for version 20051102:
3766167802Sjkim
3767167802Sjkim1) ACPI CA Core Subsystem:
3768167802Sjkim
3769193267SjkimModified the subsystem initialization sequence to improve GPE support. The 
3770193267SjkimGPE initialization has been split into two parts in order to defer execution 
3771193267Sjkimof the _PRW methods (Power Resources for Wake) until after the hardware is 
3772193267Sjkimfully initialized and the SCI handler is installed. This allows the _PRW 
3773193267Sjkimmethods to access fields protected by the Global Lock. This will fix systems 
3774193267Sjkimwhere a NO_GLOBAL_LOCK exception has been seen during initialization.
3775167802Sjkim
3776193267SjkimConverted the ACPI internal object disassemble and display code within the 
3777193267SjkimAML debugger to fully table-driven operation, reducing code size and 
3778193267Sjkimincreasing maintainability.
3779167802Sjkim
3780193267SjkimFixed a regression with the ConcatenateResTemplate() ASL operator introduced 
3781193267Sjkimin the 20051021 release.
3782167802Sjkim
3783193267SjkimImplemented support for "local" internal ACPI object types within the 
3784193267Sjkimdebugger "Object" command and the AcpiWalkNamespace external interfaces. 
3785193267SjkimThese local types include RegionFields, BankFields, IndexFields, Alias, and 
3786193267Sjkimreference objects.
3787167802Sjkim
3788193267SjkimMoved common AML resource handling code into a new file, "utresrc.c". This 
3789193267Sjkimcode is shared by both the Resource Manager and the AML Debugger.
3790167802Sjkim
3791193267SjkimCode and Data Size: The current and previous library sizes for the core 
3792193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3793193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3794193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3795193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3796193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3797193267Sjkimof the compiler and the compiler options used during generation.
3798167802Sjkim
3799167802Sjkim  Previous Release:
3800167802Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3801167802Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3802167802Sjkim  Current Release:
3803167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3804167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3805167802Sjkim
3806167802Sjkim
3807167802Sjkim2) iASL Compiler/Disassembler:
3808167802Sjkim
3809193267SjkimFixed a problem with very large initializer lists (more than 4000 elements) 
3810193267Sjkimfor both Buffer and Package objects where the parse stack could overflow.
3811167802Sjkim
3812193267SjkimEnhanced the pre-compile source code scan for non-ASCII characters to ignore 
3813193267Sjkimcharacters within comment fields. The scan is now always performed and is no 
3814193267Sjkimlonger optional, detecting invalid characters within a source file 
3815193267Sjkimimmediately rather than during the parse phase or later.
3816167802Sjkim
3817193267SjkimEnhanced the ASL grammar definition to force early reductions on all list-
3818193267Sjkimstyle grammar elements so that the overall parse stack usage is greatly 
3819193267Sjkimreduced. This should improve performance and reduce the possibility of parse 
3820193267Sjkimstack overflow.
3821167802Sjkim
3822193267SjkimEliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
3823193267Sjkimwith the addition of a %expected statement, the compiler generates from 
3824193267Sjkimsource with no warnings.
3825167802Sjkim
3826193267SjkimFixed a possible segment fault in the disassembler if the input filename 
3827193267Sjkimdoes not contain a "dot" extension (Thomas Renninger).
3828167802Sjkim
3829167802Sjkim----------------------------------------
3830151937Sjkim21 October 2005. Summary of changes for version 20051021:
3831151937Sjkim
3832151937Sjkim1) ACPI CA Core Subsystem:
3833151937Sjkim
3834193267SjkimImplemented support for the EM64T and other x86-64 processors. This 
3835193267Sjkimessentially entails recognizing that these processors support non-aligned 
3836193267Sjkimmemory transfers. Previously, all 64-bit processors were assumed to lack 
3837193267Sjkimhardware support for non-aligned transfers.
3838151937Sjkim
3839193267SjkimCompleted conversion of the Resource Manager to nearly full table-driven 
3840193267Sjkimoperation. Specifically, the resource conversion code (convert AML to 
3841193267Sjkiminternal format and the reverse) and the debug code to dump internal 
3842193267Sjkimresource descriptors are fully table-driven, reducing code and data size and 
3843193267Sjkimimproving maintainability.
3844151937Sjkim
3845193267SjkimThe OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
3846193267Sjkimon 64-bit processors instead of a fixed 32-bit word. (With assistance from 
3847193267SjkimAlexey Starikovskiy)
3848151937Sjkim
3849193267SjkimImplemented support within the resource conversion code for the Type-
3850193267SjkimSpecific byte within the various ACPI 3.0 *WordSpace macros.
3851151937Sjkim
3852193267SjkimFixed some issues within the resource conversion code for the type-specific 
3853193267Sjkimflags for both Memory and I/O address resource descriptors. For Memory, 
3854193267Sjkimimplemented support for the MTP and TTP flags. For I/O, split the TRS and 
3855193267SjkimTTP flags into two separate fields.
3856151937Sjkim
3857193267SjkimCode and Data Size: The current and previous library sizes for the core 
3858193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3859193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3860193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3861193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3862193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3863193267Sjkimof the compiler and the compiler options used during generation.
3864151937Sjkim
3865151937Sjkim  Previous Release:
3866151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
3867151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
3868151937Sjkim  Current Release:
3869151937Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3870151937Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3871151937Sjkim
3872151937Sjkim
3873167802Sjkim
3874151937Sjkim2) iASL Compiler/Disassembler:
3875151937Sjkim
3876193267SjkimRelaxed a compiler restriction that disallowed a ResourceIndex byte if the 
3877193267Sjkimcorresponding ResourceSource string was not also present in a resource 
3878193267Sjkimdescriptor declaration. This restriction caused problems with existing 
3879193267SjkimAML/ASL code that includes the Index byte without the string. When such AML 
3880193267Sjkimwas disassembled, it could not be compiled without modification. Further, 
3881193267Sjkimthe modified code created a resource template with a different size than the 
3882193267Sjkimoriginal, breaking code that used fixed offsets into the resource template 
3883193267Sjkimbuffer.
3884151937Sjkim
3885193267SjkimRemoved a recent feature of the disassembler to ignore a lone ResourceIndex 
3886193267Sjkimbyte. This byte is now emitted if present so that the exact AML can be 
3887193267Sjkimreproduced when the disassembled code is recompiled.
3888151937Sjkim
3889193267SjkimImproved comments and text alignment for the resource descriptor code 
3890193267Sjkimemitted by the disassembler.
3891151937Sjkim
3892193267SjkimImplemented disassembler support for the ACPI 3.0 AccessSize field within a 
3893193267SjkimRegister() resource descriptor.
3894151937Sjkim
3895151937Sjkim----------------------------------------
3896151937Sjkim30 September 2005. Summary of changes for version 20050930:
3897151937Sjkim
3898151937Sjkim1) ACPI CA Core Subsystem:
3899151937Sjkim
3900193267SjkimCompleted a major overhaul of the Resource Manager code - specifically, 
3901193267Sjkimoptimizations in the area of the AML/internal resource conversion code. The 
3902193267Sjkimcode has been optimized to simplify and eliminate duplicated code, CPU stack 
3903193267Sjkimuse has been decreased by optimizing function parameters and local 
3904193267Sjkimvariables, and naming conventions across the manager have been standardized 
3905193267Sjkimfor clarity and ease of maintenance (this includes function, parameter, 
3906193267Sjkimvariable, and struct/typedef names.) The update may force changes in some 
3907193267Sjkimdriver code, depending on how resources are handled by the host OS.
3908151937Sjkim
3909193267SjkimAll Resource Manager dispatch and information tables have been moved to a 
3910193267Sjkimsingle location for clarity and ease of maintenance. One new file was 
3911193267Sjkimcreated, named "rsinfo.c".
3912151937Sjkim
3913193267SjkimThe ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
3914193267Sjkimguarantee that the argument is not evaluated twice, making them less prone 
3915193267Sjkimto macro side-effects. However, since there exists the possibility of 
3916193267Sjkimadditional stack use if a particular compiler cannot optimize them (such as 
3917193267Sjkimin the debug generation case), the original macros are optionally available.  
3918193267SjkimNote that some invocations of the return_VALUE macro may now cause size 
3919193267Sjkimmismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
3920193267Sjkimeliminate these. (From Randy Dunlap)
3921151937Sjkim
3922193267SjkimImplemented a new mechanism to enable debug tracing for individual control 
3923193267Sjkimmethods. A new external interface, AcpiDebugTrace, is provided to enable 
3924193267Sjkimthis mechanism. The intent is to allow the host OS to easily enable and 
3925193267Sjkimdisable tracing for problematic control methods. This interface can be 
3926193267Sjkimeasily exposed to a user or debugger interface if desired. See the file 
3927151937Sjkimpsxface.c for details.
3928151937Sjkim
3929193267SjkimAcpiUtCallocate will now return a valid pointer if a length of zero is 
3930193267Sjkimspecified - a length of one is used and a warning is issued. This matches 
3931193267Sjkimthe behavior of AcpiUtAllocate.
3932151937Sjkim
3933193267SjkimCode and Data Size: The current and previous library sizes for the core 
3934193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3935193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3936193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3937193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3938193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3939193267Sjkimof the compiler and the compiler options used during generation.
3940151937Sjkim
3941151937Sjkim  Previous Release:
3942151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
3943151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
3944151937Sjkim  Current Release:
3945151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
3946151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
3947151937Sjkim
3948151937Sjkim
3949151937Sjkim2) iASL Compiler/Disassembler:
3950151937Sjkim
3951193267SjkimA remark is issued if the effective compile-time length of a package or 
3952193267Sjkimbuffer is zero. Previously, this was a warning.
3953151937Sjkim
3954151937Sjkim----------------------------------------
3955151937Sjkim16 September 2005. Summary of changes for version 20050916:
3956151937Sjkim
3957151937Sjkim1) ACPI CA Core Subsystem:
3958151937Sjkim
3959193267SjkimFixed a problem within the Resource Manager where support for the Generic 
3960193267SjkimRegister descriptor was not fully implemented. This descriptor is now fully 
3961193267Sjkimrecognized, parsed, disassembled, and displayed.
3962151937Sjkim
3963193267SjkimCompletely restructured the Resource Manager code to utilize table-driven 
3964193267Sjkimdispatch and lookup, eliminating many of the large switch() statements. This 
3965193267Sjkimreduces overall subsystem code size and code complexity. Affects the 
3966193267Sjkimresource parsing and construction, disassembly, and debug dump output.
3967151937Sjkim
3968193267SjkimCleaned up and restructured the debug dump output for all resource 
3969193267Sjkimdescriptors. Improved readability of the output and reduced code size.
3970151937Sjkim
3971193267SjkimFixed a problem where changes to internal data structures caused the 
3972193267Sjkimoptional ACPI_MUTEX_DEBUG code to fail compilation if specified.
3973151937Sjkim
3974193267SjkimCode and Data Size: The current and previous library sizes for the core 
3975193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3976193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3977193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3978193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3979193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3980193267Sjkimof the compiler and the compiler options used during generation.
3981151937Sjkim
3982151937Sjkim  Previous Release:
3983151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
3984151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
3985151937Sjkim  Current Release:
3986151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
3987151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
3988151937Sjkim
3989151937Sjkim
3990151937Sjkim2) iASL Compiler/Disassembler:
3991151937Sjkim
3992193267SjkimUpdated the disassembler to automatically insert an EndDependentFn() macro 
3993193267Sjkiminto the ASL stream if this macro is missing in the original AML code, 
3994193267Sjkimsimplifying compilation of the resulting ASL module.
3995151937Sjkim
3996193267SjkimFixed a problem in the disassembler where a disassembled ResourceSource 
3997193267Sjkimstring (within a large resource descriptor) was not surrounded by quotes and 
3998193267Sjkimnot followed by a comma, causing errors when the resulting ASL module was 
3999193267Sjkimcompiled. Also, escape sequences within a ResourceSource string are now 
4000193267Sjkimhandled correctly (especially "\\")
4001151937Sjkim
4002151937Sjkim----------------------------------------
4003151937Sjkim02 September 2005. Summary of changes for version 20050902:
4004151937Sjkim
4005151937Sjkim1) ACPI CA Core Subsystem:
4006151937Sjkim
4007193267SjkimFixed a problem with the internal Owner ID allocation and deallocation 
4008193267Sjkimmechanisms for control method execution and recursive method invocation. 
4009193267SjkimThis should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
4010193267Sjkimmessages seen on some systems. Recursive method invocation depth is 
4011193267Sjkimcurrently limited to 255. (Alexey Starikovskiy)
4012151937Sjkim
4013193267SjkimCompletely eliminated all vestiges of support for the "module-level 
4014193267Sjkimexecutable code" until this support is fully implemented and debugged. This 
4015193267Sjkimshould eliminate the NO_RETURN_VALUE exceptions seen during table load on 
4016193267Sjkimsome systems that invoke this support.
4017151937Sjkim
4018193267SjkimFixed a problem within the resource manager code where the transaction flags 
4019193267Sjkimfor a 64-bit address descriptor were handled incorrectly in the type-
4020193267Sjkimspecific flag byte.
4021151937Sjkim
4022193267SjkimConsolidated duplicate code within the address descriptor resource manager 
4023193267Sjkimcode, reducing overall subsystem code size.
4024151937Sjkim
4025193267SjkimFixed a fault when using the AML debugger "disassemble" command to 
4026193267Sjkimdisassemble individual control methods.
4027151937Sjkim
4028193267SjkimRemoved references to the "release_current" directory within the Unix 
4029193267Sjkimrelease package.
4030151937Sjkim
4031193267SjkimCode and Data Size: The current and previous core subsystem library sizes 
4032193267Sjkimare shown below. These are the code and data sizes for the acpica.lib 
4033193267Sjkimproduced by the Microsoft Visual C++ 6.0 compiler. These values do not 
4034193267Sjkiminclude any ACPI driver or OSPM code. The debug version of the code includes 
4035193267Sjkimthe debug output trace mechanism and has a much larger code and data size. 
4036193267SjkimNote that these values will vary depending on the efficiency of the compiler 
4037193267Sjkimand the compiler options used during generation.
4038151937Sjkim
4039151937Sjkim  Previous Release:
4040151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4041151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4042151937Sjkim  Current Release:
4043151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4044151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4045151937Sjkim
4046151937Sjkim
4047151937Sjkim2) iASL Compiler/Disassembler:
4048151937Sjkim
4049193267SjkimImplemented an error check for illegal duplicate values in the interrupt and 
4050193267Sjkimdma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
4051193267SjkimInterrupt().
4052151937Sjkim
4053193267SjkimImplemented error checking for the Irq() and IrqNoFlags() macros to detect 
4054193267Sjkimtoo many values in the interrupt list (16 max) and invalid values in the 
4055193267Sjkimlist (range 0 - 15)
4056151937Sjkim
4057193267SjkimThe maximum length string literal within an ASL file is now restricted to 
4058193267Sjkim200 characters as per the ACPI specification.
4059151937Sjkim
4060193267SjkimFixed a fault when using the -ln option (generate namespace listing).
4061151937Sjkim
4062193267SjkimImplemented an error check to determine if a DescriptorName within a 
4063193267Sjkimresource descriptor has already been used within the current scope.
4064151937Sjkim
4065151937Sjkim----------------------------------------
4066151937Sjkim15 August 2005.  Summary of changes for version 20050815:
4067193267Sjkim 
4068151937Sjkim1) ACPI CA Core Subsystem:
4069193267Sjkim 
4070193267SjkimImplemented a full bytewise compare to determine if a table load request is 
4071193267Sjkimattempting to load a duplicate table. The compare is performed if the table 
4072193267Sjkimsignatures and table lengths match. This will allow different tables with 
4073193267Sjkimthe same OEM Table ID and revision to be loaded - probably against the ACPI 
4074193267Sjkimspecification, but discovered in the field nonetheless.
4075193267Sjkim 
4076193267SjkimAdded the changes.txt logfile to each of the zipped release packages.
4077193267Sjkim 
4078193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4079193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4080193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4081193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4082193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4083193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4084193267Sjkimthe compiler options used during generation.
4085193267Sjkim 
4086151937Sjkim  Previous Release:
4087151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4088151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4089151937Sjkim  Current Release:
4090151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4091151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4092193267Sjkim 
4093193267Sjkim 
4094151937Sjkim2) iASL Compiler/Disassembler:
4095193267Sjkim 
4096193267SjkimFixed a problem where incorrect AML code could be generated for Package 
4097193267Sjkimobjects if optimization is disabled (via the -oa switch).
4098193267Sjkim 
4099193267SjkimFixed a problem with where incorrect AML code is generated for variable-
4100193267Sjkimlength packages when the package length is not specified and the number of 
4101193267Sjkiminitializer values is greater than 255.
4102193267Sjkim 
4103151937Sjkim
4104151937Sjkim----------------------------------------
4105151937Sjkim29 July 2005.  Summary of changes for version 20050729:
4106151937Sjkim
4107151937Sjkim1) ACPI CA Core Subsystem:
4108151937Sjkim
4109193267SjkimImplemented support to ignore an attempt to install/load a particular ACPI 
4110193267Sjkimtable more than once. Apparently there exists BIOS code that repeatedly 
4111193267Sjkimattempts to load the same SSDT upon certain events. With assistance from 
4112193267SjkimVenkatesh Pallipadi.
4113151937Sjkim
4114193267SjkimRestructured the main interface to the AML parser in order to correctly 
4115193267Sjkimhandle all exceptional conditions. This will prevent leakage of the OwnerId 
4116193267Sjkimresource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
4117193267Sjkimmachines. With assistance from Alexey Starikovskiy.
4118151937Sjkim
4119193267SjkimSupport for "module level code" has been disabled in this version due to a 
4120193267Sjkimnumber of issues that have appeared on various machines. The support can be 
4121193267Sjkimenabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
4122193267Sjkimcompilation. When the issues are fully resolved, the code will be enabled by 
4123151937Sjkimdefault again.
4124151937Sjkim
4125193267SjkimModified the internal functions for debug print support to define the 
4126193267SjkimFunctionName parameter as a (const char *) for compatibility with compiler 
4127193267Sjkimbuilt-in macros such as __FUNCTION__, etc.
4128151937Sjkim
4129151937SjkimLinted the entire ACPICA source tree for both 32-bit and 64-bit.
4130151937Sjkim
4131193267SjkimImplemented support to display an object count summary for the AML Debugger 
4132193267Sjkimcommands Object and Methods.
4133151937Sjkim
4134193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4135193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4136193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4137193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4138193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4139193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4140193267Sjkimthe compiler options used during generation.
4141151937Sjkim
4142151937Sjkim  Previous Release:
4143151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4144151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4145151937Sjkim  Current Release:
4146151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4147151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4148151937Sjkim
4149151937Sjkim
4150151937Sjkim2) iASL Compiler/Disassembler:
4151151937Sjkim
4152193267SjkimFixed a regression that appeared in the 20050708 version of the compiler 
4153193267Sjkimwhere an error message was inadvertently emitted for invocations of the _OSI 
4154193267Sjkimreserved control method.
4155151937Sjkim
4156151937Sjkim----------------------------------------
4157151937Sjkim08 July 2005.  Summary of changes for version 20050708:
4158151937Sjkim
4159151937Sjkim1) ACPI CA Core Subsystem:
4160151937Sjkim
4161193267SjkimThe use of the CPU stack in the debug version of the subsystem has been 
4162193267Sjkimconsiderably reduced. Previously, a debug structure was declared in every 
4163193267Sjkimfunction that used the debug macros. This structure has been removed in 
4164193267Sjkimfavor of declaring the individual elements as parameters to the debug 
4165193267Sjkimfunctions. This reduces the cumulative stack use during nested execution of 
4166193267SjkimACPI function calls at the cost of a small increase in the code size of the 
4167193267Sjkimdebug version of the subsystem. With assistance from Alexey Starikovskiy and 
4168193267SjkimLen Brown.
4169151937Sjkim
4170193267SjkimAdded the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
4171193267Sjkimheaders to define a macro that will return the current function name at 
4172193267Sjkimruntime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
4173193267Sjkimthe debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
4174193267Sjkimcompiler-dependent header, the function name is saved on the CPU stack (one 
4175193267Sjkimpointer per function.) This mechanism is used because apparently there 
4176193267Sjkimexists no standard ANSI-C defined macro that that returns the function name.
4177151937Sjkim
4178193267SjkimRedesigned and reimplemented the "Owner ID" mechanism used to track 
4179193267Sjkimnamespace objects created/deleted by ACPI tables and control method 
4180193267Sjkimexecution. A bitmap is now used to allocate and free the IDs, thus solving 
4181193267Sjkimthe wraparound problem present in the previous implementation. The size of 
4182193267Sjkimthe namespace node descriptor was reduced by 2 bytes as a result (Alexey 
4183151937SjkimStarikovskiy).
4184151937Sjkim
4185193267SjkimRemoved the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
4186193267Sjkimflag definitions within the headers for the predefined ACPI tables. These 
4187193267Sjkimhave been replaced by UINT8_BIT in order to increase the code portability of 
4188193267Sjkimthe subsystem. If the use of UINT8 remains a problem, we may be forced to 
4189193267Sjkimeliminate bitfields entirely because of a lack of portability.
4190151937Sjkim
4191193267SjkimEnhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
4192193267Sjkimis a frequently used function and this improvement increases the performance 
4193193267Sjkimof the entire subsystem (Alexey Starikovskiy).
4194151937Sjkim
4195193267SjkimFixed several possible memory leaks and the inverse - premature object 
4196193267Sjkimdeletion (Alexey Starikovskiy).
4197151937Sjkim
4198193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4199193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4200193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4201193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4202193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4203193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4204193267Sjkimthe compiler options used during generation.
4205151937Sjkim
4206151937Sjkim  Previous Release:
4207151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4208151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4209151937Sjkim  Current Release:
4210151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4211151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4212151937Sjkim
4213151937Sjkim----------------------------------------
4214151937Sjkim24 June 2005.  Summary of changes for version 20050624:
4215151937Sjkim
4216151937Sjkim1) ACPI CA Core Subsystem:
4217151937Sjkim
4218193267SjkimModified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
4219193267Sjkimthe host-defined cache object. This allows the OSL implementation to define 
4220193267Sjkimand type this object in any manner desired, simplifying the OSL 
4221193267Sjkimimplementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
4222193267SjkimLinux, and should be defined in the OS-specific header file for other 
4223193267Sjkimoperating systems as required.
4224151937Sjkim
4225193267SjkimChanged the interface to AcpiOsAcquireObject to directly return the 
4226193267Sjkimrequested object as the function return (instead of ACPI_STATUS.) This 
4227193267Sjkimchange was made for performance reasons, since this is the purpose of the 
4228193267Sjkiminterface in the first place. AcpiOsAcquireObject is now similar to the 
4229193267SjkimAcpiOsAllocate interface.
4230151937Sjkim
4231193267SjkimImplemented a new AML debugger command named Businfo. This command displays 
4232193267Sjkiminformation about all devices that have an associate _PRT object. The _ADR, 
4233193267Sjkim_HID, _UID, and _CID are displayed for these devices.
4234151937Sjkim
4235193267SjkimModified the initialization sequence in AcpiInitializeSubsystem to call the 
4236193267SjkimOSL interface AcpiOslInitialize first, before any local initialization. This 
4237193267Sjkimchange was required because the global initialization now calls OSL 
4238193267Sjkiminterfaces.
4239151937Sjkim
4240193267SjkimEnhanced the Dump command to display the entire contents of Package objects 
4241193267Sjkim(including all sub-objects and their values.) 
4242151937Sjkim
4243193267SjkimRestructured the code base to split some files because of size and/or 
4244193267Sjkimbecause the code logically belonged in a separate file. New files are listed 
4245193267Sjkimbelow. All makefiles and project files included in the ACPI CA release have 
4246193267Sjkimbeen updated.
4247151937Sjkim    utilities/utcache.c           /* Local cache interfaces */
4248151937Sjkim    utilities/utmutex.c           /* Local mutex support */
4249151937Sjkim    utilities/utstate.c           /* State object support */
4250151937Sjkim    interpreter/parser/psloop.c   /* Main AML parse loop */
4251151937Sjkim
4252193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4253193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4254193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4255193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4256193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4257193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4258193267Sjkimthe compiler options used during generation.
4259151937Sjkim
4260151937Sjkim  Previous Release:
4261151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4262151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4263151937Sjkim  Current Release:
4264151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4265151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4266151937Sjkim
4267151937Sjkim
4268151937Sjkim2) iASL Compiler/Disassembler:
4269151937Sjkim
4270193267SjkimFixed a regression introduced in version 20050513 where the use of a Package 
4271193267Sjkimobject within a Case() statement caused a compile time exception. The 
4272193267Sjkimoriginal behavior has been restored (a Match() operator is emitted.)
4273151937Sjkim
4274151937Sjkim----------------------------------------
4275151937Sjkim17 June 2005.  Summary of changes for version 20050617:
4276151937Sjkim
4277151937Sjkim1) ACPI CA Core Subsystem:
4278151937Sjkim
4279193267SjkimMoved the object cache operations into the OS interface layer (OSL) to allow 
4280193267Sjkimthe host OS to handle these operations if desired (for example, the Linux 
4281193267SjkimOSL will invoke the slab allocator). This support is optional; the compile 
4282193267Sjkimtime define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
4283193267Sjkimcode in the ACPI CA core. The new OSL interfaces are shown below. See 
4284193267Sjkimutalloc.c for an example implementation, and acpiosxf.h for the exact 
4285193267Sjkiminterface definitions. With assistance from Alexey Starikovskiy.
4286151937Sjkim    AcpiOsCreateCache
4287151937Sjkim    AcpiOsDeleteCache
4288151937Sjkim    AcpiOsPurgeCache
4289151937Sjkim    AcpiOsAcquireObject
4290151937Sjkim    AcpiOsReleaseObject
4291151937Sjkim
4292193267SjkimModified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
4293193267Sjkimand restore a flags parameter. This fits better with many OS lock models. 
4294193267SjkimNote: the current execution state (interrupt handler or not) is no longer 
4295193267Sjkimpassed to these interfaces. If necessary, the OSL must determine this state 
4296193267Sjkimby itself, a simple and fast operation. With assistance from Alexey 
4297151937SjkimStarikovskiy.
4298151937Sjkim
4299193267SjkimFixed a problem in the ACPI table handling where a valid XSDT was assumed 
4300193267Sjkimpresent if the revision of the RSDP was 2 or greater. According to the ACPI 
4301193267Sjkimspecification, the XSDT is optional in all cases, and the table manager 
4302193267Sjkimtherefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
4303193267SjkimOtherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
4304193267Sjkimonly the RSDT.
4305151937Sjkim
4306193267SjkimFixed an interpreter problem with the Mid() operator in the case of an input 
4307193267Sjkimstring where the resulting output string is of zero length. It now correctly 
4308193267Sjkimreturns a valid, null terminated string object instead of a string object 
4309193267Sjkimwith a null pointer.
4310151937Sjkim
4311193267SjkimFixed a problem with the control method argument handling to allow a store 
4312193267Sjkimto an Arg object that already contains an object of type Device. The Device 
4313193267Sjkimobject is now correctly overwritten. Previously, an error was returned.
4314151937Sjkim
4315167802Sjkim
4316193267SjkimEnhanced the debugger Find command to emit object values in addition to the 
4317193267Sjkimfound object pathnames. The output format is the same as the dump namespace 
4318193267Sjkimcommand.
4319151937Sjkim
4320193267SjkimEnhanced the debugger Set command. It now has the ability to set the value 
4321193267Sjkimof any Named integer object in the namespace (Previously, only method locals 
4322193267Sjkimand args could be set.)
4323151937Sjkim
4324193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4325193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4326193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4327193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4328193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4329193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4330193267Sjkimthe compiler options used during generation.
4331151937Sjkim
4332151937Sjkim  Previous Release:
4333151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4334151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4335151937Sjkim  Current Release:
4336151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4337151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4338151937Sjkim
4339151937Sjkim
4340151937Sjkim2) iASL Compiler/Disassembler:
4341151937Sjkim
4342193267SjkimFixed a regression in the disassembler where if/else/while constructs were 
4343193267Sjkimoutput incorrectly. This problem was introduced in the previous release 
4344193267Sjkim(20050526). This problem also affected the single-step disassembly in the 
4345193267Sjkimdebugger.
4346151937Sjkim
4347193267SjkimFixed a problem where compiling the reserved _OSI method would randomly (but 
4348193267Sjkimrarely) produce compile errors.
4349151937Sjkim
4350193267SjkimEnhanced the disassembler to emit compilable code in the face of incorrect 
4351193267SjkimAML resource descriptors. If the optional ResourceSourceIndex is present, 
4352193267Sjkimbut the ResourceSource is not, do not emit the ResourceSourceIndex in the 
4353193267Sjkimdisassembly. Otherwise, the resulting code cannot be compiled without 
4354193267Sjkimerrors.
4355151937Sjkim
4356151937Sjkim----------------------------------------
4357151937Sjkim26 May 2005.  Summary of changes for version 20050526:
4358151937Sjkim
4359151937Sjkim1) ACPI CA Core Subsystem:
4360151937Sjkim
4361193267SjkimImplemented support to execute Type 1 and Type 2 AML opcodes appearing at 
4362193267Sjkimthe module level (not within a control method.) These opcodes are executed 
4363193267Sjkimexactly once at the time the table is loaded. This type of code was legal up 
4364193267Sjkimuntil the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
4365193267Sjkimorder to provide backwards compatibility with earlier BIOS implementations. 
4366193267SjkimThis eliminates the "Encountered executable code at module level" warning 
4367193267Sjkimthat was previously generated upon detection of such code.
4368151937Sjkim
4369193267SjkimFixed a problem in the interpreter where an AE_NOT_FOUND exception could 
4370193267Sjkiminadvertently be generated during the lookup of namespace objects in the 
4371193267Sjkimsecond pass parse of ACPI tables and control methods. It appears that this 
4372193267Sjkimproblem could occur during the resolution of forward references to namespace 
4373193267Sjkimobjects.
4374151937Sjkim
4375193267SjkimAdded the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
4376193267Sjkimcorresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
4377193267Sjkimallows the deadlock detection debug code to be compiled out in the normal 
4378193267Sjkimcase, improving mutex performance (and overall subsystem performance) 
4379193267Sjkimconsiderably.
4380151937Sjkim
4381193267SjkimImplemented a handful of miscellaneous fixes for possible memory leaks on 
4382193267Sjkimerror conditions and error handling control paths. These fixes were 
4383193267Sjkimsuggested by FreeBSD and the Coverity Prevent source code analysis tool.
4384151937Sjkim
4385193267SjkimAdded a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
4386193267Sjkimto prevent a fault in this error case.
4387151937Sjkim
4388193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4389193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4390193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4391193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4392193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4393193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4394193267Sjkimthe compiler options used during generation.
4395151937Sjkim
4396151937Sjkim  Previous Release:
4397151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4398151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4399151937Sjkim  Current Release:
4400151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4401151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4402151937Sjkim
4403151937Sjkim
4404151937Sjkim2) iASL Compiler/Disassembler:
4405151937Sjkim
4406193267SjkimImplemented support to allow Type 1 and Type 2 ASL operators to appear at 
4407193267Sjkimthe module level (not within a control method.) These operators will be 
4408193267Sjkimexecuted once at the time the table is loaded. This type of code was legal 
4409193267Sjkimup until the release of ACPI 2.0B (2002) and is now supported by the iASL 
4410193267Sjkimcompiler in order to provide backwards compatibility with earlier BIOS ASL 
4411193267Sjkimcode.
4412151937Sjkim
4413193267SjkimThe ACPI integer width (specified via the table revision ID or the -r 
4414193267Sjkimoverride, 32 or 64 bits) is now used internally during compile-time constant 
4415193267Sjkimfolding to ensure that constants are truncated to 32 bits if necessary. 
4416193267SjkimPreviously, the revision ID value was only emitted in the AML table header.
4417151937Sjkim
4418193267SjkimAn error message is now generated for the Mutex and Method operators if the 
4419193267SjkimSyncLevel parameter is outside the legal range of 0 through 15.
4420151937Sjkim
4421193267SjkimFixed a problem with the Method operator ParameterTypes list handling (ACPI 
4422193267Sjkim3.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
4423193267SjkimThe actual underlying implementation of method argument typechecking is 
4424193267Sjkimstill under development, however.
4425151937Sjkim
4426151937Sjkim----------------------------------------
4427151937Sjkim13 May 2005.  Summary of changes for version 20050513:
4428151937Sjkim
4429151937Sjkim1) ACPI CA Core Subsystem:
4430151937Sjkim
4431193267SjkimImplemented support for PCI Express root bridges -- added support for device 
4432193267SjkimPNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
4433151937Sjkim
4434193267SjkimThe interpreter now automatically truncates incoming 64-bit constants to 32 
4435193267Sjkimbits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
4436193267Sjkimalso affects the iASL compiler constant folding. (Note: as per below, the 
4437193267SjkimiASL compiler no longer allows 64-bit constants within 32-bit tables.)
4438151937Sjkim
4439193267SjkimFixed a problem where string and buffer objects with "static" pointers 
4440193267Sjkim(pointers to initialization data within an ACPI table) were not handled 
4441193267Sjkimconsistently. The internal object copy operation now always copies the data 
4442193267Sjkimto a newly allocated buffer, regardless of whether the source object is 
4443193267Sjkimstatic or not.
4444151937Sjkim
4445193267SjkimFixed a problem with the FromBCD operator where an implicit result 
4446193267Sjkimconversion was improperly performed while storing the result to the target 
4447193267Sjkimoperand. Since this is an "explicit conversion" operator, the implicit 
4448193267Sjkimconversion should never be performed on the output.
4449151937Sjkim
4450193267SjkimFixed a problem with the CopyObject operator where a copy to an existing 
4451193267Sjkimnamed object did not always completely overwrite the existing object stored 
4452193267Sjkimat name. Specifically, a buffer-to-buffer copy did not delete the existing 
4453193267Sjkimbuffer.
4454151937Sjkim
4455193267SjkimReplaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
4456193267Sjkimstructs for consistency.
4457151937Sjkim
4458193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4459193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4460193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4461193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4462193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4463193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4464193267Sjkimthe compiler options used during generation.
4465151937Sjkim
4466151937Sjkim  Previous Release:
4467151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4468151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4469151937Sjkim  Current Release: (Same sizes)
4470151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4471151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4472151937Sjkim
4473151937Sjkim
4474151937Sjkim2) iASL Compiler/Disassembler:
4475151937Sjkim
4476193267SjkimThe compiler now emits a warning if an attempt is made to generate a 64-bit 
4477193267Sjkiminteger constant from within a 32-bit ACPI table (Revision < 2). The integer 
4478193267Sjkimis truncated to 32 bits.
4479151937Sjkim
4480193267SjkimFixed a problem with large package objects: if the static length of the 
4481193267Sjkimpackage is greater than 255, the "variable length package" opcode is 
4482193267Sjkimemitted. Previously, this caused an error. This requires an update to the 
4483193267SjkimACPI spec, since it currently (incorrectly) states that packages larger than 
4484193267Sjkim255 elements are not allowed.
4485151937Sjkim
4486193267SjkimThe disassembler now correctly handles variable length packages and packages 
4487193267Sjkimlarger than 255 elements.
4488151937Sjkim
4489151937Sjkim----------------------------------------
4490151937Sjkim08 April 2005.  Summary of changes for version 20050408:
4491151937Sjkim
4492151937Sjkim1) ACPI CA Core Subsystem:
4493151937Sjkim
4494193267SjkimFixed three cases in the interpreter where an "index" argument to an ASL 
4495193267Sjkimfunction was still (internally) 32 bits instead of the required 64 bits. 
4496193267SjkimThis was the Index argument to the Index, Mid, and Match operators.
4497151937Sjkim
4498193267SjkimThe "strupr" function is now permanently local (AcpiUtStrupr), since this is 
4499193267Sjkimnot a POSIX-defined function and not present in most kernel-level C 
4500193267Sjkimlibraries. All references to the C library strupr function have been removed 
4501193267Sjkimfrom the headers.
4502151937Sjkim
4503193267SjkimCompleted the deployment of static functions/prototypes. All prototypes with 
4504193267Sjkimthe static attribute have been moved from the headers to the owning C file.
4505151937Sjkim
4506193267SjkimImplemented an extract option (-e) for the AcpiBin utility (AML binary 
4507193267Sjkimutility). This option allows the utility to extract individual ACPI tables 
4508193267Sjkimfrom the output of AcpiDmp. It provides the same functionality of the 
4509193267Sjkimacpixtract.pl perl script without the worry of setting the correct perl 
4510193267Sjkimoptions. AcpiBin runs on Windows and has not yet been generated/validated in 
4511193267Sjkimthe Linux/Unix environment (but should be soon).
4512193267Sjkim 
4513193267SjkimUpdated and fixed the table dump option for AcpiBin (-d). This option 
4514193267Sjkimconverts a single ACPI table to a hex/ascii file, similar to the output of 
4515193267SjkimAcpiDmp.
4516151937Sjkim
4517193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4518193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4519193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4520193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4521193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4522193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4523193267Sjkimthe compiler options used during generation.
4524151937Sjkim
4525151937Sjkim  Previous Release:
4526151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4527151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4528151937Sjkim  Current Release:
4529151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4530151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4531151937Sjkim
4532151937Sjkim
4533151937Sjkim2) iASL Compiler/Disassembler:
4534151937Sjkim
4535193267SjkimDisassembler fix: Added a check to ensure that the table length found in the 
4536193267SjkimACPI table header within the input file is not longer than the actual input 
4537193267Sjkimfile size. This indicates some kind of file or table corruption.
4538151937Sjkim
4539151937Sjkim----------------------------------------
4540151937Sjkim29 March 2005.  Summary of changes for version 20050329:
4541151937Sjkim
4542151937Sjkim1) ACPI CA Core Subsystem:
4543151937Sjkim
4544193267SjkimAn error is now generated if an attempt is made to create a Buffer Field of 
4545193267Sjkimlength zero (A CreateField with a length operand of zero.)
4546151937Sjkim
4547193267SjkimThe interpreter now issues a warning whenever executable code at the module 
4548193267Sjkimlevel is detected during ACPI table load. This will give some idea of the 
4549193267Sjkimprevalence of this type of code.
4550151937Sjkim
4551193267SjkimImplemented support for references to named objects (other than control 
4552193267Sjkimmethods) within package objects.
4553151937Sjkim
4554193267SjkimEnhanced package object output for the debug object. Package objects are now 
4555193267Sjkimcompletely dumped, showing all elements.
4556151937Sjkim
4557193267SjkimEnhanced miscellaneous object output for the debug object. Any object can 
4558193267Sjkimnow be written to the debug object (for example, a device object can be 
4559193267Sjkimwritten, and the type of the object will be displayed.)
4560151937Sjkim
4561193267SjkimThe "static" qualifier has been added to all local functions across both the 
4562193267Sjkimcore subsystem and the iASL compiler.
4563151937Sjkim
4564193267SjkimThe number of "long" lines (> 80 chars) within the source has been 
4565193267Sjkimsignificantly reduced, by about 1/3.
4566151937Sjkim
4567193267SjkimCleaned up all header files to ensure that all CA/iASL functions are 
4568193267Sjkimprototyped (even static functions) and the formatting is consistent.
4569151937Sjkim
4570151937SjkimTwo new header files have been added, acopcode.h and acnames.h.
4571151937Sjkim
4572151937SjkimRemoved several obsolete functions that were no longer used.
4573151937Sjkim
4574193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4575193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4576193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4577193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4578193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4579193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4580193267Sjkimthe compiler options used during generation.
4581151937Sjkim
4582151937Sjkim  Previous Release:
4583151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4584151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4585151937Sjkim  Current Release:
4586151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4587151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4588151937Sjkim
4589151937Sjkim
4590167802Sjkim
4591151937Sjkim2) iASL Compiler/Disassembler:
4592151937Sjkim
4593193267SjkimFixed a problem with the resource descriptor generation/support. For the 
4594193267SjkimResourceSourceIndex and the ResourceSource fields, both must be present, or 
4595193267Sjkimboth must be not present - can't have one without the other.
4596151937Sjkim
4597193267SjkimThe compiler now returns non-zero from the main procedure if any errors have 
4598193267Sjkimoccurred during the compilation.
4599151937Sjkim
4600151937Sjkim
4601151937Sjkim----------------------------------------
4602151937Sjkim09 March 2005.  Summary of changes for version 20050309:
4603151937Sjkim
4604151937Sjkim1) ACPI CA Core Subsystem:
4605151937Sjkim
4606193267SjkimThe string-to-buffer implicit conversion code has been modified again after 
4607193267Sjkima change to the ACPI specification.  In order to match the behavior of the 
4608193267Sjkimother major ACPI implementation, the target buffer is no longer truncated if 
4609193267Sjkimthe source string is smaller than an existing target buffer. This change 
4610193267Sjkimrequires an update to the ACPI spec, and should eliminate the recent 
4611151937SjkimAE_AML_BUFFER_LIMIT issues.
4612151937Sjkim
4613193267SjkimThe "implicit return" support was rewritten to a new algorithm that solves 
4614193267Sjkimthe general case. Rather than attempt to determine when a method is about to 
4615193267Sjkimexit, the result of every ASL operator is saved momentarily until the very 
4616193267Sjkimnext ASL operator is executed. Therefore, no matter how the method exits, 
4617193267Sjkimthere will always be a saved implicit return value. This feature is only 
4618193267Sjkimenabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
4619193267SjkimAE_AML_NO_RETURN_VALUE errors when enabled.
4620151937Sjkim
4621193267SjkimImplemented implicit conversion support for the predicate (operand) of the 
4622193267SjkimIf, Else, and While operators. String and Buffer arguments are automatically 
4623193267Sjkimconverted to Integers.
4624151937Sjkim
4625193267SjkimChanged the string-to-integer conversion behavior to match the new ACPI 
4626193267Sjkimerrata: "If no integer object exists, a new integer is created. The ASCII 
4627193267Sjkimstring is interpreted as a hexadecimal constant. Each string character is 
4628193267Sjkiminterpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
4629193267Sjkimwith the first character as the most significant digit, and ending with the 
4630193267Sjkimfirst non-hexadecimal character or end-of-string." This means that the first 
4631193267Sjkimnon-hex character terminates the conversion and this is the code that was 
4632193267Sjkimchanged.
4633151937Sjkim
4634193267SjkimFixed a problem where the ObjectType operator would fail (fault) when used 
4635193267Sjkimon an Index of a Package which pointed to a null package element. The 
4636193267Sjkimoperator now properly returns zero (Uninitialized) in this case.
4637151937Sjkim
4638193267SjkimFixed a problem where the While operator used excessive memory by not 
4639193267Sjkimproperly popping the result stack during execution. There was no memory leak 
4640193267Sjkimafter execution, however. (Code provided by Valery Podrezov.)
4641151937Sjkim
4642193267SjkimFixed a problem where references to control methods within Package objects 
4643193267Sjkimcaused the method to be invoked, instead of producing a reference object 
4644193267Sjkimpointing to the method.
4645151937Sjkim
4646193267SjkimRestructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
4647193267Sjkimimprove performance and reduce code size. (Code provided by Alexey 
4648193267SjkimStarikovskiy.)
4649151937Sjkim
4650193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4651193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4652193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4653193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4654193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4655193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4656193267Sjkimthe compiler options used during generation.
4657151937Sjkim
4658151937Sjkim  Previous Release:
4659151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4660151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4661151937Sjkim  Current Release:
4662151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4663151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4664151937Sjkim
4665151937Sjkim
4666151937Sjkim2) iASL Compiler/Disassembler:
4667151937Sjkim
4668193267SjkimFixed a problem with the Return operator with no arguments. Since the AML 
4669193267Sjkimgrammar for the byte encoding requires an operand for the Return opcode, the 
4670193267Sjkimcompiler now emits a Return(Zero) for this case.  An ACPI specification 
4671193267Sjkimupdate has been written for this case.
4672151937Sjkim
4673193267SjkimFor tables other than the DSDT, namepath optimization is automatically 
4674193267Sjkimdisabled. This is because SSDTs can be loaded anywhere in the namespace, the 
4675193267Sjkimcompiler has no knowledge of where, and thus cannot optimize namepaths.
4676151937Sjkim
4677193267SjkimAdded "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
4678193267Sjkiminadvertently omitted from the ACPI specification, and will require an 
4679193267Sjkimupdate to the spec.
4680151937Sjkim
4681193267SjkimThe source file scan for ASCII characters is now optional (-a). This change 
4682193267Sjkimwas made because some vendors place non-ascii characters within comments. 
4683193267SjkimHowever, the scan is simply a brute-force byte compare to ensure all 
4684193267Sjkimcharacters in the file are in the range 0x00 to 0x7F.
4685151937Sjkim
4686193267SjkimFixed a problem with the CondRefOf operator where the compiler was 
4687193267Sjkiminappropriately checking for the existence of the target. Since the point of 
4688193267Sjkimthe operator is to check for the existence of the target at run-time, the 
4689193267Sjkimcompiler no longer checks for the target existence.
4690151937Sjkim
4691193267SjkimFixed a problem where errors generated from the internal AML interpreter 
4692193267Sjkimduring constant folding were not handled properly, causing a fault.
4693151937Sjkim
4694193267SjkimFixed a problem with overly aggressive range checking for the Stall 
4695193267Sjkimoperator. The valid range (max 255) is now only checked if the operand is of 
4696193267Sjkimtype Integer. All other operand types cannot be statically checked.
4697151937Sjkim
4698193267SjkimFixed a problem where control method references within the RefOf, DeRefOf, 
4699193267Sjkimand ObjectType operators were not treated properly. They are now treated as 
4700193267Sjkimactual references, not method invocations.
4701151937Sjkim
4702193267SjkimFixed and enhanced the "list namespace" option (-ln). This option was broken 
4703193267Sjkima number of releases ago.
4704151937Sjkim
4705193267SjkimImproved error handling for the Field, IndexField, and BankField operators. 
4706193267SjkimThe compiler now cleanly reports and recovers from errors in the field 
4707193267Sjkimcomponent (FieldUnit) list.
4708151937Sjkim
4709193267SjkimFixed a disassembler problem where the optional ResourceDescriptor fields 
4710193267SjkimTRS and TTP were not always handled correctly.
4711151937Sjkim
4712151937SjkimDisassembler - Comments in output now use "//" instead of "/*"
4713151937Sjkim
4714151937Sjkim----------------------------------------
4715151937Sjkim28 February 2005.  Summary of changes for version 20050228:
4716151937Sjkim
4717151937Sjkim1) ACPI CA Core Subsystem:
4718151937Sjkim
4719193267SjkimFixed a problem where the result of an Index() operator (an object 
4720193267Sjkimreference) must increment the reference count on the target object for the 
4721193267Sjkimlife of the object reference.
4722151937Sjkim
4723193267SjkimImplemented AML Interpreter and Debugger support for the new ACPI 3.0 
4724193267SjkimExtended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
4725193267Sjkimresource descriptors.
4726151937Sjkim
4727193267SjkimImplemented support in the _OSI method for the ACPI 3.0 "Extended Address 
4728193267SjkimSpace Descriptor" string, indicating interpreter support for the descriptors 
4729193267Sjkimabove.
4730151937Sjkim
4731151937SjkimImplemented header support for the new ACPI 3.0 FADT flag bits.
4732151937Sjkim
4733193267SjkimImplemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
4734193267Sjkimstatus/enable registers.
4735151937Sjkim
4736193267SjkimUpdated header support for the MADT processor local Apic struct and MADT 
4737193267Sjkimplatform interrupt source struct for new ACPI 3.0 fields.
4738151937Sjkim
4739151937SjkimImplemented header support for the SRAT and SLIT ACPI tables.
4740151937Sjkim
4741193267SjkimImplemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
4742193267Sjkimat runtime.
4743151937Sjkim
4744193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4745193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4746193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4747193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4748193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4749193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4750193267Sjkimthe compiler options used during generation.
4751151937Sjkim
4752151937Sjkim  Previous Release:
4753151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4754151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4755151937Sjkim  Current Release:
4756151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4757151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4758151937Sjkim
4759151937Sjkim
4760151937Sjkim2) iASL Compiler/Disassembler:
4761151937Sjkim
4762193267SjkimFixed a problem with the internal 64-bit String-to-integer conversion with 
4763193267Sjkimstrings less than two characters long.
4764151937Sjkim
4765193267SjkimFixed a problem with constant folding where the result of the Index() 
4766193267Sjkimoperator can not be considered a constant. This means that Index() cannot be 
4767193267Sjkima type3 opcode and this will require an update to the ACPI specification.
4768151937Sjkim
4769193267SjkimDisassembler: Implemented support for the TTP, MTP, and TRS resource 
4770193267Sjkimdescriptor fields. These fields were inadvertently ignored and not output in 
4771193267Sjkimthe disassembly of the resource descriptor.
4772151937Sjkim
4773151937Sjkim
4774151937Sjkim ----------------------------------------
4775151937Sjkim11 February 2005.  Summary of changes for version 20050211:
4776151937Sjkim
4777151937Sjkim1) ACPI CA Core Subsystem:
4778151937Sjkim
4779193267SjkimImplemented ACPI 3.0 support for implicit conversion within the Match() 
4780193267Sjkimoperator. MatchObjects can now be of type integer, buffer, or string instead 
4781193267Sjkimof just type integer.  Package elements are implicitly converted to the type 
4782193267Sjkimof the MatchObject. This change aligns the behavior of Match() with the 
4783193267Sjkimbehavior of the other logical operators (LLess(), etc.) It also requires an 
4784193267Sjkimerrata change to the ACPI specification as this support was intended for 
4785193267SjkimACPI 3.0, but was inadvertently omitted.
4786151937Sjkim
4787193267SjkimFixed a problem with the internal implicit "to buffer" conversion. Strings 
4788193267Sjkimthat are converted to buffers will cause buffer truncation if the string is 
4789193267Sjkimsmaller than the target buffer. Integers that are converted to buffers will 
4790193267Sjkimnot cause buffer truncation, only zero extension (both as per the ACPI 
4791193267Sjkimspec.) The problem was introduced when code was added to truncate the 
4792193267Sjkimbuffer, but this should not be performed in all cases, only the string case.
4793151937Sjkim
4794193267SjkimFixed a problem with the Buffer and Package operators where the interpreter 
4795193267Sjkimwould get confused if two such operators were used as operands to an ASL 
4796193267Sjkimoperator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
4797193267Sjkimstack was not being popped after the execution of these operators, resulting 
4798193267Sjkimin an AE_NO_RETURN_VALUE exception.
4799151937Sjkim
4800193267SjkimFixed a problem with constructs of the form Store(Index(...),...). The 
4801193267Sjkimreference object returned from Index was inadvertently resolved to an actual 
4802193267Sjkimvalue. This problem was introduced in version 20050114 when the behavior of 
4803193267SjkimStore() was modified to restrict the object types that can be used as the 
4804151937Sjkimsource operand (to match the ACPI specification.)
4805151937Sjkim
4806193267SjkimReduced excessive stack use within the AcpiGetObjectInfo procedure.
4807151937Sjkim
4808193267SjkimAdded a fix to aclinux.h to allow generation of AcpiExec on Linux.
4809151937Sjkim
4810193267SjkimUpdated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
4811151937Sjkim
4812193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4813193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4814193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4815193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4816193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4817193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4818193267Sjkimthe compiler options used during generation.
4819151937Sjkim
4820151937Sjkim  Previous Release:
4821151937Sjkim    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
4822151937Sjkim    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
4823151937Sjkim  Current Release:
4824151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4825151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4826151937Sjkim
4827151937Sjkim
4828151937Sjkim2) iASL Compiler/Disassembler:
4829151937Sjkim
4830193267SjkimFixed a code generation problem in the constant folding optimization code 
4831193267Sjkimwhere incorrect code was generated if a constant was reduced to a buffer 
4832193267Sjkimobject (i.e., a reduced type 5 opcode.)
4833151937Sjkim
4834193267SjkimFixed a typechecking problem for the ToBuffer operator. Caused by an 
4835193267Sjkimincorrect return type in the internal opcode information table.
4836151937Sjkim
4837151937Sjkim----------------------------------------
4838151937Sjkim25 January 2005.  Summary of changes for version 20050125:
4839151937Sjkim
4840151937Sjkim1) ACPI CA Core Subsystem:
4841151937Sjkim
4842193267SjkimFixed a recently introduced problem with the Global Lock where the 
4843193267Sjkimunderlying semaphore was not created.  This problem was introduced in 
4844193267Sjkimversion 20050114, and caused an AE_AML_NO_OPERAND exception during an 
4845193267SjkimAcquire() operation on _GL.
4846151937Sjkim
4847193267SjkimThe local object cache is now optional, and is disabled by default. Both 
4848193267SjkimAcpiExec and the iASL compiler enable the cache because they run in user 
4849193267Sjkimmode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
4850193267Sjkimto enable the local cache.
4851151937Sjkim
4852193267SjkimFixed an issue in the internal function AcpiUtEvaluateObject concerning the 
4853193267Sjkimoptional "implicit return" support where an error was returned if no return 
4854193267Sjkimobject was expected, but one was implicitly returned. AE_OK is now returned 
4855193267Sjkimin this case and the implicitly returned object is deleted. 
4856193267SjkimAcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
4857193267Sjkimmethods such as _STA and _INI where the return type is known up front.
4858151937Sjkim
4859193267SjkimFixed a few issues with the internal convert-to-integer code. It now returns 
4860193267Sjkiman error if an attempt is made to convert a null string, a string of only 
4861193267Sjkimblanks/tabs, or a zero-length buffer. This affects both implicit conversion 
4862193267Sjkimand explicit conversion via the ToInteger() operator.
4863151937Sjkim
4864193267SjkimThe internal debug code in AcpiUtAcquireMutex has been commented out. It is 
4865193267Sjkimnot needed for normal operation and should increase the performance of the 
4866193267Sjkimentire subsystem. The code remains in case it is needed for debug purposes 
4867193267Sjkimagain.
4868151937Sjkim
4869193267SjkimThe AcpiExec source and makefile are included in the Unix/Linux package for 
4870193267Sjkimthe first time.
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.4K Code,  11.5K Data,   89.9K Total
4882151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
4883151937Sjkim  Current Release:
4884151937Sjkim    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
4885151937Sjkim    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
4886151937Sjkim
4887151937Sjkim2) iASL Compiler/Disassembler:
4888151937Sjkim
4889193267SjkimSwitch/Case support: A warning is now issued if the type of the Switch value 
4890193267Sjkimcannot be determined at compile time. For example, Switch(Arg0) will 
4891193267Sjkimgenerate the warning, and the type is assumed to be an integer. As per the 
4892193267SjkimACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
4893193267Sjkimwarning.
4894151937Sjkim
4895193267SjkimSwitch/Case support: Implemented support for buffer and string objects as 
4896193267Sjkimthe switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
4897193267Sjkimbuffers and strings.
4898151937Sjkim
4899193267SjkimSwitch/Case support: The emitted code for the LEqual() comparisons now uses 
4900193267Sjkimthe switch value as the first operand, not the second. The case value is now 
4901193267Sjkimthe second operand, and this allows the case value to be implicitly 
4902193267Sjkimconverted to the type of the switch value, not the other way around.
4903151937Sjkim
4904193267SjkimSwitch/Case support: Temporary variables are now emitted immediately within 
4905193267Sjkimthe control method, not at the global level. This means that there are now 
4906193267Sjkim36 temps available per-method, not 36 temps per-module as was the case with 
4907193267Sjkimthe earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
4908151937Sjkim
4909151937Sjkim----------------------------------------
4910151937Sjkim14 January 2005.  Summary of changes for version 20050114:
4911151937Sjkim
4912193267SjkimAdded 2005 copyright to all module headers.  This affects every module in 
4913193267Sjkimthe core subsystem, iASL compiler, and the utilities.
4914151937Sjkim
4915151937Sjkim1) ACPI CA Core Subsystem:
4916151937Sjkim
4917193267SjkimFixed an issue with the String-to-Buffer conversion code where the string 
4918193267Sjkimnull terminator was not included in the buffer after conversion, but there 
4919193267Sjkimis existing ASL that assumes the string null terminator is included. This is 
4920193267Sjkimthe root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
4921193267Sjkimintroduced in the previous version when the code was updated to correctly 
4922193267Sjkimset the converted buffer size as per the ACPI specification. The ACPI spec 
4923193267Sjkimis ambiguous and will be updated to specify that the null terminator must be 
4924193267Sjkimincluded in the converted buffer. This also affects the ToBuffer() ASL 
4925193267Sjkimoperator.
4926151937Sjkim
4927193267SjkimFixed a problem with the Mid() ASL/AML operator where it did not work 
4928193267Sjkimcorrectly on Buffer objects. Newly created sub-buffers were not being marked 
4929193267Sjkimas initialized.
4930151937Sjkim
4931167802Sjkim
4932193267SjkimFixed a problem in AcpiTbFindTable where incorrect string compares were 
4933193267Sjkimperformed on the OemId and OemTableId table header fields.  These fields are 
4934193267Sjkimnot null terminated, so strncmp is now used instead of strcmp.
4935151937Sjkim
4936193267SjkimImplemented a restriction on the Store() ASL/AML operator to align the 
4937193267Sjkimbehavior with the ACPI specification.  Previously, any object could be used 
4938193267Sjkimas the source operand.  Now, the only objects that may be used are Integers, 
4939193267SjkimBuffers, Strings, Packages, Object References, and DDB Handles.  If 
4940193267Sjkimnecessary, the original behavior can be restored by enabling the 
4941151937SjkimEnableInterpreterSlack flag.
4942151937Sjkim
4943193267SjkimEnhanced the optional "implicit return" support to allow an implicit return 
4944193267Sjkimvalue from methods that are invoked externally via the AcpiEvaluateObject 
4945193267Sjkiminterface.  This enables implicit returns from the _STA and _INI methods, 
4946193267Sjkimfor example.
4947151937Sjkim
4948193267SjkimChanged the Revision() ASL/AML operator to return the current version of the 
4949193267SjkimAML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
4950193267Sjkimthe supported ACPI version (This is the function of the _REV method).
4951151937Sjkim
4952193267SjkimUpdated the _REV predefined method to return the currently supported version 
4953193267Sjkimof ACPI, now 3.
4954151937Sjkim
4955151937SjkimImplemented batch mode option for the AcpiExec utility (-b).
4956151937Sjkim
4957193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4958193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4959193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4960193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4961193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4962193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4963193267Sjkimthe compiler options used during generation.
4964151937Sjkim
4965151937Sjkim  Previous Release:
4966151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
4967151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
4968151937Sjkim  Current Release:
4969151937Sjkim    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
4970151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
4971151937Sjkim
4972151937Sjkim----------------------------------------
4973151937Sjkim10 December 2004.  Summary of changes for version 20041210:
4974151937Sjkim
4975193267SjkimACPI 3.0 support is nearing completion in both the iASL compiler and the 
4976193267SjkimACPI CA core subsystem.
4977151937Sjkim
4978151937Sjkim1) ACPI CA Core Subsystem:
4979151937Sjkim
4980193267SjkimFixed a problem in the ToDecimalString operator where the resulting string 
4981193267Sjkimlength was incorrectly calculated. The length is now calculated exactly, 
4982193267Sjkimeliminating incorrect AE_STRING_LIMIT exceptions.
4983151937Sjkim
4984193267SjkimFixed a problem in the ToHexString operator to allow a maximum 200 character 
4985193267Sjkimstring to be produced.
4986151937Sjkim
4987193267SjkimFixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
4988193267Sjkimroutine where the length of the resulting buffer was not truncated to the 
4989193267Sjkimnew size (if the target buffer already existed).
4990151937Sjkim
4991193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4992193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4993193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4994193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4995193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4996193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4997193267Sjkimthe compiler options used during generation.
4998151937Sjkim
4999151937Sjkim  Previous Release:
5000151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5001151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5002151937Sjkim  Current Release:
5003151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5004151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5005151937Sjkim
5006151937Sjkim
5007151937Sjkim2) iASL Compiler/Disassembler:
5008151937Sjkim
5009193267SjkimImplemented the new ACPI 3.0 resource template macros - DWordSpace, 
5010193267SjkimExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
5011193267SjkimIncludes support in the disassembler.
5012151937Sjkim
5013193267SjkimImplemented support for the new (ACPI 3.0) parameter to the Register macro, 
5014193267SjkimAccessSize.
5015151937Sjkim
5016193267SjkimFixed a problem where the _HE resource name for the Interrupt macro was 
5017193267Sjkimreferencing bit 0 instead of bit 1.
5018151937Sjkim
5019193267SjkimImplemented check for maximum 255 interrupts in the Interrupt macro.
5020151937Sjkim
5021193267SjkimFixed a problem with the predefined resource descriptor names where 
5022193267Sjkimincorrect AML code was generated if the offset within the resource buffer 
5023193267Sjkimwas 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
5024193267Sjkimbut did not update the surrounding package lengths.
5025151937Sjkim
5026193267SjkimChanges to the Dma macro:  All channels within the channel list must be in 
5027193267Sjkimthe range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
5028193267Sjkimoptional (default is BusMaster).
5029151937Sjkim
5030193267SjkimImplemented check for maximum 7 data bytes for the VendorShort macro.
5031151937Sjkim
5032193267SjkimThe ReadWrite parameter is now optional for the Memory32 and similar macros.
5033151937Sjkim
5034151937Sjkim----------------------------------------
5035151937Sjkim03 December 2004.  Summary of changes for version 20041203:
5036151937Sjkim
5037151937Sjkim1) ACPI CA Core Subsystem:
5038151937Sjkim
5039193267SjkimThe low-level field insertion/extraction code (exfldio) has been completely 
5040193267Sjkimrewritten to eliminate unnecessary complexity, bugs, and boundary 
5041193267Sjkimconditions.
5042151937Sjkim
5043193267SjkimFixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
5044193267Sjkimoperators where the input operand could be inadvertently deleted if no 
5045193267Sjkimconversion was necessary (e.g., if the input to ToInteger was an Integer 
5046193267Sjkimobject.)
5047151937Sjkim
5048193267SjkimFixed a problem with the ToDecimalString and ToHexString where an incorrect 
5049193267Sjkimexception code was returned if the resulting string would be > 200 chars.  
5050193267SjkimAE_STRING_LIMIT is now returned.
5051151937Sjkim
5052193267SjkimFixed a problem with the Concatenate operator where AE_OK was always 
5053193267Sjkimreturned, even if the operation failed.
5054151937Sjkim
5055193267SjkimFixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
5056193267Sjkimsemaphores to be allocated.
5057151937Sjkim
5058193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5059193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5060193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5061193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5062193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5063193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5064193267Sjkimthe compiler options used during generation.
5065151937Sjkim
5066151937Sjkim  Previous Release:
5067151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5068151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5069151937Sjkim  Current Release:
5070151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5071151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5072151937Sjkim
5073151937Sjkim
5074151937Sjkim2) iASL Compiler/Disassembler:
5075151937Sjkim
5076193267SjkimFixed typechecking for the ObjectType and SizeOf operators.  Problem was 
5077193267Sjkimrecently introduced in 20041119.
5078151937Sjkim
5079193267SjkimFixed a problem with the ToUUID macro where the upper nybble of each buffer 
5080193267Sjkimbyte was inadvertently set to zero.
5081151937Sjkim
5082151937Sjkim----------------------------------------
5083138287Smarks19 November 2004.  Summary of changes for version 20041119:
5084138287Smarks
5085138287Smarks1) ACPI CA Core Subsystem:
5086138287Smarks
5087193267SjkimFixed a problem in the internal ConvertToInteger routine where new integers 
5088193267Sjkimwere not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
5089193267Sjkimbuffers and strings to integers.
5090138287Smarks
5091193267SjkimImplemented support to store a value to an Index() on a String object. This 
5092193267Sjkimis an ACPI 2.0 feature that had not yet been implemented.
5093138287Smarks
5094193267SjkimImplemented new behavior for storing objects to individual package elements 
5095193267Sjkim(via the Index() operator). The previous behavior was to invoke the implicit 
5096193267Sjkimconversion rules if an object was already present at the index.  The new 
5097193267Sjkimbehavior is to simply delete any existing object and directly store the new 
5098193267Sjkimobject. Although the ACPI specification seems unclear on this subject, other 
5099193267SjkimACPI implementations behave in this manner.  (This is the root of the 
5100193267SjkimAE_BAD_HEX_CONSTANT issue.)
5101138287Smarks
5102193267SjkimModified the RSDP memory scan mechanism to support the extended checksum for 
5103193267SjkimACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
5104193267SjkimRSDP signature is found with a valid checksum.
5105138287Smarks
5106193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5107193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5108193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5109193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5110193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5111193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5112193267Sjkimthe compiler options used during generation.
5113138287Smarks
5114151937Sjkim  Previous Release:
5115151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5116151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5117151937Sjkim  Current Release:
5118151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5119151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5120138287Smarks
5121138287Smarks
5122138287Smarks2) iASL Compiler/Disassembler:
5123138287Smarks
5124138287SmarksFixed a missing semicolon in the aslcompiler.y file.
5125138287Smarks
5126138287Smarks----------------------------------------
5127138287Smarks05 November 2004.  Summary of changes for version 20041105:
5128138287Smarks
5129138287Smarks1) ACPI CA Core Subsystem:
5130138287Smarks
5131193267SjkimImplemented support for FADT revision 2.  This was an interim table (between 
5132193267SjkimACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
5133138287Smarks
5134193267SjkimImplemented optional support to allow uninitialized LocalX and ArgX 
5135193267Sjkimvariables in a control method.  The variables are initialized to an Integer 
5136193267Sjkimobject with a value of zero.  This support is enabled by setting the 
5137193267SjkimAcpiGbl_EnableInterpreterSlack flag to TRUE.
5138138287Smarks
5139193267SjkimImplemented support for Integer objects for the SizeOf operator.  Either 4 
5140193267Sjkimor 8 is returned, depending on the current integer size (32-bit or 64-bit, 
5141193267Sjkimdepending on the parent table revision).
5142138287Smarks
5143193267SjkimFixed a problem in the implementation of the SizeOf and ObjectType operators 
5144193267Sjkimwhere the operand was resolved to a value too early, causing incorrect 
5145193267Sjkimreturn values for some objects.
5146138287Smarks
5147138287SmarksFixed some possible memory leaks during exceptional conditions.
5148138287Smarks
5149193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5150193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5151193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5152193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5153193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5154193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5155193267Sjkimthe compiler options used during generation.
5156138287Smarks
5157138287Smarks  Previous Release:
5158138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5159138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5160138287Smarks  Current Release:
5161138287Smarks    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5162138287Smarks    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5163138287Smarks
5164138287Smarks
5165138287Smarks2) iASL Compiler/Disassembler:
5166138287Smarks
5167138287SmarksImplemented support for all ACPI 3.0 reserved names and methods.
5168138287Smarks
5169193267SjkimImplemented all ACPI 3.0 grammar elements in the front-end, including 
5170193267Sjkimsupport for semicolons.
5171138287Smarks
5172138287SmarksImplemented the ACPI 3.0 Function() and ToUUID() macros
5173138287Smarks
5174193267SjkimFixed a problem in the disassembler where a Scope() operator would not be 
5175193267Sjkimemitted properly if the target of the scope was in another table.
5176138287Smarks
5177138287Smarks----------------------------------------
5178138287Smarks15 October 2004.  Summary of changes for version 20041015:
5179138287Smarks
5180193267SjkimNote:  ACPI CA is currently undergoing an in-depth and complete formal 
5181193267Sjkimevaluation to test/verify the following areas. Other suggestions are 
5182193267Sjkimwelcome. This will result in an increase in the frequency of releases and 
5183193267Sjkimthe number of bug fixes in the next few months.
5184138287Smarks  - Functional tests for all ASL/AML operators
5185138287Smarks  - All implicit/explicit type conversions
5186138287Smarks  - Bit fields and operation regions
5187138287Smarks  - 64-bit math support and 32-bit-only "truncated" math support
5188138287Smarks  - Exceptional conditions, both compiler and interpreter
5189138287Smarks  - Dynamic object deletion and memory leaks
5190138287Smarks  - ACPI 3.0 support when implemented
5191138287Smarks  - External interfaces to the ACPI subsystem
5192138287Smarks
5193138287Smarks
5194138287Smarks1) ACPI CA Core Subsystem:
5195138287Smarks
5196193267SjkimFixed two alignment issues on 64-bit platforms - within debug statements in 
5197193267SjkimAcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
5198193267Sjkimfield within the non-aligned ACPI generic address structure.
5199138287Smarks
5200193267SjkimFixed a problem in the Increment and Decrement operators where incorrect 
5201193267Sjkimoperand resolution could result in the inadvertent modification of the 
5202193267Sjkimoriginal integer when the integer is passed into another method as an 
5203193267Sjkimargument and the arg is then incremented/decremented.
5204138287Smarks
5205193267SjkimFixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
5206193267SjkimBCD number were truncated during conversion.
5207138287Smarks
5208193267SjkimFixed a problem in the ToDecimal operator where the length of the resulting 
5209193267Sjkimstring could be set incorrectly too long if the input operand was a Buffer 
5210193267Sjkimobject.
5211138287Smarks
5212193267SjkimFixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
5213193267Sjkimwithin a buffer would prematurely terminate a compare between buffer 
5214193267Sjkimobjects.
5215138287Smarks
5216193267SjkimAdded a check for string overflow (>200 characters as per the ACPI 
5217193267Sjkimspecification) during the Concatenate operator with two string operands.
5218138287Smarks
5219193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5220193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5221193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5222193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5223193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5224193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5225193267Sjkimthe compiler options used during generation.
5226138287Smarks
5227138287Smarks  Previous Release:
5228138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5229138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5230138287Smarks  Current Release:
5231138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5232138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5233138287Smarks
5234138287Smarks
5235167802Sjkim
5236138287Smarks2) iASL Compiler/Disassembler:
5237138287Smarks
5238193267SjkimAllow the use of the ObjectType operator on uninitialized Locals and Args 
5239193267Sjkim(returns 0 as per the ACPI specification).
5240138287Smarks
5241193267SjkimFixed a problem where the compiler would fault if there was a syntax error 
5242193267Sjkimin the FieldName of all of the various CreateXXXField operators.
5243138287Smarks
5244193267SjkimDisallow the use of lower case letters within the EISAID macro, as per the 
5245193267SjkimACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
5246193267SjkimU is an uppercase letter and N is a hex digit.
5247138287Smarks
5248138287Smarks
5249138287Smarks----------------------------------------
5250138287Smarks06 October 2004.  Summary of changes for version 20041006:
5251138287Smarks
5252138287Smarks1) ACPI CA Core Subsystem:
5253138287Smarks
5254193267SjkimImplemented support for the ACPI 3.0 Timer operator. This ASL function 
5255193267Sjkimimplements a 64-bit timer with 100 nanosecond granularity.
5256138287Smarks
5257193267SjkimDefined a new OSL interface, AcpiOsGetTimer. This interface is used to 
5258193267Sjkimimplement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
5259193267Sjkimthe timer with the best clock available. Also, it keeps the core subsystem 
5260193267Sjkimout of the clock handling business, since the host OS (usually) performs 
5261193267Sjkimthis function.
5262138287Smarks
5263193267SjkimFixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
5264193267Sjkimfunctions use a 64-bit address which is part of the packed ACPI Generic 
5265193267SjkimAddress Structure. Since the structure is non-aligned, the alignment macros 
5266193267Sjkimare now used to extract the address to a local variable before use.
5267138287Smarks
5268193267SjkimFixed a problem where the ToInteger operator assumed all input strings were 
5269193267Sjkimhexadecimal. The operator now handles both decimal strings and hex strings 
5270193267Sjkim(prefixed with "0x").
5271138287Smarks
5272193267SjkimFixed a problem where the string length in the string object created as a 
5273193267Sjkimresult of the internal ConvertToString procedure could be incorrect. This 
5274193267Sjkimpotentially affected all implicit conversions and also the ToDecimalString 
5275193267Sjkimand ToHexString operators.
5276138287Smarks
5277193267SjkimFixed two problems in the ToString operator. If the length parameter was 
5278193267Sjkimzero, an incorrect string object was created and the value of the input 
5279193267Sjkimlength parameter was inadvertently changed from zero to Ones.
5280138287Smarks
5281193267SjkimFixed a problem where the optional ResourceSource string in the ExtendedIRQ 
5282193267Sjkimresource macro was ignored.
5283138287Smarks
5284193267SjkimSimplified the interfaces to the internal division functions, reducing code 
5285193267Sjkimsize and complexity.
5286138287Smarks
5287193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5288193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5289193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5290193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5291193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5292193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5293193267Sjkimthe compiler options used during generation.
5294138287Smarks
5295138287Smarks  Previous Release:
5296138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5297138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5298138287Smarks  Current Release:
5299138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5300138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5301138287Smarks
5302138287Smarks
5303138287Smarks2) iASL Compiler/Disassembler:
5304138287Smarks
5305138287SmarksImplemented support for the ACPI 3.0 Timer operator.
5306138287Smarks
5307193267SjkimFixed a problem where the Default() operator was inadvertently ignored in a 
5308193267SjkimSwitch/Case block.  This was a problem in the translation of the Switch 
5309193267Sjkimstatement to If...Else pairs.
5310138287Smarks
5311193267SjkimAdded support to allow a standalone Return operator, with no parentheses (or 
5312193267Sjkimoperands).
5313138287Smarks
5314193267SjkimFixed a problem with code generation for the ElseIf operator where the 
5315193267Sjkimtranslated Else...If parse tree was improperly constructed leading to the 
5316193267Sjkimloss of some code.
5317138287Smarks
5318138287Smarks----------------------------------------
5319138287Smarks22 September 2004.  Summary of changes for version 20040922:
5320138287Smarks
5321138287Smarks1) ACPI CA Core Subsystem:
5322138287Smarks
5323193267SjkimFixed a problem with the implementation of the LNot() operator where "Ones" 
5324193267Sjkimwas not returned for the TRUE case. Changed the code to return Ones instead 
5325193267Sjkimof (!Arg) which was usually 1. This change affects iASL constant folding for 
5326193267Sjkimthis operator also.
5327138287Smarks
5328193267SjkimFixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
5329193267Sjkiminitialized properly -- Now zero the entire buffer in this case where the 
5330193267Sjkimbuffer already exists.
5331138287Smarks
5332193267SjkimChanged the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
5333193267SjkimMilliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
5334193267Sjkimrelated code considerably. This will require changes/updates to all OS 
5335193267Sjkiminterface layers (OSLs.)
5336138287Smarks
5337193267SjkimImplemented a new external interface, AcpiInstallExceptionHandler, to allow 
5338193267Sjkima system exception handler to be installed. This handler is invoked upon any 
5339193267Sjkimrun-time exception that occurs during control method execution.
5340138287Smarks
5341193267SjkimAdded support for the DSDT in AcpiTbFindTable. This allows the 
5342138287SmarksDataTableRegion() operator to access the local copy of the DSDT.
5343138287Smarks
5344193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5345193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5346193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5347193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5348193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5349193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5350193267Sjkimthe compiler options used during generation.
5351138287Smarks
5352138287Smarks  Previous Release:
5353138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5354138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5355138287Smarks  Current Release:
5356138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5357138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5358138287Smarks
5359138287Smarks
5360138287Smarks2) iASL Compiler/Disassembler:
5361138287Smarks
5362193267SjkimFixed a problem with constant folding and the LNot operator. LNot was 
5363193267Sjkimreturning 1 in the TRUE case, not Ones as per the ACPI specification. This 
5364193267Sjkimcould result in the generation of an incorrect folded/reduced constant.
5365138287Smarks
5366193267SjkimEnd-Of-File is now allowed within a "//"-style comment.  A parse error no 
5367193267Sjkimlonger occurs if such a comment is at the very end of the input ASL source 
5368193267Sjkimfile.
5369138287Smarks
5370193267SjkimImplemented the "-r" option to override the Revision in the table header. 
5371193267SjkimThe initial use of this option will be to simplify the evaluation of the AML 
5372193267Sjkiminterpreter by allowing a single ASL source module to be compiled for either 
5373193267Sjkim32-bit or 64-bit integers.
5374138287Smarks
5375138287Smarks
5376138287Smarks----------------------------------------
5377138287Smarks27 August 2004.  Summary of changes for version 20040827:
5378138287Smarks
5379138287Smarks1) ACPI CA Core Subsystem:
5380138287Smarks
5381193267Sjkim- Implemented support for implicit object conversion in the non-numeric 
5382193267Sjkimlogical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
5383193267SjkimLNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
5384193267Sjkimthe second operand is implicitly converted on the fly to match the type of 
5385193267Sjkimthe first operand.  For example:
5386138287Smarks
5387138287Smarks    LEqual (Source1, Source2)
5388138287Smarks
5389193267SjkimSource1 and Source2 must each evaluate to an integer, a string, or a buffer. 
5390193267SjkimThe data type of Source1 dictates the required type of Source2. Source2 is 
5391193267Sjkimimplicitly converted if necessary to match the type of Source1.
5392138287Smarks
5393193267Sjkim- Updated and corrected the behavior of the string conversion support.  The 
5394193267Sjkimrules concerning conversion of buffers to strings (according to the ACPI 
5395193267Sjkimspecification) are as follows:
5396138287Smarks
5397193267SjkimToDecimalString - explicit byte-wise conversion of buffer to string of 
5398193267Sjkimdecimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
5399193267Sjkimconversion of buffer to string of hex values (0-FF) separated by commas. 
5400193267SjkimToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
5401193267Sjkimcopy with no transform except NULL terminated. Any other implicit buffer-to-
5402193267Sjkimstring conversion - byte-wise conversion of buffer to string of hex values 
5403193267Sjkim(0-FF) separated by spaces.
5404138287Smarks
5405138287Smarks- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
5406138287Smarks
5407193267Sjkim- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
5408193267Sjkimone byte too short in the case of a node in the root scope.  This could 
5409193267Sjkimcause a fault during debug output.
5410138287Smarks
5411193267Sjkim- Code and Data Size: Current and previous core subsystem library sizes are 
5412193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5413193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5414193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5415193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5416193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5417193267Sjkimthe compiler options used during generation.
5418138287Smarks
5419138287Smarks  Previous Release:
5420138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5421138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5422138287Smarks  Current Release:
5423138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5424138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5425138287Smarks
5426138287Smarks
5427138287Smarks2) iASL Compiler/Disassembler:
5428138287Smarks
5429138287Smarks- Fixed a Linux generation error.
5430138287Smarks
5431138287Smarks
5432138287Smarks----------------------------------------
5433138287Smarks16 August 2004.  Summary of changes for version 20040816:
5434138287Smarks
5435138287Smarks1) ACPI CA Core Subsystem:
5436138287Smarks
5437193267SjkimDesigned and implemented support within the AML interpreter for the so-
5438193267Sjkimcalled "implicit return".  This support returns the result of the last ASL 
5439193267Sjkimoperation within a control method, in the absence of an explicit Return() 
5440193267Sjkimoperator.  A few machines depend on this behavior, even though it is not 
5441193267Sjkimexplicitly supported by the ASL language.  It is optional support that can 
5442193267Sjkimbe enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
5443138287Smarks
5444193267SjkimRemoved support for the PCI_Config address space from the internal low level 
5445193267Sjkimhardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
5446193267Sjkimsupport was not used internally, and would not work correctly anyway because 
5447193267Sjkimthe PCI bus number and segment number were not supported.  There are 
5448193267Sjkimseparate interfaces for PCI configuration space access because of the unique 
5449138287Smarksinterface.
5450138287Smarks
5451193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5452193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5453193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5454193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5455193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5456193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5457193267Sjkimthe compiler options used during generation.
5458138287Smarks
5459138287Smarks  Previous Release:
5460138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5461138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5462138287Smarks  Current Release:
5463138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5464138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5465138287Smarks
5466138287Smarks
5467138287Smarks2) iASL Compiler/Disassembler:
5468138287Smarks
5469193267SjkimFixed a problem where constants in ASL expressions at the root level (not 
5470193267Sjkimwithin a control method) could be inadvertently truncated during code 
5471193267Sjkimgeneration.  This problem was introduced in the 20040715 release.
5472138287Smarks
5473138287Smarks
5474138287Smarks----------------------------------------
5475138287Smarks15 July 2004.  Summary of changes for version 20040715:
5476138287Smarks
5477138287Smarks1) ACPI CA Core Subsystem:
5478138287Smarks
5479193267SjkimRestructured the internal HW GPE interfaces to pass/track the current state 
5480193267Sjkimof interrupts (enabled/disabled) in order to avoid possible deadlock and 
5481193267Sjkimincrease flexibility of the interfaces.
5482138287Smarks
5483193267SjkimImplemented a "lexicographical compare" for String and Buffer objects within 
5484193267Sjkimthe logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
5485193267Sjkimas per further clarification to the ACPI specification.  Behavior is similar 
5486193267Sjkimto C library "strcmp".
5487138287Smarks
5488193267SjkimCompleted a major reduction in CPU stack use for the AcpiGetFirmwareTable 
5489193267Sjkimexternal function.  In the 32-bit non-debug case, the stack use has been 
5490193267Sjkimreduced from 168 bytes to 32 bytes.
5491138287Smarks
5492193267SjkimDeployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
5493193267Sjkimwhose purpose is to allow the AML interpreter to forgive certain bad AML 
5494193267Sjkimconstructs.  Default setting is FALSE.
5495138287Smarks
5496193267SjkimImplemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
5497193267Sjkimsupport code.  If enabled, it allows field access to go beyond the end of a 
5498193267Sjkimregion definition if the field is within the region length rounded up to the 
5499193267Sjkimnext access width boundary (a common coding error.)
5500138287Smarks
5501193267SjkimRenamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
5502193267SjkimACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
5503193267Sjkimsymbols are lowercased by the latest version of the AcpiSrc tool.
5504138287Smarks
5505193267SjkimThe prototypes for the PCI interfaces in acpiosxf.h have been updated to 
5506193267Sjkimrename "Register" to simply "Reg" to prevent certain compilers from 
5507193267Sjkimcomplaining.
5508138287Smarks
5509193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5510193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5511193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5512193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5513193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5514193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5515193267Sjkimthe compiler options used during generation.
5516138287Smarks
5517138287Smarks  Previous Release:
5518138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5519138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5520138287Smarks  Current Release:
5521138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5522138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5523138287Smarks
5524138287Smarks
5525138287Smarks2) iASL Compiler/Disassembler:
5526138287Smarks
5527193267SjkimImplemented full support for Package objects within the Case() operator.  
5528193267SjkimNote: The Break() operator is currently not supported within Case blocks 
5529193267Sjkim(TermLists) as there is some question about backward compatibility with ACPI 
5530193267Sjkim1.0 interpreters.
5531138287Smarks
5532167802Sjkim
5533193267SjkimFixed a problem where complex terms were not supported properly within the 
5534193267SjkimSwitch() operator.
5535138287Smarks
5536193267SjkimEliminated extraneous warning for compiler-emitted reserved names of the 
5537193267Sjkimform "_T_x".  (Used in Switch/Case operators.)
5538138287Smarks
5539193267SjkimEliminated optimization messages for "_T_x" objects and small constants 
5540193267Sjkimwithin the DefinitionBlock operator.
5541138287Smarks
5542138287Smarks
5543138287Smarks----------------------------------------
5544138287Smarks15 June 2004.  Summary of changes for version 20040615:
5545138287Smarks
5546138287Smarks1) ACPI CA Core Subsystem:
5547138287Smarks
5548193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
5549193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5550193267SjkimLLessEqual.
5551138287Smarks
5552193267SjkimAll directory names in the entire source package are lower case, as they 
5553193267Sjkimwere in earlier releases.
5554138287Smarks
5555193267SjkimImplemented "Disassemble" command in the AML debugger that will disassemble 
5556193267Sjkima single control method.
5557138287Smarks
5558193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5559193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5560193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5561193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5562193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5563193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5564193267Sjkimthe compiler options used during generation.
5565138287Smarks
5566138287Smarks  Previous Release:
5567138287Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5568138287Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5569167802Sjkim
5570138287Smarks  Current Release:
5571138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5572138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5573138287Smarks
5574138287Smarks
5575138287Smarks2) iASL Compiler/Disassembler:
5576138287Smarks
5577193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
5578193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5579193267SjkimLLessEqual.
5580138287Smarks
5581193267SjkimAll directory names in the entire source package are lower case, as they 
5582193267Sjkimwere in earlier releases.
5583138287Smarks
5584193267SjkimFixed a fault when using the -g or -d<nofilename> options if the FADT was 
5585193267Sjkimnot found.
5586138287Smarks
5587193267SjkimFixed an issue with the Windows version of the compiler where later versions 
5588193267Sjkimof Windows place the FADT in the registry under the name "FADT" and not 
5589193267Sjkim"FACP" as earlier versions did.  This applies when using the -g or -
5590193267Sjkimd<nofilename> options.  The compiler now looks for both strings as 
5591193267Sjkimnecessary.
5592138287Smarks
5593193267SjkimFixed a problem with compiler namepath optimization where a namepath within 
5594193267Sjkimthe Scope() operator could not be optimized if the namepath was a subpath of 
5595193267Sjkimthe current scope path.
5596138287Smarks
5597138287Smarks----------------------------------------
5598131440Smarks27 May 2004.  Summary of changes for version 20040527:
5599131440Smarks
5600131440Smarks1) ACPI CA Core Subsystem:
5601131440Smarks
5602193267SjkimCompleted a new design and implementation for EBDA (Extended BIOS Data Area) 
5603193267Sjkimsupport in the RSDP scan code.  The original code improperly scanned for the 
5604193267SjkimEBDA by simply scanning from memory location 0 to 0x400.  The correct method 
5605193267Sjkimis to first obtain the EBDA pointer from within the BIOS data area, then 
5606193267Sjkimscan 1K of memory starting at the EBDA pointer.  There appear to be few if 
5607131440Smarksany machines that place the RSDP in the EBDA, however.
5608131440Smarks
5609193267SjkimIntegrated a fix for a possible fault during evaluation of BufferField 
5610193267Sjkimarguments.  Obsolete code that was causing the problem was removed.
5611131440Smarks
5612193267SjkimFound and fixed a problem in the Field Support Code where data could be 
5613193267Sjkimcorrupted on a bit field read that starts on an aligned boundary but does 
5614193267Sjkimnot end on an aligned boundary.  Merged the read/write "datum length" 
5615193267Sjkimcalculation code into a common procedure.
5616131440Smarks
5617131440SmarksRolled in a couple of changes to the FreeBSD-specific header.
5618131440Smarks
5619167802Sjkim
5620193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5621193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5622193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5623193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5624193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5625193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5626193267Sjkimthe compiler options used during generation.
5627131440Smarks
5628131440Smarks  Previous Release:
5629131440Smarks    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5630131440Smarks    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5631131440Smarks  Current Release:
5632131440Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5633131440Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5634131440Smarks
5635131440Smarks
5636131440Smarks2) iASL Compiler/Disassembler:
5637131440Smarks
5638193267SjkimFixed a generation warning produced by some overly-verbose compilers for a 
5639193267Sjkim64-bit constant.
5640131440Smarks
5641131440Smarks----------------------------------------
5642129684Snjl14 May 2004.  Summary of changes for version 20040514:
5643129684Snjl
5644129684Snjl1) ACPI CA Core Subsystem:
5645129684Snjl
5646193267SjkimFixed a problem where hardware GPE enable bits sometimes not set properly 
5647193267Sjkimduring and after GPE method execution.  Result of 04/27 changes.
5648129684Snjl
5649129684SnjlRemoved extra "clear all GPEs" when sleeping/waking.
5650129684Snjl
5651193267SjkimRemoved AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
5652193267SjkimAcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
5653193267Sjkimthe new AcpiEv* calls as appropriate.
5654129684Snjl
5655193267SjkimACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
5656193267Sjkimnow "Microsoft Windows NT" for maximum compatibility.  However this can be 
5657193267Sjkimchanged by modifying the acconfig.h file.
5658129684Snjl
5659193267SjkimAllow a single invocation of AcpiInstallNotifyHandler for a handler that 
5660193267Sjkimtraps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
5661129684Snjl
5662193267SjkimRun _INI methods on ThermalZone objects.  This is against the ACPI 
5663193267Sjkimspecification, but there is apparently ASL code in the field that has these 
5664193267Sjkim_INI methods, and apparently "other" AML interpreters execute them.
5665129684Snjl
5666193267SjkimPerformed a full 16/32/64 bit lint that resulted in some small changes.
5667129684Snjl
5668193267SjkimAdded a sleep simulation command to the AML debugger to test sleep code. 
5669129684Snjl
5670193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5671193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5672193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5673193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5674193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5675193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5676193267Sjkimthe compiler options used during generation.
5677129684Snjl
5678129684Snjl  Previous Release:
5679129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5680129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5681129684Snjl  Current Release:
5682129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5683129684Snjl    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5684129684Snjl
5685129684Snjl----------------------------------------
5686129684Snjl27 April 2004.  Summary of changes for version 20040427:
5687129684Snjl
5688129684Snjl1) ACPI CA Core Subsystem:
5689129684Snjl
5690193267SjkimCompleted a major overhaul of the GPE handling within ACPI CA.  There are 
5691193267Sjkimnow three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
5692193267SjkimThe only GPEs allowed to be combination wake/run are for button-style 
5693193267Sjkimdevices such as a control-method power button, control-method sleep button, 
5694193267Sjkimor a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
5695193267Sjkimreferenced by any _PRW methods are marked for "runtime" and hardware 
5696193267Sjkimenabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
5697193267Sjkim(and disabled at runtime).  However, at sleep time, only those GPEs that 
5698193267Sjkimhave been specifically enabled for wake via the AcpiEnableGpe interface will 
5699193267Sjkimactually be hardware enabled.
5700129684Snjl
5701193267SjkimA new external interface has been added, AcpiSetGpeType(), that is meant to 
5702193267Sjkimbe used by device drivers to force a GPE to a particular type.  It will be 
5703193267Sjkimespecially useful for the drivers for the button devices mentioned above.
5704129684Snjl
5705193267SjkimCompleted restructuring of the ACPI CA initialization sequence so that 
5706193267Sjkimdefault operation region handlers are installed before GPEs are initialized 
5707193267Sjkimand the _PRW methods are executed.  This will prevent errors when the _PRW 
5708193267Sjkimmethods attempt to access system memory or I/O space.
5709129684Snjl
5710193267SjkimGPE enable/disable no longer reads the GPE enable register.  We now keep the 
5711193267Sjkimenable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
5712193267Sjkimthus no longer depend on the hardware to maintain these bits.
5713129684Snjl
5714193267SjkimAlways clear the wake status and fixed/GPE status bits before sleep, even 
5715193267Sjkimfor state S5.
5716129684Snjl
5717193267SjkimImproved the AML debugger output for displaying the GPE blocks and their 
5718193267Sjkimcurrent status.
5719129684Snjl
5720193267SjkimAdded new strings for the _OSI method, of the form "Windows 2001 SPx" where 
5721193267Sjkimx = 0,1,2,3,4.
5722129684Snjl
5723193267SjkimFixed a problem where the physical address was incorrectly calculated when 
5724193267Sjkimthe Load() operator was used to directly load from an Operation Region (vs. 
5725193267Sjkimloading from a Field object.)  Also added check for minimum table length for 
5726193267Sjkimthis case.
5727129684Snjl
5728193267SjkimFix for multiple mutex acquisition.  Restore original thread SyncLevel on 
5729193267Sjkimmutex release.
5730129684Snjl
5731193267SjkimAdded ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
5732129684Snjlconsistency with the other fields returned.
5733129684Snjl
5734193267SjkimShrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
5735193267Sjkimstructure for each GPE in the system, so the size of this structure is 
5736193267Sjkimimportant.
5737129684Snjl
5738193267SjkimCPU stack requirement reduction:  Cleaned up the method execution and object 
5739193267Sjkimevaluation paths so that now a parameter structure is passed, instead of 
5740193267Sjkimcopying the various method parameters over and over again.
5741129684Snjl
5742193267SjkimIn evregion.c:  Correctly exit and reenter the interpreter region if and 
5743193267Sjkimonly if dispatching an operation region request to a user-installed handler.  
5744193267SjkimDo not exit/reenter when dispatching to a default handler (e.g., default 
5745193267Sjkimsystem memory or I/O handlers)
5746129684Snjl
5747129684Snjl
5748193267SjkimNotes for updating drivers for the new GPE support.  The following changes 
5749193267Sjkimmust be made to ACPI-related device drivers that are attached to one or more 
5750193267SjkimGPEs: (This information will be added to the ACPI CA Programmer Reference.)
5751129684Snjl
5752193267Sjkim1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
5753193267Sjkimexplicitly call AcpiEnableGpe.
5754193267Sjkim2) There is a new interface called AcpiSetGpeType. This should be called 
5755193267Sjkimbefore enabling the GPE.  Also, this interface will automatically disable 
5756193267Sjkimthe GPE if it is currently enabled.
5757129684Snjl3) AcpiEnableGpe no longer supports a GPE type flag.
5758129684Snjl
5759129684SnjlSpecific drivers that must be changed:
5760129684Snjl1) EC driver:
5761193267Sjkim    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
5762129684SnjlAeGpeHandler, NULL);
5763129684Snjl    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
5764129684Snjl    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
5765129684Snjl
5766129684Snjl2) Button Drivers (Power, Lid, Sleep):
5767129684SnjlRun _PRW method under parent device
5768129684SnjlIf _PRW exists: /* This is a control-method button */
5769129684Snjl    Extract GPE number and possibly GpeDevice
5770129684Snjl    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
5771129684Snjl    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
5772129684Snjl
5773193267SjkimFor all other devices that have _PRWs, we automatically set the GPE type to 
5774193267SjkimACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
5775193267Sjkimmust be done on a selective basis, usually requiring some kind of user app 
5776193267Sjkimto allow the user to pick the wake devices.
5777129684Snjl
5778129684Snjl
5779193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5780193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5781193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5782193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5783193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5784193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5785193267Sjkimthe compiler options used during generation.
5786129684Snjl
5787129684Snjl  Previous Release:
5788129684Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5789129684Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5790129684Snjl  Current Release:
5791167802Sjkim
5792129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5793129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5794129684Snjl
5795129684Snjl
5796129684Snjl
5797129684Snjl----------------------------------------
5798128212Snjl02 April 2004.  Summary of changes for version 20040402:
5799128212Snjl
5800128212Snjl1) ACPI CA Core Subsystem:
5801128212Snjl
5802193267SjkimFixed an interpreter problem where an indirect store through an ArgX 
5803193267Sjkimparameter was incorrectly applying the "implicit conversion rules" during 
5804193267Sjkimthe store.  From the ACPI specification: "If the target is a method local or 
5805193267Sjkimargument (LocalX or ArgX), no conversion is performed and the result is 
5806193267Sjkimstored directly to the target".  The new behavior is to disable implicit 
5807193267Sjkimconversion during ALL stores to an ArgX.
5808128212Snjl
5809193267SjkimChanged the behavior of the _PRW method scan to ignore any and all errors 
5810193267Sjkimreturned by a given _PRW.  This prevents the scan from aborting from the 
5811193267Sjkimfailure of any single _PRW.
5812128212Snjl
5813193267SjkimMoved the runtime configuration parameters from the global init procedure to 
5814193267Sjkimstatic variables in acglobal.h.  This will allow the host to override the 
5815193267Sjkimdefault values easily.
5816128212Snjl
5817193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5818193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5819193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5820193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5821193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5822193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5823193267Sjkimthe compiler options used during generation.
5824128212Snjl
5825128212Snjl  Previous Release:
5826128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
5827128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
5828128212Snjl  Current Release:
5829128212Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5830128212Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5831128212Snjl
5832128212Snjl
5833128212Snjl2) iASL Compiler/Disassembler:
5834128212Snjl
5835193267SjkimiASL now fully disassembles SSDTs.  However, External() statements are not 
5836193267Sjkimgenerated automatically for unresolved symbols at this time.  This is a 
5837193267Sjkimplanned feature for future implementation.
5838128212Snjl
5839193267SjkimFixed a scoping problem in the disassembler that occurs when the type of the 
5840193267Sjkimtarget of a Scope() operator is overridden.  This problem caused an 
5841193267Sjkimincorrectly nested internal namespace to be constructed.
5842128212Snjl
5843193267SjkimAny warnings or errors that are emitted during disassembly are now commented 
5844193267Sjkimout automatically so that the resulting file can be recompiled without any 
5845193267Sjkimhand editing.
5846128212Snjl
5847128212Snjl----------------------------------------
5848128212Snjl26 March 2004.  Summary of changes for version 20040326:
5849128212Snjl
5850128212Snjl1) ACPI CA Core Subsystem:
5851128212Snjl
5852193267SjkimImplemented support for "wake" GPEs via interaction between GPEs and the 
5853193267Sjkim_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
5854193267Sjkimidentified as a WAKE GPE and by default will no longer be enabled at 
5855193267Sjkimruntime.  Previously, we were blindly enabling all GPEs with a corresponding 
5856193267Sjkim_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
5857193267Sjkimbelieve this has been the cause of thousands of "spurious" GPEs on some 
5858128212Snjlsystems.
5859128212Snjl
5860193267SjkimThis new GPE behavior is can be reverted to the original behavior (enable 
5861193267SjkimALL GPEs at runtime) via a runtime flag.
5862128212Snjl
5863193267SjkimFixed a problem where aliased control methods could not access objects 
5864193267Sjkimproperly.  The proper scope within the namespace was not initialized 
5865193267Sjkim(transferred to the target of the aliased method) before executing the 
5866193267Sjkimtarget method.
5867128212Snjl
5868193267SjkimFixed a potential race condition on internal object deletion on the return 
5869193267Sjkimobject in AcpiEvaluateObject. 
5870128212Snjl
5871193267SjkimIntegrated a fix for resource descriptors where both _MEM and _MTP were 
5872193267Sjkimbeing extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
5873193267Sjkimwide, 0x0F instead of 0x03.)
5874128212Snjl
5875193267SjkimAdded a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
5876193267Sjkimfault in some cases.
5877128212Snjl
5878128212SnjlUpdated Notify() values for debug statements in evmisc.c
5879128212Snjl
5880193267SjkimReturn proper status from AcpiUtMutexInitialize, not just simply AE_OK.
5881128212Snjl
5882193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5883193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5884193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5885193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5886193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5887193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5888193267Sjkimthe compiler options used during generation.
5889128212Snjl
5890128212Snjl  Previous Release:
5891167802Sjkim
5892128212Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
5893128212Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
5894128212Snjl  Current Release:
5895128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
5896128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
5897128212Snjl
5898128212Snjl----------------------------------------
5899127175Snjl11 March 2004.  Summary of changes for version 20040311:
5900127175Snjl
5901127175Snjl1) ACPI CA Core Subsystem:
5902127175Snjl
5903193267SjkimFixed a problem where errors occurring during the parse phase of control 
5904193267Sjkimmethod execution did not abort cleanly.  For example, objects created and 
5905193267Sjkiminstalled in the namespace were not deleted.  This caused all subsequent 
5906193267Sjkiminvocations of the method to return the AE_ALREADY_EXISTS exception.
5907127175Snjl
5908193267SjkimImplemented a mechanism to force a control method to "Serialized" execution 
5909193267Sjkimif the method attempts to create namespace objects. (The root of the 
5910193267SjkimAE_ALREADY_EXISTS problem.)
5911127175Snjl
5912193267SjkimImplemented support for the predefined _OSI "internal" control method.  
5913193267SjkimInitial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
5914193267Sjkim"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
5915193267SjkimThis feature will allow "other" operating systems to execute the fully 
5916193267Sjkimtested, "Windows" code path through the ASL code
5917127175Snjl
5918193267SjkimGlobal Lock Support:  Now allows multiple acquires and releases with any 
5919193267Sjkiminternal thread.  Removed concept of "owning thread" for this special mutex.
5920127175Snjl
5921193267SjkimFixed two functions that were inappropriately declaring large objects on the 
5922193267SjkimCPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
5923193267Sjkimmethod execution considerably.
5924127175Snjl
5925193267SjkimFixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
5926193267SjkimS4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
5927127175Snjl
5928193267SjkimFixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
5929193267Sjkimdefined on the machine.
5930127175Snjl
5931193267SjkimImplemented two runtime options:  One to force all control method execution 
5932193267Sjkimto "Serialized" to mimic Windows behavior, another to disable _OSI support 
5933193267Sjkimif it causes problems on a given machine.
5934127175Snjl
5935193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5936193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5937193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5938193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5939193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5940193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5941193267Sjkimthe compiler options used during generation.
5942127175Snjl
5943127175Snjl  Previous Release:
5944127175Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
5945127175Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
5946127175Snjl  Current Release:
5947127175Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
5948127175Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
5949127175Snjl
5950127175Snjl2) iASL Compiler/Disassembler:
5951127175Snjl
5952193267SjkimFixed an array size problem for FreeBSD that would cause the compiler to 
5953193267Sjkimfault.
5954127175Snjl
5955127175Snjl----------------------------------------
5956126372Snjl20 February 2004.  Summary of changes for version 20040220:
5957126372Snjl
5958167802Sjkim
5959126372Snjl1) ACPI CA Core Subsystem:
5960126372Snjl
5961193267SjkimImplemented execution of _SxD methods for Device objects in the 
5962126372SnjlGetObjectInfo interface.
5963126372Snjl
5964126372SnjlFixed calls to _SST method to pass the correct arguments.
5965126372Snjl
5966126372SnjlAdded a call to _SST on wake to restore to "working" state.
5967126372Snjl
5968193267SjkimCheck for End-Of-Buffer failure case in the WalkResources interface.
5969126372Snjl
5970193267SjkimIntegrated fix for 64-bit alignment issue in acglobal.h by moving two 
5971193267Sjkimstructures to the beginning of the file.
5972126372Snjl
5973126372SnjlAfter wake, clear GPE status register(s) before enabling GPEs.
5974126372Snjl
5975193267SjkimAfter wake, clear/enable power button.  (Perhaps we should clear/enable all 
5976193267Sjkimfixed events upon wake.)
5977126372Snjl
5978126372SnjlFixed a couple of possible memory leaks in the Namespace manager.
5979126372Snjl
5980126372SnjlIntegrated latest acnetbsd.h file.
5981126372Snjl
5982126372Snjl----------------------------------------
5983126372Snjl11 February 2004.  Summary of changes for version 20040211:
5984126372Snjl
5985167802Sjkim
5986126372Snjl1) ACPI CA Core Subsystem:
5987126372Snjl
5988193267SjkimCompleted investigation and implementation of the call-by-reference 
5989193267Sjkimmechanism for control method arguments.
5990126372Snjl
5991193267SjkimFixed a problem where a store of an object into an indexed package could 
5992193267Sjkimfail if the store occurs within a different method than the method that 
5993193267Sjkimcreated the package.
5994126372Snjl
5995193267SjkimFixed a problem where the ToDecimal operator could return incorrect results.
5996126372Snjl
5997193267SjkimFixed a problem where the CopyObject operator could fail on some of the more 
5998193267Sjkimobscure objects (e.g., Reference objects.)
5999126372Snjl
6000193267SjkimImproved the output of the Debug object to display buffer, package, and 
6001193267Sjkimindex objects.
6002126372Snjl
6003193267SjkimFixed a problem where constructs of the form "RefOf (ArgX)" did not return 
6004193267Sjkimthe expected result.
6005126372Snjl
6006193267SjkimAdded permanent ACPI_REPORT_ERROR macros for all instances of the 
6007126372SnjlACPI_AML_INTERNAL exception.
6008126372Snjl
6009126372SnjlIntegrated latest version of acfreebsd.h
6010126372Snjl
6011126372Snjl----------------------------------------
6012126372Snjl16 January 2004.  Summary of changes for version 20040116:
6013126372Snjl
6014193267SjkimThe purpose of this release is primarily to update the copyright years in 
6015193267Sjkimeach module, thus causing a huge number of diffs.  There are a few small 
6016193267Sjkimfunctional changes, however.
6017126372Snjl
6018126372Snjl1) ACPI CA Core Subsystem:
6019126372Snjl
6020193267SjkimImproved error messages when there is a problem finding one or more of the 
6021193267Sjkimrequired base ACPI tables
6022126372Snjl
6023126372SnjlReintroduced the definition of APIC_HEADER in actbl.h
6024126372Snjl
6025126372SnjlChanged definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6026126372Snjl
6027126372SnjlRemoved extraneous reference to NewObj in dsmthdat.c
6028126372Snjl
6029126372Snjl2) iASL compiler
6030126372Snjl
6031193267SjkimFixed a problem introduced in December that disabled the correct disassembly 
6032193267Sjkimof Resource Templates
6033126372Snjl
6034126372Snjl
6035126372Snjl----------------------------------------
6036126372Snjl03 December 2003.  Summary of changes for version 20031203:
6037126372Snjl
6038126372Snjl1) ACPI CA Core Subsystem:
6039126372Snjl
6040126372SnjlChanged the initialization of Operation Regions during subsystem
6041126372Snjlinit to perform two entire walks of the ACPI namespace; The first
6042126372Snjlto initialize the regions themselves, the second to execute the
6043126372Snjl_REG methods.  This fixed some interdependencies across _REG
6044126372Snjlmethods found on some machines.
6045126372Snjl
6046126372SnjlFixed a problem where a Store(Local0, Local1) could simply update
6047126372Snjlthe object reference count, and not create a new copy of the
6048126372Snjlobject if the Local1 is uninitialized.
6049126372Snjl
6050126372SnjlImplemented support for the _SST reserved method during sleep
6051126372Snjltransitions.
6052126372Snjl
6053126372SnjlImplemented support to clear the SLP_TYP and SLP_EN bits when
6054126372Snjlwaking up, this is apparently required by some machines.
6055126372Snjl
6056193267SjkimWhen sleeping, clear the wake status only if SleepState is not S5.
6057126372Snjl
6058126372SnjlFixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6059126372Snjlpointer arithmetic advanced a string pointer too far.
6060126372Snjl
6061126372SnjlFixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6062126372Snjlcould be returned if the requested table has not been loaded.
6063126372Snjl
6064193267SjkimWithin the support for IRQ resources, restructured the handling of
6065126372Snjlthe active and edge/level bits.
6066126372Snjl
6067126372SnjlFixed a few problems in AcpiPsxExecute() where memory could be
6068126372Snjlleaked under certain error conditions.
6069126372Snjl
6070126372SnjlImproved error messages for the cases where the ACPI mode could
6071126372Snjlnot be entered.
6072126372Snjl
6073126372SnjlCode and Data Size: Current and previous core subsystem library
6074126372Snjlsizes are shown below.  These are the code and data sizes for the
6075126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6076126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6077126372Snjldebug version of the code includes the debug output trace
6078126372Snjlmechanism and has a much larger code and data size.  Note that
6079193267Sjkimthese values will vary depending on the efficiency of the compiler
6080126372Snjland the compiler options used during generation.
6081126372Snjl
6082126372Snjl  Previous Release (20031029):
6083126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6084126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6085126372Snjl  Current Release:
6086126372Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6087126372Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6088126372Snjl
6089126372Snjl2) iASL Compiler/Disassembler:
6090126372Snjl
6091126372SnjlImplemented a fix for the iASL disassembler where a bad index was
6092126372Snjlgenerated.  This was most noticeable on 64-bit platforms
6093126372Snjl
6094126372Snjl
6095126372Snjl----------------------------------------
6096126372Snjl29 October 2003.  Summary of changes for version 20031029:
6097126372Snjl
6098126372Snjl1) ACPI CA Core Subsystem:
6099126372Snjl
6100167802Sjkim
6101126372SnjlFixed a problem where a level-triggered GPE with an associated
6102126372Snjl_Lxx control method was incorrectly cleared twice.
6103126372Snjl
6104126372SnjlFixed a problem with the Field support code where an access can
6105126372Snjloccur beyond the end-of-region if the field is non-aligned but
6106126372Snjlextends to the very end of the parent region (resulted in an
6107126372SnjlAE_AML_REGION_LIMIT exception.)
6108126372Snjl
6109126372SnjlFixed a problem with ACPI Fixed Events where an RT Clock handler
6110193267Sjkimwould not get invoked on an RTC event.  The RTC event bitmasks for
6111126372Snjlthe PM1 registers were not being initialized properly.
6112126372Snjl
6113126372SnjlImplemented support for executing _STA and _INI methods for
6114126372SnjlProcessor objects.  Although this is currently not part of the
6115193267SjkimACPI specification, there is existing ASL code that depends on the
6116126372Snjlinit-time execution of these methods.
6117126372Snjl
6118126372SnjlImplemented and deployed a GetDescriptorName function to decode
6119126372Snjlthe various types of internal descriptors.  Guards against null
6120126372Snjldescriptors during debug output also.
6121126372Snjl
6122126372SnjlImplemented and deployed a GetNodeName function to extract the 4-
6123193267Sjkimcharacter namespace node name.  This function simplifies the debug
6124193267Sjkimand error output, as well as guarding against null pointers during
6125126372Snjloutput.
6126126372Snjl
6127126372SnjlImplemented and deployed the ACPI_FORMAT_UINT64 helper macro to
6128126372Snjlsimplify the debug and error output of 64-bit integers.  This
6129126372Snjlmacro replaces the HIDWORD and LODWORD macros for dumping these
6130126372Snjlintegers.
6131126372Snjl
6132126372SnjlUpdated the implementation of the Stall() operator to only call
6133126372SnjlAcpiOsStall(), and also return an error if the operand is larger
6134126372Snjlthan 255.  This preserves the required behavior of not
6135126372Snjlrelinquishing the processor, as would happen if AcpiOsSleep() was
6136126372Snjlcalled for "long stalls".
6137126372Snjl
6138126372SnjlConstructs of the form "Store(LocalX,LocalX)" where LocalX is not
6139126372Snjlinitialized are now treated as NOOPs.
6140126372Snjl
6141126372SnjlCleaned up a handful of warnings during 64-bit generation.
6142126372Snjl
6143126372SnjlFixed a reported error where and incorrect GPE number was passed
6144126372Snjlto the GPE dispatch handler.  This value is only used for error
6145193267Sjkimoutput, however.  Used this opportunity to clean up and streamline
6146126372Snjlthe GPE dispatch code.
6147126372Snjl
6148126372SnjlCode and Data Size: Current and previous core subsystem library
6149126372Snjlsizes are shown below.  These are the code and data sizes for the
6150126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6151126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6152167802Sjkim
6153126372Snjldebug version of the code includes the debug output trace
6154126372Snjlmechanism and has a much larger code and data size.  Note that
6155193267Sjkimthese values will vary depending on the efficiency of the compiler
6156126372Snjland the compiler options used during generation.
6157126372Snjl
6158126372Snjl  Previous Release (20031002):
6159126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6160126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6161126372Snjl  Current Release:
6162126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6163126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6164126372Snjl
6165126372Snjl
6166126372Snjl2) iASL Compiler/Disassembler:
6167126372Snjl
6168193267SjkimUpdated the iASL compiler to return an error if the operand to the
6169126372SnjlStall() operator is larger than 255.
6170126372Snjl
6171126372Snjl
6172126372Snjl----------------------------------------
6173126372Snjl02 October 2003.  Summary of changes for version 20031002:
6174126372Snjl
6175126372Snjl
6176126372Snjl1) ACPI CA Core Subsystem:
6177126372Snjl
6178126372SnjlFixed a problem with Index Fields where the index was not
6179126372Snjlincremented for fields that require multiple writes to the
6180126372Snjlindex/data registers (Fields that are wider than the data
6181126372Snjlregister.)
6182126372Snjl
6183126372SnjlFixed a problem with all Field objects where a write could go
6184126372Snjlbeyond the end-of-field if the field was larger than the access
6185193267Sjkimgranularity and therefore required multiple writes to complete the
6186126372Snjlrequest.  An extra write beyond the end of the field could happen
6187126372Snjlinadvertently.
6188126372Snjl
6189126372SnjlFixed a problem with Index Fields where a BUFFER_OVERFLOW error
6190126372Snjlwould incorrectly be returned if the width of the Data Register
6191126372Snjlwas larger than the specified field access width.
6192126372Snjl
6193126372SnjlCompleted fixes for LoadTable() and Unload() and verified their
6194126372Snjloperation.  Implemented full support for the "DdbHandle" object
6195126372Snjlthroughout the ACPI CA subsystem.
6196126372Snjl
6197126372SnjlImplemented full support for the MADT and ECDT tables in the ACPI
6198126372SnjlCA header files.  Even though these tables are not directly
6199126372Snjlconsumed by ACPI CA, the header definitions are useful for ACPI
6200126372Snjldevice drivers.
6201126372Snjl
6202126372SnjlIntegrated resource descriptor fixes posted to the Linux ACPI
6203126372Snjllist.  This included checks for minimum descriptor length, and
6204126372Snjlsupport for trailing NULL strings within descriptors that have
6205126372Snjloptional string elements.
6206126372Snjl
6207126372SnjlCode and Data Size: Current and previous core subsystem library
6208126372Snjlsizes are shown below.  These are the code and data sizes for the
6209126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6210126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6211126372Snjldebug version of the code includes the debug output trace
6212126372Snjlmechanism and has a much larger code and data size.  Note that
6213193267Sjkimthese values will vary depending on the efficiency of the compiler
6214126372Snjland the compiler options used during generation.
6215126372Snjl
6216126372Snjl  Previous Release (20030918):
6217126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6218126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6219126372Snjl  Current Release:
6220126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6221126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6222126372Snjl
6223126372Snjl
6224126372Snjl2) iASL Compiler:
6225126372Snjl
6226126372SnjlImplemented detection of non-ASCII characters within the input
6227126372Snjlsource ASL file.  This catches attempts to compile binary (AML)
6228126372Snjlfiles early in the compile, with an informative error message.
6229126372Snjl
6230126372SnjlFixed a problem where the disassembler would fault if the output
6231193267Sjkimfilename could not be generated or if the output file could not be
6232126372Snjlopened.
6233126372Snjl
6234126372Snjl----------------------------------------
6235126372Snjl18 September 2003.  Summary of changes for version 20030918:
6236126372Snjl
6237126372Snjl
6238126372Snjl1) ACPI CA Core Subsystem:
6239126372Snjl
6240126372SnjlFound and fixed a longstanding problem with the late execution of
6241126372Snjlthe various deferred AML opcodes (such as Operation Regions,
6242126372SnjlBuffer Fields, Buffers, and Packages).  If the name string
6243126372Snjlspecified for the name of the new object placed the object in a
6244126372Snjlscope other than the current scope, the initialization/execution
6245126372Snjlof the opcode failed.  The solution to this problem was to
6246126372Snjlimplement a mechanism where the late execution of such opcodes
6247126372Snjldoes not attempt to lookup/create the name a second time in an
6248126372Snjlincorrect scope.  This fixes the "region size computed
6249126372Snjlincorrectly" problem.
6250126372Snjl
6251193267SjkimFixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
6252126372SnjlGlobal Lock AE_BAD_PARAMETER error.
6253126372Snjl
6254126372SnjlFixed several 64-bit issues with prototypes, casting and data
6255126372Snjltypes.
6256126372Snjl
6257126372SnjlRemoved duplicate prototype from acdisasm.h
6258126372Snjl
6259126372SnjlFixed an issue involving EC Operation Region Detach (Shaohua Li)
6260126372Snjl
6261126372SnjlCode and Data Size: Current and previous core subsystem library
6262126372Snjlsizes are shown below.  These are the code and data sizes for the
6263126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6264126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6265126372Snjldebug version of the code includes the debug output trace
6266126372Snjlmechanism and has a much larger code and data size.  Note that
6267193267Sjkimthese values will vary depending on the efficiency of the compiler
6268126372Snjland the compiler options used during generation.
6269126372Snjl
6270126372Snjl  Previous Release:
6271167802Sjkim
6272126372Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6273126372Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6274126372Snjl  Current Release:
6275126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6276126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6277126372Snjl
6278126372Snjl
6279126372Snjl2) Linux:
6280126372Snjl
6281126372SnjlFixed the AcpiOsSleep implementation in osunixxf.c to pass the
6282126372Snjlcorrect sleep time in seconds.
6283126372Snjl
6284126372Snjl----------------------------------------
6285126372Snjl14 July 2003.  Summary of changes for version 20030619:
6286126372Snjl
6287126372Snjl1) ACPI CA Core Subsystem:
6288126372Snjl
6289126372SnjlParse SSDTs in order discovered, as opposed to reverse order
6290126372Snjl(Hrvoje Habjanic)
6291126372Snjl
6292126372SnjlFixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
6293126372SnjlKlausner,
6294126372Snjl   Nate Lawson)
6295126372Snjl
6296126372Snjl
6297126372Snjl2) Linux:
6298126372Snjl
6299126372SnjlDynamically allocate SDT list (suggested by Andi Kleen)
6300126372Snjl
6301126372Snjlproc function return value cleanups (Andi Kleen)
6302126372Snjl
6303126372SnjlCorrectly handle NMI watchdog during long stalls (Andrew Morton)
6304126372Snjl
6305126372SnjlMake it so acpismp=force works (reported by Andrew Morton)
6306126372Snjl
6307126372Snjl
6308126372Snjl----------------------------------------
6309117521Snjl19 June 2003.  Summary of changes for version 20030619:
6310117521Snjl
6311117521Snjl1) ACPI CA Core Subsystem:
6312117521Snjl
6313193267SjkimFix To/FromBCD, eliminating the need for an arch-specific #define.
6314117521Snjl
6315117521SnjlDo not acquire a semaphore in the S5 shutdown path.
6316117521Snjl
6317117521SnjlFix ex_digits_needed for 0. (Takayoshi Kochi)
6318117521Snjl
6319117521SnjlFix sleep/stall code reversal. (Andi Kleen)
6320117521Snjl
6321117521SnjlRevert a change having to do with control method calling
6322117521Snjlsemantics.
6323117521Snjl
6324117521Snjl2) Linux:
6325117521Snjl
6326117521Snjlacpiphp update (Takayoshi Kochi)
6327117521Snjl
6328117521SnjlExport acpi_disabled for sonypi (Stelian Pop)
6329117521Snjl
6330117521SnjlMention acpismp=force in config help
6331117521Snjl
6332117521SnjlRe-add acpitable.c and acpismp=force. This improves backwards
6333167802Sjkim
6334193267Sjkimcompatibility and also cleans up the code to a significant degree.
6335117521Snjl
6336117521SnjlAdd ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
6337117521Snjl
6338117521Snjl----------------------------------------
6339117521Snjl22 May 2003.  Summary of changes for version 20030522:
6340117521Snjl
6341117521Snjl1) ACPI CA Core Subsystem:
6342117521Snjl
6343117521SnjlFound and fixed a reported problem where an AE_NOT_FOUND error
6344117521Snjloccurred occasionally during _BST evaluation.  This turned out to
6345117521Snjlbe an Owner ID allocation issue where a called method did not get
6346193267Sjkima new ID assigned to it.  Eventually, (after 64k calls), the Owner
6347193267SjkimID UINT16 would wraparound so that the ID would be the same as the
6348126372Snjlcaller's and the called method would delete the caller's
6349117521Snjlnamespace.
6350117521Snjl
6351117521SnjlImplemented extended error reporting for control methods that are
6352117521Snjlaborted due to a run-time exception.  Output includes the exact
6353193267SjkimAML instruction that caused the method abort, a dump of the method
6354126372Snjllocals and arguments at the time of the abort, and a trace of all
6355126372Snjlnested control method calls.
6356117521Snjl
6357117521SnjlModified the interpreter to allow the creation of buffers of zero
6358117521Snjllength from the AML code. Implemented new code to ensure that no
6359117521Snjlattempt is made to actually allocate a memory buffer (of length
6360193267Sjkimzero) - instead, a simple buffer object with a NULL buffer pointer
6361126372Snjland length zero is created.  A warning is no longer issued when
6362126372Snjlthe AML attempts to create a zero-length buffer.
6363117521Snjl
6364117521SnjlImplemented a workaround for the "leading asterisk issue" in
6365117521Snjl_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
6366117521Snjlasterisk is automatically removed if present in any HID, UID, or
6367117521SnjlCID strings.  The iASL compiler will still flag this asterisk as
6368117521Snjlan error, however.
6369117521Snjl
6370193267SjkimImplemented full support for _CID methods that return a package of
6371193267Sjkimmultiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
6372126372Snjlnow additionally returns a device _CID list if present.  This
6373126372Snjlrequired a change to the external interface in order to pass an
6374126372SnjlACPI_BUFFER object as a parameter since the _CID list is of
6375117521Snjlvariable length.
6376117521Snjl
6377117521SnjlFixed a problem with the new AE_SAME_HANDLER exception where
6378117521Snjlhandler initialization code did not know about this exception.
6379117521Snjl
6380117521SnjlCode and Data Size: Current and previous core subsystem library
6381117521Snjlsizes are shown below.  These are the code and data sizes for the
6382117521Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6383117521Snjlthese values do not include any ACPI driver or OSPM code.  The
6384117521Snjldebug version of the code includes the debug output trace
6385117521Snjlmechanism and has a much larger code and data size.  Note that
6386193267Sjkimthese values will vary depending on the efficiency of the compiler
6387126372Snjland the compiler options used during generation.
6388117521Snjl
6389117521Snjl  Previous Release (20030509):
6390117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6391117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6392117521Snjl  Current Release:
6393117521Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6394117521Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6395117521Snjl
6396117521Snjl
6397117521Snjl2) Linux:
6398117521Snjl
6399117521SnjlFixed a bug in which we would reinitialize the ACPI interrupt
6400193267Sjkimafter it was already working, thus disabling all ACPI and the IRQs
6401126372Snjlfor any other device sharing the interrupt. (Thanks to Stian
6402117521SnjlJordet)
6403117521Snjl
6404117521SnjlToshiba driver update (John Belmonte)
6405117521Snjl
6406117521SnjlReturn only 0 or 1 for our interrupt handler status (Andrew
6407117521SnjlMorton)
6408117521Snjl
6409117521Snjl
6410117521Snjl3) iASL Compiler:
6411117521Snjl
6412117521SnjlFixed a reported problem where multiple (nested) ElseIf()
6413117521Snjlstatements were not handled correctly by the compiler, resulting
6414117521Snjlin incorrect warnings and incorrect AML code.  This was a problem
6415117521Snjlin both the ASL parser and the code generator.
6416117521Snjl
6417117521Snjl
6418117521Snjl4) Documentation:
6419117521Snjl
6420193267SjkimAdded changes to existing interfaces, new exception codes, and new
6421126372Snjltext concerning reference count object management versus garbage
6422126372Snjlcollection.
6423117521Snjl
6424117521Snjl----------------------------------------
6425117521Snjl09 May 2003.  Summary of changes for version 20030509.
6426117521Snjl
6427117521Snjl
6428117521Snjl1) ACPI CA Core Subsystem:
6429117521Snjl
6430117521SnjlChanged the subsystem initialization sequence to hold off
6431193267Sjkiminstallation of address space handlers until the hardware has been
6432193267Sjkiminitialized and the system has entered ACPI mode.  This is because
6433126372Snjlthe installation of space handlers can cause _REG methods to be
6434193267Sjkimrun.  Previously, the _REG methods could potentially be run before
6435126372SnjlACPI mode was enabled.
6436117521Snjl
6437193267SjkimFixed some memory leak issues related to address space handler and
6438126372Snjlnotify handler installation.  There were some problems with the
6439126372Snjlreference count mechanism caused by the fact that the handler
6440117521Snjlobjects are shared across several namespace objects.
6441117521Snjl
6442117521SnjlFixed a reported problem where reference counts within the
6443117521Snjlnamespace were not properly updated when named objects created by
6444117521Snjlmethod execution were deleted.
6445117521Snjl
6446117521SnjlFixed a reported problem where multiple SSDTs caused a deletion
6447117521Snjlissue during subsystem termination.  Restructured the table data
6448117521Snjlstructures to simplify the linked lists and the related code.
6449117521Snjl
6450117521SnjlFixed a problem where the table ID associated with secondary
6451193267Sjkimtables (SSDTs) was not being propagated into the namespace objects
6452126372Snjlcreated by those tables.  This would only present a problem for
6453126372Snjltables that are unloaded at run-time, however.
6454117521Snjl
6455117521SnjlUpdated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
6456117521Snjltype as the length parameter (instead of UINT32).
6457117521Snjl
6458117521SnjlSolved a long-standing problem where an ALREADY_EXISTS error
6459117521Snjlappears on various systems.  This problem could happen when there
6460117521Snjlare multiple PCI_Config operation regions under a single PCI root
6461117521Snjlbus.  This doesn't happen very frequently, but there are some
6462117521Snjlsystems that do this in the ASL.
6463117521Snjl
6464117521SnjlFixed a reported problem where the internal DeleteNode function
6465117521Snjlwas incorrectly handling the case where a namespace node was the
6466117521Snjlfirst in the parent's child list, and had additional peers (not
6467117521Snjlthe only child, but first in the list of children.)
6468117521Snjl
6469193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6470126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6471126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6472126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6473126372Snjlversion of the code includes the debug output trace mechanism and
6474193267Sjkimhas a much larger code and data size.  Note that these values will
6475126372Snjlvary depending on the efficiency of the compiler and the compiler
6476126372Snjloptions used during generation.
6477117521Snjl
6478117521Snjl  Previous Release
6479117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6480117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6481117521Snjl  Current Release:
6482117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6483117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6484117521Snjl
6485117521Snjl
6486117521Snjl2) Linux:
6487117521Snjl
6488117521SnjlAllow ":" in OS override string (Ducrot Bruno)
6489117521Snjl
6490117521SnjlKobject fix (Greg KH)
6491117521Snjl
6492117521Snjl
6493117521Snjl3 iASL Compiler/Disassembler:
6494117521Snjl
6495117521SnjlFixed a problem in the generation of the C source code files (AML
6496117521Snjlis emitted in C source statements for BIOS inclusion) where the
6497193267SjkimAscii dump that appears within a C comment at the end of each line
6498126372Snjlcould cause a compile time error if the AML sequence happens to
6499126372Snjlhave an open comment or close comment sequence embedded.
6500117521Snjl
6501117521Snjl
6502117521Snjl----------------------------------------
6503117521Snjl24 April 2003.  Summary of changes for version 20030424.
6504117521Snjl
6505117521Snjl
6506117521Snjl1) ACPI CA Core Subsystem:
6507117521Snjl
6508117521SnjlSupport for big-endian systems has been implemented.  Most of the
6509193267Sjkimsupport has been invisibly added behind big-endian versions of the
6510126372SnjlACPI_MOVE_* macros.
6511117521Snjl
6512117521SnjlFixed a problem in AcpiHwDisableGpeBlock() and
6513117521SnjlAcpiHwClearGpeBlock() where an incorrect offset was passed to the
6514117521Snjllow level hardware write routine.  The offset parameter was
6515193267Sjkimactually eliminated from the low level read/write routines because
6516126372Snjlthey had become obsolete.
6517117521Snjl
6518117521SnjlFixed a problem where a handler object was deleted twice during
6519117521Snjlthe removal of a fixed event handler.
6520117521Snjl
6521117521Snjl
6522117521Snjl2) Linux:
6523117521Snjl
6524117521SnjlA fix for SMP systems with link devices was contributed by
6525167802Sjkim
6526117521SnjlCompaq's Dan Zink.
6527117521Snjl
6528117521Snjl(2.5) Return whether we handled the interrupt in our IRQ handler.
6529193267Sjkim(Linux ISRs no longer return void, so we can propagate the handler
6530126372Snjlreturn value from the ACPI CA core back to the OS.)
6531117521Snjl
6532117521Snjl
6533167802Sjkim
6534117521Snjl3) Documentation:
6535117521Snjl
6536117521SnjlThe ACPI CA Programmer Reference has been updated to reflect new
6537117521Snjlinterfaces and changes to existing interfaces.
6538117521Snjl
6539117521Snjl----------------------------------------
6540117521Snjl28 March 2003.  Summary of changes for version 20030328.
6541117521Snjl
6542117521Snjl1) ACPI CA Core Subsystem:
6543117521Snjl
6544117521SnjlThe GPE Block Device support has been completed.  New interfaces
6545117521Snjlare AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
6546117521Snjlinterfaces (enable, disable, clear, getstatus) have been split
6547117521Snjlinto separate interfaces for Fixed Events and General Purpose
6548117521SnjlEvents (GPEs) in order to support GPE Block Devices properly.
6549117521Snjl
6550117521SnjlFixed a problem where the error message "Failed to acquire
6551117521Snjlsemaphore" would appear during operations on the embedded
6552117521Snjlcontroller (EC).
6553117521Snjl
6554193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6555126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6556126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6557126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6558126372Snjlversion of the code includes the debug output trace mechanism and
6559193267Sjkimhas a much larger code and data size.  Note that these values will
6560126372Snjlvary depending on the efficiency of the compiler and the compiler
6561126372Snjloptions used during generation.
6562117521Snjl
6563117521Snjl  Previous Release
6564117521Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6565117521Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6566117521Snjl  Current Release:
6567117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6568117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6569117521Snjl
6570117521Snjl
6571117521Snjl----------------------------------------
6572114237Snjl28 February 2003.  Summary of changes for version 20030228.
6573114237Snjl
6574114237Snjl
6575114237Snjl1) ACPI CA Core Subsystem:
6576114237Snjl
6577114237SnjlThe GPE handling and dispatch code has been completely overhauled
6578114237Snjlin preparation for support of GPE Block Devices (ID ACPI0006).
6579114237SnjlThis affects internal data structures and code only; there should
6580114237Snjlbe no differences visible externally.  One new file has been
6581114237Snjladded, evgpeblk.c
6582114237Snjl
6583114237SnjlThe FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
6584114237Snjlfields that are used to determine the GPE block lengths.  The
6585114237SnjlREGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
6586193267Sjkimstructures are ignored.  This is per the ACPI specification but it
6587126372Snjlisn't very clear.  The full 256 Block 0/1 GPEs are now supported
6588193267Sjkim(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
6589114237Snjl
6590114237SnjlIn the SCI interrupt handler, removed the read of the PM1_CONTROL
6591114237Snjlregister to look at the SCI_EN bit.  On some machines, this read
6592114237Snjlcauses an SMI event and greatly slows down SCI events.  (This may
6593114237Snjlin fact be the cause of slow battery status response on some
6594114237Snjlsystems.)
6595114237Snjl
6596193267SjkimFixed a problem where a store of a NULL string to a package object
6597126372Snjlcould cause the premature deletion of the object.  This was seen
6598126372Snjlduring execution of the battery _BIF method on some systems,
6599126372Snjlresulting in no battery data being returned.
6600114237Snjl
6601114237SnjlAdded AcpiWalkResources interface to simplify parsing of resource
6602114237Snjllists.
6603114237Snjl
6604193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6605126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6606126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6607126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6608126372Snjlversion of the code includes the debug output trace mechanism and
6609193267Sjkimhas a much larger code and data size.  Note that these values will
6610126372Snjlvary depending on the efficiency of the compiler and the compiler
6611126372Snjloptions used during generation.
6612114237Snjl
6613114237Snjl  Previous Release
6614114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6615114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6616114237Snjl  Current Release:
6617114237Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6618114237Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6619114237Snjl
6620114237Snjl
6621114237Snjl2) Linux
6622114237Snjl
6623114237SnjlS3 fixes (Ole Rohne)
6624114237Snjl
6625114237SnjlUpdate ACPI PHP driver with to use new acpi_walk_resource API
6626114237Snjl(Bjorn Helgaas)
6627114237Snjl
6628114237SnjlAdd S4BIOS support (Pavel Machek)
6629114237Snjl
6630114237SnjlMap in entire table before performing checksum (John Stultz)
6631114237Snjl
6632193267SjkimExpand the mem= cmdline to allow the specification of reserved and
6633126372SnjlACPI DATA blocks (Pavel Machek)
6634114237Snjl
6635114237SnjlNever use ACPI on VISWS
6636114237Snjl
6637114237SnjlFix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
6638114237Snjl
6639114237SnjlRevert a change that allowed P_BLK lengths to be 4 or 5. This is
6640114237Snjlcausing us to think that some systems support C2 when they really
6641114237Snjldon't.
6642114237Snjl
6643114237SnjlDo not count processor objects for non-present CPUs (Thanks to
6644114237SnjlDominik Brodowski)
6645114237Snjl
6646114237Snjl
6647114237Snjl3) iASL Compiler:
6648114237Snjl
6649114237SnjlFixed a problem where ASL include files could not be found and
6650114237Snjlopened.
6651114237Snjl
6652114237SnjlAdded support for the _PDC reserved name.
6653114237Snjl
6654114237Snjl
6655117521Snjl----------------------------------------
6656114237Snjl22 January 2003.  Summary of changes for version 20030122.
6657114237Snjl
6658114237Snjl
6659114237Snjl1) ACPI CA Core Subsystem:
6660114237Snjl
6661114237SnjlAdded a check for constructs of the form:  Store (Local0, Local0)
6662114237Snjlwhere Local0 is not initialized.  Apparently, some BIOS
6663193267Sjkimprogrammers believe that this is a NOOP.  Since this store doesn't
6664126372Snjldo anything anyway, the new prototype behavior will ignore this
6665126372Snjlerror.  This is a case where we can relax the strict checking in
6666126372Snjlthe interpreter in the name of compatibility.
6667114237Snjl
6668114237Snjl
6669114237Snjl2) Linux
6670114237Snjl
6671114237SnjlThe AcpiSrc Source Conversion Utility has been released with the
6672114237SnjlLinux package for the first time.  This is the utility that is
6673193267Sjkimused to convert the ACPI CA base source code to the Linux version.
6674114237Snjl
6675114237Snjl(Both) Handle P_BLK lengths shorter than 6 more gracefully
6676114237Snjl
6677114237Snjl(Both) Move more headers to include/acpi, and delete an unused
6678114237Snjlheader.
6679114237Snjl
6680114237Snjl(Both) Move drivers/acpi/include directory to include/acpi
6681114237Snjl
6682114237Snjl(Both) Boot functions don't use cmdline, so don't pass it around
6683114237Snjl
6684114237Snjl(Both) Remove include of unused header (Adrian Bunk)
6685114237Snjl
6686114237Snjl(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
6687114237Snjlthe
6688193267Sjkimformer now also includes the latter, acpiphp.h only needs the one,
6689126372Snjlnow.
6690114237Snjl
6691193267Sjkim(2.5) Make it possible to select method of bios restoring after S3
6692114237Snjlresume. [=> no more ugly ifdefs] (Pavel Machek)
6693114237Snjl
6694114237Snjl(2.5) Make proc write interfaces work (Pavel Machek)
6695114237Snjl
6696114237Snjl(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
6697114237Snjl
6698114237Snjl(2.5) Break out ACPI Perf code into its own module, under cpufreq
6699114237Snjl(Dominik Brodowski)
6700114237Snjl
6701114237Snjl(2.4) S4BIOS support (Ducrot Bruno)
6702114237Snjl
6703114237Snjl(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
6704114237SnjlVisinoni)
6705114237Snjl
6706114237Snjl
6707114237Snjl3) iASL Compiler:
6708114237Snjl
6709114237SnjlAdded support to disassemble SSDT and PSDTs.
6710114237Snjl
6711114237SnjlImplemented support to obtain SSDTs from the Windows registry if
6712114237Snjlavailable.
6713114237Snjl
6714114237Snjl
6715102550Siwasaki----------------------------------------
6716114237Snjl09 January 2003.  Summary of changes for version 20030109.
6717114237Snjl
6718114237Snjl1) ACPI CA Core Subsystem:
6719114237Snjl
6720114237SnjlChanged the behavior of the internal Buffer-to-String conversion
6721193267Sjkimfunction.  The current ACPI specification states that the contents
6722126372Snjlof the buffer are "converted to a string of two-character
6723126372Snjlhexadecimal numbers, each separated by a space".  Unfortunately,
6724193267Sjkimthis definition is not backwards compatible with existing ACPI 1.0
6725193267Sjkimimplementations (although the behavior was not defined in the ACPI
6726126372Snjl1.0 specification).  The new behavior simply copies data from the
6727193267Sjkimbuffer to the string until a null character is found or the end of
6728126372Snjlthe buffer is reached.  The new String object is always null
6729126372Snjlterminated.  This problem was seen during the generation of _BIF
6730126372Snjlbattery data where incorrect strings were returned for battery
6731126372Snjltype, etc.  This will also require an errata to the ACPI
6732126372Snjlspecification.
6733114237Snjl
6734114237SnjlRenamed all instances of NATIVE_UINT and NATIVE_INT to
6735114237SnjlACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
6736114237Snjl
6737114237SnjlCopyright in all module headers (both Linux and non-Linux) has be
6738114237Snjlupdated to 2003.
6739114237Snjl
6740193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6741126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6742126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6743126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6744126372Snjlversion of the code includes the debug output trace mechanism and
6745193267Sjkimhas a much larger code and data size.  Note that these values will
6746126372Snjlvary depending on the efficiency of the compiler and the compiler
6747126372Snjloptions used during generation.
6748114237Snjl
6749114237Snjl  Previous Release
6750114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6751114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6752114237Snjl  Current Release:
6753114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6754114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6755114237Snjl
6756114237Snjl
6757114237Snjl2) Linux
6758114237Snjl
6759114237SnjlFixed an oops on module insertion/removal (Matthew Tippett)
6760114237Snjl
6761114237Snjl(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
6762114237Snjl
6763114237Snjl(2.5) Replace pr_debug (Randy Dunlap)
6764114237Snjl
6765114237Snjl(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
6766114237Snjl
6767114237Snjl(Both) Eliminate spawning of thread from timer callback, in favor
6768114237Snjlof schedule_work()
6769114237Snjl
6770114237Snjl(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
6771114237Snjl
6772114237Snjl(Both) Added define for Fixed Function HW region (Matthew Wilcox)
6773114237Snjl
6774114237Snjl(Both) Add missing statics to button.c (Pavel Machek)
6775114237Snjl
6776114237SnjlSeveral changes have been made to the source code translation
6777114237Snjlutility that generates the Linux Code in order to make the code
6778114237Snjlmore "Linux-like":
6779114237Snjl
6780114237SnjlAll typedefs on structs and unions have been removed in keeping
6781114237Snjlwith the Linux coding style.
6782114237Snjl
6783114237SnjlRemoved the non-Linux SourceSafe module revision number from each
6784114237Snjlmodule header.
6785114237Snjl
6786114237SnjlCompleted major overhaul of symbols to be lowercased for linux.
6787114237SnjlDoubled the number of symbols that are lowercased.
6788114237Snjl
6789114237SnjlFixed a problem where identifiers within procedure headers and
6790114237Snjlwithin quotes were not fully lower cased (they were left with a
6791114237Snjlstarting capital.)
6792114237Snjl
6793114237SnjlSome C macros whose only purpose is to allow the generation of 16-
6794114237Snjlbit code are now completely removed in the Linux code, increasing
6795114237Snjlreadability and maintainability.
6796114237Snjl
6797114237Snjl----------------------------------------
6798114237Snjl
6799114237Snjl12 December 2002.  Summary of changes for version 20021212.
6800114237Snjl
6801114237Snjl
6802114237Snjl1) ACPI CA Core Subsystem:
6803114237Snjl
6804114237SnjlFixed a problem where the creation of a zero-length AML Buffer
6805114237Snjlwould cause a fault.
6806114237Snjl
6807193267SjkimFixed a problem where a Buffer object that pointed to a static AML
6808126372Snjlbuffer (in an ACPI table) could inadvertently be deleted, causing
6809126372Snjlmemory corruption.
6810114237Snjl
6811114237SnjlFixed a problem where a user buffer (passed in to the external
6812114237SnjlACPI CA interfaces) could be overwritten if the buffer was too
6813114237Snjlsmall to complete the operation, causing memory corruption.
6814114237Snjl
6815114237SnjlFixed a problem in the Buffer-to-String conversion code where a
6816114237Snjlstring of length one was always returned, regardless of the size
6817114237Snjlof the input Buffer object.
6818114237Snjl
6819114237SnjlRemoved the NATIVE_CHAR data type across the entire source due to
6820114237Snjllack of need and lack of consistent use.
6821114237Snjl
6822193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6823126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6824126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6825126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6826126372Snjlversion of the code includes the debug output trace mechanism and
6827193267Sjkimhas a much larger code and data size.  Note that these values will
6828126372Snjlvary depending on the efficiency of the compiler and the compiler
6829126372Snjloptions used during generation.
6830114237Snjl
6831114237Snjl  Previous Release
6832114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
6833114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
6834114237Snjl  Current Release:
6835114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6836114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6837114237Snjl
6838114237Snjl
6839114237Snjl----------------------------------------
6840114237Snjl05 December 2002.  Summary of changes for version 20021205.
6841114237Snjl
6842114237Snjl1) ACPI CA Core Subsystem:
6843114237Snjl
6844114237SnjlFixed a problem where a store to a String or Buffer object could
6845114237Snjlcause corruption of the DSDT if the object type being stored was
6846114237Snjlthe same as the target object type and the length of the object
6847114237Snjlbeing stored was equal to or smaller than the original (existing)
6848114237Snjltarget object.  This was seen to cause corruption of battery _BIF
6849114237Snjlbuffers if the _BIF method modified the buffer on the fly.
6850114237Snjl
6851193267SjkimFixed a problem where an internal error was generated if a control
6852126372Snjlmethod invocation was used in an OperationRegion, Buffer, or
6853126372SnjlPackage declaration.  This was caused by the deferred parsing of
6854126372Snjlthe control method and thus the deferred creation of the internal
6855126372Snjlmethod object.  The solution to this problem was to create the
6856126372Snjlinternal method object at the moment the method is encountered in
6857126372Snjlthe first pass - so that subsequent references to the method will
6858126372Snjlable to obtain the required parameter count and thus properly
6859126372Snjlparse the method invocation.  This problem presented itself as an
6860126372SnjlAE_AML_INTERNAL during the pass 1 parse phase during table load.
6861114237Snjl
6862114237SnjlFixed a problem where the internal String object copy routine did
6863193267Sjkimnot always allocate sufficient memory for the target String object
6864126372Snjland caused memory corruption.  This problem was seen to cause
6865126372Snjl"Allocation already present in list!" errors as memory allocation
6866126372Snjlbecame corrupted.
6867114237Snjl
6868193267SjkimImplemented a new function for the evaluation of namespace objects
6869126372Snjlthat allows the specification of the allowable return object
6870126372Snjltypes.  This simplifies a lot of code that checks for a return
6871126372Snjlobject of one or more specific objects returned from the
6872114237Snjlevaluation (such as _STA, etc.)  This may become and external
6873114237Snjlfunction if it would be useful to ACPI-related drivers.
6874114237Snjl
6875114237SnjlCompleted another round of prefixing #defines with "ACPI_" for
6876114237Snjlclarity.
6877114237Snjl
6878114237SnjlCompleted additional code restructuring to allow more modular
6879114237Snjllinking for iASL compiler and AcpiExec.  Several files were split
6880114237Snjlcreating new files.  New files:  nsparse.c dsinit.c evgpe.c
6881114237Snjl
6882114237SnjlImplemented an abort mechanism to terminate an executing control
6883193267Sjkimmethod via the AML debugger.  This feature is useful for debugging
6884126372Snjlcontrol methods that depend (wait) for specific hardware
6885126372Snjlresponses.
6886114237Snjl
6887193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6888126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6889126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6890126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6891126372Snjlversion of the code includes the debug output trace mechanism and
6892193267Sjkimhas a much larger code and data size.  Note that these values will
6893126372Snjlvary depending on the efficiency of the compiler and the compiler
6894126372Snjloptions used during generation.
6895114237Snjl
6896114237Snjl  Previous Release
6897114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
6898114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
6899114237Snjl  Current Release:
6900114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
6901114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
6902114237Snjl
6903114237Snjl
6904114237Snjl2) iASL Compiler/Disassembler
6905114237Snjl
6906114237SnjlFixed a compiler code generation problem for "Interrupt" Resource
6907114237SnjlDescriptors.  If specified in the ASL, the optional "Resource
6908114237SnjlSource Index" and "Resource Source" fields were not inserted into
6909114237Snjlthe correct location within the AML resource descriptor, creating
6910114237Snjlan invalid descriptor.
6911114237Snjl
6912193267SjkimFixed a disassembler problem for "Interrupt" resource descriptors.
6913126372SnjlThe optional "Resource Source Index" and "Resource Source" fields
6914126372Snjlwere ignored.
6915114237Snjl
6916114237Snjl
6917114237Snjl----------------------------------------
6918114237Snjl22 November 2002.  Summary of changes for version 20021122.
6919114237Snjl
6920114237Snjl
6921114237Snjl1) ACPI CA Core Subsystem:
6922114237Snjl
6923114237SnjlFixed a reported problem where an object stored to a Method Local
6924114237Snjlor Arg was not copied to a new object during the store - the
6925114237Snjlobject pointer was simply copied to the Local/Arg.  This caused
6926114237Snjlall subsequent operations on the Local/Arg to also affect the
6927114237Snjloriginal source of the store operation.
6928114237Snjl
6929114237SnjlFixed a problem where a store operation to a Method Local or Arg
6930114237Snjlwas not completed properly if the Local/Arg contained a reference
6931114237Snjl(from RefOf) to a named field.  The general-purpose store-to-
6932114237Snjlnamespace-node code is now used so that this case is handled
6933114237Snjlautomatically.
6934114237Snjl
6935193267SjkimFixed a problem where the internal object copy routine would cause
6936126372Snjla protection fault if the object being copied was a Package and
6937126372Snjlcontained either 1) a NULL package element or 2) a nested sub-
6938114237Snjlpackage.
6939114237Snjl
6940114237SnjlFixed a problem with the GPE initialization that resulted from an
6941114237Snjlambiguity in the ACPI specification.  One section of the
6942114237Snjlspecification states that both the address and length of the GPE
6943193267Sjkimblock must be zero if the block is not supported.  Another section
6944126372Snjlimplies that only the address need be zero if the block is not
6945193267Sjkimsupported.  The code has been changed so that both the address and
6946126372Snjlthe length must be non-zero to indicate a valid GPE block (i.e.,
6947126372Snjlif either the address or the length is zero, the GPE block is
6948126372Snjlinvalid.)
6949114237Snjl
6950193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6951126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6952126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6953126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6954126372Snjlversion of the code includes the debug output trace mechanism and
6955193267Sjkimhas a much larger code and data size.  Note that these values will
6956126372Snjlvary depending on the efficiency of the compiler and the compiler
6957126372Snjloptions used during generation.
6958114237Snjl
6959114237Snjl  Previous Release
6960114237Snjl    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
6961114237Snjl    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
6962114237Snjl  Current Release:
6963114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
6964114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
6965114237Snjl
6966114237Snjl
6967114237Snjl2) Linux
6968114237Snjl
6969114237SnjlCleaned up EC driver. Exported an external EC read/write
6970114237Snjlinterface. By going through this, other drivers (most notably
6971114237Snjlsonypi) will be able to serialize access to the EC.
6972114237Snjl
6973114237Snjl
6974114237Snjl3) iASL Compiler/Disassembler
6975114237Snjl
6976114237SnjlImplemented support to optionally generate include files for both
6977114237SnjlASM and C (the -i switch).  This simplifies BIOS development by
6978114237Snjlautomatically creating include files that contain external
6979114237Snjldeclarations for the symbols that are created within the
6980167802Sjkim
6981114237Snjl(optionally generated) ASM and C AML source files.
6982114237Snjl
6983114237Snjl
6984114237Snjl----------------------------------------
6985107325Siwasaki15 November 2002.  Summary of changes for version 20021115.
6986104470Siwasaki
6987107325Siwasaki1) ACPI CA Core Subsystem:
6988107325Siwasaki
6989114237SnjlFixed a memory leak problem where an error during resolution of
6990167802Sjkim
6991114237Snjlmethod arguments during a method invocation from another method
6992114237Snjlfailed to cleanup properly by deleting all successfully resolved
6993114237Snjlargument objects.
6994107325Siwasaki
6995114237SnjlFixed a problem where the target of the Index() operator was not
6996114237Snjlcorrectly constructed if the source object was a package.  This
6997114237Snjlproblem has not been detected because the use of a target operand
6998114237Snjlwith Index() is very rare.
6999107325Siwasaki
7000107325SiwasakiFixed a problem with the Index() operator where an attempt was
7001107325Siwasakimade to delete the operand objects twice.
7002107325Siwasaki
7003107325SiwasakiFixed a problem where an attempt was made to delete an operand
7004114237Snjltwice during execution of the CondRefOf() operator if the target
7005114237Snjldid not exist.
7006107325Siwasaki
7007114237SnjlImplemented the first of perhaps several internal create object
7008193267Sjkimfunctions that create and initialize a specific object type.  This
7009126372Snjlconsolidates duplicated code wherever the object is created, thus
7010126372Snjlshrinking the size of the subsystem.
7011107325Siwasaki
7012114237SnjlImplemented improved debug/error messages for errors that occur
7013114237Snjlduring nested method invocations.  All executing method pathnames
7014193267Sjkimare displayed (with the error) as the call stack is unwound - thus
7015126372Snjlsimplifying debug.
7016107325Siwasaki
7017107325SiwasakiFixed a problem introduced in the 10/02 release that caused
7018114237Snjlpremature deletion of a buffer object if a buffer was used as an
7019114237SnjlASL operand where an integer operand is required (Thus causing an
7020193267Sjkimimplicit object conversion from Buffer to Integer.)  The change in
7021126372Snjlthe 10/02 release was attempting to fix a memory leak (albeit
7022114237Snjlincorrectly.)
7023107325Siwasaki
7024193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7025126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7026126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7027126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7028126372Snjlversion of the code includes the debug output trace mechanism and
7029193267Sjkimhas a much larger code and data size.  Note that these values will
7030126372Snjlvary depending on the efficiency of the compiler and the compiler
7031126372Snjloptions used during generation.
7032107325Siwasaki
7033107325Siwasaki  Previous Release
7034107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7035107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7036107325Siwasaki  Current Release:
7037107325Siwasaki    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7038107325Siwasaki    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7039107325Siwasaki
7040107325Siwasaki
7041107325Siwasaki2) Linux
7042107325Siwasaki
7043114237SnjlChanged the implementation of the ACPI semaphores to use down()
7044114237Snjlinstead of down_interruptable().  It is important that the
7045114237Snjlexecution of ACPI control methods not be interrupted by signals.
7046114237SnjlMethods must run to completion, or the system may be left in an
7047114237Snjlunknown/unstable state.
7048107325Siwasaki
7049193267SjkimFixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7050126372Snjl(Shawn Starr)
7051107325Siwasaki
7052107325Siwasaki
7053107325Siwasaki3) iASL Compiler/Disassembler
7054107325Siwasaki
7055107325Siwasaki
7056114237SnjlChanged the default location of output files.  All output files
7057114237Snjlare now placed in the current directory by default instead of in
7058114237Snjlthe directory of the source file.  This change may affect some
7059114237Snjlexisting makefiles, but it brings the behavior of the compiler in
7060114237Snjlline with other similar tools.  The location of the output files
7061114237Snjlcan be overridden with the -p command line switch.
7062107325Siwasaki
7063114237Snjl
7064107325Siwasaki----------------------------------------
7065107325Siwasaki11 November 2002.  Summary of changes for version 20021111.
7066107325Siwasaki
7067107325Siwasaki
7068114237Snjl0) ACPI Specification 2.0B is released and is now available at:
7069114237Snjlhttp://www.acpi.info/index.html
7070107325Siwasaki
7071107325Siwasaki
7072107325Siwasaki1) ACPI CA Core Subsystem:
7073107325Siwasaki
7074107325SiwasakiImplemented support for the ACPI 2.0 SMBus Operation Regions.
7075114237SnjlThis includes the early detection and handoff of the request to
7076114237Snjlthe SMBus region handler (avoiding all of the complex field
7077107325Siwasakisupport code), and support for the bidirectional return packet
7078107325Siwasakifrom an SMBus write operation.  This paves the way for the
7079107325Siwasakidevelopment of SMBus drivers in each host operating system.
7080107325Siwasaki
7081107325SiwasakiFixed a problem where the semaphore WAIT_FOREVER constant was
7082107325Siwasakidefined as 32 bits, but must be 16 bits according to the ACPI
7083107325Siwasakispecification.  This had the side effect of causing ASL
7084107325SiwasakiMutex/Event timeouts even though the ASL code requested a wait
7085107325Siwasakiforever.  Changed all internal references to the ACPI timeout
7086193267Sjkimparameter to 16 bits to prevent future problems.  Changed the name
7087126372Snjlof WAIT_FOREVER to ACPI_WAIT_FOREVER.
7088107325Siwasaki
7089193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7090126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7091126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7092126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7093126372Snjlversion of the code includes the debug output trace mechanism and
7094193267Sjkimhas a much larger code and data size.  Note that these values will
7095126372Snjlvary depending on the efficiency of the compiler and the compiler
7096126372Snjloptions used during generation.
7097107325Siwasaki
7098107325Siwasaki  Previous Release
7099107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7100107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7101107325Siwasaki  Current Release:
7102107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7103107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7104107325Siwasaki
7105107325Siwasaki
7106107325Siwasaki2) Linux
7107107325Siwasaki
7108107325SiwasakiModule loading/unloading fixes (John Cagle)
7109107325Siwasaki
7110107325Siwasaki
7111107325Siwasaki3) iASL Compiler/Disassembler
7112107325Siwasaki
7113107325SiwasakiAdded support for the SMBBlockProcessCall keyword (ACPI 2.0)
7114107325Siwasaki
7115107325SiwasakiImplemented support for the disassembly of all SMBus protocol
7116107325Siwasakikeywords (SMBQuick, SMBWord, etc.)
7117107325Siwasaki
7118107325Siwasaki----------------------------------------
7119107325Siwasaki01 November 2002.  Summary of changes for version 20021101.
7120107325Siwasaki
7121107325Siwasaki
7122107325Siwasaki1) ACPI CA Core Subsystem:
7123107325Siwasaki
7124193267SjkimFixed a problem where platforms that have a GPE1 block but no GPE0
7125126372Snjlblock were not handled correctly.  This resulted in a "GPE
7126114237Snjloverlap" error message.  GPE0 is no longer required.
7127107325Siwasaki
7128107325SiwasakiRemoved code added in the previous release that inserted nodes
7129114237Snjlinto the namespace in alphabetical order.  This caused some side-
7130114237Snjleffects on various machines.  The root cause of the problem is
7131114237Snjlstill under investigation since in theory, the internal ordering
7132114237Snjlof the namespace nodes should not matter.
7133107325Siwasaki
7134107325Siwasaki
7135114237SnjlEnhanced error reporting for the case where a named object is not
7136114237Snjlfound during control method execution.  The full ACPI namepath
7137114237Snjl(name reference) of the object that was not found is displayed in
7138114237Snjlthis case.
7139107325Siwasaki
7140193267SjkimNote: as a result of the overhaul of the namespace object types in
7141126372Snjlthe previous release, the namespace nodes for the predefined
7142114237Snjlscopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
7143114237Snjlinstead of ACPI_TYPE_ANY.  This simplifies the namespace
7144114237Snjlmanagement code but may affect code that walks the namespace tree
7145114237Snjllooking for specific object types.
7146114237Snjl
7147193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7148126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7149126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7150126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7151126372Snjlversion of the code includes the debug output trace mechanism and
7152193267Sjkimhas a much larger code and data size.  Note that these values will
7153126372Snjlvary depending on the efficiency of the compiler and the compiler
7154126372Snjloptions used during generation.
7155107325Siwasaki
7156107325Siwasaki  Previous Release
7157107325Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7158107325Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7159107325Siwasaki  Current Release:
7160107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7161107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7162107325Siwasaki
7163107325Siwasaki
7164107325Siwasaki2) Linux
7165107325Siwasaki
7166107325SiwasakiFixed a problem introduced in the previous release where the
7167193267SjkimProcessor and Thermal objects were not recognized and installed in
7168193267Sjkim/proc.  This was related to the scope type change described above.
7169107325Siwasaki
7170107325Siwasaki
7171107325Siwasaki3) iASL Compiler/Disassembler
7172107325Siwasaki
7173114237SnjlImplemented the -g option to get all of the required ACPI tables
7174114237Snjlfrom the registry and save them to files (Windows version of the
7175193267Sjkimcompiler only.)  The required tables are the FADT, FACS, and DSDT.
7176107325Siwasaki
7177114237SnjlAdded ACPI table checksum validation during table disassembly in
7178114237Snjlorder to catch corrupted tables.
7179107325Siwasaki
7180107325Siwasaki
7181107325Siwasaki----------------------------------------
7182107325Siwasaki22 October 2002.  Summary of changes for version 20021022.
7183107325Siwasaki
7184107325Siwasaki1) ACPI CA Core Subsystem:
7185107325Siwasaki
7186114237SnjlImplemented a restriction on the Scope operator that the target
7187114237Snjlmust already exist in the namespace at the time the operator is
7188114237Snjlencountered (during table load or method execution).  In other
7189114237Snjlwords, forward references are not allowed and Scope() cannot
7190114237Snjlcreate a new object. This changes the previous behavior where the
7191193267Sjkiminterpreter would create the name if not found.  This new behavior
7192126372Snjlcorrectly enables the search-to-root algorithm during namespace
7193126372Snjllookup of the target name.  Because of this upsearch, this fixes
7194126372Snjlthe known Compaq _SB_.OKEC problem and makes both the AML
7195126372Snjlinterpreter and iASL compiler compatible with other ACPI
7196114237Snjlimplementations.
7197107325Siwasaki
7198114237SnjlCompleted a major overhaul of the internal ACPI object types for
7199114237Snjlthe ACPI Namespace and the associated operand objects.  Many of
7200114237Snjlthese types had become obsolete with the introduction of the two-
7201114237Snjlpass namespace load.  This cleanup simplifies the code and makes
7202114237Snjlthe entire namespace load mechanism much clearer and easier to
7203114237Snjlunderstand.
7204107325Siwasaki
7205114237SnjlImproved debug output for tracking scope opening/closing to help
7206114237Snjldiagnose scoping issues.  The old scope name as well as the new
7207114237Snjlscope name are displayed.  Also improved error messages for
7208114237Snjlproblems with ASL Mutex objects and error messages for GPE
7209114237Snjlproblems.
7210107325Siwasaki
7211107325SiwasakiCleaned up the namespace dump code, removed obsolete code.
7212107325Siwasaki
7213114237SnjlAll string output (for all namespace/object dumps) now uses the
7214193267Sjkimcommon ACPI string output procedure which handles escapes properly
7215126372Snjland does not emit non-printable characters.
7216107325Siwasaki
7217107325SiwasakiFixed some issues with constants in the 64-bit version of the
7218107325Siwasakilocal C library (utclib.c)
7219107325Siwasaki
7220107325Siwasaki
7221107325Siwasaki2) Linux
7222107325Siwasaki
7223107325SiwasakiEC Driver:  No longer attempts to acquire the Global Lock at
7224107325Siwasakiinterrupt level.
7225107325Siwasaki
7226107325Siwasaki
7227107325Siwasaki3) iASL Compiler/Disassembler
7228107325Siwasaki
7229193267SjkimImplemented ACPI 2.0B grammar change that disallows all Type 1 and
7230126372Snjl2 opcodes outside of a control method.  This means that the
7231114237Snjl"executable" operators (versus the "namespace" operators) cannot
7232193267Sjkimbe used at the table level; they can only be used within a control
7233126372Snjlmethod.
7234107325Siwasaki
7235107325SiwasakiImplemented the restriction on the Scope() operator where the
7236107325Siwasakitarget must already exist in the namespace at the time the
7237114237Snjloperator is encountered (during ASL compilation). In other words,
7238193267Sjkimforward references are not allowed and Scope() cannot create a new
7239126372Snjlobject.  This makes the iASL compiler compatible with other ACPI
7240193267Sjkimimplementations and makes the Scope() implementation adhere to the
7241126372SnjlACPI specification.
7242107325Siwasaki
7243193267SjkimFixed a problem where namepath optimization for the Alias operator
7244193267Sjkimwas optimizing the wrong path (of the two namepaths.)  This caused
7245126372Snjla "Missing alias link" error message.
7246107325Siwasaki
7247114237SnjlFixed a problem where an "unknown reserved name" warning could be
7248114237Snjlincorrectly generated for names like "_SB" when the trailing
7249114237Snjlunderscore is not used in the original ASL.
7250107325Siwasaki
7251107325SiwasakiFixed a problem where the reserved name check did not handle
7252114237SnjlNamePaths with multiple NameSegs correctly.  The first nameseg of
7253114237Snjlthe NamePath was examined instead of the last NameSeg.
7254107325Siwasaki
7255107325Siwasaki
7256107325Siwasaki----------------------------------------
7257107325Siwasaki
7258104470Siwasaki02 October 2002.  Summary of changes for this release.
7259104470Siwasaki
7260104470Siwasaki
7261104470Siwasaki1) ACPI CA Core Subsystem version 20021002:
7262104470Siwasaki
7263104470SiwasakiFixed a problem where a store/copy of a string to an existing
7264193267Sjkimstring did not always set the string length properly in the String
7265126372Snjlobject.
7266104470Siwasaki
7267104470SiwasakiFixed a reported problem with the ToString operator where the
7268193267Sjkimbehavior was identical to the ToHexString operator instead of just
7269126372Snjlsimply converting a raw buffer to a string data type.
7270104470Siwasaki
7271104470SiwasakiFixed a problem where CopyObject and the other "explicit"
7272193267Sjkimconversion operators were not updating the internal namespace node
7273126372Snjltype as part of the store operation.
7274104470Siwasaki
7275104470SiwasakiFixed a memory leak during implicit source operand conversion
7276193267Sjkimwhere the original object was not deleted if it was converted to a
7277126372Snjlnew object of a different type.
7278104470Siwasaki
7279193267SjkimEnhanced error messages for all problems associated with namespace
7280193267Sjkimlookups.  Common procedure generates and prints the lookup name as
7281126372Snjlwell as the formatted status.
7282104470Siwasaki
7283104470SiwasakiCompleted implementation of a new design for the Alias support
7284193267Sjkimwithin the namespace.  The existing design did not handle the case
7285193267Sjkimwhere a new object was assigned to one of the two names due to the
7286193267Sjkimuse of an explicit conversion operator, resulting in the two names
7287126372Snjlpointing to two different objects.  The new design simply points
7288126372Snjlthe Alias name to the original name node - not to the object.
7289193267SjkimThis results in a level of indirection that must be handled in the
7290126372Snjlname resolution mechanism.
7291104470Siwasaki
7292193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7293126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7294126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7295126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7296126372Snjlversion of the code includes the debug output trace mechanism and
7297193267Sjkimhas a larger code and data size.  Note that these values will vary
7298126372Snjldepending on the efficiency of the compiler and the compiler
7299126372Snjloptions used during generation.
7300104470Siwasaki
7301104470Siwasaki  Previous Release
7302104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7303104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7304104470Siwasaki  Current Release:
7305104470Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7306104470Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7307104470Siwasaki
7308104470Siwasaki
7309104470Siwasaki2) Linux
7310104470Siwasaki
7311104470SiwasakiInitialize thermal driver's timer before it is used. (Knut
7312104470SiwasakiNeumann)
7313104470Siwasaki
7314104470SiwasakiAllow handling negative celsius values. (Kochi Takayoshi)
7315104470Siwasaki
7316114237SnjlFix thermal management and make trip points. R/W (Pavel Machek)
7317104470Siwasaki
7318104470SiwasakiFix /proc/acpi/sleep. (P. Christeas)
7319104470Siwasaki
7320104470SiwasakiIA64 fixes. (David Mosberger)
7321104470Siwasaki
7322104470SiwasakiFix reversed logic in blacklist code. (Sergio Monteiro Basto)
7323104470Siwasaki
7324104470SiwasakiReplace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
7325104470SiwasakiBrodowski)
7326104470Siwasaki
7327104470Siwasaki
7328104470Siwasaki3) iASL Compiler/Disassembler
7329104470Siwasaki
7330104470SiwasakiClarified some warning/error messages.
7331104470Siwasaki
7332104470Siwasaki
7333104470Siwasaki----------------------------------------
7334104470Siwasaki18 September 2002.  Summary of changes for this release.
7335104470Siwasaki
7336104470Siwasaki
7337104470Siwasaki1) ACPI CA Core Subsystem version 20020918:
7338104470Siwasaki
7339114237SnjlFixed a reported problem with reference chaining (via the Index()
7340193267Sjkimand RefOf() operators) in the ObjectType() and SizeOf() operators.
7341126372SnjlThe definition of these operators includes the dereferencing of
7342126372Snjlall chained references to return information on the base object.
7343104470Siwasaki
7344104470SiwasakiFixed a problem with stores to indexed package elements - the
7345104470Siwasakiexisting code would not complete the store if an "implicit
7346114237Snjlconversion" was not performed.  In other words, if the existing
7347114237Snjlobject (package element) was to be replaced completely, the code
7348114237Snjldidn't handle this case.
7349104470Siwasaki
7350104470SiwasakiRelaxed typechecking on the ASL "Scope" operator to allow the
7351104470Siwasakitarget name to refer to an object of type Integer, String, or
7352104470SiwasakiBuffer, in addition to the scoping object types (Device,
7353104470Siwasakipredefined Scopes, Processor, PowerResource, and ThermalZone.)
7354114237SnjlThis allows existing AML code that has workarounds for a bug in
7355193267SjkimWindows to function properly.  A warning is issued, however.  This
7356126372Snjlaffects both the AML interpreter and the iASL compiler. Below is
7357126372Snjlan example of this type of ASL code:
7358104470Siwasaki
7359104470Siwasaki      Name(DEB,0x00)
7360104470Siwasaki      Scope(DEB)
7361104470Siwasaki      {
7362104470Siwasaki
7363114237SnjlFixed some reported problems with 64-bit integer support in the
7364114237Snjllocal implementation of C library functions (clib.c)
7365104470Siwasaki
7366104470Siwasaki
7367104470Siwasaki2) Linux
7368104470Siwasaki
7369104470SiwasakiUse ACPI fix map region instead of IOAPIC region, since it is
7370104470Siwasakiundefined in non-SMP.
7371104470Siwasaki
7372114237SnjlEnsure that the SCI has the proper polarity and trigger, even on
7373114237Snjlsystems that do not have an interrupt override entry in the MADT.
7374104470Siwasaki
7375104470Siwasaki2.5 big driver reorganization (Pat Mochel)
7376104470Siwasaki
7377104470SiwasakiUse early table mapping code from acpitable.c (Andi Kleen)
7378104470Siwasaki
7379104470SiwasakiNew blacklist entries (Andi Kleen)
7380104470Siwasaki
7381114237SnjlBlacklist improvements. Split blacklist code out into a separate
7382114237Snjlfile. Move checking the blacklist to very early. Previously, we
7383114237Snjlwould use ACPI tables, and then halfway through init, check the
7384114237Snjlblacklist -- too late. Now, it's early enough to completely fall-
7385114237Snjlback to non-ACPI.
7386104470Siwasaki
7387104470Siwasaki
7388104470Siwasaki3) iASL Compiler/Disassembler version 20020918:
7389104470Siwasaki
7390114237SnjlFixed a problem where the typechecking code didn't know that an
7391114237Snjlalias could point to a method.  In other words, aliases were not
7392114237Snjlbeing dereferenced during typechecking.
7393104470Siwasaki
7394104470Siwasaki
7395104470Siwasaki----------------------------------------
7396104470Siwasaki29 August 2002.  Summary of changes for this release.
7397104470Siwasaki
7398104470Siwasaki1) ACPI CA Core Subsystem Version 20020829:
7399104470Siwasaki
7400114237SnjlIf the target of a Scope() operator already exists, it must be an
7401114237Snjlobject type that actually opens a scope -- such as a Device,
7402193267SjkimMethod, Scope, etc.  This is a fatal runtime error.  Similar error
7403126372Snjlcheck has been added to the iASL compiler also.
7404104470Siwasaki
7405114237SnjlTightened up the namespace load to disallow multiple names in the
7406114237Snjlsame scope.  This previously was allowed if both objects were of
7407114237Snjlthe same type.  (i.e., a lookup was the same as entering a new
7408114237Snjlname).
7409104470Siwasaki
7410104470Siwasaki
7411104470Siwasaki2) Linux
7412104470Siwasaki
7413104470SiwasakiEnsure that the ACPI interrupt has the proper trigger and
7414104470Siwasakipolarity.
7415104470Siwasaki
7416104470Siwasakilocal_irq_disable is extraneous. (Matthew Wilcox)
7417104470Siwasaki
7418104470SiwasakiMake "acpi=off" actually do what it says, and not use the ACPI
7419104470Siwasakiinterpreter *or* the tables.
7420104470Siwasaki
7421193267SjkimAdded arch-neutral support for parsing SLIT and SRAT tables (Kochi
7422126372SnjlTakayoshi)
7423104470Siwasaki
7424104470Siwasaki
7425104470Siwasaki3) iASL Compiler/Disassembler  Version 20020829:
7426104470Siwasaki
7427104470SiwasakiImplemented namepath optimization for name declarations.  For
7428104470Siwasakiexample, a declaration like "Method (\_SB_.ABCD)" would get
7429104470Siwasakioptimized to "Method (ABCD)" if the declaration is within the
7430104470Siwasaki\_SB_ scope.  This optimization is in addition to the named
7431104470Siwasakireference path optimization first released in the previous
7432114237Snjlversion. This would seem to complete all possible optimizations
7433114237Snjlfor namepaths within the ASL/AML.
7434104470Siwasaki
7435114237SnjlIf the target of a Scope() operator already exists, it must be an
7436114237Snjlobject type that actually opens a scope -- such as a Device,
7437114237SnjlMethod, Scope, etc.
7438104470Siwasaki
7439114237SnjlImplemented a check and warning for unreachable code in the same
7440114237Snjlblock below a Return() statement.
7441104470Siwasaki
7442114237SnjlFixed a problem where the listing file was not generated if the
7443114237Snjlcompiler aborted if the maximum error count was exceeded (200).
7444104470Siwasaki
7445193267SjkimFixed a problem where the typechecking of method return values was
7446126372Snjlbroken.  This includes the check for a return value when the
7447114237Snjlmethod is invoked as a TermArg (a return value is expected.)
7448104470Siwasaki
7449104470SiwasakiFixed a reported problem where EOF conditions during a quoted
7450104470Siwasakistring or comment caused a fault.
7451104470Siwasaki
7452104470Siwasaki
7453104470Siwasaki----------------------------------------
7454102550Siwasaki15 August 2002.  Summary of changes for this release.
7455102550Siwasaki
7456102550Siwasaki1) ACPI CA Core Subsystem Version 20020815:
7457102550Siwasaki
7458114237SnjlFixed a reported problem where a Store to a method argument that
7459193267Sjkimcontains a reference did not perform the indirect store correctly.
7460126372SnjlThis problem was created during the conversion to the new
7461126372Snjlreference object model - the indirect store to a method argument
7462126372Snjlcode was not updated to reflect the new model.
7463102550Siwasaki
7464114237SnjlReworked the ACPI mode change code to better conform to ACPI 2.0,
7465193267Sjkimhandle corner cases, and improve code legibility (Kochi Takayoshi)
7466102550Siwasaki
7467102550SiwasakiFixed a problem with the pathname parsing for the carat (^)
7468114237Snjlprefix.  The heavy use of the carat operator by the new namepath
7469193267Sjkimoptimization in the iASL compiler uncovered a problem with the AML
7470126372Snjlinterpreter handling of this prefix.  In the case where one or
7471126372Snjlmore carats precede a single nameseg, the nameseg was treated as
7472126372Snjlstandalone and the search rule (to root) was inadvertently
7473114237Snjlapplied.  This could cause both the iASL compiler and the
7474114237Snjlinterpreter to find the wrong object or to miss the error that
7475114237Snjlshould occur if the object does not exist at that exact pathname.
7476102550Siwasaki
7477114237SnjlFound and fixed the problem where the HP Pavilion DSDT would not
7478193267Sjkimload.  This was a relatively minor tweak to the table loading code
7479126372Snjl(a problem caused by the unexpected encounter with a method
7480193267Sjkiminvocation not within a control method), but it does not solve the
7481126372Snjloverall issue of the execution of AML code at the table level.
7482126372SnjlThis investigation is still ongoing.
7483102550Siwasaki
7484193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7485126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7486126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7487126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7488126372Snjlversion of the code includes the debug output trace mechanism and
7489193267Sjkimhas a larger code and data size.  Note that these values will vary
7490126372Snjldepending on the efficiency of the compiler and the compiler
7491126372Snjloptions used during generation.
7492102550Siwasaki
7493102550Siwasaki  Previous Release
7494104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7495104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7496102550Siwasaki  Current Release:
7497104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7498104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7499102550Siwasaki
7500102550Siwasaki
7501102550Siwasaki2) Linux
7502102550Siwasaki
7503102550SiwasakiRemove redundant slab.h include (Brad Hards)
7504102550Siwasaki
7505102550SiwasakiFix several bugs in thermal.c (Herbert Nachtnebel)
7506102550Siwasaki
7507102550SiwasakiMake CONFIG_ACPI_BOOT work properly (Pavel Machek)
7508102550Siwasaki
7509104470SiwasakiChange acpi_system_suspend to use updated irq functions (Pavel
7510104470SiwasakiMachek)
7511102550Siwasaki
7512102550SiwasakiExport acpi_get_firmware_table (Matthew Wilcox)
7513102550Siwasaki
7514102550SiwasakiUse proper root proc entry for ACPI (Kochi Takayoshi)
7515102550Siwasaki
7516102550SiwasakiFix early-boot table parsing (Bjorn Helgaas)
7517102550Siwasaki
7518102550Siwasaki
7519102550Siwasaki3) iASL Compiler/Disassembler
7520102550Siwasaki
7521114237SnjlReworked the compiler options to make them more consistent and to
7522114237Snjluse two-letter options where appropriate.  We were running out of
7523114237Snjlsensible letters.   This may break some makefiles, so check the
7524114237Snjlcurrent options list by invoking the compiler with no parameters.
7525102550Siwasaki
7526102550SiwasakiCompleted the design and implementation of the ASL namepath
7527114237Snjloptimization option for the compiler.  This option optimizes all
7528114237Snjlreferences to named objects to the shortest possible path.  The
7529193267Sjkimfirst attempt tries to utilize a single nameseg (4 characters) and
7530126372Snjlthe "search-to-root" algorithm used by the interpreter.  If that
7531126372Snjlcannot be used (because either the name is not in the search path
7532126372Snjlor there is a conflict with another object with the same name),
7533126372Snjlthe pathname is optimized using the carat prefix (usually a
7534126372Snjlshorter string than specifying the entire path from the root.)
7535102550Siwasaki
7536114237SnjlImplemented support to obtain the DSDT from the Windows registry
7537114237Snjl(when the disassembly option is specified with no input file).
7538114237SnjlAdded this code as the implementation for AcpiOsTableOverride in
7539114237Snjlthe Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
7540114237Snjlutility) to scan memory for the DSDT to the AcpiOsTableOverride
7541114237Snjlfunction in the DOS OSL to make the disassembler truly OS
7542114237Snjlindependent.
7543102550Siwasaki
7544114237SnjlImplemented a new option to disassemble and compile in one step.
7545114237SnjlWhen used without an input filename, this option will grab the
7546193267SjkimDSDT from the local machine, disassemble it, and compile it in one
7547126372Snjlstep.
7548102550Siwasaki
7549114237SnjlAdded a warning message for invalid escapes (a backslash followed
7550114237Snjlby any character other than the allowable escapes).  This catches
7551114237Snjlthe quoted string error "\_SB_" (which should be "\\_SB_" ).
7552167802Sjkim
7553193267SjkimAlso, there are numerous instances in the ACPI specification where
7554126372Snjlthis error occurs.
7555102550Siwasaki
7556104470SiwasakiAdded a compiler option to disable all optimizations.  This is
7557114237Snjlbasically the "compatibility mode" because by using this option,
7558114237Snjlthe AML code will come out exactly the same as other ASL
7559114237Snjlcompilers.
7560102550Siwasaki
7561114237SnjlAdded error messages for incorrectly ordered dependent resource
7562114237Snjlfunctions.  This includes: missing EndDependentFn macro at end of
7563114237Snjldependent resource list, nested dependent function macros (both
7564114237Snjlstart and end), and missing StartDependentFn macro.  These are
7565114237Snjlcommon errors that should be caught at compile time.
7566102550Siwasaki
7567114237SnjlImplemented _OSI support for the disassembler and compiler.  _OSI
7568114237Snjlmust be included in the namespace for proper disassembly (because
7569114237Snjlthe disassembler must know the number of arguments.)
7570102550Siwasaki
7571104470SiwasakiAdded an "optimization" message type that is optional (off by
7572114237Snjldefault).  This message is used for all optimizations - including
7573193267Sjkimconstant folding, integer optimization, and namepath optimization.
7574102550Siwasaki
7575102550Siwasaki----------------------------------------
7576102550Siwasaki25 July 2002.  Summary of changes for this release.
7577102550Siwasaki
7578102550Siwasaki
7579102550Siwasaki1) ACPI CA Core Subsystem Version 20020725:
7580102550Siwasaki
7581114237SnjlThe AML Disassembler has been enhanced to produce compilable ASL
7582193267Sjkimcode and has been integrated into the iASL compiler (see below) as
7583126372Snjlwell as the single-step disassembly for the AML debugger and the
7584126372Snjldisassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
7585126372Snjlresource templates and macros are fully supported.  The
7586114237Snjldisassembler has been tested on over 30 different AML files,
7587114237Snjlproducing identical AML when the resulting disassembled ASL file
7588114237Snjlis recompiled with the same ASL compiler.
7589102550Siwasaki
7590114237SnjlModified the Resource Manager to allow zero interrupts and zero
7591114237Snjldma channels during the GetCurrentResources call.  This was
7592114237Snjlcausing problems on some platforms.
7593102550Siwasaki
7594114237SnjlAdded the AcpiOsRedirectOutput interface to the OSL to simplify
7595114237Snjloutput redirection for the AcpiOsPrintf and AcpiOsVprintf
7596114237Snjlinterfaces.
7597102550Siwasaki
7598193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7599126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7600126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7601126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7602126372Snjlversion of the code includes the debug output trace mechanism and
7603193267Sjkimhas a larger code and data size.  Note that these values will vary
7604126372Snjldepending on the efficiency of the compiler and the compiler
7605126372Snjloptions used during generation.
7606102550Siwasaki
7607102550Siwasaki  Previous Release
7608104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7609104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7610102550Siwasaki  Current Release:
7611104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7612104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7613102550Siwasaki
7614102550Siwasaki
7615102550Siwasaki2) Linux
7616102550Siwasaki
7617102550SiwasakiFixed a panic in the EC driver (Dominik Brodowski)
7618102550Siwasaki
7619114237SnjlImplemented checksum of the R/XSDT itself during Linux table scan
7620114237Snjl(Richard Schaal)
7621102550Siwasaki
7622102550Siwasaki
7623102550Siwasaki3) iASL compiler
7624102550Siwasaki
7625114237SnjlThe AML disassembler is integrated into the compiler.  The "-d"
7626114237Snjloption invokes the disassembler  to completely disassemble an
7627114237Snjlinput AML file, producing as output a text ASL file with the
7628114237Snjlextension ".dsl" (to avoid name collisions with existing .asl
7629114237Snjlsource files.)  A future enhancement will allow the disassembler
7630114237Snjlto obtain the BIOS DSDT from the registry under Windows.
7631102550Siwasaki
7632102550SiwasakiFixed a problem with the VendorShort and VendorLong resource
7633102550Siwasakidescriptors where an invalid AML sequence was created.
7634102550Siwasaki
7635114237SnjlImplemented a fix for BufferData term in the ASL parser.  It was
7636114237Snjlinadvertently defined twice, allowing invalid syntax to pass and
7637114237Snjlcausing reduction conflicts.
7638102550Siwasaki
7639104470SiwasakiFixed a problem where the Ones opcode could get converted to a
7640193267Sjkimvalue of zero if "Ones" was used where a byte, word or dword value
7641126372Snjlwas expected.  The 64-bit value is now truncated to the correct
7642126372Snjlsize with the correct value.
7643102550Siwasaki
7644102550Siwasaki
7645167802Sjkim
7646102550Siwasaki----------------------------------------
7647102550Siwasaki02 July 2002.  Summary of changes for this release.
7648102550Siwasaki
7649102550Siwasaki
7650102550Siwasaki1) ACPI CA Core Subsystem Version 20020702:
7651102550Siwasaki
7652114237SnjlThe Table Manager code has been restructured to add several new
7653114237Snjlfeatures.  Tables that are not required by the core subsystem
7654114237Snjl(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
7655193267Sjkimvalidated in any way and are returned from AcpiGetFirmwareTable if
7656126372Snjlrequested.  The AcpiOsTableOverride interface is now called for
7657126372Snjleach table that is loaded by the subsystem in order to allow the
7658126372Snjlhost to override any table it chooses.  Previously, only the DSDT
7659126372Snjlcould be overridden.  Added one new files, tbrsdt.c and
7660114237Snjltbgetall.c.
7661102550Siwasaki
7662193267SjkimFixed a problem with the conversion of internal package objects to
7663126372Snjlexternal objects (when a package is returned from a control
7664114237Snjlmethod.)  The return buffer length was set to zero instead of the
7665114237Snjlproper length of the package object.
7666102550Siwasaki
7667104470SiwasakiFixed a reported problem with the use of the RefOf and DeRefOf
7668114237Snjloperators when passing reference arguments to control methods.  A
7669114237Snjlnew type of Reference object is used internally for references
7670114237Snjlproduced by the RefOf operator.
7671102550Siwasaki
7672193267SjkimAdded additional error messages in the Resource Manager to explain
7673126372SnjlAE_BAD_DATA errors when they occur during resource parsing.
7674102550Siwasaki
7675104470SiwasakiSplit the AcpiEnableSubsystem into two primitives to enable a
7676193267Sjkimfiner granularity initialization sequence.  These two calls should
7677126372Snjlbe called in this order: AcpiEnableSubsystem (flags),
7678114237SnjlAcpiInitializeObjects (flags).  The flags parameter remains the
7679114237Snjlsame.
7680102550Siwasaki
7681102550Siwasaki
7682102550Siwasaki2) Linux
7683102550Siwasaki
7684114237SnjlUpdated the ACPI utilities module to understand the new style of
7685193267Sjkimfully resolved package objects that are now returned from the core
7686126372Snjlsubsystem.  This eliminates errors of the form:
7687102550Siwasaki
7688102550Siwasaki    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
7689102550Siwasaki    acpi_utils-0430 [145] acpi_evaluate_reference:
7690102550Siwasaki        Invalid element in package (not a device reference)
7691102550Siwasaki
7692102550SiwasakiThe method evaluation utility uses the new buffer allocation
7693102550Siwasakischeme instead of calling AcpiEvaluate Object twice.
7694102550Siwasaki
7695102550SiwasakiAdded support for ECDT. This allows the use of the Embedded
7696167802Sjkim
7697114237SnjlController before the namespace has been fully initialized, which
7698114237Snjlis necessary for ACPI 2.0 support, and for some laptops to
7699114237Snjlinitialize properly. (Laptops using ECDT are still rare, so only
7700114237Snjllimited testing was performed of the added functionality.)
7701102550Siwasaki
7702102550SiwasakiFixed memory leaks in the EC driver.
7703102550Siwasaki
7704102550SiwasakiEliminated a brittle code structure in acpi_bus_init().
7705102550Siwasaki
7706114237SnjlEliminated the acpi_evaluate() helper function in utils.c. It is
7707114237Snjlno longer needed since acpi_evaluate_object can optionally
7708104470Siwasakiallocate memory for the return object.
7709102550Siwasaki
7710193267SjkimImplemented fix for keyboard hang when getting battery readings on
7711126372Snjlsome systems (Stephen White)
7712102550Siwasaki
7713102550SiwasakiPCI IRQ routing update (Dominik Brodowski)
7714102550Siwasaki
7715114237SnjlFix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
7716114237Snjlsupport
7717102550Siwasaki
7718102550Siwasaki----------------------------------------
7719102550Siwasaki11 June 2002.  Summary of changes for this release.
7720102550Siwasaki
7721102550Siwasaki
7722102550Siwasaki1) ACPI CA Core Subsystem Version 20020611:
7723102550Siwasaki
7724104470SiwasakiFixed a reported problem where constants such as Zero and One
7725114237Snjlappearing within _PRT packages were not handled correctly within
7726114237Snjlthe resource manager code.  Originally reported against the ASL
7727114237Snjlcompiler because the code generator now optimizes integers to
7728193267Sjkimtheir minimal AML representation (i.e. AML constants if possible.)
7729126372SnjlThe _PRT code now handles all AML constant opcodes correctly
7730126372Snjl(Zero, One, Ones, Revision).
7731102550Siwasaki
7732102550SiwasakiFixed a problem with the Concatenate operator in the AML
7733193267Sjkiminterpreter where a buffer result object was incorrectly marked as
7734126372Snjlnot fully evaluated, causing a run-time error of AE_AML_INTERNAL.
7735102550Siwasaki
7736104470SiwasakiAll package sub-objects are now fully resolved before they are
7737114237Snjlreturned from the external ACPI interfaces.  This means that name
7738114237Snjlstrings are resolved to object handles, and constant operators
7739114237Snjl(Zero, One, Ones, Revision) are resolved to Integers.
7740102550Siwasaki
7741102550SiwasakiImplemented immediate resolution of the AML Constant opcodes
7742104470Siwasaki(Zero, One, Ones, Revision) to Integer objects upon detection
7743104470Siwasakiwithin the AML stream. This has simplified and reduced the
7744104470Siwasakigenerated code size of the subsystem by eliminating about 10
7745104470Siwasakiswitch statements for these constants (which previously were
7746193267Sjkimcontained in Reference objects.)  The complicating issues are that
7747126372Snjlthe Zero opcode is used as a "placeholder" for unspecified
7748193267Sjkimoptional target operands and stores to constants are defined to be
7749126372Snjlno-ops.
7750102550Siwasaki
7751193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7752126372Snjlbelow. These are the code and data sizes for the acpica.lib
7753114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7754114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7755114237Snjlversion of the code includes the debug output trace mechanism and
7756193267Sjkimhas a larger code and data size.  Note that these values will vary
7757126372Snjldepending on the efficiency of the compiler and the compiler
7758114237Snjloptions used during generation.
7759102550Siwasaki
7760102550Siwasaki  Previous Release
7761104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7762104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7763102550Siwasaki  Current Release:
7764104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7765104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7766102550Siwasaki
7767102550Siwasaki
7768102550Siwasaki2) Linux
7769102550Siwasaki
7770167802Sjkim
7771104470SiwasakiAdded preliminary support for obtaining _TRA data for PCI root
7772104470Siwasakibridges (Bjorn Helgaas).
7773102550Siwasaki
7774102550Siwasaki
7775102550Siwasaki3) iASL Compiler Version X2046:
7776102550Siwasaki
7777193267SjkimFixed a problem where the "_DDN" reserved name was defined to be a
7778126372Snjlcontrol method with one argument.  There are no arguments, and
7779114237Snjl_DDN does not have to be a control method.
7780102550Siwasaki
7781114237SnjlFixed a problem with the Linux version of the compiler where the
7782114237Snjlsource lines printed with error messages were the wrong lines.
7783114237SnjlThis turned out to be the "LF versus CR/LF" difference between
7784114237SnjlWindows and Unix.  This appears to be the longstanding issue
7785114237Snjlconcerning listing output and error messages.
7786102550Siwasaki
7787114237SnjlFixed a problem with the Linux version of compiler where opcode
7788114237Snjlnames within error messages were wrong.  This was caused by a
7789114237Snjlslight difference in the output of the Flex tool on Linux versus
7790114237SnjlWindows.
7791102550Siwasaki
7792193267SjkimFixed a problem with the Linux compiler where the hex output files
7793126372Snjlcontained some garbage data caused by an internal buffer overrun.
7794102550Siwasaki
7795102550Siwasaki
7796102550Siwasaki----------------------------------------
7797102550Siwasaki17 May 2002.  Summary of changes for this release.
7798102550Siwasaki
7799102550Siwasaki
7800102550Siwasaki1) ACPI CA Core Subsystem Version 20020517:
7801102550Siwasaki
7802102550SiwasakiImplemented a workaround to an BIOS bug discovered on the HP
7803104470SiwasakiOmniBook where the FADT revision number and the table size are
7804193267Sjkiminconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
7805126372Snjlbehavior is to fallback to using only the ACPI 1.0 fields of the
7806126372SnjlFADT if the table is too small to be a ACPI 2.0 table as claimed
7807126372Snjlby the revision number.  Although this is a BIOS bug, this is a
7808126372Snjlcase where the workaround is simple enough and with no side
7809126372Snjleffects, so it seemed prudent to add it.  A warning message is
7810126372Snjlissued, however.
7811102550Siwasaki
7812193267SjkimImplemented minimum size checks for the fixed-length ACPI tables -
7813126372Snjl- the FADT and FACS, as well as consistency checks between the
7814114237Snjlrevision number and the table size.
7815102550Siwasaki
7816114237SnjlFixed a reported problem in the table override support where the
7817114237Snjlnew table pointer was incorrectly treated as a physical address
7818114237Snjlinstead of a logical address.
7819102550Siwasaki
7820114237SnjlEliminated the use of the AE_AML_ERROR exception and replaced it
7821114237Snjlwith more descriptive codes.
7822102550Siwasaki
7823193267SjkimFixed a problem where an exception would occur if an ASL Field was
7824126372Snjldefined with no named Field Units underneath it (used by some
7825114237Snjlindex fields).
7826102550Siwasaki
7827193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7828126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7829126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7830126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7831126372Snjlversion of the code includes the debug output trace mechanism and
7832193267Sjkimhas a larger code and data size.  Note that these values will vary
7833126372Snjldepending on the efficiency of the compiler and the compiler
7834126372Snjloptions used during generation.
7835102550Siwasaki
7836102550Siwasaki  Previous Release
7837104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
7838104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
7839102550Siwasaki  Current Release:
7840104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7841104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7842102550Siwasaki
7843102550Siwasaki
7844102550Siwasaki
7845102550Siwasaki2) Linux
7846102550Siwasaki
7847114237SnjlMuch work done on ACPI init (MADT and PCI IRQ routing support).
7848114237Snjl(Paul D. and Dominik Brodowski)
7849102550Siwasaki
7850102550SiwasakiFix PCI IRQ-related panic on boot (Sam Revitch)
7851102550Siwasaki
7852102550SiwasakiSet BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
7853102550Siwasaki
7854102550SiwasakiFix "MHz" typo (Dominik Brodowski)
7855102550Siwasaki
7856102550SiwasakiFix RTC year 2000 issue (Dominik Brodowski)
7857102550Siwasaki
7858102550SiwasakiPreclude multiple button proc entries (Eric Brunet)
7859102550Siwasaki
7860102550SiwasakiMoved arch-specific code out of include/platform/aclinux.h
7861102550Siwasaki
7862102550Siwasaki3) iASL Compiler Version X2044:
7863102550Siwasaki
7864193267SjkimImplemented error checking for the string used in the EISAID macro
7865193267Sjkim(Usually used in the definition of the _HID object.)  The code now
7866126372Snjlstrictly enforces the PnP format - exactly 7 characters, 3
7867126372Snjluppercase letters and 4 hex digits.
7868102550Siwasaki
7869102550SiwasakiIf a raw string is used in the definition of the _HID object
7870102550Siwasaki(instead of the EISAID macro), the string must contain all
7871114237Snjlalphanumeric characters (e.g., "*PNP0011" is not allowed because
7872114237Snjlof the asterisk.)
7873102550Siwasaki
7874114237SnjlImplemented checking for invalid use of ACPI reserved names for
7875114237Snjlmost of the name creation operators (Name, Device, Event, Mutex,
7876114237SnjlOperationRegion, PowerResource, Processor, and ThermalZone.)
7877114237SnjlPreviously, this check was only performed for control methods.
7878102550Siwasaki
7879114237SnjlImplemented an additional check on the Name operator to emit an
7880114237Snjlerror if a reserved name that must be implemented in ASL as a
7881114237Snjlcontrol method is used.  We know that a reserved name must be a
7882114237Snjlmethod if it is defined with input arguments.
7883102550Siwasaki
7884193267SjkimThe warning emitted when a namespace object reference is not found
7885126372Snjlduring the cross reference phase has been changed into an error.
7886193267SjkimThe "External" directive should be used for names defined in other
7887126372Snjlmodules.
7888102550Siwasaki
7889102550Siwasaki
7890102550Siwasaki4) Tools and Utilities
7891102550Siwasaki
7892114237SnjlThe 16-bit tools (adump16 and aexec16) have been regenerated and
7893114237Snjltested.
7894102550Siwasaki
7895193267SjkimFixed a problem with the output of both acpidump and adump16 where
7896126372Snjlthe indentation of closing parentheses and brackets was not
7897167802Sjkim
7898114237Snjlaligned properly with the parent block.
7899102550Siwasaki
7900102550Siwasaki
7901102550Siwasaki----------------------------------------
7902102550Siwasaki03 May 2002.  Summary of changes for this release.
7903102550Siwasaki
7904102550Siwasaki
7905102550Siwasaki1) ACPI CA Core Subsystem Version 20020503:
7906102550Siwasaki
7907114237SnjlAdded support a new OSL interface that allows the host operating
7908167802Sjkim
7909114237Snjlsystem software to override the DSDT found in the firmware -
7910193267SjkimAcpiOsTableOverride.  With this interface, the OSL can examine the
7911126372Snjlversion of the firmware DSDT and replace it with a different one
7912126372Snjlif desired.
7913102550Siwasaki
7914114237SnjlAdded new external interfaces for accessing ACPI registers from
7915114237Snjldevice drivers and other system software - AcpiGetRegister and
7916114237SnjlAcpiSetRegister.  This was simply an externalization of the
7917114237Snjlexisting AcpiHwBitRegister interfaces.
7918102550Siwasaki
7919104470SiwasakiFixed a regression introduced in the previous build where the
7920104470SiwasakiASL/AML CreateField operator always returned an error,
7921102550Siwasaki"destination must be a NS Node".
7922102550Siwasaki
7923114237SnjlExtended the maximum time (before failure) to successfully enable
7924114237SnjlACPI mode to 3 seconds.
7925102550Siwasaki
7926193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7927126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7928126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7929126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7930126372Snjlversion of the code includes the debug output trace mechanism and
7931193267Sjkimhas a larger code and data size.  Note that these values will vary
7932126372Snjldepending on the efficiency of the compiler and the compiler
7933126372Snjloptions used during generation.
7934102550Siwasaki
7935102550Siwasaki  Previous Release
7936104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
7937104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
7938102550Siwasaki  Current Release:
7939104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
7940104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
7941102550Siwasaki
7942102550Siwasaki
7943102550Siwasaki2) Linux
7944102550Siwasaki
7945104470SiwasakiEnhanced ACPI init code for SMP. We are now fully MPS and $PIR-
7946193267Sjkimfree. While 3 out of 4 of our in-house systems work fine, the last
7947126372Snjlone still hangs when testing the LAPIC timer.
7948102550Siwasaki
7949114237SnjlRenamed many files in 2.5 kernel release to omit "acpi_" from the
7950114237Snjlname.
7951102550Siwasaki
7952102550SiwasakiAdded warning on boot for Presario 711FR.
7953102550Siwasaki
7954102550SiwasakiSleep improvements (Pavel Machek)
7955102550Siwasaki
7956102550SiwasakiACPI can now be built without CONFIG_PCI enabled.
7957102550Siwasaki
7958102550SiwasakiIA64: Fixed memory map functions (JI Lee)
7959102550Siwasaki
7960102550Siwasaki
7961102550Siwasaki3) iASL Compiler Version X2043:
7962102550Siwasaki
7963114237SnjlAdded support to allow the compiler to be integrated into the MS
7964114237SnjlVC++ development environment for one-button compilation of single
7965114237Snjlfiles or entire projects -- with error-to-source-line mapping.
7966102550Siwasaki
7967104470SiwasakiImplemented support for compile-time constant folding for the
7968104470SiwasakiType3, Type4, and Type5 opcodes first defined in the ACPI 2.0
7969104470Siwasakispecification.  This allows the ASL writer to use expressions
7970104470Siwasakiinstead of Integer/Buffer/String constants in terms that must
7971114237Snjlevaluate to constants at compile time and will also simplify the
7972114237Snjlemitted AML in any such sub-expressions that can be folded
7973104470Siwasaki(evaluated at compile-time.)  This increases the size of the
7974104470Siwasakicompiler significantly because a portion of the ACPI CA AML
7975104470Siwasakiinterpreter is included within the compiler in order to pre-
7976104470Siwasakievaluate constant expressions.
7977102550Siwasaki
7978114237Snjl
7979102550SiwasakiFixed a problem with the "Unicode" ASL macro that caused the
7980114237Snjlcompiler to fault.  (This macro is used in conjunction with the
7981114237Snjl_STR reserved name.)
7982102550Siwasaki
7983114237SnjlImplemented an AML opcode optimization to use the Zero, One, and
7984114237SnjlOnes opcodes where possible to further reduce the size of integer
7985114237Snjlconstants and thus reduce the overall size of the generated AML
7986114237Snjlcode.
7987102550Siwasaki
7988193267SjkimImplemented error checking for new reserved terms for ACPI version
7989126372Snjl2.0A.
7990102550Siwasaki
7991104470SiwasakiImplemented the -qr option to display the current list of ACPI
7992104470Siwasakireserved names known to the compiler.
7993102550Siwasaki
7994104470SiwasakiImplemented the -qc option to display the current list of ASL
7995104470Siwasakioperators that are allowed within constant expressions and can
7996193267Sjkimtherefore be folded at compile time if the operands are constants.
7997102550Siwasaki
7998102550Siwasaki
7999102550Siwasaki4) Documentation
8000102550Siwasaki
8001193267SjkimUpdated the Programmer's Reference for new interfaces, data types,
8002126372Snjland memory allocation model options.
8003102550Siwasaki
8004114237SnjlUpdated the iASL Compiler User Reference to apply new format and
8005114237Snjladd information about new features and options.
8006102550Siwasaki
8007102550Siwasaki----------------------------------------
8008102550Siwasaki19 April 2002.  Summary of changes for this release.
8009102550Siwasaki
8010102550Siwasaki1) ACPI CA Core Subsystem Version 20020419:
8011102550Siwasaki
8012114237SnjlThe source code base for the Core Subsystem has been completely
8013114237Snjlcleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8014114237Snjlversions.  The Lint option files used are included in the
8015114237Snjl/acpi/generate/lint directory.
8016102550Siwasaki
8017102550SiwasakiImplemented enhanced status/error checking across the entire
8018114237SnjlHardware manager subsystem.  Any hardware errors (reported from
8019114237Snjlthe OSL) are now bubbled up and will abort a running control
8020114237Snjlmethod.
8021102550Siwasaki
8022167802Sjkim
8023114237SnjlFixed a problem where the per-ACPI-table integer width (32 or 64)
8024114237Snjlwas stored only with control method nodes, causing a fault when
8025114237Snjlnon-control method code was executed during table loading.  The
8026114237Snjlsolution implemented uses a global variable to indicate table
8027114237Snjlwidth across the entire ACPI subsystem.  Therefore, ACPI CA does
8028114237Snjlnot support mixed integer widths across different ACPI tables
8029114237Snjl(DSDT, SSDT).
8030102550Siwasaki
8031114237SnjlFixed a problem where NULL extended fields (X fields) in an ACPI
8032114237Snjl2.0 ACPI FADT caused the table load to fail.  Although the
8033114237Snjlexisting ACPI specification is a bit fuzzy on this topic, the new
8034114237Snjlbehavior is to fall back on a ACPI 1.0 field if the corresponding
8035193267SjkimACPI 2.0 X field is zero (even though the table revision indicates
8036193267Sjkima full ACPI 2.0 table.)  The ACPI specification will be updated to
8037126372Snjlclarify this issue.
8038102550Siwasaki
8039104470SiwasakiFixed a problem with the SystemMemory operation region handler
8040104470Siwasakiwhere memory was always accessed byte-wise even if the AML-
8041104470Siwasakispecified access width was larger than a byte.  This caused
8042104470Siwasakiproblems on systems with memory-mapped I/O.  Memory is now
8043193267Sjkimaccessed with the width specified.  On systems that do not support
8044193267Sjkimnon-aligned transfers, a check is made to guarantee proper address
8045126372Snjlalignment before proceeding in order to avoid an AML-caused
8046126372Snjlalignment fault within the kernel.
8047102550Siwasaki
8048102550Siwasaki
8049114237SnjlFixed a problem with the ExtendedIrq resource where only one byte
8050114237Snjlof the 4-byte Irq field was extracted.
8051102550Siwasaki
8052114237SnjlFixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8053114237Snjlfunction was out of date and required a rewrite.
8054114237Snjl
8055193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8056126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8057126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8058126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8059126372Snjlversion of the code includes the debug output trace mechanism and
8060193267Sjkimhas a larger code and data size.  Note that these values will vary
8061126372Snjldepending on the efficiency of the compiler and the compiler
8062126372Snjloptions used during generation.
8063102550Siwasaki
8064102550Siwasaki  Previous Release
8065104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8066104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8067102550Siwasaki  Current Release:
8068104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8069104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8070102550Siwasaki
8071102550Siwasaki
8072102550Siwasaki2) Linux
8073102550Siwasaki
8074102550SiwasakiPCI IRQ routing fixes (Dominik Brodowski)
8075102550Siwasaki
8076102550Siwasaki
8077102550Siwasaki3) iASL Compiler Version X2042:
8078102550Siwasaki
8079104470SiwasakiImplemented an additional compile-time error check for a field
8080104470Siwasakiunit whose size + minimum access width would cause a run-time
8081114237Snjlaccess beyond the end-of-region.  Previously, only the field size
8082114237Snjlitself was checked.
8083102550Siwasaki
8084104470SiwasakiThe Core subsystem and iASL compiler now share a common parse
8085104470Siwasakiobject in preparation for compile-time evaluation of the type
8086104470Siwasaki3/4/5 ASL operators.
8087102550Siwasaki
8088102550Siwasaki
8089102550Siwasaki----------------------------------------
8090102550SiwasakiSummary of changes for this release: 03_29_02
8091102550Siwasaki
8092102550Siwasaki1) ACPI CA Core Subsystem Version 20020329:
8093102550Siwasaki
8094104470SiwasakiImplemented support for late evaluation of TermArg operands to
8095193267SjkimBuffer and Package objects.  This allows complex expressions to be
8096126372Snjlused in the declarations of these object types.
8097102550Siwasaki
8098193267SjkimFixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
8099126372Snjl1.0, if the field was larger than 32 bits, it was returned as a
8100126372Snjlbuffer - otherwise it was returned as an integer.  In ACPI 2.0,
8101193267Sjkimthe field is returned as a buffer only if the field is larger than
8102126372Snjl64 bits.  The TableRevision is now considered when making this
8103126372Snjlconversion to avoid incompatibility with existing ASL code.
8104102550Siwasaki
8105104470SiwasakiImplemented logical addressing for AcpiOsGetRootPointer.  This
8106114237Snjlallows an RSDP with either a logical or physical address.  With
8107114237Snjlthis support, the host OS can now override all ACPI tables with
8108114237Snjlone logical RSDP.  Includes implementation of  "typed" pointer
8109114237Snjlsupport to allow a common data type for both physical and logical
8110114237Snjlpointers internally.  This required a change to the
8111114237SnjlAcpiOsGetRootPointer interface.
8112102550Siwasaki
8113193267SjkimImplemented the use of ACPI 2.0 Generic Address Structures for all
8114193267SjkimGPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
8115126372Snjlmapped I/O for these ACPI features.
8116102550Siwasaki
8117102550SiwasakiInitialization now ignores not only non-required tables (All
8118114237Snjltables other than the FADT, FACS, DSDT, and SSDTs), but also does
8119114237Snjlnot validate the table headers of unrecognized tables.
8120102550Siwasaki
8121102550SiwasakiFixed a problem where a notify handler could only be
8122102550Siwasakiinstalled/removed on an object of type Device.  All "notify"
8123167802Sjkim
8124102550Siwasakiobjects are now supported -- Devices, Processor, Power, and
8125102550SiwasakiThermal.
8126102550Siwasaki
8127114237SnjlRemoved most verbosity from the ACPI_DB_INFO debug level.  Only
8128193267Sjkimcritical information is returned when this debug level is enabled.
8129102550Siwasaki
8130193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8131126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8132126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8133126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8134126372Snjlversion of the code includes the debug output trace mechanism and
8135193267Sjkimhas a larger code and data size.  Note that these values will vary
8136126372Snjldepending on the efficiency of the compiler and the compiler
8137126372Snjloptions used during generation.
8138102550Siwasaki
8139102550Siwasaki  Previous Release
8140104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8141104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8142102550Siwasaki  Current Release:
8143104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8144104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8145102550Siwasaki
8146102550Siwasaki
8147102550Siwasaki2) Linux:
8148102550Siwasaki
8149114237SnjlThe processor driver (acpi_processor.c) now fully supports ACPI
8150114237Snjl2.0-based processor performance control (e.g. Intel(R)
8151114237SnjlSpeedStep(TM) technology) Note that older laptops that only have
8152114237Snjlthe Intel "applet" interface are not supported through this.  The
8153114237Snjl'limit' and 'performance' interface (/proc) are fully functional.
8154114237Snjl[Note that basic policy for controlling performance state
8155114237Snjltransitions will be included in the next version of ospmd.]  The
8156114237Snjlidle handler was modified to more aggressively use C2, and PIIX4
8157114237Snjlerrata handling underwent a complete overhaul (big thanks to
8158114237SnjlDominik Brodowski).
8159102550Siwasaki
8160114237SnjlAdded support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
8161114237Snjlbased devices in the ACPI namespace are now dynamically bound
8162114237Snjl(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
8163114237SnjlThis allows, among other things, ACPI to resolve bus numbers for
8164114237Snjlsubordinate PCI bridges.
8165102550Siwasaki
8166104470SiwasakiEnhanced PCI IRQ routing to get the proper bus number for _PRT
8167104470Siwasakientries defined underneath PCI bridges.
8168102550Siwasaki
8169104470SiwasakiAdded IBM 600E to bad bios list due to invalid _ADR value for
8170104470SiwasakiPIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
8171102550Siwasaki
8172114237SnjlIn the process of adding full MADT support (e.g. IOAPIC) for IA32
8173114237Snjl(acpi.c, mpparse.c) -- stay tuned.
8174102550Siwasaki
8175102550SiwasakiAdded back visual differentiation between fixed-feature and
8176114237Snjlcontrol-method buttons in dmesg.  Buttons are also subtyped (e.g.
8177114237Snjlbutton/power/PWRF) to simplify button identification.
8178102550Siwasaki
8179114237SnjlWe no longer use -Wno-unused when compiling debug. Please ignore
8180114237Snjlany "_THIS_MODULE defined but not used" messages.
8181102550Siwasaki
8182102550SiwasakiCan now shut down the system using "magic sysrq" key.
8183102550Siwasaki
8184102550Siwasaki
8185102550Siwasaki3) iASL Compiler version 2041:
8186102550Siwasaki
8187104470SiwasakiFixed a problem where conversion errors for hex/octal/decimal
8188104470Siwasakiconstants were not reported.
8189102550Siwasaki
8190193267SjkimImplemented a fix for the General Register template Address field.
8191126372SnjlThis field was 8 bits when it should be 64.
8192102550Siwasaki
8193193267SjkimFixed a problem where errors/warnings were no longer being emitted
8194126372Snjlwithin the listing output file.
8195102550Siwasaki
8196114237SnjlImplemented the ACPI 2.0A restriction on ACPI Table Signatures to
8197114237Snjlexactly 4 characters, alphanumeric only.
8198102550Siwasaki
8199102550Siwasaki
8200102550Siwasaki
8201102550Siwasaki
8202102550Siwasaki----------------------------------------
8203102550SiwasakiSummary of changes for this release: 03_08_02
8204102550Siwasaki
8205102550Siwasaki
8206102550Siwasaki1) ACPI CA Core Subsystem Version 20020308:
8207102550Siwasaki
8208114237SnjlFixed a problem with AML Fields where the use of the "AccessAny"
8209193267Sjkimkeyword could cause an interpreter error due to attempting to read
8210126372Snjlor write beyond the end of the parent Operation Region.
8211102550Siwasaki
8212193267SjkimFixed a problem in the SystemMemory Operation Region handler where
8213126372Snjlan attempt was made to map memory beyond the end of the region.
8214126372SnjlThis was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
8215126372Snjlerrors on some Linux systems.
8216102550Siwasaki
8217114237SnjlFixed a problem where the interpreter/namespace "search to root"
8218114237Snjlalgorithm was not functioning for some object types.  Relaxed the
8219114237Snjlinternal restriction on the search to allow upsearches for all
8220114237Snjlexternal object types as well as most internal types.
8221102550Siwasaki
8222102550Siwasaki
8223102550Siwasaki2) Linux:
8224102550Siwasaki
8225193267SjkimWe now use safe_halt() macro versus individual calls to sti | hlt.
8226102550Siwasaki
8227193267SjkimWriting to the processor limit interface should now work. "echo 1"
8228126372Snjlwill increase the limit, 2 will decrease, and 0 will reset to the
8229167802Sjkim
8230126372Snjldefault.
8231102550Siwasaki
8232102550Siwasaki
8233102550Siwasaki3) ASL compiler:
8234102550Siwasaki
8235102550SiwasakiFixed segfault on Linux version.
8236102550Siwasaki
8237102550Siwasaki
8238102550Siwasaki----------------------------------------
8239102550SiwasakiSummary of changes for this release: 02_25_02
8240102550Siwasaki
8241102550Siwasaki1) ACPI CA Core Subsystem:
8242102550Siwasaki
8243102550Siwasaki
8244102550SiwasakiFixed a problem where the GPE bit masks were not initialized
8245102550Siwasakiproperly, causing erratic GPE behavior.
8246102550Siwasaki
8247193267SjkimImplemented limited support for multiple calling conventions.  The
8248126372Snjlcode can be generated with either the VPL (variable parameter
8249114237Snjllist, or "C") convention, or the FPL (fixed parameter list, or
8250114237Snjl"Pascal") convention.  The core subsystem is about 3.4% smaller
8251114237Snjlwhen generated with FPL.
8252102550Siwasaki
8253102550Siwasaki
8254102550Siwasaki2) Linux
8255102550Siwasaki
8256114237SnjlRe-add some /proc/acpi/event functionality that was lost during
8257114237Snjlthe rewrite
8258102550Siwasaki
8259193267SjkimResolved issue with /proc events for fixed-feature buttons showing
8260126372Snjlup as the system device.
8261102550Siwasaki
8262193267SjkimFixed checks on C2/C3 latencies to be inclusive of maximum values.
8263102550Siwasaki
8264114237SnjlReplaced AE_ERRORs in acpi_osl.c with more specific error codes.
8265102550Siwasaki
8266114237SnjlChanged ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
8267102550Siwasaki
8268104470SiwasakiFixed limit interface & usage to fix bugs with passive cooling
8269104470Siwasakihysterisis.
8270102550Siwasaki
8271102550SiwasakiRestructured PRT support.
8272102550Siwasaki
8273102550Siwasaki
8274102550Siwasaki----------------------------------------
8275102550SiwasakiSummary of changes for this label: 02_14_02
8276102550Siwasaki
8277102550Siwasaki
8278102550Siwasaki1) ACPI CA Core Subsystem:
8279102550Siwasaki
8280114237SnjlImplemented support in AcpiLoadTable to allow loading of FACS and
8281114237SnjlFADT tables.
8282102550Siwasaki
8283114237SnjlSuport for the now-obsolete interim 0.71 64-bit ACPI tables has
8284193267Sjkimbeen removed.  All 64-bit platforms should be migrated to the ACPI
8285193267Sjkim2.0 tables.  The actbl71.h header has been removed from the source
8286126372Snjltree.
8287102550Siwasaki
8288114237SnjlAll C macros defined within the subsystem have been prefixed with
8289114237Snjl"ACPI_" to avoid collision with other system include files.
8290102550Siwasaki
8291193267SjkimRemoved the return value for the two AcpiOsPrint interfaces, since
8292126372Snjlit is never used and causes lint warnings for ignoring the return
8293126372Snjlvalue.
8294102550Siwasaki
8295104470SiwasakiAdded error checking to all internal mutex acquire and release
8296104470Siwasakicalls.  Although a failure from one of these interfaces is
8297104470Siwasakiprobably a fatal system error, these checks will cause the
8298114237Snjlimmediate abort of the currently executing method or interface.
8299102550Siwasaki
8300114237SnjlFixed a problem where the AcpiSetCurrentResources interface could
8301193267Sjkimfault.  This was a side effect of the deployment of the new memory
8302126372Snjlallocation model.
8303102550Siwasaki
8304193267SjkimFixed a couple of problems with the Global Lock support introduced
8305193267Sjkimin the last major build.  The "common" (1.0/2.0) internal FACS was
8306126372Snjlbeing overwritten with the FACS signature and clobbering the
8307126372SnjlGlobal Lock pointer.  Also, the actual firmware FACS was being
8308126372Snjlunmapped after construction of the "common" FACS, preventing
8309126372Snjlaccess to the actual Global Lock field within it.  The "common"
8310126372Snjlinternal FACS is no longer installed as an actual ACPI table; it
8311126372Snjlis used simply as a global.
8312102550Siwasaki
8313193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8314126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8315126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8316126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8317126372Snjlversion of the code includes the debug output trace mechanism and
8318193267Sjkimhas a larger code and data size.  Note that these values will vary
8319126372Snjldepending on the efficiency of the compiler and the compiler
8320126372Snjloptions used during generation.
8321102550Siwasaki
8322102550Siwasaki  Previous Release (02_07_01)
8323104470Siwasaki    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8324104470Siwasaki    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8325102550Siwasaki  Current Release:
8326104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8327104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8328102550Siwasaki
8329102550Siwasaki
8330102550Siwasaki2) Linux
8331102550Siwasaki
8332102550SiwasakiUpdated Linux-specific code for core macro and OSL interface
8333102550Siwasakichanges described above.
8334102550Siwasaki
8335114237SnjlImproved /proc/acpi/event. It now can be opened only once and has
8336114237Snjlproper poll functionality.
8337102550Siwasaki
8338102550SiwasakiFixed and restructured power management (acpi_bus).
8339102550Siwasaki
8340193267SjkimOnly create /proc "view by type" when devices of that class exist.
8341102550Siwasaki
8342104470SiwasakiFixed "charging/discharging" bug (and others) in acpi_battery.
8343102550Siwasaki
8344102550SiwasakiImproved thermal zone code.
8345102550Siwasaki
8346102550Siwasaki
8347102550Siwasaki3) ASL Compiler, version X2039:
8348102550Siwasaki
8349114237Snjl
8350114237SnjlImplemented the new compiler restriction on ASL String hex/octal
8351193267Sjkimescapes to non-null, ASCII values.  An error results if an invalid
8352126372Snjlvalue is used.  (This will require an ACPI 2.0 specification
8353126372Snjlchange.)
8354102550Siwasaki
8355193267SjkimAML object labels that are output to the optional C and ASM source
8356126372Snjlare now prefixed with both the ACPI table signature and table ID
8357126372Snjlto help guarantee uniqueness within a large BIOS project.
8358102550Siwasaki
8359102550Siwasaki
8360102550Siwasaki----------------------------------------
8361102550SiwasakiSummary of changes for this label: 02_01_02
8362102550Siwasaki
8363102550Siwasaki1) ACPI CA Core Subsystem:
8364102550Siwasaki
8365114237SnjlACPI 2.0 support is complete in the entire Core Subsystem and the
8366114237SnjlASL compiler. All new ACPI 2.0 operators are implemented and all
8367114237Snjlother changes for ACPI 2.0 support are complete.  With
8368193267Sjkimsimultaneous code and data optimizations throughout the subsystem,
8369126372SnjlACPI 2.0 support has been implemented with almost no additional
8370126372Snjlcost in terms of code and data size.
8371102550Siwasaki
8372114237SnjlImplemented a new mechanism for allocation of return buffers.  If
8373114237Snjlthe buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
8374114237Snjlbe allocated on behalf of the caller.  Consolidated all return
8375114237Snjlbuffer validation and allocation to a common procedure.  Return
8376193267Sjkimbuffers will be allocated via the primary OSL allocation interface
8377193267Sjkimsince it appears that a separate pool is not needed by most users.
8378126372SnjlIf a separate pool is required for these buffers, the caller can
8379126372Snjlstill use the original mechanism and pre-allocate the buffer(s).
8380102550Siwasaki
8381102550SiwasakiImplemented support for string operands within the DerefOf
8382102550Siwasakioperator.
8383102550Siwasaki
8384114237SnjlRestructured the Hardware and Event managers to be table driven,
8385114237Snjlsimplifying the source code and reducing the amount of generated
8386114237Snjlcode.
8387102550Siwasaki
8388102550SiwasakiSplit the common read/write low-level ACPI register bitfield
8389104470Siwasakiprocedure into a separate read and write, simplifying the code
8390104470Siwasakiconsiderably.
8391102550Siwasaki
8392114237SnjlObsoleted the AcpiOsCallocate OSL interface.  This interface was
8393114237Snjlused only a handful of times and didn't have enough critical mass
8394193267Sjkimfor a separate interface.  Replaced with a common calloc procedure
8395126372Snjlin the core.
8396102550Siwasaki
8397104470SiwasakiFixed a reported problem with the GPE number mapping mechanism
8398104470Siwasakithat allows GPE1 numbers to be non-contiguous with GPE0.
8399114237SnjlReorganized the GPE information and shrunk a large array that was
8400114237Snjloriginally large enough to hold info for all possible GPEs (256)
8401114237Snjlto simply large enough to hold all GPEs up to the largest GPE
8402114237Snjlnumber on the machine.
8403102550Siwasaki
8404114237SnjlFixed a reported problem with resource structure alignment on 64-
8405114237Snjlbit platforms.
8406102550Siwasaki
8407102550SiwasakiChanged the AcpiEnableEvent and AcpiDisableEvent external
8408102550Siwasakiinterfaces to not require any flags for the common case of
8409102550Siwasakienabling/disabling a GPE.
8410102550Siwasaki
8411104470SiwasakiImplemented support to allow a "Notify" on a Processor object.
8412102550Siwasaki
8413114237SnjlMost TBDs in comments within the source code have been resolved
8414114237Snjland eliminated.
8415102550Siwasaki
8416167802Sjkim
8417102550SiwasakiFixed a problem in the interpreter where a standalone parent
8418102550Siwasakiprefix (^) was not handled correctly in the interpreter and
8419102550Siwasakidebugger.
8420102550Siwasaki
8421102550SiwasakiRemoved obsolete and unnecessary GPE save/restore code.
8422102550Siwasaki
8423193267SjkimImplemented Field support in the ASL Load operator.  This allows a
8424126372Snjltable to be loaded from a named field, in addition to loading a
8425114237Snjltable directly from an Operation Region.
8426102550Siwasaki
8427193267SjkimImplemented timeout and handle support in the external Global Lock
8428126372Snjlinterfaces.
8429102550Siwasaki
8430114237SnjlFixed a problem in the AcpiDump utility where pathnames were no
8431193267Sjkimlonger being generated correctly during the dump of named objects.
8432102550Siwasaki
8433102550SiwasakiModified the AML debugger to give a full display of if/while
8434102550Siwasakipredicates instead of just one AML opcode at a time.  (The
8435193267Sjkimpredicate can have several nested ASL statements.)  The old method
8436126372Snjlwas confusing during single stepping.
8437102550Siwasaki
8438193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8439126372Snjlbelow. These are the code and data sizes for the acpica.lib
8440114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8441114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8442114237Snjlversion of the code includes the debug output trace mechanism and
8443193267Sjkimhas a larger code and data size.  Note that these values will vary
8444126372Snjldepending on the efficiency of the compiler and the compiler
8445114237Snjloptions used during generation.
8446102550Siwasaki
8447102550Siwasaki  Previous Release (12_18_01)
8448114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8449114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8450102550Siwasaki   Current Release:
8451114237Snjl     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8452114237Snjl     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8453102550Siwasaki
8454102550Siwasaki2) Linux
8455102550Siwasaki
8456104470Siwasaki Implemented fix for PIIX reverse throttling errata (Processor
8457104470Siwasakidriver)
8458102550Siwasaki
8459102550SiwasakiAdded new Limit interface (Processor and Thermal drivers)
8460102550Siwasaki
8461102550SiwasakiNew thermal policy (Thermal driver)
8462102550Siwasaki
8463102550SiwasakiMany updates to /proc
8464102550Siwasaki
8465102550SiwasakiBattery "low" event support (Battery driver)
8466102550Siwasaki
8467104470SiwasakiSupports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
8468102550Siwasaki
8469104470SiwasakiIA32 - IA64 initialization unification, no longer experimental
8470102550Siwasaki
8471102550SiwasakiMenuconfig options redesigned
8472102550Siwasaki
8473102550Siwasaki3) ASL Compiler, version X2037:
8474102550Siwasaki
8475193267SjkimImplemented several new output features to simplify integration of
8476126372SnjlAML code into  firmware: 1) Output the AML in C source code with
8477193267Sjkimlabels for each named ASL object.  The    original ASL source code
8478193267Sjkimis interleaved as C comments. 2) Output the AML in ASM source code
8479126372Snjlwith labels and interleaved ASL    source. 3) Output the AML in
8480126372Snjlraw hex table form, in either C or ASM.
8481102550Siwasaki
8482102550SiwasakiImplemented support for optional string parameters to the
8483102550SiwasakiLoadTable operator.
8484102550Siwasaki
8485104470SiwasakiCompleted support for embedded escape sequences within string
8486114237Snjlliterals.  The compiler now supports all single character escapes
8487114237Snjlas well as the Octal and Hex escapes.  Note: the insertion of a
8488114237Snjlnull byte into a string literal (via the hex/octal escape) causes
8489114237Snjlthe string to be immediately terminated.  A warning is issued.
8490102550Siwasaki
8491104470SiwasakiFixed a problem where incorrect AML was generated for the case
8492104470Siwasakiwhere an ASL namepath consists of a single parent prefix (
8493102550Siwasaki
8494102550Siwasaki) with no trailing name segments.
8495102550Siwasaki
8496102550SiwasakiThe compiler has been successfully generated with a 64-bit C
8497102550Siwasakicompiler.
8498102550Siwasaki
8499102550Siwasaki
8500102550Siwasaki
8501102550Siwasaki
8502102550Siwasaki----------------------------------------
8503102550SiwasakiSummary of changes for this label: 12_18_01
8504102550Siwasaki
8505102550Siwasaki1) Linux
8506102550Siwasaki
8507114237SnjlEnhanced blacklist with reason and severity fields. Any table's
8508114237Snjlsignature may now be used to identify a blacklisted system.
8509102550Siwasaki
8510114237SnjlCall _PIC control method to inform the firmware which interrupt
8511114237Snjlmodel the OS is using. Turn on any disabled link devices.
8512102550Siwasaki
8513102550SiwasakiCleaned up busmgr /proc error handling (Andreas Dilger)
8514102550Siwasaki
8515102550Siwasaki 2) ACPI CA Core Subsystem:
8516102550Siwasaki
8517193267SjkimImplemented ACPI 2.0 semantics for the "Break" operator (Exit from
8518126372Snjlwhile loop)
8519102550Siwasaki
8520102550SiwasakiCompleted implementation of the ACPI 2.0 "Continue",
8521102550Siwasaki"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
8522193267Sjkimoperators.  All new ACPI 2.0 operators are now implemented in both
8523193267Sjkimthe ASL compiler and the AML interpreter.  The only remaining ACPI
8524126372Snjl2.0 task is support for the String data type in the DerefOf
8525193267Sjkimoperator.  Fixed a problem with AcquireMutex where the status code
8526126372Snjlwas lost if the caller had to actually wait for the mutex.
8527102550Siwasaki
8528104470SiwasakiIncreased the maximum ASL Field size from 64K bits to 4G bits.
8529102550Siwasaki
8530193267SjkimCompleted implementation of the external Global Lock interfaces --
8531126372SnjlAcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
8532126372SnjlHandler parameters were added.
8533102550Siwasaki
8534102550SiwasakiCompleted another pass at removing warnings and issues when
8535114237Snjlcompiling with 64-bit compilers.  The code now compiles cleanly
8536114237Snjlwith the Intel 64-bit C/C++ compiler.  Most notably, the pointer
8537114237Snjladd and subtract (diff) macros have changed considerably.
8538102550Siwasaki
8539167802Sjkim
8540114237SnjlCreated and deployed a new ACPI_SIZE type that is 64-bits wide on
8541114237Snjl64-bit platforms, 32-bits on all others.  This type is used
8542193267Sjkimwherever memory allocation and/or the C sizeof() operator is used,
8543126372Snjland affects the OSL memory allocation interfaces AcpiOsAllocate
8544126372Snjland AcpiOsCallocate.
8545102550Siwasaki
8546102550SiwasakiImplemented sticky user breakpoints in the AML debugger.
8547102550Siwasaki
8548193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8549126372Snjlbelow. These are the code and data sizes for the acpica.lib
8550114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8551114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8552114237Snjlversion of the code includes the debug output trace mechanism and
8553114237Snjlhas a larger code and data size. Note that these values will vary
8554114237Snjldepending on the efficiency of the compiler and the compiler
8555114237Snjloptions used during generation.
8556102550Siwasaki
8557102550Siwasaki  Previous Release (12_05_01)
8558114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8559114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8560102550Siwasaki   Current Release:
8561114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8562114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8563102550Siwasaki
8564102550Siwasaki 3) ASL Compiler, version X2034:
8565102550Siwasaki
8566114237SnjlNow checks for (and generates an error if detected) the use of a
8567114237SnjlBreak or Continue statement without an enclosing While statement.
8568102550Siwasaki
8569167802Sjkim
8570102550SiwasakiSuccessfully generated the compiler with the Intel 64-bit C
8571102550Siwasakicompiler.
8572102550Siwasaki
8573102550Siwasaki ----------------------------------------
8574102550SiwasakiSummary of changes for this label: 12_05_01
8575102550Siwasaki
8576102550Siwasaki 1) ACPI CA Core Subsystem:
8577102550Siwasaki
8578102550SiwasakiThe ACPI 2.0 CopyObject operator is fully implemented.  This
8579104470Siwasakioperator creates a new copy of an object (and is also used to
8580193267Sjkimbypass the "implicit conversion" mechanism of the Store operator.)
8581102550Siwasaki
8582102550SiwasakiThe ACPI 2.0 semantics for the SizeOf operator are fully
8583102550Siwasakiimplemented.  The change is that performing a SizeOf on a
8584114237Snjlreference object causes an automatic dereference of the object to
8585114237Snjltha actual value before the size is evaluated. This behavior was
8586114237Snjlundefined in ACPI 1.0.
8587102550Siwasaki
8588114237SnjlThe ACPI 2.0 semantics for the Extended IRQ resource descriptor
8589114237Snjlhave been implemented.  The interrupt polarity and mode are now
8590114237Snjlindependently set.
8591102550Siwasaki
8592114237SnjlFixed a problem where ASL Constants (Zero, One, Ones, Revision)
8593114237Snjlappearing in Package objects were not properly converted to
8594114237Snjlintegers when the internal Package was converted to an external
8595114237Snjlobject (via the AcpiEvaluateObject interface.)
8596102550Siwasaki
8597114237SnjlFixed a problem with the namespace object deletion mechanism for
8598114237Snjlobjects created by control methods.  There were two parts to this
8599193267Sjkimproblem: 1) Objects created during the initialization phase method
8600193267Sjkimparse were not being deleted, and 2) The object owner ID mechanism
8601126372Snjlto track objects was broken.
8602102550Siwasaki
8603114237SnjlFixed a problem where the use of the ASL Scope operator within a
8604114237Snjlcontrol method would result in an invalid opcode exception.
8605102550Siwasaki
8606114237SnjlFixed a problem introduced in the previous label where the buffer
8607114237Snjllength required for the _PRT structure was not being returned
8608114237Snjlcorrectly.
8609102550Siwasaki
8610193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8611126372Snjlbelow. These are the code and data sizes for the acpica.lib
8612114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8613114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8614114237Snjlversion of the code includes the debug output trace mechanism and
8615193267Sjkimhas a larger code and data size.  Note that these values will vary
8616126372Snjldepending on the efficiency of the compiler and the compiler
8617114237Snjloptions used during generation.
8618102550Siwasaki
8619102550Siwasaki  Previous Release (11_20_01)
8620114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8621114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8622102550Siwasaki
8623102550Siwasaki  Current Release:
8624114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8625114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8626102550Siwasaki
8627102550Siwasaki 2) Linux:
8628102550Siwasaki
8629102550SiwasakiUpdated all files to apply cleanly against 2.4.16.
8630102550Siwasaki
8631104470SiwasakiAdded basic PCI Interrupt Routing Table (PRT) support for IA32
8632114237Snjl(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
8633114237Snjlversion supports both static and dyanmic PRT entries, but dynamic
8634114237Snjlentries are treated as if they were static (not yet
8635114237Snjlreconfigurable).  Architecture- specific code to use this data is
8636114237Snjlabsent on IA32 but should be available shortly.
8637102550Siwasaki
8638114237SnjlChanged the initialization sequence to start the ACPI interpreter
8639114237Snjl(acpi_init) prior to initialization of the PCI driver (pci_init)
8640114237Snjlin init/main.c.  This ordering is required to support PRT and
8641114237Snjlfacilitate other (future) enhancement.  A side effect is that the
8642193267SjkimACPI bus driver and certain device drivers can no longer be loaded
8643126372Snjlas modules.
8644102550Siwasaki
8645104470SiwasakiModified the 'make menuconfig' options to allow PCI Interrupt
8646104470SiwasakiRouting support to be included without the ACPI Bus and other
8647104470Siwasakidevice drivers.
8648102550Siwasaki
8649102550Siwasaki 3) ASL Compiler, version X2033:
8650102550Siwasaki
8651102550SiwasakiFixed some issues with the use of the new CopyObject and
8652102550SiwasakiDataTableRegion operators.  Both are fully functional.
8653102550Siwasaki
8654102550Siwasaki ----------------------------------------
8655102550SiwasakiSummary of changes for this label: 11_20_01
8656102550Siwasaki
8657102550Siwasaki 20 November 2001.  Summary of changes for this release.
8658102550Siwasaki
8659102550Siwasaki 1) ACPI CA Core Subsystem:
8660102550Siwasaki
8661104470SiwasakiUpdated Index support to match ACPI 2.0 semantics.  Storing a
8662193267SjkimInteger, String, or Buffer to an Index of a Buffer will store only
8663126372Snjlthe least-significant byte of the source to the Indexed buffer
8664126372Snjlbyte.  Multiple writes are not performed.
8665102550Siwasaki
8666104470SiwasakiFixed a problem where the access type used in an AccessAs ASL
8667104470Siwasakioperator was not recorded correctly into the field object.
8668102550Siwasaki
8669102550SiwasakiFixed a problem where ASL Event objects were created in a
8670114237Snjlsignalled state. Events are now created in an unsignalled state.
8671102550Siwasaki
8672114237SnjlThe internal object cache is now purged after table loading and
8673114237Snjlinitialization to reduce the use of dynamic kernel memory -- on
8674114237Snjlthe assumption that object use is greatest during the parse phase
8675193267Sjkimof the entire table (versus the run-time use of individual control
8676126372Snjlmethods.)
8677102550Siwasaki
8678102550SiwasakiACPI 2.0 variable-length packages are now fully operational.
8679102550Siwasaki
8680193267SjkimCode and Data Size: Code and Data optimizations have permitted new
8681126372Snjlfeature development with an actual reduction in the library size.
8682126372SnjlCurrent core subsystem library sizes are shown below.  These are
8683126372Snjlthe code and data sizes for the acpica.lib produced by the
8684193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
8685126372Snjlany ACPI driver or OSPM code.  The debug version of the code
8686126372Snjlincludes the debug output trace mechanism and has a larger code
8687126372Snjland data size.  Note that these values will vary depending on the
8688126372Snjlefficiency of the compiler and the compiler options used during
8689126372Snjlgeneration.
8690102550Siwasaki
8691102550Siwasaki  Previous Release (11_09_01):
8692114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8693114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8694102550Siwasaki
8695102550Siwasaki  Current Release:
8696114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8697114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8698102550Siwasaki
8699102550Siwasaki 2) Linux:
8700102550Siwasaki
8701114237SnjlEnhanced the ACPI boot-time initialization code to allow the use
8702114237Snjlof Local APIC tables for processor enumeration on IA-32, and to
8703114237Snjlpave the way for a fully MPS-free boot (on SMP systems) in the
8704114237Snjlnear future.  This functionality replaces
8705114237Snjlarch/i386/kernel/acpitables.c, which was introduced in an earlier
8706114237Snjl2.4.15-preX release.  To enable this feature you must add
8707114237Snjl"acpi_boot=on" to the kernel command line -- see the help entry
8708193267Sjkimfor CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
8709126372Snjlthe works...
8710102550Siwasaki
8711114237SnjlRestructured the configuration options to allow boot-time table
8712114237Snjlparsing support without inclusion of the ACPI Interpreter (and
8713114237Snjlother) code.
8714102550Siwasaki
8715193267SjkimNOTE: This release does not include fixes for the reported events,
8716126372Snjlpower-down, and thermal passive cooling issues (coming soon).
8717102550Siwasaki
8718102550Siwasaki 3) ASL Compiler:
8719102550Siwasaki
8720114237SnjlAdded additional typechecking for Fields within restricted access
8721114237SnjlOperation Regions.  All fields within EC and CMOS regions must be
8722114237Snjldeclared with ByteAcc. All fields withing SMBus regions must be
8723114237Snjldeclared with the BufferAcc access type.
8724102550Siwasaki
8725114237SnjlFixed a problem where the listing file output of control methods
8726114237Snjlno longer interleaved the actual AML code with the ASL source
8727114237Snjlcode.
8728102550Siwasaki
8729102550Siwasaki
8730102550Siwasaki
8731167802Sjkim
8732102550Siwasaki----------------------------------------
8733102550SiwasakiSummary of changes for this label: 11_09_01
8734102550Siwasaki
8735102550Siwasaki1) ACPI CA Core Subsystem:
8736102550Siwasaki
8737114237SnjlImplemented ACPI 2.0-defined support for writes to fields with a
8738193267SjkimBuffer, String, or Integer source operand that is smaller than the
8739126372Snjltarget field. In these cases, the source operand is zero-extended
8740126372Snjlto fill the target field.
8741102550Siwasaki
8742104470SiwasakiFixed a problem where a Field starting bit offset (within the
8743104470Siwasakiparent operation region) was calculated incorrectly if the
8744167802Sjkim
8745104470Siwasakialignment of the field differed from the access width.  This
8746114237Snjlaffected CreateWordField, CreateDwordField, CreateQwordField, and
8747114237Snjlpossibly other fields that use the "AccessAny" keyword.
8748102550Siwasaki
8749114237SnjlFixed a problem introduced in the 11_02_01 release where indirect
8750114237Snjlstores through method arguments did not operate correctly.
8751102550Siwasaki
8752102550Siwasaki2) Linux:
8753102550Siwasaki
8754102550SiwasakiImplemented boot-time ACPI table parsing support
8755114237Snjl(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
8756114237Snjlfacilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
8757114237Snjllegacy BIOS interfaces (e.g. MPS) for the configuration of system
8758193267Sjkimprocessors, memory, and interrupts during setup_arch().  Note that
8759126372Snjlthis patch does not include the required architecture-specific
8760126372Snjlchanges required to apply this information -- subsequent patches
8761126372Snjlwill be posted for both IA32 and IA64 to achieve this.
8762102550Siwasaki
8763114237SnjlAdded low-level sleep support for IA32 platforms, courtesy of Pat
8764114237SnjlMochel. This allows IA32 systems to transition to/from various
8765114237Snjlsleeping states (e.g. S1, S3), although the lack of a centralized
8766114237Snjldriver model and power-manageable drivers will prevent its
8767114237Snjl(successful) use on most systems.
8768102550Siwasaki
8769114237SnjlRevamped the ACPI 'menuconfig' layout: created new "ACPI Support"
8770193267Sjkimsubmenu, unified IA32 and IA64 options, added new "Boot using ACPI
8771126372Snjltables" option, etc.
8772102550Siwasaki
8773114237SnjlIncreased the default timeout for the EC driver from 1ms to 10ms
8774114237Snjl(1000 cycles of 10us) to try to address AE_TIME errors during EC
8775114237Snjltransactions.
8776102550Siwasaki
8777102550Siwasaki ----------------------------------------
8778102550SiwasakiSummary of changes for this label: 11_02_01
8779102550Siwasaki
8780102550Siwasaki1) ACPI CA Core Subsystem:
8781102550Siwasaki
8782102550SiwasakiACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
8783102550Siwasaki(QWordAcc keyword). All ACPI 2.0 64-bit support is now
8784102550Siwasakiimplemented.
8785102550Siwasaki
8786114237SnjlOSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
8787114237Snjlchanges to support ACPI 2.0 Qword field access.  Read/Write
8788193267SjkimPciConfiguration(), Read/Write Memory(), and Read/Write Port() now
8789126372Snjlaccept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
8790193267Sjkimthe value parameter for the address space handler interface is now
8791193267Sjkiman ACPI_INTEGER.  OSL implementations of these interfaces must now
8792126372Snjlhandle the case where the Width parameter is 64.
8793102550Siwasaki
8794104470SiwasakiIndex Fields: Fixed a problem where unaligned bit assembly and
8795104470Siwasakidisassembly for IndexFields was not supported correctly.
8796102550Siwasaki
8797102550SiwasakiIndex and Bank Fields:  Nested Index and Bank Fields are now
8798104470Siwasakisupported. During field access, a check is performed to ensure
8799114237Snjlthat the value written to an Index or Bank register is not out of
8800114237Snjlthe range of the register.  The Index (or Bank) register is
8801114237Snjlwritten before each access to the field data. Future support will
8802114237Snjlinclude allowing individual IndexFields to be wider than the
8803114237SnjlDataRegister width.
8804102550Siwasaki
8805114237SnjlFields: Fixed a problem where the AML interpreter was incorrectly
8806114237Snjlattempting to write beyond the end of a Field/OpRegion.  This was
8807114237Snjla boundary case that occurred when a DWORD field was written to a
8808114237SnjlBYTE access OpRegion, forcing multiple writes and causing the
8809114237Snjlinterpreter to write one datum too many.
8810102550Siwasaki
8811102550SiwasakiFields: Fixed a problem with Field/OpRegion access where the
8812114237Snjlstarting bit address of a field was incorrectly calculated if the
8813114237Snjlcurrent access type was wider than a byte (WordAcc, DwordAcc, or
8814114237SnjlQwordAcc).
8815102550Siwasaki
8816104470SiwasakiFields: Fixed a problem where forward references to individual
8817193267SjkimFieldUnits (individual Field names within a Field definition) were
8818126372Snjlnot resolved during the AML table load.
8819102550Siwasaki
8820104470SiwasakiFields: Fixed a problem where forward references from a Field
8821104470Siwasakidefinition to the parent Operation Region definition were not
8822104470Siwasakiresolved during the AML table load.
8823104470Siwasaki
8824114237SnjlFields: Duplicate FieldUnit names within a scope are now detected
8825114237Snjlduring AML table load.
8826102550Siwasaki
8827193267SjkimAcpi Interfaces: Fixed a problem where the AcpiGetName() interface
8828126372Snjlreturned an incorrect name for the root node.
8829102550Siwasaki
8830193267SjkimCode and Data Size: Code and Data optimizations have permitted new
8831126372Snjlfeature development with an actual reduction in the library size.
8832126372SnjlCurrent core subsystem library sizes are shown below.  These are
8833126372Snjlthe code and data sizes for the acpica.lib produced by the
8834193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
8835126372Snjlany ACPI driver or OSPM code.  The debug version of the code
8836126372Snjlincludes the debug output trace mechanism and has a larger code
8837126372Snjland data size.  Note that these values will vary depending on the
8838126372Snjlefficiency of the compiler and the compiler options used during
8839126372Snjlgeneration.
8840102550Siwasaki
8841102550Siwasaki  Previous Release (10_18_01):
8842114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
8843114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
8844102550Siwasaki
8845102550Siwasaki  Current Release:
8846114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8847114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8848102550Siwasaki
8849102550Siwasaki 2) Linux:
8850102550Siwasaki
8851102550SiwasakiImproved /proc processor output (Pavel Machek) Re-added
8852102550SiwasakiMODULE_LICENSE("GPL") to all modules.
8853102550Siwasaki
8854102550Siwasaki 3) ASL Compiler version X2030:
8855102550Siwasaki
8856104470SiwasakiDuplicate FieldUnit names within a scope are now detected and
8857104470Siwasakiflagged as errors.
8858102550Siwasaki
8859102550Siwasaki 4) Documentation:
8860102550Siwasaki
8861104470SiwasakiProgrammer Reference updated to reflect OSL and address space
8862104470Siwasakihandler interface changes described above.
8863102550Siwasaki
8864102550Siwasaki----------------------------------------
8865102550SiwasakiSummary of changes for this label: 10_18_01
8866102550Siwasaki
8867102550SiwasakiACPI CA Core Subsystem:
8868102550Siwasaki
8869193267SjkimFixed a problem with the internal object reference count mechanism
8870126372Snjlthat occasionally caused premature object deletion. This resolves
8871126372Snjlall of the outstanding problem reports where an object is deleted
8872193267Sjkimin the middle of an interpreter evaluation.  Although this problem
8873126372Snjlonly showed up in rather obscure cases, the solution to the
8874126372Snjlproblem involved an adjustment of all reference counts involving
8875126372Snjlobjects attached to namespace nodes.
8876102550Siwasaki
8877102550SiwasakiFixed a problem with Field support in the interpreter where
8878114237Snjlwriting to an aligned field whose length is an exact multiple (2
8879193267Sjkimor greater) of the field access granularity would cause an attempt
8880126372Snjlto write beyond the end of the field.
8881102550Siwasaki
8882102550SiwasakiThe top level AML opcode execution functions within the
8883102550Siwasakiinterpreter have been renamed with a more meaningful and
8884102550Siwasakiconsistent naming convention.  The modules exmonad.c and
8885102550Siwasakiexdyadic.c were eliminated.  New modules are exoparg1.c,
8886102550Siwasakiexoparg2.c, exoparg3.c, and exoparg6.c.
8887102550Siwasaki
8888114237SnjlSupport for the ACPI 2.0 "Mid" ASL operator has been implemented.
8889102550Siwasaki
8890114237SnjlFixed a problem where the AML debugger was causing some internal
8891114237Snjlobjects to not be deleted during subsystem termination.
8892102550Siwasaki
8893104470SiwasakiFixed a problem with the external AcpiEvaluateObject interface
8894104470Siwasakiwhere the subsystem would fault if the named object to be
8895104470Siwasakievaluated refered to a constant such as Zero, Ones, etc.
8896102550Siwasaki
8897102550SiwasakiFixed a problem with IndexFields and BankFields where the
8898114237Snjlsubsystem would fault if the index, data, or bank registers were
8899114237Snjlnot defined in the same scope as the field itself.
8900102550Siwasaki
8901104470SiwasakiAdded printf format string checking for compilers that support
8902104470Siwasakithis feature.  Corrected more than 50 instances of issues with
8903104470Siwasakiformat specifiers within invocations of ACPI_DEBUG_PRINT
8904104470Siwasakithroughout the core subsystem code.
8905102550Siwasaki
8906104470SiwasakiThe ASL "Revision" operator now returns the ACPI support level
8907193267Sjkimimplemented in the core - the value "2" since the ACPI 2.0 support
8908126372Snjlis more than 50% implemented.
8909102550Siwasaki
8910114237SnjlEnhanced the output of the AML debugger "dump namespace" command
8911114237Snjlto output in a more human-readable form.
8912102550Siwasaki
8913114237SnjlCurrent core subsystem library code sizes are shown below.  These
8914167802Sjkim
8915114237Snjlare the code and data sizes for the acpica.lib produced by the
8916193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
8917126372Snjlany ACPI driver or OSPM code.  The debug version of the code
8918126372Snjlincludes the full debug trace mechanism -- leading to a much
8919167802Sjkim
8920114237Snjllarger code and data size.  Note that these values will vary
8921114237Snjldepending on the efficiency of the compiler and the compiler
8922114237Snjloptions used during generation.
8923102550Siwasaki
8924102550Siwasaki     Previous Label (09_20_01):
8925114237Snjl     Non-Debug Version:    65K Code,     5K Data,     70K Total
8926114237Snjl     Debug Version:       138K Code,    58K Data,    196K Total
8927102550Siwasaki
8928102550Siwasaki     This Label:
8929102550Siwasaki
8930114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
8931114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
8932114237Snjl
8933102550SiwasakiLinux:
8934102550Siwasaki
8935104470SiwasakiImplemented a "Bad BIOS Blacklist" to track machines that have
8936104470Siwasakiknown ASL/AML problems.
8937102550Siwasaki
8938193267SjkimEnhanced the /proc interface for the thermal zone driver and added
8939126372Snjlsupport for _HOT (the critical suspend trip point).  The 'info'
8940193267Sjkimfile now includes threshold/policy information, and allows setting
8941126372Snjlof _SCP (cooling preference) and _TZP (polling frequency) values
8942193267Sjkimto the 'info' file. Examples: "echo tzp=5 > info" sets the polling
8943126372Snjlfrequency to 5 seconds, and "echo scp=1 > info" sets the cooling
8944126372Snjlpreference to the passive/quiet mode (if supported by the ASL).
8945102550Siwasaki
8946104470SiwasakiImplemented a workaround for a gcc bug that resuted in an OOPs
8947104470Siwasakiwhen loading the control method battery driver.
8948102550Siwasaki
8949102550Siwasaki ----------------------------------------
8950102550SiwasakiSummary of changes for this label: 09_20_01
8951102550Siwasaki
8952102550Siwasaki ACPI CA Core Subsystem:
8953102550Siwasaki
8954104470SiwasakiThe AcpiEnableEvent and AcpiDisableEvent interfaces have been
8955104470Siwasakimodified to allow individual GPE levels to be flagged as wake-
8956114237Snjlenabled (i.e., these GPEs are to remain enabled when the platform
8957114237Snjlsleeps.)
8958102550Siwasaki
8959104470SiwasakiThe AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
8960104470Siwasakisupport wake-enabled GPEs.  This means that upon entering the
8961104470Siwasakisleep state, all GPEs that are not wake-enabled are disabled.
8962104470SiwasakiWhen leaving the sleep state, these GPEs are reenabled.
8963102550Siwasaki
8964114237SnjlA local double-precision divide/modulo module has been added to
8965114237Snjlenhance portability to OS kernels where a 64-bit math library is
8966114237Snjlnot available.  The new module is "utmath.c".
8967102550Siwasaki
8968104470SiwasakiSeveral optimizations have been made to reduce the use of CPU
8969114237Snjlstack.  Originally over 2K, the maximum stack usage is now below
8970114237Snjl2K at 1860  bytes (1.82k)
8971102550Siwasaki
8972114237SnjlFixed a problem with the AcpiGetFirmwareTable interface where the
8973193267Sjkimroot table pointer was not mapped into a logical address properly.
8974102550Siwasaki
8975193267SjkimFixed a problem where a NULL pointer was being dereferenced in the
8976126372Snjlinterpreter code for the ASL Notify operator.
8977102550Siwasaki
8978102550SiwasakiFixed a problem where the use of the ASL Revision operator
8979114237Snjlreturned an error. This operator now returns the current version
8980114237Snjlof the ACPI CA core subsystem.
8981102550Siwasaki
8982114237SnjlFixed a problem where objects passed as control method parameters
8983114237Snjlto AcpiEvaluateObject were always deleted at method termination.
8984114237SnjlHowever, these objects may end up being stored into the namespace
8985114237Snjlby the called method.  The object reference count mechanism was
8986114237Snjlapplied to these objects instead of a force delete.
8987102550Siwasaki
8988114237SnjlFixed a problem where static strings or buffers (contained in the
8989114237SnjlAML code) that are declared as package elements within the ASL
8990114237Snjlcode could cause a fault because the interpreter would attempt to
8991114237Snjldelete them.  These objects are now marked with the "static
8992114237Snjlobject" flag to prevent any attempt to delete them.
8993102550Siwasaki
8994114237SnjlImplemented an interpreter optimization to use operands directly
8995114237Snjlfrom the state object instead of extracting the operands to local
8996114237Snjlvariables.  This reduces stack use and code size, and improves
8997114237Snjlperformance.
8998102550Siwasaki
8999193267SjkimThe module exxface.c was eliminated as it was an unnecessary extra
9000126372Snjllayer of code.
9001102550Siwasaki
9002114237SnjlCurrent core subsystem library code sizes are shown below.  These
9003114237Snjlare the code and data sizes for the acpica.lib produced by the
9004193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9005126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9006126372Snjlincludes the full debug trace mechanism -- leading to a much
9007114237Snjllarger code and data size.  Note that these values will vary
9008114237Snjldepending on the efficiency of the compiler and the compiler
9009114237Snjloptions used during generation.
9010102550Siwasaki
9011102550Siwasaki  Non-Debug Version:  65K Code,   5K Data,   70K Total
9012114237Snjl(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9013114237SnjlTotal  (Previously 195K)
9014102550Siwasaki
9015102550SiwasakiLinux:
9016102550Siwasaki
9017114237SnjlSupport for ACPI 2.0 64-bit integers has been added.   All ACPI
9018114237SnjlInteger objects are now 64 bits wide
9019102550Siwasaki
9020114237SnjlAll Acpi data types and structures are now in lower case.  Only
9021114237SnjlAcpi macros are upper case for differentiation.
9022102550Siwasaki
9023102550Siwasaki Documentation:
9024102550Siwasaki
9025102550SiwasakiChanges to the external interfaces as described above.
9026102550Siwasaki
9027102550Siwasaki ----------------------------------------
9028102550SiwasakiSummary of changes for this label: 08_31_01
9029102550Siwasaki
9030102550Siwasaki ACPI CA Core Subsystem:
9031102550Siwasaki
9032114237SnjlA bug with interpreter implementation of the ASL Divide operator
9033114237Snjlwas found and fixed.  The implicit function return value (not the
9034114237Snjlexplicit store operands) was returning the remainder instead of
9035114237Snjlthe quotient.  This was a longstanding bug and it fixes several
9036114237Snjlknown outstanding issues on various platforms.
9037102550Siwasaki
9038104470SiwasakiThe ACPI_DEBUG_PRINT and function trace entry/exit macros have
9039193267Sjkimbeen further optimized for size.  There are 700 invocations of the
9040126372SnjlDEBUG_PRINT macro alone, so each optimization reduces the size of
9041126372Snjlthe debug version of the subsystem significantly.
9042102550Siwasaki
9043114237SnjlA stack trace mechanism has been implemented.  The maximum stack
9044193267Sjkimusage is about 2K on 32-bit platforms.  The debugger command "stat
9045126372Snjlstack" will display the current maximum stack usage.
9046102550Siwasaki
9047114237SnjlAll public symbols and global variables within the subsystem are
9048114237Snjlnow prefixed with the string "Acpi".  This keeps all of the
9049114237Snjlsymbols grouped together in a kernel map, and avoids conflicts
9050114237Snjlwith other kernel subsystems.
9051102550Siwasaki
9052114237SnjlMost of the internal fixed lookup tables have been moved into the
9053114237Snjlcode segment via the const operator.
9054102550Siwasaki
9055104470SiwasakiSeveral enhancements have been made to the interpreter to both
9056104470Siwasakireduce the code size and improve performance.
9057102550Siwasaki
9058114237SnjlCurrent core subsystem library code sizes are shown below.  These
9059114237Snjlare the code and data sizes for the acpica.lib produced by the
9060193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9061126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9062126372Snjlincludes the full debug trace mechanism which contains over 700
9063126372Snjlinvocations of the DEBUG_PRINT macro, 500 function entry macro
9064126372Snjlinvocations, and over 900 function exit macro invocations --
9065126372Snjlleading to a much larger code and data size.  Note that these
9066114237Snjlvalues will vary depending on the efficiency of the compiler and
9067114237Snjlthe compiler options used during generation.
9068102550Siwasaki
9069102550Siwasaki        Non-Debug Version:  64K Code,   5K Data,   69K Total
9070102550SiwasakiDebug Version:     137K Code,  58K Data,  195K Total
9071102550Siwasaki
9072102550Siwasaki Linux:
9073102550Siwasaki
9074104470SiwasakiImplemented wbinvd() macro, pending a kernel-wide definition.
9075102550Siwasaki
9076102550SiwasakiFixed /proc/acpi/event to handle poll() and short reads.
9077102550Siwasaki
9078102550Siwasaki ASL Compiler, version X2026:
9079102550Siwasaki
9080104470SiwasakiFixed a problem introduced in the previous label where the AML
9081167802Sjkim
9082104470Siwasakicode emitted for package objects produced packages with zero
9083104470Siwasakilength.
9084102550Siwasaki
9085102550Siwasaki ----------------------------------------
9086102550SiwasakiSummary of changes for this label: 08_16_01
9087102550Siwasaki
9088102550SiwasakiACPI CA Core Subsystem:
9089102550Siwasaki
9090114237SnjlThe following ACPI 2.0 ASL operators have been implemented in the
9091114237SnjlAML interpreter (These are already supported by the Intel ASL
9092193267Sjkimcompiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9093126372SnjlToBuffer.  Support for 64-bit AML constants is implemented in the
9094126372SnjlAML parser, debugger, and disassembler.
9095102550Siwasaki
9096114237SnjlThe internal memory tracking mechanism (leak detection code) has
9097114237Snjlbeen upgraded to reduce the memory overhead (a separate tracking
9098114237Snjlblock is no longer allocated for each memory allocation), and now
9099114237Snjlsupports all of the internal object caches.
9100102550Siwasaki
9101114237SnjlThe data structures and code for the internal object caches have
9102114237Snjlbeen coelesced and optimized so that there is a single cache and
9103114237Snjlmemory list data structure and a single group of functions that
9104114237Snjlimplement generic cache management.  This has reduced the code
9105114237Snjlsize in both the debug and release versions of the subsystem.
9106102550Siwasaki
9107193267SjkimThe DEBUG_PRINT macro(s) have been optimized for size and replaced
9108126372Snjlby ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
9109126372Snjldifferent, because it generates a single call to an internal
9110126372Snjlfunction.  This results in a savings of about 90 bytes per
9111193267Sjkiminvocation, resulting in an overall code and data savings of about
9112126372Snjl16% in the debug version of the subsystem.
9113102550Siwasaki
9114102550Siwasaki Linux:
9115102550Siwasaki
9116114237SnjlFixed C3 disk corruption problems and re-enabled C3 on supporting
9117114237Snjlmachines.
9118102550Siwasaki
9119102550SiwasakiIntegrated low-level sleep code by Patrick Mochel.
9120102550Siwasaki
9121102550SiwasakiFurther tweaked source code Linuxization.
9122102550Siwasaki
9123102550SiwasakiOther minor fixes.
9124102550Siwasaki
9125102550Siwasaki ASL Compiler:
9126102550Siwasaki
9127114237SnjlSupport for ACPI 2.0 variable length packages is fixed/completed.
9128102550Siwasaki
9129114237SnjlFixed a problem where the optional length parameter for the ACPI
9130114237Snjl2.0 ToString operator.
9131102550Siwasaki
9132114237SnjlFixed multiple extraneous error messages when a syntax error is
9133114237Snjldetected within the declaration line of a control method.
9134102550Siwasaki
9135102550Siwasaki ----------------------------------------
9136102550SiwasakiSummary of changes for this label: 07_17_01
9137102550Siwasaki
9138102550SiwasakiACPI CA Core Subsystem:
9139102550Siwasaki
9140104470SiwasakiAdded a new interface named AcpiGetFirmwareTable to obtain any
9141193267SjkimACPI table via the ACPI signature.  The interface can be called at
9142126372Snjlany time during kernel initialization, even before the kernel
9143193267Sjkimvirtual memory manager is initialized and paging is enabled.  This
9144126372Snjlallows kernel subsystems to obtain ACPI tables very early, even
9145126372Snjlbefore the ACPI CA subsystem is initialized.
9146102550Siwasaki
9147104470SiwasakiFixed a problem where Fields defined with the AnyAcc attribute
9148104470Siwasakicould be resolved to the incorrect address under the following
9149114237Snjlconditions: 1) the field width is larger than 8 bits and 2) the
9150114237Snjlparent operation region is not defined on a DWORD boundary.
9151102550Siwasaki
9152114237SnjlFixed a problem where the interpreter is not being locked during
9153114237Snjlnamespace initialization (during execution of the _INI control
9154114237Snjlmethods), causing an error when an attempt is made to release it
9155114237Snjllater.
9156102550Siwasaki
9157104470SiwasakiACPI 2.0 support in the AML Interpreter has begun and will be
9158114237Snjlongoing throughout the rest of this year.  In this label, The Mod
9159114237Snjloperator is implemented.
9160102550Siwasaki
9161102550SiwasakiAdded a new data type to contain full PCI addresses named
9162193267SjkimACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
9163126372Snjland Function values.
9164102550Siwasaki
9165102550Siwasaki Linux:
9166102550Siwasaki
9167102550SiwasakiEnhanced the Linux version of the source code to change most
9168102550Siwasakicapitalized ACPI type names to lowercase. For example, all
9169114237Snjlinstances of ACPI_STATUS are changed to acpi_status.  This will
9170114237Snjlresult in a large diff, but the change is strictly cosmetic and
9171114237Snjlaligns the CA code closer to the Linux coding standard.
9172102550Siwasaki
9173102550SiwasakiOSL Interfaces:
9174102550Siwasaki
9175193267SjkimThe interfaces to the PCI configuration space have been changed to
9176193267Sjkimadd the PCI Segment number and to split the single 32-bit combined
9177126372SnjlDeviceFunction field into two 16-bit fields.  This was
9178114237Snjlaccomplished by moving the four values that define an address in
9179114237SnjlPCI configuration space (segment, bus, device, and function) to
9180114237Snjlthe new ACPI_PCI_ID structure.
9181102550Siwasaki
9182104470SiwasakiThe changes to the PCI configuration space interfaces led to a
9183104470Siwasakireexamination of the complete set of address space access
9184114237Snjlinterfaces for PCI, I/O, and Memory.  The previously existing 18
9185114237Snjlinterfaces have proven difficult to maintain (any small change
9186193267Sjkimmust be propagated across at least 6 interfaces) and do not easily
9187193267Sjkimallow for future expansion to 64 bits if necessary.  Also, on some
9188126372Snjlsystems, it would not be appropriate to demultiplex the access
9189126372Snjlwidth (8, 16, 32,or 64) before calling the OSL if the
9190114237Snjlcorresponding native OS interfaces contain a similar access width
9191114237Snjlparameter.  For these reasons, the 18 address space interfaces
9192114237Snjlhave been replaced by these 6 new ones:
9193102550Siwasaki
9194102550SiwasakiAcpiOsReadPciConfiguration
9195102550SiwasakiAcpiOsWritePciConfiguration
9196102550SiwasakiAcpiOsReadMemory
9197102550SiwasakiAcpiOsWriteMemory
9198102550SiwasakiAcpiOsReadPort
9199102550SiwasakiAcpiOsWritePort
9200102550Siwasaki
9201114237SnjlAdded a new interface named AcpiOsGetRootPointer to allow the OSL
9202114237Snjlto perform the platform and/or OS-specific actions necessary to
9203114237Snjlobtain the ACPI RSDP table pointer.  On IA-32 platforms, this
9204114237Snjlinterface will simply call down to the CA core to perform the low-
9205114237Snjlmemory search for the table.  On IA-64, the RSDP is obtained from
9206114237SnjlEFI.  Migrating this interface to the OSL allows the CA core to
9207167802Sjkim
9208114237Snjlremain OS and platform independent.
9209102550Siwasaki
9210104470SiwasakiAdded a new interface named AcpiOsSignal to provide a generic
9211114237Snjl"function code and pointer" interface for various miscellaneous
9212114237Snjlsignals and notifications that must be made to the host OS.   The
9213114237Snjlfirst such signals are intended to support the ASL Fatal and
9214114237SnjlBreakpoint operators.  In the latter case, the AcpiOsBreakpoint
9215114237Snjlinterface has been obsoleted.
9216102550Siwasaki
9217102550SiwasakiThe definition of the AcpiFormatException interface has been
9218114237Snjlchanged to simplify its use.  The caller no longer must supply a
9219114237Snjlbuffer to the call; A pointer to a const string is now returned
9220114237Snjldirectly.  This allows the call to be easily used in printf
9221114237Snjlstatements, etc. since the caller does not have to manage a local
9222114237Snjlbuffer.
9223102550Siwasaki
9224114237Snjl
9225102550Siwasaki ASL Compiler, Version X2025:
9226102550Siwasaki
9227114237SnjlThe ACPI 2.0 Switch/Case/Default operators have been implemented
9228114237Snjland are fully functional.  They will work with all ACPI 1.0
9229193267Sjkiminterpreters, since the operators are simply translated to If/Else
9230126372Snjlpairs.
9231102550Siwasaki
9232104470SiwasakiThe ACPI 2.0 ElseIf operator is implemented and will also work
9233104470Siwasakiwith 1.0 interpreters, for the same reason.
9234102550Siwasaki
9235114237SnjlImplemented support for ACPI 2.0 variable-length packages.  These
9236114237Snjlpackages have a separate opcode, and their size is determined by
9237114237Snjlthe interpreter at run-time.
9238102550Siwasaki
9239193267SjkimDocumentation The ACPI CA Programmer Reference has been updated to
9240126372Snjlreflect the new interfaces and changes to existing interfaces.
9241102550Siwasaki
9242102550Siwasaki ------------------------------------------
9243102550SiwasakiSummary of changes for this label: 06_15_01
9244102550Siwasaki
9245102550Siwasaki ACPI CA Core Subsystem:
9246102550Siwasaki
9247102550SiwasakiFixed a problem where a DWORD-accessed field within a Buffer
9248114237Snjlobject would get its byte address inadvertently rounded down to
9249114237Snjlthe nearest DWORD.  Buffers are always Byte-accessible.
9250102550Siwasaki
9251102550Siwasaki ASL Compiler, version X2024:
9252102550Siwasaki
9253114237SnjlFixed a problem where the Switch() operator would either fault or
9254114237Snjlhang the compiler.  Note however, that the AML code for this ACPI
9255114237Snjl2.0 operator is not yet implemented.
9256102550Siwasaki
9257114237SnjlCompiler uses the new AcpiOsGetTimer interface to obtain compile
9258114237Snjltimings.
9259102550Siwasaki
9260114237SnjlImplementation of the CreateField operator automatically converts
9261114237Snjla reference to a named field within a resource descriptor from a
9262114237Snjlbyte offset to a bit offset if required.
9263102550Siwasaki
9264102550SiwasakiAdded some missing named fields from the resource descriptor
9265193267Sjkimsupport. These are the names that are automatically created by the
9266126372Snjlcompiler to reference fields within a descriptor.  They are only
9267126372Snjlvalid at compile time and are not passed through to the AML
9268114237Snjlinterpreter.
9269102550Siwasaki
9270104470SiwasakiResource descriptor named fields are now typed as Integers and
9271104470Siwasakisubject to compile-time typechecking when used in expressions.
9272102550Siwasaki
9273102550Siwasaki ------------------------------------------
9274102550SiwasakiSummary of changes for this label: 05_18_01
9275102550Siwasaki
9276102550Siwasaki ACPI CA Core Subsystem:
9277102550Siwasaki
9278114237SnjlFixed a couple of problems in the Field support code where bits
9279193267Sjkimfrom adjacent fields could be returned along with the proper field
9280126372Snjlbits. Restructured the field support code to improve performance,
9281126372Snjlreadability and maintainability.
9282102550Siwasaki
9283114237SnjlNew DEBUG_PRINTP macro automatically inserts the procedure name
9284114237Snjlinto the output, saving hundreds of copies of procedure name
9285114237Snjlstrings within the source, shrinking the memory footprint of the
9286114237Snjldebug version of the core subsystem.
9287102550Siwasaki
9288102550Siwasaki Source Code Structure:
9289102550Siwasaki
9290104470SiwasakiThe source code directory tree was restructured to reflect the
9291114237Snjlcurrent organization of the component architecture.  Some files
9292114237Snjland directories have been moved and/or renamed.
9293102550Siwasaki
9294102550Siwasaki Linux:
9295102550Siwasaki
9296102550SiwasakiFixed leaking kacpidpc processes.
9297102550Siwasaki
9298102550SiwasakiFixed queueing event data even when /proc/acpi/event is not
9299102550Siwasakiopened.
9300102550Siwasaki
9301102550Siwasaki ASL Compiler, version X2020:
9302102550Siwasaki
9303114237SnjlMemory allocation performance enhancement - over 24X compile time
9304114237Snjlimprovement on large ASL files.  Parse nodes and namestring
9305114237Snjlbuffers are now allocated from a large internal compiler buffer.
9306102550Siwasaki
9307102550SiwasakiThe temporary .SRC file is deleted unless the "-s" option is
9308102550Siwasakispecified
9309102550Siwasaki
9310193267SjkimThe "-d" debug output option now sends all output to the .DBG file
9311126372Snjlinstead of the console.
9312102550Siwasaki
9313102550Siwasaki"External" second parameter is now optional
9314102550Siwasaki
9315102550Siwasaki"ElseIf" syntax now properly allows the predicate
9316102550Siwasaki
9317102550SiwasakiLast operand to "Load" now recognized as a Target operand
9318102550Siwasaki
9319102550SiwasakiDebug object can now be used anywhere as a normal object.
9320102550Siwasaki
9321102550SiwasakiResourceTemplate now returns an object of type BUFFER
9322102550Siwasaki
9323102550SiwasakiEISAID now returns an object of type INTEGER
9324102550Siwasaki
9325102550Siwasaki"Index" now works with a STRING operand
9326102550Siwasaki
9327102550Siwasaki"LoadTable" now accepts optional parameters
9328102550Siwasaki
9329102550Siwasaki"ToString" length parameter is now optional
9330102550Siwasaki
9331102550Siwasaki"Interrupt (ResourceType," parse error fixed.
9332102550Siwasaki
9333104470Siwasaki"Register" with a user-defined region space parse error fixed
9334102550Siwasaki
9335114237SnjlEscaped backslash at the end of a string ("\\") scan/parse error
9336114237Snjlfixed
9337102550Siwasaki
9338102550Siwasaki"Revision" is now an object of type INTEGER.
9339102550Siwasaki
9340102550Siwasaki
9341102550Siwasaki
9342102550Siwasaki------------------------------------------
9343102550SiwasakiSummary of changes for this label: 05_02_01
9344102550Siwasaki
9345102550SiwasakiLinux:
9346102550Siwasaki
9347102550Siwasaki/proc/acpi/event now blocks properly.
9348102550Siwasaki
9349102550SiwasakiRemoved /proc/sys/acpi. You can still dump your DSDT from
9350102550Siwasaki/proc/acpi/dsdt.
9351102550Siwasaki
9352102550Siwasaki ACPI CA Core Subsystem:
9353102550Siwasaki
9354193267SjkimFixed a problem introduced in the previous label where some of the
9355126372Snjl"small" resource descriptor types were not recognized.
9356102550Siwasaki
9357193267SjkimImproved error messages for the case where an ASL Field is outside
9358126372Snjlthe range of the parent operation region.
9359102550Siwasaki
9360102550Siwasaki ASL Compiler, version X2018:
9361102550Siwasaki
9362167802Sjkim
9363193267SjkimAdded error detection for ASL Fields that extend beyond the length
9364126372Snjlof the parent operation region (only if the length of the region
9365126372Snjlis known at compile time.)  This includes fields that have a
9366126372Snjlminimum access width that is smaller than the parent region, and
9367126372Snjlindividual field units that are partially or entirely beyond the
9368126372Snjlextent of the parent.
9369102550Siwasaki
9370102550Siwasaki
9371102550Siwasaki
9372102550Siwasaki------------------------------------------
9373102550SiwasakiSummary of changes for this label: 04_27_01
9374102550Siwasaki
9375102550Siwasaki ACPI CA Core Subsystem:
9376102550Siwasaki
9377193267SjkimFixed a problem where the namespace mutex could be released at the
9378126372Snjlwrong time during execution of AcpiRemoveAddressSpaceHandler.
9379102550Siwasaki
9380104470SiwasakiAdded optional thread ID output for debug traces, to simplify
9381114237Snjldebugging of multiple threads.  Added context switch notification
9382114237Snjlwhen the debug code realizes that a different thread is now
9383114237Snjlexecuting ACPI code.
9384102550Siwasaki
9385114237SnjlSome additional external data types have been prefixed with the
9386114237Snjlstring "ACPI_" for consistency.  This may effect existing code.
9387193267SjkimThe data types affected are the external callback typedefs - e.g.,
9388167802Sjkim
9389126372SnjlWALK_CALLBACK becomes ACPI_WALK_CALLBACK.
9390102550Siwasaki
9391102550Siwasaki Linux:
9392102550Siwasaki
9393102550SiwasakiFixed an issue with the OSL semaphore implementation where a
9394102550Siwasakithread was waking up with an error from receiving a SIGCHLD
9395102550Siwasakisignal.
9396102550Siwasaki
9397114237SnjlLinux version of ACPI CA now uses the system C library for string
9398114237Snjlmanipulation routines instead of a local implementation.
9399102550Siwasaki
9400102550SiwasakiCleaned up comments and removed TBDs.
9401102550Siwasaki
9402102550Siwasaki ASL Compiler, version X2017:
9403102550Siwasaki
9404102550SiwasakiEnhanced error detection and reporting for all file I/O
9405102550Siwasakioperations.
9406102550Siwasaki
9407102550Siwasaki Documentation:
9408102550Siwasaki
9409102550SiwasakiProgrammer Reference updated to version 1.06.
9410102550Siwasaki
9411102550Siwasaki
9412102550Siwasaki
9413102550Siwasaki------------------------------------------
9414102550SiwasakiSummary of changes for this label: 04_13_01
9415102550Siwasaki
9416102550Siwasaki ACPI CA Core Subsystem:
9417102550Siwasaki
9418102550SiwasakiRestructured support for BufferFields and RegionFields.
9419104470SiwasakiBankFields support is now fully operational.  All known 32-bit
9420114237Snjllimitations on field sizes have been removed.  Both BufferFields
9421114237Snjland (Operation) RegionFields are now supported by the same field
9422114237Snjlmanagement code.
9423102550Siwasaki
9424114237SnjlResource support now supports QWORD address and IO resources. The
9425114237Snjl16/32/64 bit address structures and the Extended IRQ structure
9426114237Snjlhave been changed to properly handle Source Resource strings.
9427102550Siwasaki
9428114237SnjlA ThreadId of -1 is now used to indicate a "mutex not acquired"
9429193267Sjkimcondition internally and must never be returned by AcpiOsThreadId.
9430126372SnjlThis reserved value was changed from 0 since Unix systems allow a
9431126372Snjlthread ID of 0.
9432102550Siwasaki
9433102550SiwasakiLinux:
9434102550Siwasaki
9435102550SiwasakiDriver code reorganized to enhance portability
9436102550Siwasaki
9437102550SiwasakiAdded a kernel configuration option to control ACPI_DEBUG
9438102550Siwasaki
9439102550SiwasakiFixed the EC driver to honor _GLK.
9440102550Siwasaki
9441102550SiwasakiASL Compiler, version X2016:
9442102550Siwasaki
9443114237SnjlFixed support for the "FixedHw" keyword.  Previously, the FixedHw
9444114237Snjladdress space was set to 0, not 0x7f as it should be.
9445102550Siwasaki
9446102550Siwasaki ------------------------------------------
9447102550SiwasakiSummary of changes for this label: 03_13_01
9448102550Siwasaki
9449102550Siwasaki ACPI CA Core Subsystem:
9450102550Siwasaki
9451104470SiwasakiDuring ACPI initialization, the _SB_._INI method is now run if
9452104470Siwasakipresent.
9453102550Siwasaki
9454193267SjkimNotify handler fix - notifies are deferred until the parent method
9455126372Snjlcompletes execution.  This fixes the "mutex already acquired"
9456126372Snjlissue seen occasionally.
9457102550Siwasaki
9458104470SiwasakiPart of the "implicit conversion" rules in ACPI 2.0 have been
9459114237Snjlfound to cause compatibility problems with existing ASL/AML.  The
9460114237Snjlconvert "result-to-target-type" implementation has been removed
9461114237Snjlfor stores to method Args and Locals.  Source operand conversion
9462114237Snjlis still fully implemented.  Possible changes to ACPI 2.0
9463114237Snjlspecification pending.
9464102550Siwasaki
9465104470SiwasakiFix to AcpiRsCalculatePciRoutingTableLength to return correct
9466104470Siwasakilength.
9467102550Siwasaki
9468102550SiwasakiFix for compiler warnings for 64-bit compiles.
9469102550Siwasaki
9470102550Siwasaki Linux:
9471102550Siwasaki
9472102550Siwasaki/proc output aligned for easier parsing.
9473102550Siwasaki
9474102550SiwasakiRelease-version compile problem fixed.
9475102550Siwasaki
9476104470SiwasakiNew kernel configuration options documented in Configure.help.
9477102550Siwasaki
9478102550SiwasakiIBM 600E - Fixed Sleep button may generate "Invalid <NULL>
9479102550Siwasakicontext" message.
9480102550Siwasaki
9481102550Siwasaki OSPM:
9482102550Siwasaki
9483102550SiwasakiPower resource driver integrated with bus manager.
9484102550Siwasaki
9485102550SiwasakiFixed kernel fault during active cooling for thermal zones.
9486102550Siwasaki
9487102550SiwasakiSource Code:
9488102550Siwasaki
9489102550SiwasakiThe source code tree has been restructured.
9490102550Siwasaki
9491102550Siwasaki
9492102550Siwasaki
9493102550Siwasaki------------------------------------------
9494102550SiwasakiSummary of changes for this label: 03_02_01
9495102550Siwasaki
9496102550Siwasaki Linux OS Services Layer (OSL):
9497102550Siwasaki
9498102550SiwasakiMajor revision of all Linux-specific code.
9499102550Siwasaki
9500102550SiwasakiModularized all ACPI-specific drivers.
9501102550Siwasaki
9502102550SiwasakiAdded new thermal zone and power resource drivers.
9503102550Siwasaki
9504114237SnjlRevamped /proc interface (new functionality is under /proc/acpi).
9505102550Siwasaki
9506102550SiwasakiNew kernel configuration options.
9507102550Siwasaki
9508102550Siwasaki Linux known issues:
9509102550Siwasaki
9510114237SnjlNew kernel configuration options not documented in Configure.help
9511114237Snjlyet.
9512102550Siwasaki
9513114237Snjl
9514102550SiwasakiModule dependencies not currently implemented. If used, they
9515102550Siwasakishould be loaded in this order: busmgr, power, ec, system,
9516102550Siwasakiprocessor, battery, ac_adapter, button, thermal.
9517102550Siwasaki
9518102550SiwasakiModules will not load if CONFIG_MODVERSION is set.
9519102550Siwasaki
9520102550SiwasakiIBM 600E - entering S5 may reboot instead of shutting down.
9521102550Siwasaki
9522104470SiwasakiIBM 600E - Sleep button may generate "Invalid <NULL> context"
9523104470Siwasakimessage.
9524102550Siwasaki
9525104470SiwasakiSome systems may fail with "execution mutex already acquired"
9526104470Siwasakimessage.
9527102550Siwasaki
9528102550Siwasaki ACPI CA Core Subsystem:
9529102550Siwasaki
9530114237SnjlAdded a new OSL Interface, AcpiOsGetThreadId.  This was required
9531193267Sjkimfor the  deadlock detection code. Defined to return a non-zero, 32-
9532126372Snjlbit thread ID for the currently executing thread.  May be a non-
9533126372Snjlzero constant integer on single-thread systems.
9534102550Siwasaki
9535193267SjkimImplemented deadlock detection for internal subsystem mutexes.  We
9536126372Snjlmay add conditional compilation for this code (debug only) later.
9537102550Siwasaki
9538104470SiwasakiASL/AML Mutex object semantics are now fully supported.  This
9539114237Snjlincludes multiple acquires/releases by owner and support for the
9540167802Sjkim
9541114237SnjlMutex SyncLevel parameter.
9542102550Siwasaki
9543102550SiwasakiA new "Force Release" mechanism automatically frees all ASL
9544104470SiwasakiMutexes that have been acquired but not released when a thread
9545114237Snjlexits the interpreter.  This forces conformance to the ACPI spec
9546114237Snjl("All mutexes must be released when an invocation exits") and
9547114237Snjlprevents deadlocked ASL threads.  This mechanism can be expanded
9548114237Snjl(later) to monitor other resource acquisitions if OEM ASL code
9549114237Snjlcontinues to misbehave (which it will).
9550102550Siwasaki
9551104470SiwasakiSeveral new ACPI exception codes have been added for the Mutex
9552104470Siwasakisupport.
9553102550Siwasaki
9554104470SiwasakiRecursive method calls are now allowed and supported (the ACPI
9555114237Snjlspec does in fact allow recursive method calls.)  The number of
9556114237Snjlrecursive calls is subject to the restrictions imposed by the
9557114237SnjlSERIALIZED method keyword and SyncLevel (ACPI 2.0) method
9558104470Siwasakiparameter.
9559102550Siwasaki
9560102550SiwasakiImplemented support for the SyncLevel parameter for control
9561102550Siwasakimethods (ACPI 2.0 feature)
9562102550Siwasaki
9563114237SnjlFixed a deadlock problem when multiple threads attempted to use
9564114237Snjlthe interpreter.
9565102550Siwasaki
9566102550SiwasakiFixed a problem where the string length of a String package
9567102550Siwasakielement was not always set in a package returned from
9568102550SiwasakiAcpiEvaluateObject.
9569102550Siwasaki
9570114237SnjlFixed a problem where the length of a String package element was
9571114237Snjlnot always included in the length of the overall package returned
9572114237Snjlfrom AcpiEvaluateObject.
9573102550Siwasaki
9574102550SiwasakiAdded external interfaces (Acpi*) to the ACPI debug memory
9575102550Siwasakimanager.  This manager keeps a list of all outstanding
9576193267Sjkimallocations, and can therefore detect memory leaks and attempts to
9577126372Snjlfree memory blocks more than once. Useful for code such as the
9578114237Snjlpower manager, etc.  May not be appropriate for device drivers.
9579114237SnjlPerformance with the debug code enabled is slow.
9580102550Siwasaki
9581102550SiwasakiThe ACPI Global Lock is now an optional hardware element.
9582102550Siwasaki
9583102550Siwasaki ASL Compiler Version X2015:
9584102550Siwasaki
9585102550SiwasakiIntegrated changes to allow the compiler to be generated on
9586102550Siwasakimultiple platforms.
9587102550Siwasaki
9588102550SiwasakiLinux makefile added to generate the compiler on Linux
9589102550Siwasaki
9590102550Siwasaki Source Code:
9591102550Siwasaki
9592102550SiwasakiAll platform-specific headers have been moved to their own
9593102550Siwasakisubdirectory, Include/Platform.
9594102550Siwasaki
9595102550SiwasakiNew source file added, Interpreter/ammutex.c
9596102550Siwasaki
9597102550SiwasakiNew header file, Include/acstruct.h
9598102550Siwasaki
9599102550Siwasaki Documentation:
9600102550Siwasaki
9601114237SnjlThe programmer reference has been updated for the following new
9602114237Snjlinterfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
9603102550Siwasaki
9604102550Siwasaki ------------------------------------------
9605102550SiwasakiSummary of changes for this label: 02_08_01
9606102550Siwasaki
9607102550SiwasakiCore ACPI CA Subsystem: Fixed a problem where an error was
9608193267Sjkimincorrectly returned if the return resource buffer was larger than
9609126372Snjlthe actual data (in the resource interfaces).
9610102550Siwasaki
9611114237SnjlReferences to named objects within packages are resolved to the
9612167802Sjkim
9613114237Snjlfull pathname string before packages are returned directly (via
9614114237Snjlthe AcpiEvaluateObject interface) or indirectly via the resource
9615114237Snjlinterfaces.
9616102550Siwasaki
9617102550SiwasakiLinux OS Services Layer (OSL):
9618102550Siwasaki
9619102550SiwasakiImproved /proc battery interface.
9620102550Siwasaki
9621102550Siwasaki
9622104470SiwasakiAdded C-state debugging output and other miscellaneous fixes.
9623102550Siwasaki
9624102550SiwasakiASL Compiler Version X2014:
9625102550Siwasaki
9626114237SnjlAll defined method arguments can now be used as local variables,
9627114237Snjlincluding the ones that are not actually passed in as parameters.
9628114237SnjlThe compiler tracks initialization of the arguments and issues an
9629114237Snjlexception if they are used without prior assignment (just like
9630114237Snjllocals).
9631102550Siwasaki
9632193267SjkimThe -o option now specifies a filename prefix that is used for all
9633126372Snjloutput files, including the AML output file.  Otherwise, the
9634114237Snjldefault behavior is as follows:  1) the AML goes to the file
9635114237Snjlspecified in the DSDT.  2) all other output files use the input
9636114237Snjlsource filename as the base.
9637102550Siwasaki
9638102550Siwasaki ------------------------------------------
9639102550SiwasakiSummary of changes for this label: 01_25_01
9640102550Siwasaki
9641114237SnjlCore ACPI CA Subsystem: Restructured the implementation of object
9642114237Snjlstore support within the  interpreter.  This includes support for
9643114237Snjlthe Store operator as well  as any ASL operators that include a
9644114237Snjltarget operand.
9645102550Siwasaki
9646102550SiwasakiPartially implemented support for Implicit Result-to-Target
9647114237Snjlconversion. This is when a result object is converted on the fly
9648114237Snjlto the type of  an existing target object.  Completion of this
9649114237Snjlsupport is pending  further analysis of the ACPI specification
9650114237Snjlconcerning this matter.
9651102550Siwasaki
9652114237SnjlCPU-specific code has been removed from the subsystem (hardware
9653114237Snjldirectory).
9654102550Siwasaki
9655102550SiwasakiNew Power Management Timer functions added
9656102550Siwasaki
9657114237SnjlLinux OS Services Layer (OSL): Moved system state transition code
9658114237Snjlto the core, fixed it, and modified  Linux OSL accordingly.
9659102550Siwasaki
9660102550SiwasakiFixed C2 and C3 latency calculations.
9661102550Siwasaki
9662102550Siwasaki
9663114237SnjlWe no longer use the compilation date for the version message on
9664193267Sjkiminitialization, but retrieve the version from AcpiGetSystemInfo().
9665102550Siwasaki
9666102550SiwasakiIncorporated for fix Sony VAIO machines.
9667102550Siwasaki
9668104470SiwasakiDocumentation:  The Programmer Reference has been updated and
9669104470Siwasakireformatted.
9670102550Siwasaki
9671102550Siwasaki
9672102550SiwasakiASL Compiler:  Version X2013: Fixed a problem where the line
9673102550Siwasakinumbering and error reporting could get out  of sync in the
9674102550Siwasakipresence of multiple include files.
9675102550Siwasaki
9676102550Siwasaki ------------------------------------------
9677102550SiwasakiSummary of changes for this label: 01_15_01
9678102550Siwasaki
9679102550SiwasakiCore ACPI CA Subsystem:
9680102550Siwasaki
9681114237SnjlImplemented support for type conversions in the execution of the
9682114237SnjlASL  Concatenate operator (The second operand is converted to
9683114237Snjlmatch the type  of the first operand before concatenation.)
9684102550Siwasaki
9685102550SiwasakiSupport for implicit source operand conversion is partially
9686114237Snjlimplemented.   The ASL source operand types Integer, Buffer, and
9687114237SnjlString are freely  interchangeable for most ASL operators and are
9688114237Snjlconverted by the interpreter  on the fly as required.  Implicit
9689114237SnjlTarget operand conversion (where the  result is converted to the
9690114237Snjltarget type before storing) is not yet implemented.
9691102550Siwasaki
9692102550SiwasakiSupport for 32-bit and 64-bit BCD integers is implemented.
9693102550Siwasaki
9694193267SjkimProblem fixed where a field read on an aligned field could cause a
9695126372Snjlread  past the end of the field.
9696102550Siwasaki
9697114237SnjlNew exception, AE_AML_NO_RETURN_VALUE, is returned when a method
9698114237Snjldoes not return a value, but the caller expects one.  (The ASL
9699114237Snjlcompiler flags this as a warning.)
9700102550Siwasaki
9701102550SiwasakiASL Compiler:
9702102550Siwasaki
9703102550SiwasakiVersion X2011:
9704102550Siwasaki1. Static typechecking of all operands is implemented. This
9705193267Sjkimprevents the use of invalid objects (such as using a Package where
9706126372Snjlan Integer is required) at compile time instead of at interpreter
9707126372Snjlrun-time.
9708114237Snjl2. The ASL source line is printed with ALL errors and warnings.
9709102550Siwasaki3. Bug fix for source EOF without final linefeed.
9710193267Sjkim4. Debug option is split into a parse trace and a namespace trace.
9711102550Siwasaki5. Namespace output option (-n) includes initial values for
9712102550Siwasakiintegers and strings.
9713102550Siwasaki6. Parse-only option added for quick syntax checking.
9714102550Siwasaki7. Compiler checks for duplicate ACPI name declarations
9715102550Siwasaki
9716102550SiwasakiVersion X2012:
9717102550Siwasaki1. Relaxed typechecking to allow interchangeability between
9718114237Snjlstrings, integers, and buffers.  These types are now converted by
9719114237Snjlthe interpreter at runtime.
9720114237Snjl2. Compiler reports time taken by each internal subsystem in the
9721114237Snjldebug         output file.
9722102550Siwasaki
9723102550Siwasaki
9724102550Siwasaki ------------------------------------------
9725102550SiwasakiSummary of changes for this label: 12_14_00
9726102550Siwasaki
9727102550SiwasakiASL Compiler:
9728102550Siwasaki
9729104470SiwasakiThis is the first official release of the compiler. Since the
9730104470Siwasakicompiler requires elements of the Core Subsystem, this label
9731104470Siwasakisynchronizes everything.
9732102550Siwasaki
9733102550Siwasaki------------------------------------------
9734102550SiwasakiSummary of changes for this label: 12_08_00
9735102550Siwasaki
9736102550Siwasaki
9737114237SnjlFixed a problem where named references within the ASL definition
9738114237Snjlof both OperationRegions and CreateXXXFields did not work
9739114237Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
9740114237Snjlinitialization of the region/field. This is similar (but not
9741114237Snjlrelated internally) to the problem that was fixed in the last
9742114237Snjllabel.
9743114237Snjl
9744102550SiwasakiImplemented both 32-bit and 64-bit support for the BCD ASL
9745102550Siwasakifunctions ToBCD and FromBCD.
9746102550Siwasaki
9747102550SiwasakiUpdated all legal headers to include "2000" in the copyright
9748102550Siwasakiyears.
9749102550Siwasaki
9750102550Siwasaki ------------------------------------------
9751102550SiwasakiSummary of changes for this label: 12_01_00
9752102550Siwasaki
9753193267SjkimFixed a problem where method invocations within the ASL definition
9754126372Snjlof both OperationRegions and CreateXXXFields did not work
9755126372Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
9756114237Snjlinitialization of the region/field:
9757102550Siwasaki
9758114237Snjl  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
9759114237Snjl[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
9760114237Snjl(0x3005)
9761102550Siwasaki
9762102550SiwasakiFixed a problem where operators with more than one nested
9763104470Siwasakisubexpression would fail.  The symptoms were varied, by mostly
9764114237SnjlAE_AML_OPERAND_TYPE errors.  This was actually a rather serious
9765114237Snjlproblem that has gone unnoticed until now.
9766102550Siwasaki
9767102550Siwasaki  Subtract (Add (1,2), Multiply (3,4))
9768102550Siwasaki
9769114237SnjlFixed a problem where AcpiGetHandle didn't quite get fixed in the
9770114237Snjlprevious build (The prefix part of a relative path was handled
9771114237Snjlincorrectly).
9772102550Siwasaki
9773114237SnjlFixed a problem where Operation Region initialization failed if
9774114237Snjlthe operation region name was a "namepath" instead of a simple
9775114237Snjl"nameseg". Symptom was an AE_NO_OPERAND error.
9776102550Siwasaki
9777114237SnjlFixed a problem where an assignment to a local variable via the
9778114237Snjlindirect RefOf mechanism only worked for the first such
9779102550Siwasakiassignment.  Subsequent assignments were ignored.
9780102550Siwasaki
9781102550Siwasaki ------------------------------------------
9782102550SiwasakiSummary of changes for this label: 11_15_00
9783102550Siwasaki
9784193267SjkimACPI 2.0 table support with backwards support for ACPI 1.0 and the
9785193267Sjkim0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
9786126372Snjlthe AML  interpreter does NOT have support for the new 2.0 ASL
9787126372Snjlgrammar terms at this time.
9788102550Siwasaki
9789193267SjkimAll ACPI hardware access is via the GAS structures in the ACPI 2.0
9790126372SnjlFADT.
9791102550Siwasaki
9792193267SjkimAll physical memory addresses across all platforms are now 64 bits
9793126372Snjlwide. Logical address width remains dependent on the platform
9794126372Snjl(i.e., "void *").
9795102550Siwasaki
9796114237SnjlAcpiOsMapMemory interface changed to a 64-bit physical address.
9797102550Siwasaki
9798114237SnjlThe AML interpreter integer size is now 64 bits, as per the ACPI
9799114237Snjl2.0 specification.
9800102550Siwasaki
9801104470SiwasakiFor backwards compatibility with ACPI 1.0, ACPI tables with a
9802104470Siwasakirevision number less than 2 use 32-bit integers only.
9803102550Siwasaki
9804114237SnjlFixed a problem where the evaluation of OpRegion operands did not
9805114237Snjlalways resolve them to numbers properly.
9806102550Siwasaki
9807102550Siwasaki------------------------------------------
9808102550SiwasakiSummary of changes for this label: 10_20_00
9809102550Siwasaki
9810114237SnjlFix for CBN_._STA issue.  This fix will allow correct access to
9811114237SnjlCBN_ OpRegions when the _STA returns 0x8.
9812102550Siwasaki
9813104470SiwasakiSupport to convert ACPI constants (Ones, Zeros, One) to actual
9814104470Siwasakivalues before a package object is returned
9815102550Siwasaki
9816104470SiwasakiFix for method call as predicate to if/while construct causing
9817104470Siwasakiincorrect if/while behavior
9818102550Siwasaki
9819114237SnjlFix for Else block package lengths sometimes calculated wrong (if
9820114237Snjlblock > 63 bytes)
9821102550Siwasaki
9822102550SiwasakiFix for Processor object length field, was always zero
9823102550Siwasaki
9824102550SiwasakiTable load abort if FACP sanity check fails
9825102550Siwasaki
9826102550SiwasakiFix for problem with Scope(name) if name already exists
9827102550Siwasaki
9828102550SiwasakiWarning emitted if a named object referenced cannot be found
9829102550Siwasaki(resolved) during method execution.
9830102550Siwasaki
9831102550Siwasaki
9832102550Siwasaki
9833102550Siwasaki
9834102550Siwasaki
9835102550Siwasaki------------------------------------------
9836102550SiwasakiSummary of changes for this label: 9_29_00
9837102550Siwasaki
9838114237SnjlNew table initialization interfaces: AcpiInitializeSubsystem no
9839114237Snjllonger has any parameters AcpiFindRootPointer - Find the RSDP (if
9840114237Snjlnecessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
9841114237Snjl>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
9842114237SnjlAcpiLoadTables
9843102550Siwasaki
9844193267SjkimNote: These interface changes require changes to all existing OSDs
9845102550Siwasaki
9846114237SnjlThe PCI_Config default address space handler is always installed
9847114237Snjlat the root namespace object.
9848102550Siwasaki
9849102550Siwasaki-------------------------------------------
9850102550SiwasakiSummary of changes for this label: 09_15_00
9851102550Siwasaki
9852102550SiwasakiThe new initialization architecture is implemented.  New
9853114237Snjlinterfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
9854114237SnjlAcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
9855167802Sjkim
9856114237Snjl(Namespace is automatically loaded when a table is loaded)
9857102550Siwasaki
9858193267SjkimThe ACPI_OPERAND_OBJECT has been optimized to shrink its size from
9859126372Snjl52 bytes to 32 bytes.  There is usually one of these for every
9860126372Snjlnamespace object, so the memory savings is significant.
9861102550Siwasaki
9862114237SnjlImplemented just-in-time evaluation of the CreateField operators.
9863102550Siwasaki
9864102550SiwasakiBug fixes for IA-64 support have been integrated.
9865102550Siwasaki
9866102550SiwasakiAdditional code review comments have been implemented
9867102550Siwasaki
9868193267SjkimThe so-called "third pass parse" has been replaced by a final walk
9869193267Sjkimthrough the namespace to initialize all operation regions (address
9870126372Snjlspaces) and fields that have not yet been initialized during the
9871126372Snjlexecution of the various _INI and REG methods.
9872102550Siwasaki
9873102550SiwasakiNew file - namespace/nsinit.c
9874102550Siwasaki
9875102550Siwasaki-------------------------------------------
9876102550SiwasakiSummary of changes for this label: 09_01_00
9877102550Siwasaki
9878193267SjkimNamespace manager data structures have been reworked to change the
9879126372Snjlprimary  object from a table to a single object.  This has
9880193267Sjkimresulted in dynamic memory  savings of 3X within the namespace and
9881126372Snjl2X overall in the ACPI CA subsystem.
9882102550Siwasaki
9883102550SiwasakiFixed problem where the call to AcpiEvFindPciRootBuses was
9884102550Siwasakiinadvertently left  commented out.
9885102550Siwasaki
9886114237SnjlReduced the warning count when generating the source with the GCC
9887114237Snjlcompiler.
9888102550Siwasaki
9889102550SiwasakiRevision numbers added to each module header showing the
9890104470SiwasakiSourceSafe version of the file.  Please refer to this version
9891114237Snjlnumber when giving us feedback or comments on individual modules.
9892102550Siwasaki
9893114237SnjlThe main object types within the subsystem have been renamed to
9894114237Snjlclarify their  purpose:
9895102550Siwasaki
9896102550SiwasakiACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
9897102550SiwasakiACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
9898102550SiwasakiACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
9899102550Siwasaki
9900114237SnjlNOTE: no changes to the initialization sequence are included in
9901114237Snjlthis label.
9902102550Siwasaki
9903102550Siwasaki-------------------------------------------
9904102550SiwasakiSummary of changes for this label: 08_23_00
9905102550Siwasaki
9906102550SiwasakiFixed problem where TerminateControlMethod was being called
9907102550Siwasakimultiple times per  method
9908102550Siwasaki
9909193267SjkimFixed debugger problem where single stepping caused a semaphore to
9910126372Snjlbe  oversignalled
9911102550Siwasaki
9912104470SiwasakiImproved performance through additional parse object caching -
9913104470Siwasakiadded  ACPI_EXTENDED_OP type
9914102550Siwasaki
9915102550Siwasaki-------------------------------------------
9916102550SiwasakiSummary of changes for this label: 08_10_00
9917102550Siwasaki
9918102550SiwasakiParser/Interpreter integration:  Eliminated the creation of
9919102550Siwasakicomplete parse trees  for ACPI tables and control methods.
9920114237SnjlInstead, parse subtrees are created and  then deleted as soon as
9921193267Sjkimthey are processed (Either entered into the namespace or  executed
9922126372Snjlby the interpreter).  This reduces the use of dynamic kernel
9923126372Snjlmemory  significantly. (about 10X)
9924102550Siwasaki
9925114237SnjlException codes broken into classes and renumbered.  Be sure to
9926114237Snjlrecompile all  code that includes acexcep.h.  Hopefully we won't
9927114237Snjlhave to renumber the codes  again now that they are split into
9928114237Snjlclasses (environment, programmer, AML code,  ACPI table, and
9929114237Snjlinternal).
9930102550Siwasaki
9931104470SiwasakiFixed some additional alignment issues in the Resource Manager
9932104470Siwasakisubcomponent
9933102550Siwasaki
9934114237SnjlImplemented semaphore tracking in the AcpiExec utility, and fixed
9935114237Snjlseveral places  where mutexes/semaphores were being unlocked
9936114237Snjlwithout a corresponding lock  operation.  There are no known
9937114237Snjlsemaphore or mutex "leaks" at this time.
9938102550Siwasaki
9939114237SnjlFixed the case where an ASL Return operator is used to return an
9940114237Snjlunnamed  package.
9941102550Siwasaki
9942102550Siwasaki-------------------------------------------
9943102550SiwasakiSummary of changes for this label: 07_28_00
9944102550Siwasaki
9945102550SiwasakiFixed a problem with the way addresses were calculated in
9946114237SnjlAcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
9947114237Snjlmanifested itself when a Field was  created with WordAccess or
9948193267SjkimDwordAccess, but the field unit defined within the  Field was less
9949167802Sjkim
9950126372Snjlthan a Word or Dword.
9951102550Siwasaki
9952102550SiwasakiFixed a problem in AmlDumpOperands() module's loop to pull
9953104470Siwasakioperands off of the  operand stack to display information. The
9954114237Snjlproblem manifested itself as a TLB  error on 64-bit systems when
9955114237Snjlaccessing an operand stack with two or more  operands.
9956102550Siwasaki
9957114237SnjlFixed a problem with the PCI configuration space handlers where
9958114237Snjlcontext was  getting confused between accesses. This required a
9959114237Snjlchange to the generic address  space handler and address space
9960193267Sjkimsetup definitions. Handlers now get both a  global handler context
9961126372Snjl(this is the one passed in by the user when executing
9962114237SnjlAcpiInstallAddressSpaceHandler() and a specific region context
9963114237Snjlthat is unique to  each region (For example, the _ADR, _SEG and
9964114237Snjl_BBN values associated with a  specific region). The generic
9965114237Snjlfunction definitions have changed to the  following:
9966102550Siwasaki
9967114237Snjltypedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
9968114237SnjlUINT32 Address, UINT32 BitWidth, UINT32 *Value, void
9969104470Siwasaki*HandlerContext, // This used to be void *Context void
9970102550Siwasaki*RegionContext); // This is an additional parameter
9971102550Siwasaki
9972102550Siwasakitypedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
9973102550SiwasakiRegionHandle, UINT32 Function, void *HandlerContext,  void
9974102550Siwasaki**RegionContext); // This used to be **ReturnContext
9975102550Siwasaki
9976102550Siwasaki-------------------------------------------
9977102550SiwasakiSummary of changes for this label: 07_21_00
9978102550Siwasaki
9979102550SiwasakiMajor file consolidation and rename.  All files within the
9980193267Sjkiminterpreter have been  renamed as well as most header files.  This
9981126372Snjlwas done to prevent collisions with  existing files in the host
9982126372SnjlOSs -- filenames such as "config.h" and "global.h"  seem to be
9983126372Snjlquite common.  The VC project files have been updated.  All
9984114237Snjlmakefiles  will require modification.
9985102550Siwasaki
9986114237SnjlThe parser/interpreter integration continues in Phase 5 with the
9987114237Snjlimplementation  of a complete 2-pass parse (the AML is parsed
9988114237Snjltwice) for each table;  This  avoids the construction of a huge
9989114237Snjlparse tree and therefore reduces the amount of  dynamic memory
9990114237Snjlrequired by the subsystem.  Greater use of the parse object cache
9991114237Snjlmeans that performance is unaffected.
9992102550Siwasaki
9993102550SiwasakiMany comments from the two code reviews have been rolled in.
9994102550Siwasaki
9995102550SiwasakiThe 64-bit alignment support is complete.
9996102550Siwasaki
9997102550Siwasaki-------------------------------------------
9998102550SiwasakiSummary of changes for this label: 06_30_00
9999102550Siwasaki
10000114237SnjlWith a nod and a tip of the hat to the technology of yesteryear,
10001114237Snjlwe've added  support in the source code for 80 column output
10002114237Snjldevices.  The code is now mostly  constrained to 80 columns or
10003114237Snjlless to support environments and editors that 1)  cannot display
10004114237Snjlor print more than 80 characters on a single line, and 2) cannot
10005114237Snjldisable line wrapping.
10006102550Siwasaki
10007104470SiwasakiA major restructuring of the namespace data structure has been
10008104470Siwasakicompleted.  The  result is 1) cleaner and more
10009114237Snjlunderstandable/maintainable code, and 2) a  significant reduction
10010114237Snjlin the dynamic memory requirement for each named ACPI  object
10011114237Snjl(almost half).
10012102550Siwasaki
10013102550Siwasaki-------------------------------------------
10014102550SiwasakiSummary of changes for this label: 06_23_00
10015102550Siwasaki
10016114237SnjlLinux support has been added.  In order to obtain approval to get
10017114237Snjlthe ACPI CA  subsystem into the Linux kernel, we've had to make
10018114237Snjlquite a few changes to the  base subsystem that will affect all
10019114237Snjlusers (all the changes are generic and OS- independent).  The
10020114237Snjleffects of these global changes have been somewhat far  reaching.
10021114237SnjlFiles have been merged and/or renamed and interfaces have been
10022114237Snjlrenamed.   The major changes are described below.
10023102550Siwasaki
10024102550SiwasakiOsd* interfaces renamed to AcpiOs* to eliminate namespace
10025102550Siwasakipollution/confusion  within our target kernels.  All OSD
10026114237Snjlinterfaces must be modified to match the new  naming convention.
10027102550Siwasaki
10028193267SjkimFiles merged across the subsystem.  A number of the smaller source
10029126372Snjland header  files have been merged to reduce the file count and
10030126372Snjlincrease the density of the  existing files.  There are too many
10031126372Snjlto list here.  In general, makefiles that  call out individual
10032126372Snjlfiles will require rebuilding.
10033102550Siwasaki
10034104470SiwasakiInterpreter files renamed.  All interpreter files now have the
10035104470Siwasakiprefix am*  instead of ie* and is*.
10036102550Siwasaki
10037104470SiwasakiHeader files renamed:  The acapi.h file is now acpixf.h.  The
10038114237Snjlacpiosd.h file is  now acpiosxf.h.  We are removing references to
10039114237Snjlthe acronym "API" since it is  somewhat windowsy. The new name is
10040114237Snjl"external interface" or xface or xf in the  filenames.j
10041102550Siwasaki
10042102550Siwasaki
10043114237SnjlAll manifest constants have been forced to upper case (some were
10044193267Sjkimmixed case.)   Also, the string "ACPI_" has been prepended to many
10045126372Snjl(not all) of the constants,  typedefs, and structs.
10046102550Siwasaki
10047102550SiwasakiThe globals "DebugLevel" and "DebugLayer" have been renamed
10048102550Siwasaki"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10049102550Siwasaki
10050102550SiwasakiAll other globals within the subsystem are now prefixed with
10051102550Siwasaki"AcpiGbl_" Internal procedures within the subsystem are now
10052114237Snjlprefixed with "Acpi" (with only  a few exceptions).  The original
10053193267Sjkimtwo-letter abbreviation for the subcomponent  remains after "Acpi"
10054126372Snjl- for example, CmCallocate became AcpiCmCallocate.
10055102550Siwasaki
10056102550SiwasakiAdded a source code translation/conversion utility.  Used to
10057114237Snjlgenerate the Linux  source code, it can be modified to generate
10058114237Snjlother types of source as well. Can  also be used to cleanup
10059114237Snjlexisting source by removing extraneous spaces and blank  lines.
10060114237SnjlFound in tools/acpisrc/*
10061102550Siwasaki
10062102550SiwasakiOsdUnMapMemory was renamed to OsdUnmapMemory and then
10063102550SiwasakiAcpiOsUnmapMemory.  (UnMap  became Unmap).
10064102550Siwasaki
10065114237SnjlA "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10066114237SnjlWhen set to  one, this indicates that the caller wants to use the
10067167802Sjkim
10068114237Snjlsemaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10069114237Snjlboth types.  However, implementers of this  call may want to use
10070114237Snjldifferent OS primitives depending on the type of semaphore
10071114237Snjlrequested.  For example, some operating systems provide separate
10072167802Sjkim
10073193267Sjkim"mutex" and  "semaphore" interfaces - where the mutex interface is
10074126372Snjlmuch faster because it  doesn't have all the overhead of a full
10075126372Snjlsemaphore implementation.
10076102550Siwasaki
10077104470SiwasakiFixed a deadlock problem where a method that accesses the PCI
10078114237Snjladdress space can  block forever if it is the first access to the
10079114237Snjlspace.
10080102550Siwasaki
10081102550Siwasaki-------------------------------------------
10082102550SiwasakiSummary of changes for this label: 06_02_00
10083102550Siwasaki
10084102550SiwasakiSupport for environments that cannot handle unaligned data
10085114237Snjlaccesses (e.g.  firmware and OS environments devoid of alignment
10086193267Sjkimhandler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10087126372Snjlbeen added (via configurable macros) in  these three areas: -
10088114237SnjlTransfer of data from the raw AML byte stream is done via byte
10089193267Sjkimmoves instead of    word/dword/qword moves. - External objects are
10090126372Snjlaligned within the user buffer, including package   elements (sub-
10091193267Sjkimobjects). - Conversion of name strings to UINT32 Acpi Names is now
10092126372Snjldone byte-wise.
10093102550Siwasaki
10094102550SiwasakiThe Store operator was modified to mimic Microsoft's
10095102550Siwasakiimplementation when storing  to a Buffer Field.
10096102550Siwasaki
10097102550SiwasakiAdded a check of the BM_STS bit before entering C3.
10098102550Siwasaki
10099114237SnjlThe methods subdirectory has been obsoleted and removed.  A new
10100114237Snjlfile, cmeval.c  subsumes the functionality.
10101102550Siwasaki
10102102550SiwasakiA 16-bit (DOS) version of AcpiExec has been developed.  The
10103102550Siwasakimakefile is under  the acpiexec directory.
10104