changes.txt revision 209746
1117521Snjl----------------------------------------
2117521Snjl02 July 2010. Summary of changes for version 20100702:
3117521Snjl
4117521SnjlThis release is available at www.acpica.org/downloads
5117521Snjl
6117521Snjl1) ACPI CA Core Subsystem:
7117521Snjl
8117521SnjlImplemented several updates to the recently added GPE reference count 
9117521Snjlsupport. The model for "wake" GPEs is changing to give the host OS complete 
10117521Snjlcontrol of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
11117521Snjlmethods, since the host already must execute them. Also, additional changes 
12117521Snjlwere made to help ensure that the reference counts are kept in proper 
13117521Snjlsynchronization with reality. Rafael J. Wysocki.
14117521Snjl
15117521Snjl1) Ensure that GPEs are not enabled twice during initialization.
16117521Snjl2) Ensure that GPE enable masks stay in sync with the reference count.
17117521Snjl3) Do not inadvertently enable GPEs when writing GPE registers.
18117521Snjl4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
19117521Snjlinterface. This interface will set or clear individual GPEs for wakeup.
20117521Snjl5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
21117521Snjlare now used for "runtime" GPEs only.
22117521Snjl
23117521SnjlChanged the behavior of the GPE install/remove handler interfaces. The GPE is 
24117521Snjlno longer disabled during this process, as it was found to cause problems on 
25117521Snjlsome machines. Rafael J. Wysocki.
26117521Snjl
27117521SnjlReverted a change introduced in version 20100528 to enable Embedded 
28117521SnjlController multi-byte transfers. This change was found to cause problems with 
29117521SnjlIndex Fields and possibly Bank Fields. It will be reintroduced when these 
30117521Snjlproblems have been resolved.
31117521Snjl
32117521SnjlFixed a problem with references to Alias objects within Package Objects. A 
33117521Snjlreference to an Alias within the definition of a Package was not always 
34117521Snjlresolved properly. Aliases to objects like Processors, Thermal zones, etc. 
35117521Snjlwere resolved to the actual object instead of a reference to the object as it 
36117521Snjlshould be. Package objects are only allowed to contain integer, string, 
37117521Snjlbuffer, package, and reference objects. Redhat bugzilla 608648.
38117521Snjl
39117521SnjlExample Code and Data Size: These are the sizes for the OS-independent 
40117521Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
41117521Snjldebug version of the code includes the debug output trace mechanism and has a 
42117521Snjlmuch larger code and data size.
43117521Snjl
44117521Snjl  Previous Release:
45117521Snjl    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
46117521Snjl    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
47117521Snjl  Current Release:
48117521Snjl    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
49117521Snjl    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
50117521Snjl
51117521Snjl2) iASL Compiler/Disassembler and Tools:
52117521Snjl
53117521SnjliASL: Implemented a new compiler subsystem to allow definition and 
54117521Snjlcompilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
55117521Snjlare called "ACPI Data Tables", and the new compiler is the "Data Table 
56117521SnjlCompiler". This compiler is intended to simplify the existing error-prone 
57117521Snjlprocess of creating these tables for the BIOS, as well as allowing the 
58117521Snjldisassembly, modification, recompilation, and override of existing ACPI data 
59117521Snjltables. See the iASL User Guide for detailed information.
60117521Snjl
61117521SnjliASL: Implemented a new Template Generator option in support of the new Data 
62117521SnjlTable Compiler. This option will create examples of all known ACPI tables 
63117521Snjlthat can be used as the basis for table development. See the iASL 
64117521Snjldocumentation and the -T option.
65117521Snjl
66117521SnjlDisassembler and headers: Added support for the WDDT ACPI table (Watchdog 
67117521SnjlDescriptor Table).
68117521Snjl
69117521SnjlUpdated the Linux makefiles for iASL and AcpiExec to place the generated 
70117521Snjlobject files in the local directory so that there can be no collisions 
71117521Snjlbetween the shared files between them that are generated with different 
72117521Snjloptions.
73117521Snjl
74117521SnjlAdded support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
75117521Snjlthe #define __APPLE__ to enable this support.
76117521Snjl
77117521Snjl----------------------------------------
78117521Snjl28 May 2010. Summary of changes for version 20100528:
79117521Snjl
80117521SnjlThis release is available at www.acpica.org/downloads
81117521Snjl
82117521SnjlNote: The ACPI 4.0a specification was released on April 5, 2010 and is 
83117521Snjlavailable at www.acpi.info. This is primarily an errata release.
84117521Snjl
85117521Snjl1) ACPI CA Core Subsystem:
86117521Snjl
87117521SnjlUndefined ACPI tables: We are looking for the definitions for the following 
88117521SnjlACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
89117521Snjl
90117521SnjlImplemented support to enable multi-byte transfers for Embedded Controller 
91117521Snjl(EC) operation regions. Previously, the maximum data size passed to the EC 
92117521Snjloperation region handler was a single byte. There are often EC Fields larger 
93117521Snjlthan one byte that need to be transferred, and it is useful for the EC driver 
94117521Snjlto lock these as a single transaction. This change enables single transfers 
95117521Snjllarger than 8 bits. This effectively changes the access to the EC space from 
96117521SnjlByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
97117521SnjlController driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
98117521Snjltransfers. Alexey Starikovskiy, Lin Ming
99117521Snjl
100117521SnjlImplemented a performance enhancement for namespace search and access. This 
101117521Snjlchange enhances the performance of namespace searches and walks by adding a 
102117521Snjlbackpointer to the parent in each namespace node. On large namespaces, this 
103117521Snjlchange can improve overall ACPI performance by up to 9X. Adding a pointer to 
104117521Snjleach namespace node increases the overall size of the internal namespace by 
105117521Snjlabout 5%, since each namespace entry usually consists of both a namespace 
106117521Snjlnode and an ACPI operand object. However, this is the first growth of the 
107117521Snjlnamespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
108117521Snjl
109117521SnjlImplemented a performance optimization that reduces the number of namespace 
110117521Snjlwalks. On control method exit, only walk the namespace if the method is known 
111117521Snjlto have created namespace objects outside of its local scope. Previously, the 
112117521Snjlentire namespace was traversed on each control method exit. This change can 
113117521Snjlimprove overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
114117521Snjl
115117521SnjlAdded support to truncate I/O addresses to 16 bits for Windows compatibility. 
116117521SnjlSome ASL code has been seen in the field that inadvertently has bits set 
117117521Snjlabove bit 15. This feature is optional and is enabled if the BIOS requests 
118117521Snjlany Windows OSI strings. It can also be enabled by the host OS. Matthew 
119117521SnjlGarrett, Bob Moore.
120117521Snjl
121117521SnjlAdded support to limit the maximum time for the ASL Sleep() operator. To 
122117521Snjlprevent accidental deep sleeps, limit the maximum time that Sleep() will 
123117521Snjlactually sleep. Configurable, the default maximum is two seconds. ACPICA 
124117521Snjlbugzilla 854.
125117521Snjl
126117521SnjlAdded run-time validation support for the _WDG and_WED Microsoft predefined 
127117521Snjlmethods. These objects are defined by "Windows Instrumentation", and are not 
128117521Snjlpart of the ACPI spec. ACPICA BZ 860.
129117521Snjl
130117521SnjlExpanded all statistic counters used during namespace and device 
131117521Snjlinitialization from 16 to 32 bits in order to support very large namespaces.
132117521Snjl
133117521SnjlReplaced all instances of %d in printf format specifiers with %u since nearly 
134117521Snjlall integers in ACPICA are unsigned.
135117521Snjl
136117521SnjlFixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
137117521Snjlas AE_NO_HANDLER.
138117521Snjl
139117521SnjlExample Code and Data Size: These are the sizes for the OS-independent 
140117521Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
141117521Snjldebug version of the code includes the debug output trace mechanism and has a 
142117521Snjlmuch larger code and data size.
143117521Snjl
144117521Snjl  Previous Release:
145117521Snjl    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
146117521Snjl    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
147117521Snjl  Current Release:
148117521Snjl    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
149117521Snjl    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
150117521Snjl
151117521Snjl2) iASL Compiler/Disassembler and Tools:
152117521Snjl
153117521SnjliASL: Added compiler support for the _WDG and_WED Microsoft predefined 
154117521Snjlmethods. These objects are defined by "Windows Instrumentation", and are not 
155117521Snjlpart of the ACPI spec. ACPICA BZ 860.
156117521Snjl
157117521SnjlAcpiExec: added option to disable the memory tracking mechanism. The -dt 
158117521Snjloption will disable the tracking mechanism, which improves performance 
159117521Snjlconsiderably.
160117521Snjl
161117521SnjlAcpiExec: Restructured the command line options into -d (disable) and -e 
162117521Snjl(enable) options.
163117521Snjl
164117521Snjl----------------------------------------
165117521Snjl28 April 2010. Summary of changes for version 20100428:
166117521Snjl
167117521Snjl1) ACPI CA Core Subsystem:
168117521Snjl
169117521SnjlImplemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
170117521Snjlincluding FADT-based and GPE Block Devices, execute any _PRW methods in the 
171117521Snjlnew table, and process any _Lxx/_Exx GPE methods in the new table. Any 
172117521Snjlruntime GPE that is referenced by an _Lxx/_Exx method in the new table is 
173117521Snjlimmediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
174117521SnjlDevices. Provides compatibility with other ACPI implementations. Two new 
175117521Snjlfiles added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
176117521Snjl
177117521SnjlFixed a regression introduced in version 20100331 within the table manager 
178117521Snjlwhere initial table loading could fail. This was introduced in the fix for 
179117521SnjlAcpiReallocateRootTable. Also, renamed some of fields in the table manager 
180117521Snjldata structures to clarify their meaning and use.
181117521Snjl
182117521SnjlFixed a possible allocation overrun during internal object copy in 
183117521SnjlAcpiUtCopySimpleObject. The original code did not correctly handle the case 
184117521Snjlwhere the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
185117521Snjl
186117521SnjlUpdated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
187117521Snjlpossible access beyond end-of-allocation. Also, now fully validate descriptor 
188117521Snjl(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
189117521Snjl
190117521SnjlExample Code and Data Size: These are the sizes for the OS-independent 
191117521Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
192117521Snjldebug version of the code includes the debug output trace mechanism and has a 
193117521Snjlmuch larger code and data size.
194117521Snjl
195117521Snjl  Previous Release:
196117521Snjl    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
197117521Snjl    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
198117521Snjl  Current Release:
199117521Snjl    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
200117521Snjl    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
201117521Snjl
202117521Snjl2) iASL Compiler/Disassembler and Tools:
203117521Snjl
204117521SnjliASL: Implemented Min/Max/Len/Gran validation for address resource 
205117521Snjldescriptors. This change implements validation for the address fields that 
206117521Snjlare common to all address-type resource descriptors. These checks are 
207117521Snjlimplemented: Checks for valid Min/Max, length within the Min/Max window, 
208117521Snjlvalid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
209117521Snjltable 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
210117521Snjland aslrestype2.c files into five new files. ACPICA BZ 840.
211117521Snjl
212117521SnjliASL: Added support for the _Wxx predefined names. This support was missing 
213117521Snjland these names were not recognized by the compiler as valid predefined 
214117521Snjlnames. ACPICA BZ 851.
215117521Snjl
216117521SnjliASL: Added an error for all predefined names that are defined to return no 
217117521Snjlvalue and thus must be implemented as Control Methods. These include all of 
218117521Snjlthe _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
219117521Snjlnames such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
220117521Snjl
221117521SnjliASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
222117521SnjlASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
223117521Snjldynamically loaded via the Load() operator. Also cleaned up output for the -
224117521Snjlta and -tc options. ACPICA BZ 853.
225117521Snjl
226117521SnjlTests: Added a new file with examples of extended iASL error checking. 
227117521SnjlDemonstrates the advanced error checking ability of the iASL compiler. 
228117521SnjlAvailable at tests/misc/badcode.asl.
229117521Snjl
230117521Snjl----------------------------------------
231117521Snjl31 March 2010. Summary of changes for version 20100331:
232117521Snjl
233117521Snjl1) ACPI CA Core Subsystem:
234117521Snjl
235117521SnjlCompleted a major update for the GPE support in order to improve support for 
236117521Snjlshared GPEs and to simplify both host OS and ACPICA code. Added a reference 
237117521Snjlcount mechanism to support shared GPEs that require multiple device drivers. 
238117521SnjlSeveral external interfaces have changed. One external interface has been 
239117521Snjlremoved. One new external interface was added. Most of the GPE external 
240117521Snjlinterfaces now use the GPE spinlock instead of the events mutex (and the 
241117521SnjlFlags parameter for many GPE interfaces has been removed.) See the updated 
242117521SnjlACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
243117521SnjlWysocki. ACPICA BZ 831.
244117521Snjl
245117521SnjlChanged:
246117521Snjl    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
247117521SnjlRemoved:
248117521Snjl    AcpiSetGpeType
249117521SnjlNew:
250117521Snjl    AcpiSetGpe
251117521Snjl
252117521SnjlImplemented write support for DataTable operation regions. These regions are 
253117521Snjldefined via the DataTableRegion() operator. Previously, only read support was 
254117521Snjlimplemented. The ACPI specification allows DataTableRegions to be read/write, 
255117521Snjlhowever.
256117521Snjl
257117521SnjlImplemented a new subsystem option to force a copy of the DSDT to local 
258117521Snjlmemory. Optionally copy the entire DSDT to local memory (instead of simply 
259117521Snjlmapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
260117521Snjlthe original DSDT, creating the need for this option. Default is FALSE, do 
261117521Snjlnot copy the DSDT.
262117521Snjl
263117521SnjlImplemented detection of a corrupted or replaced DSDT. This change adds 
264117521Snjlsupport to detect a DSDT that has been corrupted and/or replaced from outside 
265117521Snjlthe OS (by firmware). This is typically catastrophic for the system, but has 
266114237Snjlbeen seen on some machines. Once this problem has been detected, the DSDT 
267114237Snjlcopy option can be enabled via system configuration. Lin Ming, Bob Moore.
268114237Snjl
269114237SnjlFixed two problems with AcpiReallocateRootTable during the root table copy. 
270114237SnjlWhen copying the root table to the new allocation, the length used was 
271114237Snjlincorrect. The new size was used instead of the current table size, meaning 
272114237Snjltoo much data was copied. Also, the count of available slots for ACPI tables 
273114237Snjlwas not set correctly. Alexey Starikovskiy, Bob Moore.
274114237Snjl
275114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
276114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
277114237Snjldebug version of the code includes the debug output trace mechanism and has a 
278114237Snjlmuch larger code and data size.
279114237Snjl
280114237Snjl  Previous Release:
281114237Snjl    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
282114237Snjl    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
283114237Snjl  Current Release:
284114237Snjl    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
285114237Snjl    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
286114237Snjl
287114237Snjl2) iASL Compiler/Disassembler and Tools:
288114237Snjl
289114237SnjliASL: Implement limited typechecking for values returned from predefined 
290114237Snjlcontrol methods. The type of any returned static (unnamed) object is now 
291114237Snjlvalidated. For example, Return(1). ACPICA BZ 786.
292114237Snjl
293114237SnjliASL: Fixed a predefined name object verification regression. Fixes a problem 
294114237Snjlintroduced in version 20100304. An error is incorrectly generated if a 
295114237Snjlpredefined name is declared as a static named object with a value defined 
296114237Snjlusing the keywords "Zero", "One", or "Ones". Lin Ming.
297114237Snjl
298114237SnjliASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
299114237Snjlreducing the requested registry access rights. ACPICA BZ 842.
300114237Snjl
301114237SnjlDisassembler: fixed a possible fault when generating External() statements. 
302114237SnjlIntroduced in commit ae7d6fd: Properly handle externals with parent-prefix 
303114237Snjl(carat). Fixes a string length allocation calculation. Lin Ming.
304114237Snjl
305114237Snjl----------------------------------------
306114237Snjl04 March 2010. Summary of changes for version 20100304:
307114237Snjl
308114237Snjl1) ACPI CA Core Subsystem:
309114237Snjl
310114237SnjlFixed a possible problem with the AML Mutex handling function 
311114237SnjlAcpiExReleaseMutex where the function could fault under the very rare 
312114237Snjlcondition when the interpreter has blocked, the interpreter lock is released, 
313114237Snjlthe interpreter is then reentered via the same thread, and attempts to 
314114237Snjlacquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
315114237SnjlMing.
316114237Snjl
317114237SnjlImplemented additional configuration support for the AML "Debug Object". 
318114237SnjlOutput from the debug object can now be enabled via a global variable, 
319114237SnjlAcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
320114237SnjlThis debug output is now available in the release version of ACPICA instead 
321114237Snjlof just the debug version. Also, the entire debug output module can now be 
322114237Snjlconfigured out of the ACPICA build if desired. One new file added, 
323114237Snjlexecuter/exdebug.c. Lin Ming, Bob Moore.
324114237Snjl
325114237SnjlAdded header support for the ACPI MCHI table (Management Controller Host 
326114237SnjlInterface Table). This table was added in ACPI 4.0, but the defining document 
327114237Snjlhas only recently become available.
328114237Snjl
329114237SnjlStandardized output of integer values for ACPICA warnings/errors. Always use 
330114237Snjl0x prefix for hex output, always use %u for unsigned integer decimal output. 
331114237SnjlAffects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
332114237Snjlinvocations.) These invocations were converted from the original 
333114237SnjlACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
334114237Snjl
335114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
336114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
337114237Snjldebug version of the code includes the debug output trace mechanism and has a 
338114237Snjlmuch larger code and data size.
339114237Snjl
340114237Snjl  Previous Release:
341114237Snjl    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
342114237Snjl    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
343114237Snjl  Current Release:
344114237Snjl    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
345114237Snjl    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
346114237Snjl
347114237Snjl2) iASL Compiler/Disassembler and Tools:
348114237Snjl
349114237SnjliASL: Implemented typechecking support for static (non-control method) 
350117521Snjlpredefined named objects that are declared with the Name() operator. For 
351114237Snjlexample, the type of this object is now validated to be of type Integer: 
352114237SnjlName(_BBN, 1). This change migrates the compiler to using the core predefined 
353114237Snjlname table instead of maintaining a local version. Added a new file, 
354114237Snjlaslpredef.c. ACPICA BZ 832.
355114237Snjl
356114237SnjlDisassembler: Added support for the ACPI 4.0 MCHI table.
357114237Snjl
358114237Snjl----------------------------------------
359114237Snjl21 January 2010. Summary of changes for version 20100121:
360114237Snjl
361114237Snjl1) ACPI CA Core Subsystem:
362114237Snjl
363114237SnjlAdded the 2010 copyright to all module headers and signons. This affects 
364114237Snjlvirtually every file in the ACPICA core subsystem, the iASL compiler, the 
365114237Snjltools/utilities, and the test suites.
366114237Snjl
367114237SnjlImplemented a change to the AcpiGetDevices interface to eliminate unnecessary 
368114237Snjlinvocations of the _STA method. In the case where a specific _HID is 
369114237Snjlrequested, do not run _STA until a _HID match is found. This eliminates 
370114237Snjlpotentially dozens of _STA calls during a search for a particular device/HID, 
371114237Snjlwhich in turn can improve boot times. ACPICA BZ 828. Lin Ming.
372114237Snjl
373114237SnjlImplemented an additional repair for predefined method return values. Attempt 
374114237Snjlto repair unexpected NULL elements within returned Package objects. Create an 
375114237SnjlInteger of value zero, a NULL String, or a zero-length Buffer as appropriate. 
376114237SnjlACPICA BZ 818. Lin Ming, Bob Moore.
377114237Snjl
378114237SnjlRemoved the obsolete ACPI_INTEGER data type. This type was introduced as the 
379114237Snjlcode was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
380114237Snjl64-bit AML integers). It is now obsolete and this change removes it from the 
381114237SnjlACPICA code base, replaced by UINT64. The original typedef has been retained 
382114237Snjlfor now for compatibility with existing device driver code. ACPICA BZ 824.
383114237Snjl
384114237SnjlRemoved the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
385114237Snjlthe parse tree object.
386114237Snjl
387114237SnjlAdded additional warning options for the gcc-4 generation. Updated the source 
388114237Snjlaccordingly. This includes some code restructuring to eliminate unreachable 
389114237Snjlcode, elimination of some gotos, elimination of unused return values, some 
390114237Snjladditional casting, and removal of redundant declarations.
391114237Snjl
392114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
393114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
394114237Snjldebug version of the code includes the debug output trace mechanism and has a 
395114237Snjlmuch larger code and data size.
396114237Snjl
397114237Snjl  Previous Release:
398114237Snjl    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
399114237Snjl    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
400114237Snjl  Current Release:
401114237Snjl    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
402114237Snjl    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
403114237Snjl
404114237Snjl2) iASL Compiler/Disassembler and Tools:
405114237Snjl
406114237SnjlNo functional changes for this release.
407114237Snjl
408114237Snjl----------------------------------------
409114237Snjl14 December 2009. Summary of changes for version 20091214:
410114237Snjl
411114237Snjl1) ACPI CA Core Subsystem:
412102550Siwasaki
413114237SnjlEnhanced automatic data type conversions for predefined name repairs. This 
414114237Snjlchange expands the automatic repairs/conversions for predefined name return 
415114237Snjlvalues to make Integers, Strings, and Buffers fully interchangeable. Also, a 
416114237SnjlBuffer can be converted to a Package of Integers if necessary. The nsrepair.c 
417114237Snjlmodule was completely restructured. Lin Ming, Bob Moore.
418114237Snjl
419114237SnjlImplemented automatic removal of null package elements during predefined name 
420114237Snjlrepairs. This change will automatically remove embedded and trailing NULL 
421114237Snjlpackage elements from returned package objects that are defined to contain a 
422114237Snjlvariable number of sub-packages. The driver is then presented with a package 
423114237Snjlwith no null elements to deal with. ACPICA BZ 819.
424114237Snjl
425114237SnjlImplemented a repair for the predefined _FDE and _GTM names. The expected 
426114237Snjlreturn value for both names is a Buffer of 5 DWORDs. This repair fixes two 
427114237Snjlpossible problems (both seen in the field), where a package of integers is 
428114237Snjlreturned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
429114237Snjl
430114237SnjlImplemented additional module-level code support. This change will properly 
431114237Snjlexecute module-level code that is not at the root of the namespace (under a 
432114237SnjlDevice object, etc.). Now executes the code within the current scope instead 
433114237Snjlof the root. ACPICA BZ 762. Lin Ming.
434114237Snjl
435114237SnjlFixed possible mutex acquisition errors when running _REG methods. Fixes a 
436114237Snjlproblem where mutex errors can occur when running a _REG method that is in 
437114237Snjlthe same scope as a method-defined operation region or an operation region 
438114237Snjlunder a module-level IF block. This type of code is rare, so the problem has 
439114237Snjlnot been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
440114237Snjl
441114237SnjlFixed a possible memory leak during module-level code execution. An object 
442114237Snjlcould be leaked for each block of executed module-level code if the 
443114237Snjlinterpreter slack mode is enabled This change deletes any implicitly returned 
444114237Snjlobject from the module-level code block. Lin Ming.
445114237Snjl
446114237SnjlRemoved messages for successful predefined repair(s). The repair mechanism 
447114237Snjlwas considered too wordy. Now, messages are only unconditionally emitted if 
448114237Snjlthe return object cannot be repaired. Existing messages for successful 
449114237Snjlrepairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
450114237Snjl
451114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
452114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
453114237Snjldebug version of the code includes the debug output trace mechanism and has a 
454114237Snjlmuch larger code and data size.
455114237Snjl
456114237Snjl  Previous Release:
457114237Snjl    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
458114237Snjl    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
459114237Snjl  Current Release:
460114237Snjl    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
461114237Snjl    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
462114237Snjl
463114237Snjl2) iASL Compiler/Disassembler and Tools:
464114237Snjl
465114237SnjliASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
466114237Snjlwere no longer automatically removed at the termination of the compile.
467114237Snjl
468114237Snjlacpiexec: Implemented the -f option to specify default region fill value. 
469114237SnjlThis option specifies the value used to initialize buffers that simulate 
470114237Snjloperation regions. Default value is zero. Useful for debugging problems that 
471114237Snjldepend on a specific initial value for a region or field.
472114237Snjl
473114237Snjl----------------------------------------
474114237Snjl12 November 2009. Summary of changes for version 20091112:
475114237Snjl
476114237Snjl1) ACPI CA Core Subsystem:
477114237Snjl
478114237SnjlImplemented a post-order callback to AcpiWalkNamespace. The existing 
479114237Snjlinterface only has a pre-order callback. This change adds an additional 
480114237Snjlparameter for a post-order callback which will be more useful for bus scans. 
481114237SnjlACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
482114237Snjl
483114237SnjlModified the behavior of the operation region memory mapping cache for 
484114237SnjlSystemMemory. Ensure that the memory mappings created for operation regions 
485114237Snjldo not cross 4K page boundaries. Crossing a page boundary while mapping 
486114237Snjlregions can cause kernel warnings on some hosts if the pages have different 
487114237Snjlattributes. Such regions are probably BIOS bugs, and this is the workaround. 
488114237SnjlLinux BZ 14445. Lin Ming.
489114237Snjl
490114237SnjlImplemented an automatic repair for predefined methods that must return 
491114237Snjlsorted lists. This change will repair (by sorting) packages returned by _ALR, 
492114237Snjl_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
493114237Snjland do not contain NULL package elements. Adds one new file, 
494114237Snjlnamespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
495114237Snjl
496114237SnjlFixed a possible fault during predefined name validation if a return Package 
497114237Snjlobject contains NULL elements. Also adds a warning if a NULL element is 
498114237Snjlfollowed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
499114237Snjlinclude repair or removal of all such NULL elements where possible.
500114237Snjl
501114237SnjlImplemented additional module-level executable AML code support. This change 
502114237Snjlwill execute module-level code that is not at the root of the namespace 
503114237Snjl(under a Device object, etc.) at table load time. Module-level executable AML 
504114237Snjlcode has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
505114237Snjl
506114237SnjlImplemented a new internal function to create Integer objects. This function 
507114237Snjlsimplifies miscellaneous object creation code. ACPICA BZ 823.
508114237Snjl
509114237SnjlReduced the severity of predefined repair messages, Warning to Info. Since 
510114237Snjlthe object was successfully repaired, a warning is too severe. Reduced to an 
511114237Snjlinfo message for now. These messages may eventually be changed to debug-only. 
512114237SnjlACPICA BZ 812.
513114237Snjl
514114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
515114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
516114237Snjldebug version of the code includes the debug output trace mechanism and has a 
517114237Snjlmuch larger code and data size.
518114237Snjl
519114237Snjl  Previous Release:
520114237Snjl    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
521114237Snjl    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
522114237Snjl  Current Release:
523114237Snjl    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
524114237Snjl    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
525114237Snjl
526114237Snjl2) iASL Compiler/Disassembler and Tools:
527114237Snjl
528114237SnjliASL: Implemented Switch() with While(1) so that Break works correctly. This 
529114237Snjlchange correctly implements the Switch operator with a surrounding While(1) 
530114237Snjlso that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
531114237Snjl
532114237SnjliASL: Added a message if a package initializer list is shorter than package 
533114237Snjllength. Adds a new remark for a Package() declaration if an initializer list 
534114237Snjlexists, but is shorter than the declared length of the package. Although 
535114237Snjltechnically legal, this is probably a coding error and it is seen in the 
536114237Snjlfield. ACPICA BZ 815. Lin Ming, Bob Moore.
537114237Snjl
538114237SnjliASL: Fixed a problem where the compiler could fault after the maximum number 
539114237Snjlof errors was reached (200).
540114237Snjl
541114237Snjlacpixtract: Fixed a possible warning for pointer cast if the compiler warning 
542114237Snjllevel set very high.
543114237Snjl
544114237Snjl----------------------------------------
545114237Snjl13 October 2009. Summary of changes for version 20091013:
546114237Snjl
547114237Snjl1) ACPI CA Core Subsystem:
548114237Snjl
549114237SnjlFixed a problem where an Operation Region _REG method could be executed more 
550114237Snjlthan once. If a custom address space handler is installed by the host before 
551114237Snjlthe "initialize operation regions" phase of the ACPICA initialization, any 
552114237Snjl_REG methods for that address space could be executed twice. This change 
553114237Snjlfixes the problem. ACPICA BZ 427. Lin Ming.
554114237Snjl
555114237SnjlFixed a possible memory leak for the Scope() ASL operator. When the exact 
556114237Snjlinvocation of "Scope(\)" is executed (change scope to root), one internal 
557114237Snjloperand object was leaked. Lin Ming.
558114237Snjl
559114237SnjlImplemented a run-time repair for the _MAT predefined method. If the _MAT 
560114237Snjlreturn value is defined as a Field object in the AML, and the field
561114237Snjlsize is less than or equal to the default width of an integer (32 or 64),_MAT 
562114237Snjlcan incorrectly return an Integer instead of a Buffer. ACPICA now 
563114237Snjlautomatically repairs this problem. ACPICA BZ 810.
564114237Snjl
565114237SnjlImplemented a run-time repair for the _BIF and _BIX predefined methods. The 
566114237Snjl"OEM Information" field is often incorrectly returned as an Integer with 
567114237Snjlvalue zero if the field is not supported by the platform. This is due to an 
568114237Snjlambiguity in the ACPI specification. The field should always be a string. 
569114237SnjlACPICA now automatically repairs this problem by returning a NULL string 
570114237Snjlwithin the returned Package. ACPICA BZ 807.
571114237Snjl
572114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
573114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
574114237Snjldebug version of the code includes the debug output trace mechanism and has a 
575114237Snjlmuch larger code and data size.
576114237Snjl
577114237Snjl  Previous Release:
578114237Snjl    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
579114237Snjl    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
580114237Snjl  Current Release:
581114237Snjl    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
582114237Snjl    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
583114237Snjl
584114237Snjl2) iASL Compiler/Disassembler and Tools:
585114237Snjl
586114237SnjlDisassembler: Fixed a problem where references to external symbols that 
587114237Snjlcontained one or more parent-prefixes (carats) were not handled correctly, 
588114237Snjlpossibly causing a fault. ACPICA BZ 806. Lin Ming.
589114237Snjl
590114237SnjlDisassembler: Restructured the code so that all functions that handle 
591114237Snjlexternal symbols are in a single module. One new file is added, 
592114237Snjlcommon/dmextern.c.
593114237Snjl
594114237SnjlAML Debugger: Added a max count argument for the Batch command (which 
595114237Snjlexecutes multiple predefined methods within the namespace.)
596114237Snjl
597114237SnjliASL: Updated the compiler documentation (User Reference.) Available at 
598114237Snjlhttp://www.acpica.org/documentation/. ACPICA BZ 750.
599114237Snjl
600114237SnjlAcpiXtract: Updated for Lint and other formatting changes. Close all open 
601114237Snjlfiles.
602114237Snjl
603114237Snjl----------------------------------------
604114237Snjl03 September 2009. Summary of changes for version 20090903:
605114237Snjl
606114237Snjl1) ACPI CA Core Subsystem:
607114237Snjl
608114237SnjlFor Windows Vista compatibility, added the automatic execution of an _INI 
609114237Snjlmethod located at the namespace root (\_INI). This method is executed at 
610114237Snjltable load time. This support is in addition to the automatic execution of 
611114237Snjl\_SB._INI. Lin Ming.
612114237Snjl
613114237SnjlFixed a possible memory leak in the interpreter for AML package objects if 
614114237Snjlthe package initializer list is longer than the defined size of the package. 
615114237SnjlThis apparently can only happen if the BIOS changes the package size on the 
616114237Snjlfly (seen in a _PSS object), as ASL compilers do not allow this. The 
617114237Snjlinterpreter will truncate the package to the defined size (and issue an error 
618114237Snjlmessage), but previously could leave the extra objects undeleted if they were 
619114237Snjlpre-created during the argument processing (such is the case if the package 
620114237Snjlconsists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
621114237Snjl
622114237SnjlFixed a problem seen when a Buffer or String is stored to itself via ASL. 
623114237SnjlThis has been reported in the field. Previously, ACPICA would zero out the 
624114237Snjlbuffer/string. Now, the operation is treated as a noop. Provides Windows 
625114237Snjlcompatibility. ACPICA BZ 803. Lin Ming.
626114237Snjl
627114237SnjlRemoved an extraneous error message for ASL constructs of the form 
628114237SnjlStore(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
629114237Snjlare seen in many BIOSs and are once again treated as NOOPs and no error is 
630114237Snjlemitted when they are encountered. ACPICA BZ 785.
631114237Snjl
632114237SnjlFixed an extraneous warning message if a _DSM reserved method returns a 
633114237SnjlPackage object. _DSM can return any type of object, so validation on the 
634114237Snjlreturn type cannot be performed. ACPICA BZ 802.
635114237Snjl
636114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
637114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
638114237Snjldebug version of the code includes the debug output trace mechanism and has a 
639114237Snjlmuch larger code and data size.
640114237Snjl
641114237Snjl  Previous Release:
642114237Snjl    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
643114237Snjl    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
644114237Snjl  Current Release:
645114237Snjl    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
646114237Snjl    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
647114237Snjl
648114237Snjl2) iASL Compiler/Disassembler and Tools:
649114237Snjl
650114237SnjliASL: Fixed a problem with the use of the Alias operator and Resource 
651114237SnjlTemplates. The correct alias is now constructed and no error is emitted. 
652114237SnjlACPICA BZ 738.
653114237Snjl
654114237SnjliASL: Implemented the -I option to specify additional search directories for 
655114237Snjlinclude files. Allows multiple additional search paths for include files. 
656114237SnjlDirectories are searched in the order specified on the command line (after 
657114237Snjlthe local directory is searched.) ACPICA BZ 800.
658114237Snjl
659114237SnjliASL: Fixed a problem where the full pathname for include files was not 
660114237Snjlemitted for warnings/errors. This caused the IDE support to not work 
661114237Snjlproperly. ACPICA BZ 765.
662114237Snjl
663114237SnjliASL: Implemented the -@ option to specify a Windows-style response file 
664114237Snjlcontaining additional command line options. ACPICA BZ 801.
665114237Snjl
666114237SnjlAcpiExec: Added support to load multiple AML files simultaneously (such as a 
667114237SnjlDSDT and multiple SSDTs). Also added support for wildcards within the AML 
668114237Snjlpathname. These features allow all machine tables to be easily loaded and 
669114237Snjldebugged together. ACPICA BZ 804.
670114237Snjl
671114237SnjlDisassembler: Added missing support for disassembly of HEST table Error Bank 
672114237Snjlsubtables. 
673114237Snjl
674114237Snjl----------------------------------------
675114237Snjl30 July 2009. Summary of changes for version 20090730:
676114237Snjl
677114237SnjlThe ACPI 4.0 implementation for ACPICA is complete with this release.
678114237Snjl
679114237Snjl1) ACPI CA Core Subsystem:
680114237Snjl
681114237SnjlACPI 4.0: Added header file support for all new and changed ACPI tables. 
682107325SiwasakiCompletely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
683104470Siwasakifor ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
684107325SiwasakiEINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
685107325Siwasakihave been some ACPI 4.0 changes to other existing tables. Split the large 
686114237Snjlactbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
687114237Snjl
688114237SnjlACPI 4.0: Implemented predefined name validation for all new names. There are 
689114237Snjl31 new names in ACPI 4.0. The predefined validation module was split into two 
690107325Siwasakifiles. The new file is namespace/nsrepair.c. ACPICA BZ 770.
691114237Snjl
692114237SnjlImplemented support for so-called "module-level executable code". This is 
693114237Snjlexecutable AML code that exists outside of any control method and is intended 
694114237Snjlto be executed at table load time. Although illegal since ACPI 2.0, this type 
695107325Siwasakiof code still exists and is apparently still being created. Blocks of this 
696107325Siwasakicode are now detected and executed as intended. Currently, the code blocks 
697107325Siwasakimust exist under either an If, Else, or While construct; these are the 
698107325Siwasakitypical cases seen in the field. ACPICA BZ 762. Lin Ming.
699107325Siwasaki
700114237SnjlImplemented an automatic dynamic repair for predefined names that return 
701114237Snjlnested Package objects. This applies to predefined names that are defined to 
702107325Siwasakireturn a variable-length Package of sub-packages. If the number of sub-
703114237Snjlpackages is one, BIOS code is occasionally seen that creates a simple single 
704114237Snjlpackage with no sub-packages. This code attempts to fix the problem by 
705114237Snjlwrapping a new package object around the existing package. These methods can 
706114237Snjlbe repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
707107325Siwasaki790.
708114237Snjl
709114237SnjlFixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
710114237SnjlThe _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
711114237SnjlBZ 793.
712107325Siwasaki
713107325SiwasakiFixed a problem with AcpiReset where the reset would silently fail if the 
714114237Snjlregister was one of the protected I/O ports. AcpiReset now bypasses the port 
715114237Snjlvalidation mechanism. This may eventually be driven into the AcpiRead/Write 
716114237Snjlinterfaces.
717114237Snjl
718114237SnjlFixed a regression related to the recent update of the AcpiRead/Write 
719107325Siwasakiinterfaces. A sleep/suspend could fail if the optional PM2 Control register 
720107325Siwasakidoes not exist during an attempt to write the Bus Master Arbitration bit. 
721107325Siwasaki(However, some hosts already delete the code that writes this bit, and the 
722114237Snjlcode may in fact be obsolete at this date.) ACPICA BZ 799.
723114237Snjl
724114237SnjlFixed a problem where AcpiTerminate could fault if inadvertently called twice 
725107325Siwasakiin succession. ACPICA BZ 795.
726107325Siwasaki
727107325SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
728107325Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
729107325Siwasakidebug version of the code includes the debug output trace mechanism and has a 
730107325Siwasakimuch larger code and data size.
731107325Siwasaki
732107325Siwasaki  Previous Release:
733107325Siwasaki    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
734107325Siwasaki    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
735107325Siwasaki  Current Release:
736107325Siwasaki    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
737107325Siwasaki    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
738107325Siwasaki
739114237Snjl2) iASL Compiler/Disassembler and Tools:
740114237Snjl
741114237SnjlACPI 4.0: Implemented disassembler support for all new ACPI tables and 
742114237Snjlchanges to existing tables. ACPICA BZ 775.
743114237Snjl
744107325Siwasaki----------------------------------------
745107325Siwasaki25 June 2009. Summary of changes for version 20090625:
746107325Siwasaki
747107325SiwasakiThe ACPI 4.0 Specification was released on June 16 and is available at 
748107325Siwasakiwww.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
749107325Siwasakicontinue for the next few releases.
750107325Siwasaki
751107325Siwasaki1) ACPI CA Core Subsystem:
752114237Snjl
753114237SnjlACPI 4.0: Implemented interpreter support for the IPMI operation region 
754114237Snjladdress space. Includes support for bi-directional data buffers and an IPMI 
755114237Snjladdress space handler (to be installed by an IPMI device driver.) ACPICA BZ 
756114237Snjl773. Lin Ming.
757114237Snjl
758107325SiwasakiACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
759114237Snjlsupport in both the header files and the disassembler.
760107325Siwasaki
761107325SiwasakiCompleted a major update for the AcpiGetObjectInfo external interface. 
762107325SiwasakiChanges include:
763107325Siwasaki - Support for variable, unlimited length HID, UID, and CID strings.
764114237Snjl - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
765114237Snjl - Call the _SxW power methods on behalf of a device object.
766107325Siwasaki - Determine if a device is a PCI root bridge.
767107325Siwasaki - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
768107325SiwasakiThese changes will require an update to all callers of this interface. See 
769107325Siwasakithe updated ACPICA Programmer Reference for details. One new source file has 
770107325Siwasakibeen added - utilities/utids.c. ACPICA BZ 368, 780.
771114237Snjl
772114237SnjlUpdated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
773107325Siwasakitransfers. The Value parameter has been extended from 32 bits to 64 bits in 
774107325Siwasakiorder to support new ACPI 4.0 tables. These changes will require an update to 
775107325Siwasakiall callers of these interfaces. See the ACPICA Programmer Reference for 
776107325Siwasakidetails. ACPICA BZ 768.
777107325Siwasaki
778107325SiwasakiFixed several problems with AcpiAttachData. The handler was not invoked when 
779107325Siwasakithe host node was deleted. The data sub-object was not automatically deleted 
780107325Siwasakiwhen the host node was deleted. The interface to the handler had an unused 
781107325Siwasakiparameter, this was removed. ACPICA BZ 778.
782107325Siwasaki
783107325SiwasakiEnhanced the function that dumps ACPI table headers. All non-printable 
784107325Siwasakicharacters in the string fields are now replaced with '?' (Signature, OemId, 
785107325SiwasakiOemTableId, and CompilerId.) ACPI tables with non-printable characters in 
786107325Siwasakithese fields are occasionally seen in the field. ACPICA BZ 788.
787114237Snjl
788114237SnjlFixed a problem with predefined method repair code where the code that 
789114237Snjlattempts to repair/convert an object of incorrect type is only executed on 
790107325Siwasakithe first time the predefined method is called. The mechanism that disables 
791107325Siwasakiwarnings on subsequent calls was interfering with the repair mechanism. 
792107325SiwasakiACPICA BZ 781.
793107325Siwasaki
794107325SiwasakiFixed a possible memory leak in the predefined validation/repair code when a 
795107325Siwasakibuffer is automatically converted to an expected string object.
796107325Siwasaki
797107325SiwasakiRemoved obsolete 16-bit files from the distribution and from the current git 
798107325Siwasakitree head. ACPICA BZ 776.
799107325Siwasaki
800107325SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
801107325Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
802107325Siwasakidebug version of the code includes the debug output trace mechanism and has a 
803107325Siwasakimuch larger code and data size.
804107325Siwasaki
805107325Siwasaki  Previous Release:
806107325Siwasaki    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
807107325Siwasaki    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
808107325Siwasaki  Current Release:
809107325Siwasaki    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
810107325Siwasaki    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
811107325Siwasaki
812107325Siwasaki2) iASL Compiler/Disassembler and Tools:
813107325Siwasaki
814107325SiwasakiACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
815107325Siwasakioperation region keyword. ACPICA BZ 771, 772. Lin Ming.
816107325Siwasaki
817107325SiwasakiACPI 4.0: iASL - implemented compile-time validation support for all new 
818107325Siwasakipredefined names and control methods (31 total). ACPICA BZ 769.
819107325Siwasaki
820107325Siwasaki----------------------------------------
821114237Snjl21 May 2009. Summary of changes for version 20090521:
822114237Snjl
823107325Siwasaki1) ACPI CA Core Subsystem:
824107325Siwasaki
825114237SnjlDisabled the preservation of the SCI enable bit in the PM1 control register. 
826114237SnjlThe SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
827114237Snjla "preserved" bit - "OSPM always preserves this bit position", section 
828114237Snjl4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
829107325Siwasakibecause the bit needs to be explicitly set by the OS as a workaround. No 
830107325Siwasakimachines fail if the bit is not preserved. Therefore, ACPICA no longer 
831114237Snjlattempts to preserve this bit.
832114237Snjl
833114237SnjlFixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
834114237Snjlincorrectly formed _PRT package could cause a fault. Added validation to 
835107325Siwasakiensure that each package element is actually a sub-package.
836114237Snjl
837114237SnjlImplemented a new interface to install or override a single control method, 
838114237SnjlAcpiInstallMethod. This interface is useful when debugging in order to repair 
839114237Snjlan existing method or to install a missing method without having to override 
840114237Snjlthe entire ACPI table. See the ACPICA Programmer Reference for use and 
841114237Snjlexamples. Lin Ming, Bob Moore.
842114237Snjl
843107325SiwasakiFixed several reference count issues with the DdbHandle object that is 
844107325Siwasakicreated from a Load or LoadTable operator. Prevent premature deletion of the 
845114237Snjlobject. Also, mark the object as invalid once the table has been unloaded. 
846114237SnjlThis is needed because the handle itself may not be deleted after the table 
847114237Snjlunload, depending on whether it has been stored in a named object by the 
848107325Siwasakicaller. Lin Ming.
849107325Siwasaki
850107325SiwasakiFixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
851107325Siwasakimutexes of the same sync level are acquired but then not released in strict 
852107325Siwasakiopposite order, the internally maintained Current Sync Level becomes confused 
853107325Siwasakiand can cause subsequent execution errors. ACPICA BZ 471.
854107325Siwasaki
855107325SiwasakiChanged the allowable release order for ASL mutex objects. The ACPI 4.0 
856107325Siwasakispecification has been changed to make the SyncLevel for mutex objects more 
857107325Siwasakiuseful. When releasing a mutex, the SyncLevel of the mutex must now be the 
858107325Siwasakisame as the current sync level. This makes more sense than the previous rule 
859107325Siwasaki(SyncLevel less than or equal). This change updates the code to match the 
860107325Siwasakispecification.
861107325Siwasaki
862107325SiwasakiFixed a problem with the local version of the AcpiOsPurgeCache function. The 
863114237Snjl(local) cache must be locked during all cache object deletions. Andrew 
864114237SnjlBaumann.
865114237Snjl
866107325SiwasakiUpdated the Load operator to use operation region interfaces. This replaces 
867107325Siwasakidirect memory mapping with region access calls. Now, all region accesses go 
868107325Siwasakithrough the installed region handler as they should.
869107325Siwasaki
870114237SnjlSimplified and optimized the NsGetNextNode function. Reduced parameter count 
871114237Snjland reduced code for this frequently used function.
872114237Snjl
873114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
874107325Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
875114237Snjldebug version of the code includes the debug output trace mechanism and has a 
876114237Snjlmuch larger code and data size.
877107325Siwasaki
878107325Siwasaki  Previous Release:
879107325Siwasaki    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
880107325Siwasaki    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
881107325Siwasaki  Current Release:
882107325Siwasaki    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
883107325Siwasaki    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
884114237Snjl
885114237Snjl2) iASL Compiler/Disassembler and Tools:
886114237Snjl
887114237SnjlDisassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
888114237Snjlwith sub-table disassembly and handling invalid sub-tables. Attempt recovery 
889114237Snjlafter an invalid sub-table ID.
890114237Snjl
891114237Snjl----------------------------------------
892114237Snjl22 April 2009. Summary of changes for version 20090422:
893114237Snjl
894114237Snjl1) ACPI CA Core Subsystem:
895107325Siwasaki
896114237SnjlFixed a compatibility issue with the recently released I/O port protection 
897114237Snjlmechanism. For windows compatibility, 1) On a port protection violation, 
898114237Snjlsimply ignore the request and do not return an exception (allow the control 
899114237Snjlmethod to continue execution.) 2) If only part of the request overlaps a 
900114237Snjlprotected port, read/write the individual ports that are not protected. Linux 
901114237SnjlBZ 13036. Lin Ming
902107325Siwasaki
903114237SnjlEnhanced the execution of the ASL/AML BreakPoint operator so that it actually 
904114237Snjlbreaks into the AML debugger if the debugger is present. This matches the 
905114237SnjlACPI-defined behavior.
906114237Snjl
907114237SnjlFixed several possible warnings related to the use of the configurable 
908107325SiwasakiACPI_THREAD_ID. This type can now be configured as either an integer or a 
909107325Siwasakipointer with no warnings. Also fixes several warnings in printf-like 
910107325Siwasakistatements for the 64-bit build when the type is configured as a pointer. 
911114237SnjlACPICA BZ 766, 767.
912114237Snjl
913107325SiwasakiFixed a number of possible warnings when compiling with gcc 4+ (depending on 
914107325Siwasakiwarning options.) Examples include printf formats, aliasing, unused globals, 
915107325Siwasakimissing prototypes, missing switch default statements, use of non-ANSI 
916107325Siwasakilibrary functions, use of non-ANSI constructs. See generate/unix/Makefile for 
917107325Siwasakia list of warning options used with gcc 3 and 4. ACPICA BZ 735.
918107325Siwasaki
919107325SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
920107325Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
921107325Siwasakidebug version of the code includes the debug output trace mechanism and has a 
922107325Siwasakimuch larger code and data size.
923107325Siwasaki
924107325Siwasaki  Previous Release:
925107325Siwasaki    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
926107325Siwasaki    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
927107325Siwasaki  Current Release:
928114237Snjl    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
929114237Snjl    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
930114237Snjl
931114237Snjl2) iASL Compiler/Disassembler and Tools:
932107325Siwasaki
933107325SiwasakiiASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
934107325Siwasakithe 64-bit build.
935114237Snjl
936114237SnjliASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
937114237Snjlcorrectly digest Windows/DOS formatted files (with CR/LF).
938114237Snjl
939114237SnjliASL: Added a new option for "quiet mode" (-va) that produces only the 
940107325Siwasakicompilation summary, not individual errors and warnings. Useful for large 
941107325Siwasakibatch compilations.
942107325Siwasaki
943107325SiwasakiAcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
944107325Siwasakitimeout that can be used to detect hang conditions during execution of AML 
945114237Snjlcode (includes both internal semaphores and AML-defined mutexes and events.)
946114237Snjl
947114237SnjlAdded new makefiles for the generation of acpica in a generic unix-like 
948107325Siwasakienvironment. These makefiles are intended to generate the acpica tools and 
949107325Siwasakiutilities from the original acpica git source tree structure.
950114237Snjl
951114237SnjlTest Suites: Updated and cleaned up the documentation files. Updated the 
952107325Siwasakicopyrights to 2009, affecting all source files. Use the new version of iASL 
953107325Siwasakiwith quiet mode. Increased the number of available semaphores in the Windows 
954107325SiwasakiOSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
955107325Siwasakian alternate implementation of the semaphore timeout to allow aslts to 
956104470Siwasakiexecute fully on Cygwin.
957104470Siwasaki
958104470Siwasaki----------------------------------------
959104470Siwasaki20 March 2009. Summary of changes for version 20090320:
960104470Siwasaki
961104470Siwasaki1) ACPI CA Core Subsystem:
962104470Siwasaki
963104470SiwasakiFixed a possible race condition between AcpiWalkNamespace and dynamic table 
964104470Siwasakiunloads. Added a reader/writer locking mechanism to allow multiple concurrent 
965104470Siwasakinamespace walks (readers), but block a dynamic table unload until it can gain 
966104470Siwasakiexclusive write access to the namespace. This fixes a problem where a table 
967104470Siwasakiunload could (possibly catastrophically) delete the portion of the namespace 
968104470Siwasakithat is currently being examined by a walk. Adds a new file, utlock.c, that 
969104470Siwasakiimplements the reader/writer lock mechanism. ACPICA BZ 749.
970104470Siwasaki
971104470SiwasakiFixed a regression introduced in version 20090220 where a change to the FADT 
972104470Siwasakihandling could cause the ACPICA subsystem to access non-existent I/O ports.
973104470Siwasaki
974114237SnjlModified the handling of FADT register and table (FACS/DSDT) addresses. The 
975114237SnjlFADT can contain both 32-bit and 64-bit versions of these addresses. 
976104470SiwasakiPreviously, the 64-bit versions were favored, meaning that if both 32 and 64 
977104470Siwasakiversions were valid, but not equal, the 64-bit version was used. This was 
978104470Siwasakifound to cause some machines to fail. Now, in this case, the 32-bit version 
979104470Siwasakiis used instead. This now matches the Windows behavior.
980104470Siwasaki
981104470SiwasakiImplemented a new mechanism to protect certain I/O ports. Provides Microsoft 
982104470Siwasakicompatibility and protects the standard PC I/O ports from access via AML 
983114237Snjlcode. Adds a new file, hwvalid.c
984114237Snjl
985114237SnjlFixed a possible extraneous warning message from the FADT support. The 
986114237Snjlmessage warns of a 32/64 length mismatch between the legacy and GAS 
987114237Snjldefinitions for a register.
988114237Snjl
989104470SiwasakiRemoved the obsolete AcpiOsValidateAddress OSL interface. This interface is 
990104470Siwasakimade obsolete by the port protection mechanism above. It was previously used 
991104470Siwasakito validate the entire address range of an operation region, which could be 
992114237Snjlincorrect if the range included illegal ports, but fields within the 
993114237Snjloperation region did not actually access those ports. Validation is now 
994114237Snjlperformed on a per-field basis instead of the entire region.
995114237Snjl
996114237SnjlModified the handling of the PM1 Status Register ignored bit (bit 11.) 
997114237SnjlIgnored bits must be "preserved" according to the ACPI spec. Usually, this 
998104470Siwasakimeans a read/modify/write when writing to the register. However, for status 
999104470Siwasakiregisters, writing a one means clear the event. Writing a zero means preserve 
1000104470Siwasakithe event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
1001104470Siwasakiand the ACPICA code now simply always writes a zero to the ignored bit.
1002104470Siwasaki
1003104470SiwasakiModified the handling of ignored bits for the PM1 A/B Control Registers. As 
1004104470Siwasakiper the ACPI specification, for the control registers, preserve 
1005104470Siwasaki(read/modify/write) all bits that are defined as either reserved or ignored.
1006104470Siwasaki
1007104470SiwasakiUpdated the handling of write-only bits in the PM1 A/B Control Registers. 
1008104470SiwasakiWhen reading the register, zero the write-only bits as per the ACPI spec. 
1009104470SiwasakiACPICA BZ 443. Lin Ming.
1010104470Siwasaki
1011104470SiwasakiRemoved "Linux" from the list of supported _OSI strings. Linux no longer 
1012104470Siwasakiwants to reply true to this request. The Windows strings are the only paths 
1013104470Siwasakithrough the AML that are tested and known to work properly.
1014114237Snjl
1015104470Siwasaki  Previous Release:
1016104470Siwasaki    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1017104470Siwasaki    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1018104470Siwasaki  Current Release:
1019104470Siwasaki    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1020104470Siwasaki    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1021104470Siwasaki
1022104470Siwasaki2) iASL Compiler/Disassembler and Tools:
1023104470Siwasaki
1024104470SiwasakiAcpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
1025104470Siwasakiaetables.c
1026104470Siwasaki
1027104470Siwasaki----------------------------------------
1028104470Siwasaki20 February 2009. Summary of changes for version 20090220:
1029104470Siwasaki
1030104470Siwasaki1) ACPI CA Core Subsystem:
1031104470Siwasaki
1032104470SiwasakiOptimized the ACPI register locking. Removed locking for reads from the ACPI 
1033104470Siwasakibit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
1034104470Siwasakinot required when reading the single-bit registers. The 
1035104470SiwasakiAcpiGetRegisterUnlocked function is no longer needed and has been removed. 
1036104470SiwasakiThis will improve performance for reads on these registers. ACPICA BZ 760.
1037114237Snjl
1038114237SnjlFixed the parameter validation for AcpiRead/Write. Now return 
1039114237SnjlAE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
1040114237Snjlthe register has an address of zero. Previously, these cases simply returned 
1041114237SnjlAE_OK. For optional registers such as PM1B status/enable/control, the caller 
1042104470Siwasakishould check for a valid register address before calling. ACPICA BZ 748.
1043104470Siwasaki
1044104470SiwasakiRenamed the external ACPI bit register access functions. Renamed 
1045114237SnjlAcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
1046114237Snjlfunctions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
1047114237SnjlAlso, restructured the code for these functions by simplifying the code path 
1048104470Siwasakiand condensing duplicate code to reduce code size.
1049104470Siwasaki
1050104470SiwasakiAdded new functions to transparently handle the possibly split PM1 A/B 
1051104470Siwasakiregisters. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
1052104470Siwasakinow handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
1053114237Snjl746.
1054114237Snjl
1055114237SnjlAdded a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
1056114237SnjlThis function writes both of the PM1 control registers (A/B). These registers 
1057104470Siwasakiare different than the PM1 A/B status and enable registers in that different 
1058104470Siwasakivalues can be written to the A/B registers. Most notably, the SLP_TYP bits 
1059104470Siwasakican be different, as per the values returned from the _Sx predefined methods.
1060104470Siwasaki
1061104470SiwasakiRemoved an extra register write within AcpiHwClearAcpiStatus. This function 
1062114237Snjlwas writing an optional PM1B status register twice. The existing call to the 
1063114237Snjllow-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
1064104470Siwasakiregister. ACPICA BZ 751.
1065104470Siwasaki
1066104470SiwasakiSplit out the PM1 Status registers from the FADT. Added new globals for these 
1067104470Siwasakiregisters (A/B), similar to the way the PM1 Enable registers are handled. 
1068104470SiwasakiInstead of overloading the FADT Event Register blocks. This makes the code 
1069104470Siwasakiclearer and less prone to error.
1070104470Siwasaki
1071114237SnjlFixed the warning message for when the platform contains too many ACPI tables 
1072114237Snjlfor the default size of the global root table data structure. The calculation 
1073104470Siwasakifor the truncation value was incorrect.
1074104470Siwasaki
1075104470SiwasakiRemoved the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
1076104470Siwasakiobsolete macro, since it is now a simple reference to ->common.type. There 
1077104470Siwasakiwere about 150 invocations of the macro across 41 files. ACPICA BZ 755.
1078104470Siwasaki
1079104470SiwasakiRemoved the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
1080114237SnjlTYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
1081114237Snjlsimply SLEEP_TYPE. ACPICA BZ 754.
1082114237Snjl
1083114237SnjlConditionally compile the AcpiSetFirmwareWakingVector64 function. This 
1084114237Snjlfunction is only needed on 64-bit host operating systems and is thus not 
1085104470Siwasakiincluded for 32-bit hosts.
1086104470Siwasaki
1087104470SiwasakiDebug output: print the input and result for invocations of the _OSI reserved 
1088104470Siwasakicontrol method via the ACPI_LV_INFO debug level. Also, reduced some of the 
1089114237Snjlverbosity of this debug level. Len Brown.
1090114237Snjl
1091114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
1092104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1093104470Siwasakidebug version of the code includes the debug output trace mechanism and has a 
1094104470Siwasakimuch larger code and data size.
1095104470Siwasaki
1096104470Siwasaki  Previous Release:
1097104470Siwasaki    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1098104470Siwasaki    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1099114237Snjl  Current Release:
1100114237Snjl    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1101114237Snjl    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1102114237Snjl
1103104470Siwasaki2) iASL Compiler/Disassembler and Tools:
1104114237Snjl
1105114237SnjlDisassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
1106114237Snjlvarious legal performance profiles.
1107114237Snjl
1108104470Siwasaki----------------------------------------
1109104470Siwasaki23 January 2009. Summary of changes for version 20090123:
1110104470Siwasaki
1111104470Siwasaki1) ACPI CA Core Subsystem:
1112104470Siwasaki
1113104470SiwasakiAdded the 2009 copyright to all module headers and signons. This affects 
1114104470Siwasakivirtually every file in the ACPICA core subsystem, the iASL compiler, and 
1115104470Siwasakithe tools/utilities.
1116104470Siwasaki
1117104470SiwasakiImplemented a change to allow the host to override any ACPI table, including 
1118104470Siwasakidynamically loaded tables. Previously, only the DSDT could be replaced by the 
1119104470Siwasakihost. With this change, the AcpiOsTableOverride interface is called for each 
1120104470Siwasakitable found in the RSDT/XSDT during ACPICA initialization, and also whenever 
1121104470Siwasakia table is dynamically loaded via the AML Load operator.
1122104470Siwasaki
1123104470SiwasakiUpdated FADT flag definitions, especially the Boot Architecture flags.
1124104470Siwasaki
1125104470SiwasakiDebugger: For the Find command, automatically pad the input ACPI name with 
1126104470Siwasakiunderscores if the name is shorter than 4 characters. This enables a match 
1127104470Siwasakiwith the actual namespace entry which is itself padded with underscores.
1128104470Siwasaki
1129104470SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
1130104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1131114237Snjldebug version of the code includes the debug output trace mechanism and has a 
1132114237Snjlmuch larger code and data size.
1133104470Siwasaki
1134114237Snjl  Previous Release:
1135114237Snjl    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1136114237Snjl    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1137104470Siwasaki  Current Release:
1138114237Snjl    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1139114237Snjl    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1140104470Siwasaki
1141114237Snjl2) iASL Compiler/Disassembler and Tools:
1142114237Snjl
1143104470SiwasakiFix build error under Bison-2.4.
1144104470Siwasaki
1145114237SnjlDissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
1146114237Snjlflags. Now decode all flags, regardless of the FADT version. Flag output 
1147104470Siwasakiincludes the FADT version which first defined each flag.
1148104470Siwasaki
1149104470SiwasakiThe iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
1150104470SiwasakiDSDT). Windows only.
1151104470Siwasaki
1152104470Siwasaki----------------------------------------
1153102550Siwasaki04 December 2008. Summary of changes for version 20081204:
1154102550Siwasaki
1155102550Siwasaki1) ACPI CA Core Subsystem:
1156102550Siwasaki
1157114237SnjlThe ACPICA Programmer Reference has been completely updated and revamped for 
1158114237Snjlthis release. This includes updates to the external interfaces, OSL 
1159114237Snjlinterfaces, the overview sections, and the debugger reference.
1160114237Snjl
1161114237SnjlSeveral new ACPICA interfaces have been implemented and documented in the 
1162102550Siwasakiprogrammer reference:
1163114237SnjlAcpiReset - Writes the reset value to the FADT-defined reset register.
1164114237SnjlAcpiDisableAllGpes - Disable all available GPEs.
1165102550SiwasakiAcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
1166102550SiwasakiAcpiGetGpeDevice - Get the GPE block device associated with a GPE.
1167102550SiwasakiAcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
1168114237SnjlAcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
1169114237SnjlAcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
1170114237Snjl
1171114237SnjlMost of the public ACPI hardware-related interfaces have been moved to a new 
1172114237Snjlfile, components/hardware/hwxface.c
1173114237Snjl
1174114237SnjlEnhanced the FADT parsing and low-level ACPI register access: The ACPI 
1175114237Snjlregister lengths within the FADT are now used, and the low level ACPI 
1176102550Siwasakiregister access no longer hardcodes the ACPI register lengths. Given that 
1177114237Snjlthere may be some risk in actually trusting the FADT register lengths, a run-
1178114237Snjltime option was added to fall back to the default hardcoded lengths if the 
1179114237SnjlFADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
1180114237Snjloption is set to true for now, and a warning is issued if a suspicious FADT 
1181114237Snjlregister length is overridden with the default value.
1182114237Snjl
1183102550SiwasakiFixed a reference count issue in NsRepairObject. This problem was introduced 
1184102550Siwasakiin version 20081031 as part of a fix to repair Buffer objects within 
1185102550SiwasakiPackages. Lin Ming.
1186114237Snjl
1187114237SnjlAdded semaphore support to the Linux/Unix application OS-services layer 
1188114237Snjl(OSL). ACPICA BZ 448. Lin Ming.
1189114237Snjl
1190114237SnjlAdded the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
1191114237Snjlbe implemented in the OSL, or will binary semaphores be used instead.
1192102550Siwasaki
1193102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
1194104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1195104470Siwasakidebug version of the code includes the debug output trace mechanism and has a 
1196102550Siwasakimuch larger code and data size.
1197104470Siwasaki
1198104470Siwasaki  Previous Release:
1199102550Siwasaki    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1200102550Siwasaki    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1201102550Siwasaki  Current Release:
1202102550Siwasaki    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1203102550Siwasaki    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1204102550Siwasaki
1205102550Siwasaki2) iASL Compiler/Disassembler and Tools:
1206102550Siwasaki
1207102550SiwasakiiASL: Completed the '-e' option to include additional ACPI tables in order to 
1208102550Siwasakiaid with disassembly and External statement generation. ACPICA BZ 742. Lin 
1209104470SiwasakiMing.
1210104470Siwasaki
1211102550SiwasakiiASL: Removed the "named object in while loop" error. The compiler cannot 
1212102550Siwasakidetermine how many times a loop will execute. ACPICA BZ 730.
1213102550Siwasaki
1214102550SiwasakiDisassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
1215102550SiwasakiBZ 743.
1216102550Siwasaki
1217102550SiwasakiDisassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
1218102550Siwasaki
1219102550Siwasaki----------------------------------------
1220102550Siwasaki31 October 2008. Summary of changes for version 20081031:
1221114237Snjl
1222114237Snjl1) ACPI CA Core Subsystem:
1223114237Snjl
1224114237SnjlRestructured the ACPICA header files into public/private. acpi.h now includes 
1225102550Siwasakionly the "public" acpica headers. All other acpica headers are "private" and 
1226102550Siwasakishould not be included by acpica users. One new file, accommon.h is used to 
1227114237Snjlinclude the commonly used private headers for acpica code generation. Future 
1228114237Snjlplans include moving all private headers to a new subdirectory.
1229114237Snjl
1230114237SnjlImplemented an automatic Buffer->String return value conversion for 
1231114237Snjlpredefined ACPI methods. For these methods (such as _BIF), added automatic 
1232114237Snjlconversion for return objects that are required to be a String, but a Buffer 
1233114237Snjlwas found instead. This can happen when reading string battery data from an 
1234114237Snjloperation region, because it used to be difficult to convert the data from 
1235102550Siwasakibuffer to string from within the ASL. Ensures that the host OS is provided 
1236114237Snjlwith a valid null-terminated string. Linux BZ 11822.
1237114237Snjl
1238114237SnjlUpdated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
1239114237Snjlinto two: one for the 32-bit vector, another for the 64-bit vector. This is 
1240114237Snjlrequired because the host OS must setup the wake much differently for each 
1241114237Snjlvector (real vs. protected mode, etc.) and the interface itself should not be 
1242114237Snjldeciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
1243102550Siwasakiinterface, as it served no purpose (only the firmware reads the vector, OS 
1244114237Snjlonly writes the vector.) ACPICA BZ 731.
1245114237Snjl
1246114237SnjlImplemented a mechanism to escape infinite AML While() loops. Added a loop 
1247114237Snjlcounter to force exit from AML While loops if the count becomes too large. 
1248102550SiwasakiThis can occur in poorly written AML when the hardware does not respond 
1249114237Snjlwithin a while loop and the loop does not implement a timeout. The maximum 
1250114237Snjlloop count is configurable. A new exception code is returned when a loop is 
1251114237Snjlbroken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
1252114237Snjl
1253114237SnjlOptimized the execution of AML While loops. Previously, a control state 
1254102550Siwasakiobject was allocated and freed for each execution of the loop. The 
1255104470Siwasakioptimization is to simply reuse the control state for each iteration. This 
1256114237Snjlspeeds up the raw loop execution time by about 5%.
1257114237Snjl
1258114237SnjlEnhanced the implicit return mechanism. For Windows compatibility, return an 
1259102550Siwasakiimplicit integer of value zero for methods that contain no executable code. 
1260114237SnjlSuch methods are seen in the field as stubs (presumably), and can cause 
1261114237Snjldrivers to fail if they expect a return value. Lin Ming.
1262114237Snjl
1263114237SnjlAllow multiple backslashes as root prefixes in namepaths. In a fully 
1264114237Snjlqualified namepath, allow multiple backslash prefixes. This can happen (and 
1265102550Siwasakiis seen in the field) because of the use of a double-backslash in strings 
1266114237Snjl(since backslash is the escape character) causing confusion. ACPICA BZ 739 
1267114237SnjlLin Ming.
1268114237Snjl
1269102550SiwasakiEmit a warning if two different FACS or DSDT tables are discovered in the 
1270104470SiwasakiFADT. Checks if there are two valid but different addresses for the FACS and 
1271114237SnjlDSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
1272114237Snjl
1273104470SiwasakiConsolidated the method argument count validation code. Merged the code that 
1274102550Siwasakivalidates control method argument counts into the predefined validation 
1275102550Siwasakimodule. Eliminates possible multiple warnings for incorrect argument counts.
1276102550Siwasaki
1277102550SiwasakiImplemented ACPICA example code. Includes code for ACPICA initialization, 
1278102550Siwasakihandler installation, and calling a control method. Available at 
1279102550Siwasakisource/tools/examples.
1280102550Siwasaki
1281114237SnjlAdded a global pointer for FACS table to simplify internal FACS access. Use 
1282114237Snjlthe global pointer instead of using AcpiGetTableByIndex for each FACS access. 
1283114237SnjlThis simplifies the code for the Global Lock and the Firmware Waking 
1284114237SnjlVector(s).
1285114237Snjl
1286114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
1287114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1288114237Snjldebug version of the code includes the debug output trace mechanism and has a 
1289102550Siwasakimuch larger code and data size.
1290114237Snjl
1291114237Snjl  Previous Release:
1292114237Snjl    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1293102550Siwasaki    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1294114237Snjl  Current Release:
1295114237Snjl    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1296114237Snjl    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1297102550Siwasaki
1298102550Siwasaki2) iASL Compiler/Disassembler and Tools:
1299102550Siwasaki
1300114237SnjliASL: Improved disassembly of external method calls. Added the -e option to 
1301114237Snjlallow the inclusion of additional ACPI tables to help with the disassembly of 
1302114237Snjlmethod invocations and the generation of external declarations during the 
1303114237Snjldisassembly. Certain external method invocations cannot be disassembled 
1304114237Snjlproperly without the actual declaration of the method. Use the -e option to 
1305114237Snjlinclude the table where the external method(s) are actually declared. Most 
1306102550Siwasakiuseful for disassembling SSDTs that make method calls back to the master 
1307102550SiwasakiDSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
1308104470Siwasaki-e dsdt.aml ssdt1.aml
1309104470Siwasaki
1310102550SiwasakiiASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
1311104470Siwasakiproblem where the use of an alias within a namepath would result in a not 
1312104470Siwasakifound error or cause the compiler to fault. Also now allows forward 
1313102550Siwasakireferences from the Alias operator itself. ACPICA BZ 738.
1314102550Siwasaki
1315102550Siwasaki----------------------------------------
1316102550Siwasaki26 September 2008. Summary of changes for version 20080926:
1317102550Siwasaki
1318102550Siwasaki1) ACPI CA Core Subsystem:
1319114237Snjl
1320114237SnjlDesigned and implemented a mechanism to validate predefined ACPI methods and 
1321102550Siwasakiobjects. This code validates the predefined ACPI objects (objects whose names 
1322102550Siwasakistart with underscore) that appear in the namespace, at the time they are 
1323102550Siwasakievaluated. The argument count and the type of the returned object are 
1324102550Siwasakivalidated against the ACPI specification. The purpose of this validation is 
1325114237Snjlto detect problems with the BIOS-implemented predefined ACPI objects before 
1326114237Snjlthe results are returned to the ACPI-related drivers. Future enhancements may 
1327114237Snjlinclude actual repair of incorrect return objects where possible. Two new 
1328114237Snjlfiles are nspredef.c and acpredef.h.
1329114237Snjl
1330114237SnjlFixed a fault in the AML parser if a memory allocation fails during the Op 
1331102550Siwasakicompletion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
1332102550Siwasaki
1333102550SiwasakiFixed an issue with implicit return compatibility. This change improves the 
1334102550Siwasakiimplicit return mechanism to be more compatible with the MS interpreter. Lin 
1335114237SnjlMing, ACPICA BZ 349.
1336114237Snjl
1337114237SnjlImplemented support for zero-length buffer-to-string conversions. Allow zero 
1338102550Siwasakilength strings during interpreter buffer-to-string conversions. For example, 
1339104470Siwasakiduring the ToDecimalString and ToHexString operators, as well as implicit 
1340104470Siwasakiconversions. Fiodor Suietov, ACPICA BZ 585.
1341104470Siwasaki
1342104470SiwasakiFixed two possible memory leaks in the error exit paths of 
1343102550SiwasakiAcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
1344102550Siwasakisimilar in that they use a stack of state objects in order to eliminate 
1345102550Siwasakirecursion. The stack must be fully unwound and deallocated if an error 
1346102550Siwasakioccurs. Lin Ming. ACPICA BZ 383.
1347102550Siwasaki
1348102550SiwasakiRemoved the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
1349102550SiwasakiACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
1350102550SiwasakiMoore ACPICA BZ 442.
1351114237Snjl
1352114237SnjlRemoved the obsolete version number in module headers. Removed the 
1353114237Snjl"$Revision" number that appeared in each module header. This version number 
1354114237Snjlwas useful under SourceSafe and CVS, but has no meaning under git. It is not 
1355114237Snjlonly incorrect, it could also be misleading.
1356114237Snjl
1357114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
1358114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1359114237Snjldebug version of the code includes the debug output trace mechanism and has a 
1360102550Siwasakimuch larger code and data size.
1361114237Snjl
1362114237Snjl  Previous Release:
1363114237Snjl    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1364114237Snjl    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1365102550Siwasaki  Current Release:
1366104470Siwasaki    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1367114237Snjl    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1368114237Snjl
1369114237Snjl----------------------------------------
1370102550Siwasaki29 August 2008. Summary of changes for version 20080829:
1371102550Siwasaki
1372102550Siwasaki1) ACPI CA Core Subsystem:
1373102550Siwasaki
1374102550SiwasakiCompleted a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
1375104470SiwasakiReference. Changes include the elimination of cheating on the Object field 
1376104470Siwasakifor the DdbHandle subtype, addition of a reference class field to 
1377104470Siwasakidifferentiate the various reference types (instead of an AML opcode), and the 
1378114237Snjlcleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
1379114237Snjl
1380102550SiwasakiReduce an error to a warning for an incorrect method argument count. 
1381102550SiwasakiPreviously aborted with an error if too few arguments were passed to a 
1382102550Siwasakicontrol method via the external ACPICA interface. Now issue a warning instead 
1383102550Siwasakiand continue. Handles the case where the method inadvertently declares too 
1384114237Snjlmany arguments, but does not actually use the extra ones. Applies mainly to 
1385114237Snjlthe predefined methods. Lin Ming. Linux BZ 11032.
1386114237Snjl
1387102550SiwasakiDisallow the evaluation of named object types with no intrinsic value. Return 
1388102550SiwasakiAE_TYPE for objects that have no value and therefore evaluation is undefined: 
1389102550SiwasakiDevice, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
1390102550Siwasakithese types were allowed, but an exception would be generated at some point 
1391102550Siwasakiduring the evaluation. Now, the error is generated up front.
1392102550Siwasaki
1393102550SiwasakiFixed a possible memory leak in the AcpiNsGetExternalPathname function 
1394102550Siwasaki(nsnames.c). Fixes a leak in the error exit path.
1395102550Siwasaki
1396114237SnjlRemoved the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
1397114237Snjllevels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
1398114237Snjlinterfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
1399114237SnjlACPI_LV_EVENTS.
1400102550Siwasaki
1401102550SiwasakiRemoved obsolete and/or unused exception codes from the acexcep.h header. 
1402102550SiwasakiThere is the possibility that certain device drivers may be affected if they 
1403102550Siwasakiuse any of these exceptions.
1404102550Siwasaki
1405114237SnjlThe ACPICA documentation has been added to the public git source tree, under 
1406114237Snjlacpica/documents. Included are the ACPICA programmer reference, the iASL 
1407104470Siwasakicompiler reference, and the changes.txt release logfile.
1408102550Siwasaki
1409114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
1410114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1411102550Siwasakidebug version of the code includes the debug output trace mechanism and has a 
1412102550Siwasakimuch larger code and data size.
1413102550Siwasaki
1414114237Snjl  Previous Release:
1415114237Snjl    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1416102550Siwasaki    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1417102550Siwasaki  Current Release:
1418102550Siwasaki    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1419102550Siwasaki    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1420102550Siwasaki
1421102550Siwasaki2) iASL Compiler/Disassembler and Tools:
1422102550Siwasaki
1423104470SiwasakiAllow multiple argument counts for the predefined _SCP method. ACPI 3.0 
1424114237Snjldefines _SCP with 3 arguments. Previous versions defined it with only 1 
1425114237Snjlargument. iASL now allows both definitions.
1426114237Snjl
1427114237SnjliASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
1428114237Snjllength subtables when disassembling ACPI tables. Also fixed a couple of 
1429114237Snjlerrors where a full 16-bit table type field was not extracted from the input 
1430102550Siwasakiproperly.
1431102550Siwasaki
1432114237Snjlacpisrc: Improve comment counting mechanism for generating source code 
1433114237Snjlstatistics. Count first and last lines of multi-line comments as whitespace, 
1434102550Siwasakinot comment lines. Handle Linux legal header in addition to standard acpica 
1435102550Siwasakiheader.
1436104470Siwasaki
1437114237Snjl----------------------------------------
1438114237Snjl
1439114237Snjl29 July 2008. Summary of changes for version 20080729:
1440102550Siwasaki
1441102550Siwasaki1) ACPI CA Core Subsystem:
1442104470Siwasaki
1443104470SiwasakiFix a possible deadlock in the GPE dispatch. Remove call to 
1444104470SiwasakiAcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
1445104470Siwasakito acquire the GPE lock but can deadlock since the GPE lock is already held 
1446104470Siwasakiat dispatch time. This code was introduced in version 20060831 as a response 
1447114237Snjlto Linux BZ 6881 and has since been removed from Linux.
1448114237Snjl
1449114237SnjlAdd a function to dereference returned reference objects. Examines the return 
1450102550Siwasakiobject from a call to AcpiEvaluateObject. Any Index or RefOf references are 
1451102550Siwasakiautomatically dereferenced in an attempt to return something useful (these 
1452114237Snjlreference types cannot be converted into an external ACPI_OBJECT.) Provides 
1453114237SnjlMS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
1454114237Snjl
1455114237Snjlx2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
1456114237Snjlsubtables for the MADT and one new subtable for the SRAT. Includes 
1457114237Snjldisassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
1458114237SnjlSpecification, June 2008.
1459102550Siwasaki
1460102550SiwasakiAdditional error checking for pathname utilities. Add error check after all 
1461104470Siwasakicalls to AcpiNsGetPathnameLength. Add status return from 
1462104470SiwasakiAcpiNsBuildExternalPath and check after all calls. Add parameter validation 
1463102550Siwasakito AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
1464104470Siwasaki
1465104470SiwasakiReturn status from the global init function AcpiUtGlobalInitialize. This is 
1466102550Siwasakiused by both the kernel subsystem and the utilities such as iASL compiler. 
1467102550SiwasakiThe function could possibly fail when the caches are initialized. Yang Yi.
1468102550Siwasaki
1469102550SiwasakiAdd a function to decode reference object types to strings. Created for 
1470104470Siwasakiimproved error messages. 
1471104470Siwasaki
1472102550SiwasakiImprove object conversion error messages. Better error messages during object 
1473102550Siwasakiconversion from internal to the external ACPI_OBJECT. Used for external calls 
1474102550Siwasakito AcpiEvaluateObject.
1475102550Siwasaki
1476114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
1477114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1478114237Snjldebug version of the code includes the debug output trace mechanism and has a 
1479102550Siwasakimuch larger code and data size.
1480114237Snjl
1481114237Snjl  Previous Release:
1482114237Snjl    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1483114237Snjl    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1484114237Snjl  Current Release:
1485102550Siwasaki    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1486114237Snjl    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1487114237Snjl
1488114237Snjl2) iASL Compiler/Disassembler and Tools:
1489114237Snjl
1490102550SiwasakiDebugger: fix a possible hang when evaluating non-methods. Fixes a problem 
1491102550Siwasakiintroduced in version 20080701. If the object being evaluated (via execute 
1492104470Siwasakicommand) is not a method, the debugger can hang while trying to obtain non-
1493104470Siwasakiexistent parameters.
1494102550Siwasaki
1495102550SiwasakiiASL: relax error for using reserved "_T_x" identifiers. These names can 
1496102550Siwasakiappear in a disassembled ASL file if they were emitted by the original 
1497102550Siwasakicompiler. Instead of issuing an error or warning and forcing the user to 
1498102550Siwasakimanually change these names, issue a remark instead.
1499102550Siwasaki
1500102550SiwasakiiASL: error if named object created in while loop. Emit an error if any named 
1501102550Siwasakiobject is created within a While loop. If allowed, this code will generate a 
1502102550Siwasakirun-time error on the second iteration of the loop when an attempt is made to 
1503104470Siwasakicreate the same named object twice. ACPICA bugzilla 730.
1504104470Siwasaki
1505114237SnjliASL: Support absolute pathnames for include files. Add support for absolute 
1506114237Snjlpathnames within the Include operator. previously, only relative pathnames 
1507114237Snjlwere supported.
1508114237Snjl
1509114237SnjliASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
1510114237SnjlThe ACPI spec requires one interrupt minimum. BZ 423
1511102550Siwasaki
1512114237SnjliASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
1513114237SnjlHandles the case for the Interrupt Resource Descriptor where
1514114237Snjlthe ResourceSource argument is omitted but ResourceSourceIndex
1515102550Siwasakiis present. Now leave room for the Index. BZ 426
1516114237Snjl
1517114237SnjliASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
1518114237Snjlwhere an error message is emitted if the target does not exist. BZ 516
1519102550Siwasaki
1520114237SnjliASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
1521114237Snjl(get ACPI tables on Windows). This was apparently broken in version 20070919.
1522102550Siwasaki
1523104470SiwasakiAcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
1524114237Snjlthe EOF happens immediately after the last table in the input file. Print 
1525114237Snjlcompletion message. Previously, no message was displayed in this case.
1526102550Siwasaki
1527102550Siwasaki----------------------------------------
1528102550Siwasaki01 July 2008. Summary of changes for version 20080701:
1529114237Snjl
1530114237Snjl0) Git source tree / acpica.org
1531114237Snjl
1532114237SnjlFixed a problem where a git-clone from http would not transfer the entire 
1533114237Snjlsource tree.
1534114237Snjl
1535102550Siwasaki1) ACPI CA Core Subsystem:
1536102550Siwasaki
1537104470SiwasakiImplemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
1538104470Siwasakienable bit. Now performs a read-change-write of the enable register instead 
1539102550Siwasakiof simply writing out the cached enable mask. This will prevent inadvertent 
1540104470Siwasakienabling of GPEs if a rogue GPE is received during initialization (before GPE 
1541104470Siwasakihandlers are installed.)
1542102550Siwasaki
1543102550SiwasakiImplemented a copy for dynamically loaded tables. Previously, dynamically 
1544102550Siwasakiloaded tables were simply mapped - but on some machines this memory is 
1545102550Siwasakicorrupted after suspend. Now copy the table to a local buffer. For the 
1546102550SiwasakiOpRegion case, added checksum verify. Use the table length from the table 
1547114237Snjlheader, not the region length. For the Buffer case, use the table length 
1548114237Snjlalso. Dennis Noordsij, Bob Moore. BZ 10734
1549102550Siwasaki
1550102550SiwasakiFixed a problem where the same ACPI table could not be dynamically loaded and 
1551102550Siwasakiunloaded more than once. Without this change, a table cannot be loaded again 
1552102550Siwasakionce it has been loaded/unloaded one time. The current mechanism does not 
1553102550Siwasakiunregister a table upon an unload. During a load, if the same table is found, 
1554102550Siwasakithis no longer returns an exception. BZ 722
1555102550Siwasaki
1556102550SiwasakiFixed a problem where the wrong descriptor length was calculated for the 
1557102550SiwasakiEndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
1558102550Siwasakiare calculated as 12 bytes long, but the actual length in the internal 
1559102550Siwasakidescriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
1560102550Siwasakiby Linn Crosetto. BZ 728
1561102550Siwasaki
1562102550SiwasakiFixed a possible memory leak in the Unload operator. The DdbHandle returned 
1563102550Siwasakiby Load() did not have its reference count decremented during unload, leading 
1564102550Siwasakito a memory leak. Lin Ming. BZ 727
1565114237Snjl
1566114237SnjlFixed a possible memory leak when deleting thermal/processor objects. Any 
1567114237Snjlassociated notify handlers (and objects) were not being deleted. Fiodor 
1568102550SiwasakiSuietov. BZ 506
1569102550Siwasaki
1570102550SiwasakiFixed the ordering of the ASCII names in the global mutex table to match the 
1571114237Snjlactual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
1572114237SnjlVegard Nossum. BZ 726
1573102550Siwasaki
1574114237SnjlEnhanced the AcpiGetObjectInfo interface to return the number of required 
1575114237Snjlarguments if the object is a control method. Added this call to the debugger 
1576114237Snjlso the proper number of default arguments are passed to a method. This 
1577114237Snjlprevents a warning when executing methods from AcpiExec.
1578102550Siwasaki
1579114237SnjlAdded a check for an invalid handle in AcpiGetObjectInfo. Return 
1580114237SnjlAE_BAD_PARAMETER if input handle is invalid. BZ 474
1581114237Snjl
1582114237SnjlFixed an extraneous warning from exconfig.c on the 64-bit build.
1583102550Siwasaki
1584102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
1585114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1586114237Snjldebug version of the code includes the debug output trace mechanism and has a 
1587114237Snjlmuch larger code and data size.
1588102550Siwasaki
1589102550Siwasaki  Previous Release:
1590102550Siwasaki    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1591102550Siwasaki    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1592114237Snjl  Current Release:
1593114237Snjl    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1594102550Siwasaki    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1595102550Siwasaki
1596114237Snjl2) iASL Compiler/Disassembler and Tools:
1597114237Snjl
1598102550SiwasakiiASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
1599102550Siwasakiresource descriptor names.
1600102550Siwasaki
1601102550SiwasakiiASL: Detect invalid ASCII characters in input (windows version). Removed the 
1602102550Siwasaki"-CF" flag from the flex compile, enables correct detection of non-ASCII 
1603102550Siwasakicharacters in the input. BZ 441
1604102550Siwasaki
1605102550SiwasakiiASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
1606114237Snjl"result of operation not used" warning when the DDB handle returned from 
1607114237SnjlLoadTable is not used. The warning is not needed. BZ 590
1608114237Snjl
1609114237SnjlAcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
1610114237Snjlpass address of table to the AML. Added option to disable OpRegion simulation 
1611102550Siwasakito allow creation of an OpRegion with a real address that was passed to _CFG. 
1612114237SnjlAll of this allows testing of the Load and Unload operators from AcpiExec.
1613114237Snjl
1614114237SnjlDebugger: update tables command for unloaded tables. Handle unloaded tables 
1615114237Snjland use the standard table header output routine.
1616102550Siwasaki
1617104470Siwasaki----------------------------------------
1618104470Siwasaki09 June 2008. Summary of changes for version 20080609:
1619102550Siwasaki
1620102550Siwasaki1) ACPI CA Core Subsystem:
1621114237Snjl
1622114237SnjlImplemented a workaround for reversed _PRT entries. A significant number of 
1623102550SiwasakiBIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
1624102550Siwasakichange dynamically detects and repairs this problem. Provides compatibility 
1625102550Siwasakiwith MS ACPI. BZ 6859
1626114237Snjl
1627114237SnjlSimplified the internal ACPI hardware interfaces to eliminate the locking 
1628114237Snjlflag parameter from Register Read/Write. Added a new external interface, 
1629114237SnjlAcpiGetRegisterUnlocked.
1630114237Snjl
1631114237SnjlFixed a problem where the invocation of a GPE control method could hang. This 
1632102550Siwasakiwas a regression introduced in 20080514. The new method argument count 
1633102550Siwasakivalidation mechanism can enter an infinite loop when a GPE method is 
1634104470Siwasakidispatched. Problem fixed by removing the obsolete code that passed GPE block 
1635104470Siwasakiinformation to the notify handler via the control method parameter pointer.
1636102550Siwasaki
1637104470SiwasakiFixed a problem where the _SST execution status was incorrectly returned to 
1638104470Siwasakithe caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
1639102550Siwasaki20080514. _SST is optional and a NOT_FOUND exception should never be 
1640102550Siwasakireturned. BZ 716
1641102550Siwasaki
1642102550SiwasakiFixed a problem where a deleted object could be accessed from within the AML 
1643104470Siwasakiparser. This was a regression introduced in version 20080123 as a fix for the 
1644104470SiwasakiUnload operator. Lin Ming. BZ 10669
1645104470Siwasaki
1646102550SiwasakiCleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
1647114237Snjland eliminated the use of a negative index in a loop. Operands are now 
1648114237Snjldisplayed in the correct order, not backwards. This also fixes a regression 
1649102550Siwasakiintroduced in 20080514 on 64-bit systems where the elimination of 
1650102550SiwasakiACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
1651102550Siwasaki
1652102550SiwasakiFixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
1653102550Siwasakipath did not delete a locally allocated structure.
1654102550Siwasaki
1655102550SiwasakiUpdated definitions for the DMAR and SRAT tables to synchronize with the 
1656102550Siwasakicurrent specifications. Includes disassembler support.
1657102550Siwasaki
1658102550SiwasakiFixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
1659102550Siwasakiloop termination value was used. Loop terminated on iteration early, missing 
1660102550Siwasakione mutex. Linn Crosetto
1661114237Snjl
1662114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
1663114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1664102550Siwasakidebug version of the code includes the debug output trace mechanism and has a 
1665104470Siwasakimuch larger code and data size.
1666104470Siwasaki
1667104470Siwasaki  Previous Release:
1668104470Siwasaki    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1669114237Snjl    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1670114237Snjl  Current Release:
1671104470Siwasaki    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1672104470Siwasaki    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1673104470Siwasaki
1674104470Siwasaki2) iASL Compiler/Disassembler and Tools:
1675102550Siwasaki
1676114237SnjlDisassembler: Implemented support for EisaId() within _CID objects. Now 
1677102550Siwasakidisassemble integer _CID objects back to EisaId invocations, including 
1678114237Snjlmultiple integers within _CID packages. Includes single-step support for 
1679114237Snjldebugger also.
1680102550Siwasaki
1681114237SnjlDisassembler: Added support for DMAR and SRAT table definition changes.
1682114237Snjl
1683114237Snjl----------------------------------------
1684114237Snjl14 May 2008. Summary of changes for version 20080514:
1685102550Siwasaki
1686102550Siwasaki1) ACPI CA Core Subsystem:
1687102550Siwasaki
1688102550SiwasakiFixed a problem where GPEs were enabled too early during the ACPICA 
1689104470Siwasakiinitialization. This could lead to "handler not installed" errors on some 
1690104470Siwasakimachines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
1691102550Siwasakiensures that all operation regions and devices throughout the namespace have 
1692104470Siwasakibeen initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
1693104470Siwasaki
1694104470SiwasakiImplemented a change to the enter sleep code. Moved execution of the _GTS 
1695104470Siwasakimethod to just before setting sleep enable bit. The execution was moved from 
1696102550SiwasakiAcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
1697102550Siwasakiimmediately before the SLP_EN bit is set, as per the ACPI specification. 
1698102550SiwasakiLuming Yu, BZ 1653.
1699102550Siwasaki
1700102550SiwasakiImplemented a fix to disable unknown GPEs (2nd version). Now always disable 
1701102550Siwasakithe GPE, even if ACPICA thinks that that it is already disabled. It is 
1702102550Siwasakipossible that the AML or some other code has enabled the GPE unbeknownst to 
1703114237Snjlthe ACPICA code.
1704114237Snjl
1705102550SiwasakiFixed a problem with the Field operator where zero-length fields would return 
1706102550Siwasakian AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
1707102550Siwasakifield declarations in Field(), BankField(), and IndexField(). BZ 10606.
1708102550Siwasaki
1709102550SiwasakiImplemented a fix for the Load operator, now load the table at the namespace 
1710102550Siwasakiroot. This reverts a change introduced in version 20071019. The table is now 
1711114237Snjlloaded at the namespace root even though this goes against the ACPI 
1712114237Snjlspecification. This provides compatibility with other ACPI implementations. 
1713114237SnjlThe ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
1714114237Snjl
1715102550SiwasakiFixed a problem where ACPICA would not Load() tables with unusual signatures. 
1716102550SiwasakiNow ignore ACPI table signature for Load() operator. Only "SSDT" is 
1717114237Snjlacceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
1718114237SnjlTherefore, signature validation is worthless. Apparently MS ACPI accepts such 
1719114237Snjlsignatures, ACPICA must be compatible. BZ 10454.
1720102550Siwasaki
1721114237SnjlFixed a possible negative array index in AcpiUtValidateException. Added NULL 
1722114237Snjlfields to the exception string arrays to eliminate a -1 subtraction on the 
1723114237SnjlSubStatus field.
1724114237Snjl
1725114237SnjlUpdated the debug tracking macros to reduce overall code and data size. 
1726114237SnjlChanged ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
1727114237Snjlinstead of pointers to static strings. Jan Beulich and Bob Moore.
1728102550Siwasaki
1729114237SnjlImplemented argument count checking in control method invocation via 
1730114237SnjlAcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
1731114237Snjlmany. This applies only to extern programmatic control method execution, not 
1732114237Snjlmethod-to-method calls within the AML. Lin Ming.
1733114237Snjl
1734114237SnjlEliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
1735114237Snjllonger needed, especially with the removal of 16-bit support. It was replaced 
1736102550Siwasakimostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
1737104470Siwasaki32/64-bit platforms is required.
1738104470Siwasaki
1739104470SiwasakiAdded the C const qualifier for appropriate string constants -- mostly 
1740104470SiwasakiMODULE_NAME and printf format strings. Jan Beulich.
1741104470Siwasaki
1742104470SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
1743114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1744114237Snjldebug version of the code includes the debug output trace mechanism and has a 
1745102550Siwasakimuch larger code and data size.
1746102550Siwasaki
1747114237Snjl  Previous Release:
1748114237Snjl    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
1749102550Siwasaki    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
1750114237Snjl  Current Release:
1751114237Snjl    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1752114237Snjl    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1753102550Siwasaki
1754102550Siwasaki2) iASL Compiler/Disassembler and Tools:
1755114237Snjl
1756114237SnjlImplemented ACPI table revision ID validation in the disassembler. Zero is 
1757114237Snjlalways invalid. For DSDTs, the ID controls the interpreter integer width. 1 
1758114237Snjlmeans 32-bit and this is unusual. 2 or greater is 64-bit.
1759114237Snjl
1760114237Snjl----------------------------------------
1761102550Siwasaki21 March 2008. Summary of changes for version 20080321:
1762102550Siwasaki
1763104470Siwasaki1) ACPI CA Core Subsystem:
1764104470Siwasaki
1765102550SiwasakiImplemented an additional change to the GPE support in order to suppress 
1766104470Siwasakispurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
1767104470Siwasakidisable incoming GPEs that are neither enabled nor disabled -- meaning that 
1768102550Siwasakithe GPE is unknown to the system. This should prevent future interrupt floods 
1769102550Siwasakifrom that GPE. BZ 6217 (Zhang Rui)
1770102550Siwasaki
1771102550SiwasakiFixed a problem where NULL package elements were not returned to the 
1772102550SiwasakiAcpiEvaluateObject interface correctly. The element was simply ignored 
1773102550Siwasakiinstead of returning a NULL ACPI_OBJECT package element, potentially causing 
1774102550Siwasakia buffer overflow and/or confusing the caller who expected a fixed number of 
1775102550Siwasakielements. BZ 10132 (Lin Ming, Bob Moore)
1776102550Siwasaki
1777104470SiwasakiFixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
1778104470SiwasakiQword), Field, BankField, and IndexField operators when invoked from inside 
1779114237Snjlan executing control method. In this case, these operators created namespace 
1780114237Snjlnodes that were incorrectly left marked as permanent nodes instead of 
1781102550Siwasakitemporary nodes. This could cause a problem if there is race condition 
1782104470Siwasakibetween an exiting control method and a running namespace walk. (Reported by 
1783104470SiwasakiLinn Crosetto)
1784104470Siwasaki
1785102550SiwasakiFixed a problem where the CreateField and CreateXXXField operators would 
1786102550Siwasakiincorrectly allow duplicate names (the name of the field) with no exception 
1787102550Siwasakigenerated.
1788102550Siwasaki
1789102550SiwasakiImplemented several changes for Notify handling. Added support for new Notify 
1790102550Siwasakivalues (ACPI 2.0+) and improved the Notify debug output. Notify on 
1791102550SiwasakiPowerResource objects is no longer allowed, as per the ACPI specification. 
1792104470Siwasaki(Bob Moore, Zhang Rui)
1793114237Snjl
1794114237SnjlAll Reference Objects returned via the AcpiEvaluateObject interface are now 
1795102550Siwasakimarked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
1796104470SiwasakiNULL objects - either NULL package elements or unresolved named references.
1797114237Snjl
1798114237SnjlFixed a problem where an extraneous debug message was produced for package 
1799114237Snjlobjects (when debugging enabled). The message "Package List length larger 
1800114237Snjlthan NumElements count" is now produced in the correct case, and is now an 
1801114237Snjlerror message rather than a debug message. Added a debug message for the 
1802114237Snjlopposite case, where NumElements is larger than the Package List (the package 
1803102550Siwasakiwill be padded out with NULL elements as per the ACPI spec.)
1804104470Siwasaki
1805114237SnjlImplemented several improvements for the output of the ASL "Debug" object to 
1806114237Snjlclarify and keep all data for a given object on one output line.
1807114237Snjl
1808114237SnjlFixed two size calculation issues with the variable-length Start Dependent 
1809114237Snjlresource descriptor.
1810114237Snjl
1811102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
1812104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1813114237Snjldebug version of the code includes the debug output trace mechanism and has 
1814114237Snjla much larger code and data size.
1815102550Siwasaki
1816102550Siwasaki  Previous Release:
1817114237Snjl    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
1818114237Snjl    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
1819102550Siwasaki  Current Release:
1820102550Siwasaki    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
1821102550Siwasaki    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
1822102550Siwasaki
1823102550Siwasaki2) iASL Compiler/Disassembler and Tools:
1824102550Siwasaki
1825114237SnjlFixed a problem with the use of the Switch operator where execution of the 
1826114237Snjlcontaining method by multiple concurrent threads could cause an 
1827104470SiwasakiAE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
1828102550Siwasakiactual Switch opcode, it must be simulated with local named temporary 
1829102550Siwasakivariables and if/else pairs. The solution chosen was to mark any method that 
1830102550Siwasakiuses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
1831114237Snjl
1832114237Snjl----------------------------------------
1833114237Snjl13 February 2008. Summary of changes for version 20080213:
1834114237Snjl
1835114237Snjl1) ACPI CA Core Subsystem:
1836114237Snjl
1837102550SiwasakiImplemented another MS compatibility design change for GPE/Notify handling. 
1838102550SiwasakiGPEs are now cleared/enabled asynchronously to allow all pending notifies to 
1839104470Siwasakicomplete first. It is expected that the OSL will queue the enable request 
1840104470Siwasakibehind all pending notify requests (may require changes to the local host OSL 
1841102550Siwasakiin AcpiOsExecute). Alexey Starikovskiy.
1842104470Siwasaki
1843104470SiwasakiFixed a problem where buffer and package objects passed as arguments to a 
1844102550Siwasakicontrol method via the external AcpiEvaluateObject interface could cause an 
1845102550SiwasakiAE_AML_INTERNAL exception depending on the order and type of operators 
1846102550Siwasakiexecuted by the target control method.
1847102550Siwasaki
1848114237SnjlFixed a problem where resource descriptor size optimization could cause a 
1849114237Snjlproblem when a _CRS resource template is passed to a _SRS method. The _SRS 
1850114237Snjlresource template must use the same descriptors (with the same size) as 
1851114237Snjlreturned from _CRS. This change affects the following resource descriptors: 
1852114237SnjlIRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
1853114237Snjl
1854114237SnjlFixed a problem where a CopyObject to RegionField, BankField, and IndexField 
1855114237Snjlobjects did not perform an implicit conversion as it should. These types must 
1856114237Snjlretain their initial type permanently as per the ACPI specification. However, 
1857114237Snjla CopyObject to all other object types should not perform an implicit 
1858102550Siwasakiconversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
1859114237Snjl
1860114237SnjlFixed a problem with the AcpiGetDevices interface where the mechanism to 
1861114237Snjlmatch device CIDs did not examine the entire list of available CIDs, but 
1862114237Snjlinstead aborted on the first non-matching CID. Andrew Patterson.
1863114237Snjl
1864102550SiwasakiFixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
1865104470Siwasakiinadvertently changed to return a 16-bit value instead of a 32-bit value, 
1866104470Siwasakitruncating the upper dword of a 64-bit value. This macro is only used to 
1867102550Siwasakidisplay debug output, so no incorrect calculations were made. Also, 
1868104470Siwasakireimplemented the macro so that a 64-bit shift is not performed by 
1869104470Siwasakiinefficient compilers.
1870102550Siwasaki
1871114237SnjlAdded missing va_end statements that should correspond with each va_start 
1872114237Snjlstatement.
1873102550Siwasaki
1874102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
1875114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1876114237Snjldebug version of the code includes the debug output trace mechanism and has 
1877102550Siwasakia much larger code and data size.
1878114237Snjl
1879114237Snjl  Previous Release:
1880102550Siwasaki    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
1881102550Siwasaki    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
1882102550Siwasaki  Current Release:
1883102550Siwasaki    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
1884102550Siwasaki    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
1885102550Siwasaki
1886104470Siwasaki2) iASL Compiler/Disassembler and Tools:
1887104470Siwasaki
1888102550SiwasakiImplemented full disassembler support for the following new ACPI tables: 
1889102550SiwasakiBERT, EINJ, and ERST. Implemented partial disassembler support for the 
1890102550Siwasakicomplicated HEST table. These tables support the Windows Hardware Error 
1891102550SiwasakiArchitecture (WHEA).
1892102550Siwasaki
1893102550Siwasaki----------------------------------------
1894102550Siwasaki23 January 2008. Summary of changes for version 20080123:
1895114237Snjl
1896114237Snjl1) ACPI CA Core Subsystem:
1897102550Siwasaki
1898102550SiwasakiAdded the 2008 copyright to all module headers and signons. This affects 
1899102550Siwasakivirtually every file in the ACPICA core subsystem, the iASL compiler, and 
1900102550Siwasakithe tools/utilities.
1901102550Siwasaki
1902102550SiwasakiFixed a problem with the SizeOf operator when used with Package and Buffer 
1903102550Siwasakiobjects. These objects have deferred execution for some arguments, and the 
1904102550Siwasakiexecution is now completed before the SizeOf is executed. This problem caused 
1905102550Siwasakiunexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
1906102550Siwasaki9558
1907114237Snjl
1908114237SnjlImplemented an enhancement to the interpreter "slack mode". In the absence of 
1909114237Snjlan explicit return or an implicitly returned object from the last executed 
1910102550Siwasakiopcode, a control method will now implicitly return an integer of value 0 for 
1911102550SiwasakiMicrosoft compatibility. (Lin Ming) BZ 392
1912104470Siwasaki
1913104470SiwasakiFixed a problem with the Load operator where an exception was not returned in 
1914102550Siwasakithe case where the table is already loaded. (Lin Ming) BZ 463
1915102550Siwasaki
1916114237SnjlImplemented support for the use of DDBHandles as an Indexed Reference, as per 
1917114237Snjlthe ACPI spec. (Lin Ming) BZ 486
1918114237Snjl
1919114237SnjlImplemented support for UserTerm (Method invocation) for the Unload operator 
1920102550Siwasakias per the ACPI spec. (Lin Ming) BZ 580
1921102550Siwasaki
1922102550SiwasakiFixed a problem with the LoadTable operator where the OemId and OemTableId 
1923102550Siwasakiinput strings could cause unexpected failures if they were shorter than the 
1924104470Siwasakimaximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
1925104470Siwasaki
1926102550SiwasakiImplemented support for UserTerm (Method invocation) for the Unload operator 
1927114237Snjlas per the ACPI spec. (Lin Ming) BZ 580
1928114237Snjl
1929114237SnjlImplemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
1930102550SiwasakiIBFT, UEFI, WDAT. Disassembler support is forthcoming.
1931102550Siwasaki
1932102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
1933102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1934102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
1935102550Siwasakia much larger code and data size.
1936102550Siwasaki
1937102550Siwasaki  Previous Release:
1938102550Siwasaki    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
1939102550Siwasaki    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
1940102550Siwasaki  Current Release:
1941102550Siwasaki    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
1942102550Siwasaki    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
1943102550Siwasaki
1944102550Siwasaki2) iASL Compiler/Disassembler and Tools:
1945102550Siwasaki
1946104470SiwasakiImplemented support in the disassembler for checksum validation on incoming 
1947114237Snjlbinary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
1948114237Snjlheader dump at the start of the disassembly.
1949114237Snjl
1950114237SnjlImplemented additional debugging information in the namespace listing file 
1951102550Siwasakicreated during compilation. In addition to the namespace hierarchy, the full 
1952102550Siwasakipathname to each namespace object is displayed.
1953102550Siwasaki
1954102550SiwasakiFixed a problem with the disassembler where invalid ACPI tables could cause 
1955114237Snjlfaults or infinite loops.
1956114237Snjl
1957102550SiwasakiFixed an unexpected parse error when using the optional "parameter types" 
1958102550Siwasakilist in a control method declaration. (Lin Ming) BZ 397
1959102550Siwasaki
1960102550SiwasakiFixed a problem where two External declarations with the same name did not 
1961102550Siwasakicause an error (Lin Ming) BZ 509
1962102550Siwasaki
1963102550SiwasakiImplemented support for full TermArgs (adding Argx, Localx and method 
1964114237Snjlinvocation) for the ParameterData parameter to the LoadTable operator. (Lin 
1965102550SiwasakiMing) BZ 583,587
1966114237Snjl
1967102550Siwasaki----------------------------------------
1968104470Siwasaki19 December 2007. Summary of changes for version 20071219:
1969104470Siwasaki
1970102550Siwasaki1) ACPI CA Core Subsystem:
1971102550Siwasaki
1972102550SiwasakiImplemented full support for deferred execution for the TermArg string 
1973102550Siwasakiarguments for DataTableRegion. This enables forward references and full 
1974102550Siwasakioperand resolution for the three string arguments. Similar to OperationRegion 
1975102550Siwasakideferred argument execution.) Lin Ming. BZ 430
1976102550Siwasaki
1977102550SiwasakiImplemented full argument resolution support for the BankValue argument to 
1978102550SiwasakiBankField. Previously, only constants were supported, now any TermArg may be 
1979102550Siwasakiused. Lin Ming BZ 387, 393
1980114237Snjl
1981114237SnjlFixed a problem with AcpiGetDevices where the search of a branch of the 
1982102550Siwasakidevice tree could be terminated prematurely. In accordance with the ACPI 
1983114237Snjlspecification, the search down the current branch is terminated if a device 
1984114237Snjlis both not present and not functional (instead of just not present.) Yakui 
1985114237SnjlZhao.
1986114237Snjl
1987102550SiwasakiFixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
1988114237Snjlthe underlying AML code changed the GPE enable registers. Now, any unknown 
1989114237Snjlincoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
1990102550Siwasakiinstead of simply ignored. Rui Zhang.
1991102550Siwasaki
1992114237SnjlFixed a problem with Index Fields where the Index register was incorrectly 
1993114237Snjllimited to a maximum of 32 bits. Now any size may be used.
1994102550Siwasaki
1995104470SiwasakiFixed a couple memory leaks associated with "implicit return" objects when 
1996104470Siwasakithe AML Interpreter slack mode is enabled. Lin Ming BZ 349
1997104470Siwasaki
1998114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
1999102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2000114237Snjldebug version of the code includes the debug output trace mechanism and has 
2001114237Snjla much larger code and data size.
2002114237Snjl
2003102550Siwasaki  Previous Release:
2004102550Siwasaki    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2005102550Siwasaki    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2006114237Snjl  Current Release:
2007114237Snjl    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2008114237Snjl    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2009114237Snjl
2010114237Snjl----------------------------------------
2011114237Snjl14 November 2007. Summary of changes for version 20071114:
2012102550Siwasaki
2013102550Siwasaki1) ACPI CA Core Subsystem:
2014102550Siwasaki
2015114237SnjlImplemented event counters for each of the Fixed Events, the ACPI SCI 
2016114237Snjl(interrupt) itself, and control methods executed. Named 
2017114237SnjlAcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
2018114237Snjlshould be useful for debugging and statistics.
2019114237Snjl
2020114237SnjlImplemented a new external interface, AcpiGetStatistics, to retrieve the 
2021102550Siwasakicontents of the various event counters. Returns the current values for 
2022102550SiwasakiAcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
2023104470SiwasakiAcpiMethodCount. The interface can be expanded in the future if new counters 
2024104470Siwasakiare added. Device drivers should use this interface rather than access the 
2025102550Siwasakicounters directly.
2026104470Siwasaki
2027104470SiwasakiFixed a problem with the FromBCD and ToBCD operators. With some compilers, 
2028102550Siwasakithe ShortDivide function worked incorrectly, causing problems with the BCD 
2029102550Siwasakifunctions with large input values. A truncation from 64-bit to 32-bit 
2030102550Siwasakiinadvertently occurred. Internal BZ 435. Lin Ming
2031102550Siwasaki
2032102550SiwasakiFixed a problem with Index references passed as method arguments. References 
2033102550Siwasakipassed as arguments to control methods were dereferenced immediately (before 
2034102550Siwasakicontrol was passed to the called method). The references are now correctly 
2035114237Snjlpassed directly to the called method. BZ 5389. Lin Ming
2036114237Snjl
2037102550SiwasakiFixed a problem with CopyObject used in conjunction with the Index operator. 
2038102550SiwasakiThe reference was incorrectly dereferenced before the copy. The reference is 
2039102550Siwasakinow correctly copied. BZ 5391. Lin Ming
2040102550Siwasaki
2041102550SiwasakiFixed a problem with Control Method references within Package objects. These 
2042102550Siwasakireferences are now correctly generated. This completes the package 
2043104470Siwasakiconstruction overhaul that began in version 20071019.
2044102550Siwasaki
2045102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2046102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2047102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2048102550Siwasakia much larger code and data size.
2049102550Siwasaki
2050114237Snjl  Previous Release:
2051114237Snjl    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2052114237Snjl    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2053114237Snjl  Current Release:
2054104470Siwasaki    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2055102550Siwasaki    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2056102550Siwasaki
2057104470Siwasaki
2058104470Siwasaki2) iASL Compiler/Disassembler and Tools:
2059104470Siwasaki
2060102550SiwasakiThe AcpiExec utility now installs handlers for all of the predefined 
2061102550SiwasakiOperation Region types. New types supported are: PCI_Config, CMOS, and 
2062102550SiwasakiPCIBARTarget.
2063102550Siwasaki
2064102550SiwasakiFixed a problem with the 64-bit version of AcpiExec where the extended (64-
2065102550Siwasakibit) address fields for the DSDT and FACS within the FADT were not being 
2066102550Siwasakiused, causing truncation of the upper 32-bits of these addresses. Lin Ming 
2067114237Snjland Bob Moore
2068114237Snjl
2069114237Snjl----------------------------------------
2070104470Siwasaki19 October 2007. Summary of changes for version 20071019:
2071114237Snjl
2072114237Snjl1) ACPI CA Core Subsystem:
2073102550Siwasaki
2074114237SnjlFixed a problem with the Alias operator when the target of the alias is a 
2075114237Snjlnamed ASL operator that opens a new scope -- Scope, Device, PowerResource, 
2076114237SnjlProcessor, and ThermalZone. In these cases, any children of the original 
2077114237Snjloperator could not be accessed via the alias, potentially causing unexpected 
2078114237SnjlAE_NOT_FOUND exceptions. (BZ 9067)
2079114237Snjl
2080114237SnjlFixed a problem with the Package operator where all named references were 
2081114237Snjlcreated as object references and left otherwise unresolved. According to the 
2082114237SnjlACPI specification, a Package can only contain Data Objects or references to 
2083102550Siwasakicontrol methods. The implication is that named references to Data Objects 
2084102550Siwasaki(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
2085102550Siwasakiimmediately upon package creation. This is the approach taken with this 
2086102550Siwasakichange. References to all other named objects (Methods, Devices, Scopes, 
2087114237Snjletc.) are all now properly created as reference objects. (BZ 5328)
2088114237Snjl
2089114237SnjlReverted a change to Notify handling that was introduced in version 
2090102550Siwasaki20070508. This version changed the Notify handling from asynchronous to 
2091102550Siwasakifully synchronous (Device driver Notify handling with respect to the Notify 
2092104470SiwasakiASL operator). It was found that this change caused more problems than it 
2093104470Siwasakisolved and was removed by most users.
2094102550Siwasaki
2095114237SnjlFixed a problem with the Increment and Decrement operators where the type of 
2096114237Snjlthe target object could be unexpectedly and incorrectly changed. (BZ 353) 
2097114237SnjlLin Ming.
2098114237Snjl
2099102550SiwasakiFixed a problem with the Load and LoadTable operators where the table 
2100104470Siwasakilocation within the namespace was ignored. Instead, the table was always 
2101104470Siwasakiloaded into the root or current scope. Lin Ming.
2102114237Snjl
2103114237SnjlFixed a problem with the Load operator when loading a table from a buffer 
2104114237Snjlobject. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
2105114237Snjl
2106102550SiwasakiFixed a problem with the Debug object where a store of a DdbHandle reference 
2107114237Snjlobject to the Debug object could cause a fault.
2108114237Snjl
2109102550SiwasakiAdded a table checksum verification for the Load operator, in the case where 
2110102550Siwasakithe load is from a buffer. (BZ 578).
2111102550Siwasaki
2112102550SiwasakiImplemented additional parameter validation for the LoadTable operator. The 
2113102550Siwasakilength of the input strings SignatureString, OemIdString, and OemTableId are 
2114104470Siwasakinow checked for maximum lengths. (BZ 582) Lin Ming.
2115102550Siwasaki
2116114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2117114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2118102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2119102550Siwasakia much larger code and data size.
2120102550Siwasaki
2121102550Siwasaki  Previous Release:
2122102550Siwasaki    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2123102550Siwasaki    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2124102550Siwasaki  Current Release:
2125114237Snjl    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2126114237Snjl    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2127114237Snjl
2128102550Siwasaki
2129104470Siwasaki2) iASL Compiler/Disassembler:
2130104470Siwasaki
2131102550SiwasakiFixed a problem where if a single file was specified and the file did not 
2132114237Snjlexist, no error message was emitted. (Introduced with wildcard support in 
2133114237Snjlversion 20070917.)
2134102550Siwasaki
2135102550Siwasaki----------------------------------------
2136102550Siwasaki19 September 2007. Summary of changes for version 20070919:
2137102550Siwasaki
2138102550Siwasaki1) ACPI CA Core Subsystem:
2139102550Siwasaki
2140102550SiwasakiDesigned and implemented new external interfaces to install and remove 
2141102550Siwasakihandlers for ACPI table-related events. Current events that are defined are 
2142114237SnjlLOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
2143114237Snjlthey are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
2144114237SnjlAcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2145114237Snjl
2146114237SnjlFixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
2147114237Snjl(acpi_serialized option on Linux) could cause some systems to hang during 
2148114237Snjlinitialization. (Bob Moore) BZ 8171
2149102550Siwasaki
2150102550SiwasakiFixed a problem where objects of certain types (Device, ThermalZone, 
2151114237SnjlProcessor, PowerResource) can be not found if they are declared and 
2152114237Snjlreferenced from within the same control method (Lin Ming) BZ 341
2153102550Siwasaki
2154114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2155114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2156102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2157102550Siwasakia much larger code and data size.
2158102550Siwasaki
2159104470Siwasaki  Previous Release:
2160104470Siwasaki    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2161102550Siwasaki    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2162102550Siwasaki  Current Release:
2163102550Siwasaki    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2164102550Siwasaki    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2165102550Siwasaki
2166102550Siwasaki
2167102550Siwasaki2) iASL Compiler/Disassembler:
2168102550Siwasaki
2169102550SiwasakiImplemented support to allow multiple files to be compiled/disassembled in a 
2170104470Siwasakisingle invocation. This includes command line wildcard support for both the 
2171102550SiwasakiWindows and Unix versions of the compiler. This feature simplifies the 
2172104470Siwasakidisassembly and compilation of multiple ACPI tables in a single directory.
2173102550Siwasaki
2174102550Siwasaki----------------------------------------
2175102550Siwasaki08 May 2007. Summary of changes for version 20070508:
2176102550Siwasaki
2177102550Siwasaki1) ACPI CA Core Subsystem:
2178114237Snjl
2179114237SnjlImplemented a Microsoft compatibility design change for the handling of the 
2180114237SnjlNotify AML operator. Previously, notify handlers were dispatched and 
2181114237Snjlexecuted completely asynchronously in a deferred thread. The new design 
2182114237Snjlstill executes the notify handlers in a different thread, but the original 
2183114237Snjlthread that executed the Notify() now waits at a synchronization point for 
2184102550Siwasakithe notify handler to complete. Some machines depend on a synchronous Notify 
2185102550Siwasakioperator in order to operate correctly.
2186102550Siwasaki
2187102550SiwasakiImplemented support to allow Package objects to be passed as method 
2188104470Siwasakiarguments to the external AcpiEvaluateObject interface. Previously, this 
2189114237Snjlwould return the AE_NOT_IMPLEMENTED exception. This feature had not been 
2190114237Snjlimplemented since there were no reserved control methods that required it 
2191114237Snjluntil recently.
2192114237Snjl
2193102550SiwasakiFixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
2194104470Siwasakicontained invalid non-zero values in reserved fields could cause later 
2195104470Siwasakifailures because these fields have meaning in later revisions of the FADT. 
2196102550SiwasakiFor incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
2197102550Siwasakiare: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
2198102550Siwasaki
2199102550SiwasakiFixed a problem where the Global Lock handle was not properly updated if a 
2200102550Siwasakithread that acquired the Global Lock via executing AML code then attempted 
2201102550Siwasakito acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
2202102550SiwasakiLiu.
2203102550Siwasaki
2204102550SiwasakiFixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
2205102550Siwasakicould be corrupted if the interrupt being removed was at the head of the 
2206102550Siwasakilist. Reported by Linn Crosetto.
2207102550Siwasaki
2208102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2209102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2210114237Snjldebug version of the code includes the debug output trace mechanism and has 
2211114237Snjla much larger code and data size.
2212102550Siwasaki
2213114237Snjl  Previous Release:
2214114237Snjl    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2215102550Siwasaki    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2216102550Siwasaki  Current Release:
2217102550Siwasaki    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2218102550Siwasaki    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2219102550Siwasaki
2220104470Siwasaki----------------------------------------
2221104470Siwasaki20 March 2007. Summary of changes for version 20070320:
2222102550Siwasaki
2223102550Siwasaki1) ACPI CA Core Subsystem:
2224102550Siwasaki
2225104470SiwasakiImplemented a change to the order of interpretation and evaluation of AML 
2226104470Siwasakioperand objects within the AML interpreter. The interpreter now evaluates 
2227104470Siwasakioperands in the order that they appear in the AML stream (and the 
2228104470Siwasakicorresponding ASL code), instead of in the reverse order (after the entire 
2229114237Snjloperand list has been parsed). The previous behavior caused several subtle 
2230114237Snjlincompatibilities with the Microsoft AML interpreter as well as being 
2231102550Siwasakisomewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
2232104470Siwasaki
2233102550SiwasakiImplemented a change to the ACPI Global Lock support. All interfaces to the 
2234114237Snjlglobal lock now allow the same thread to acquire the lock multiple times. 
2235114237SnjlThis affects the AcpiAcquireGlobalLock external interface to the global lock 
2236114237Snjlas well as the internal use of the global lock to support AML fields -- a 
2237102550Siwasakicontrol method that is holding the global lock can now simultaneously access 
2238102550SiwasakiAML fields that require global lock protection. Previously, in both cases, 
2239114237Snjlthis would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
2240114237SnjlAcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
2241114237SnjlController. There is no change to the behavior of the AML Acquire operator, 
2242102550Siwasakias this can already be used to acquire a mutex multiple times by the same 
2243114237Snjlthread. BZ 8066. With assistance from Alexey Starikovskiy.
2244114237Snjl
2245104470SiwasakiFixed a problem where invalid objects could be referenced in the AML 
2246104470SiwasakiInterpreter after error conditions. During operand evaluation, ensure that 
2247104470Siwasakithe internal "Return Object" field is cleared on error and only valid 
2248102550Siwasakipointers are stored there. Caused occasional access to deleted objects that 
2249102550Siwasakiresulted in "large reference count" warning messages. Valery Podrezov.
2250102550Siwasaki
2251102550SiwasakiFixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
2252114237Snjldeeply nested control method invocations. BZ 7873, local BZ 487. Valery 
2253114237SnjlPodrezov.
2254114237Snjl
2255114237SnjlFixed an internal problem with the handling of result objects on the 
2256114237Snjlinterpreter result stack. BZ 7872. Valery Podrezov.
2257114237Snjl
2258114237SnjlRemoved obsolete code that handled the case where AML_NAME_OP is the target 
2259102550Siwasakiof a reference (Reference.Opcode). This code was no longer necessary. BZ 
2260102550Siwasaki7874. Valery Podrezov.
2261114237Snjl
2262114237SnjlRemoved obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
2263102550Siwasakiremnant from the previously discontinued 16-bit support.
2264114237Snjl
2265114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2266102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2267102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2268102550Siwasakia much larger code and data size.
2269114237Snjl
2270114237Snjl  Previous Release:
2271102550Siwasaki    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2272102550Siwasaki    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2273102550Siwasaki  Current Release:
2274102550Siwasaki    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2275102550Siwasaki    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2276102550Siwasaki
2277102550Siwasaki----------------------------------------
2278102550Siwasaki26 January 2007. Summary of changes for version 20070126:
2279102550Siwasaki
2280102550Siwasaki1) ACPI CA Core Subsystem:
2281104470Siwasaki
2282104470SiwasakiAdded the 2007 copyright to all module headers and signons. This affects 
2283102550Siwasakivirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2284102550Siwasakithe utilities.
2285102550Siwasaki
2286102550SiwasakiImplemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
2287114237Snjlduring a table load. A bad pointer was passed in the case where the DSDT is 
2288114237Snjloverridden, causing a fault in this case.
2289114237Snjl
2290102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2291114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2292114237Snjldebug version of the code includes the debug output trace mechanism and has 
2293114237Snjla much larger code and data size.
2294102550Siwasaki
2295114237Snjl  Previous Release:
2296114237Snjl    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2297114237Snjl    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2298114237Snjl  Current Release:
2299102550Siwasaki    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2300114237Snjl    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2301114237Snjl
2302114237Snjl----------------------------------------
2303114237Snjl15 December 2006. Summary of changes for version 20061215:
2304114237Snjl
2305102550Siwasaki1) ACPI CA Core Subsystem:
2306114237Snjl
2307114237SnjlSupport for 16-bit ACPICA has been completely removed since it is no longer 
2308102550Siwasakinecessary and it clutters the code. All 16-bit macros, types, and 
2309114237Snjlconditional compiles have been removed, cleaning up and simplifying the code 
2310114237Snjlacross the entire subsystem. DOS support is no longer needed since the 
2311114237Snjlbootable Linux firmware kit is now available.
2312102550Siwasaki
2313102550SiwasakiThe handler for the Global Lock is now removed during AcpiTerminate to 
2314114237Snjlenable a clean subsystem restart, via the implementation of the 
2315114237SnjlAcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
2316114237SnjlHP)
2317114237Snjl
2318114237SnjlImplemented enhancements to the multithreading support within the debugger 
2319114237Snjlto enable improved multithreading debugging and evaluation of the subsystem. 
2320114237Snjl(Valery Podrezov)
2321102550Siwasaki
2322102550SiwasakiDebugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
2323114237Snjlmemory used during the execution, as well as the maximum memory consumed by 
2324114237Snjleach of the various object types. (Valery Podrezov)
2325102550Siwasaki
2326102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2327114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2328114237Snjldebug version of the code includes the debug output trace mechanism and has 
2329102550Siwasakia much larger code and data size.
2330102550Siwasaki
2331102550Siwasaki  Previous Release:
2332102550Siwasaki    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2333102550Siwasaki    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2334104470Siwasaki  Current Release:
2335114237Snjl    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2336114237Snjl    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2337114237Snjl
2338114237Snjl
2339114237Snjl2) iASL Compiler/Disassembler and Tools:
2340102550Siwasaki
2341114237SnjlAcpiExec: Implemented a new option (-m) to display full memory use 
2342114237Snjlstatistics upon subsystem/program termination. (Valery Podrezov)
2343114237Snjl
2344114237Snjl----------------------------------------
2345114237Snjl09 November 2006. Summary of changes for version 20061109:
2346114237Snjl
2347102550Siwasaki1) ACPI CA Core Subsystem:
2348104470Siwasaki
2349104470SiwasakiOptimized the Load ASL operator in the case where the source operand is an 
2350104470Siwasakioperation region. Simply map the operation region memory, instead of 
2351102550Siwasakiperforming a bytewise read. (Region must be of type SystemMemory, see 
2352102550Siwasakibelow.)
2353102550Siwasaki
2354102550SiwasakiFixed the Load ASL operator for the case where the source operand is a 
2355102550Siwasakiregion field. A buffer object is also allowed as the source operand. BZ 480
2356102550Siwasaki
2357102550SiwasakiFixed a problem where the Load ASL operator allowed the source operand to be 
2358102550Siwasakian operation region of any type. It is now restricted to regions of type 
2359102550SiwasakiSystemMemory, as per the ACPI specification. BZ 481
2360102550Siwasaki
2361102550SiwasakiAdditional cleanup and optimizations for the new Table Manager code.
2362102550Siwasaki
2363102550SiwasakiAcpiEnable will now fail if all of the required ACPI tables are not loaded 
2364104470Siwasaki(FADT, FACS, DSDT). BZ 477
2365104470Siwasaki
2366104470SiwasakiAdded #pragma pack(8/4) to acobject.h to ensure that the structures in this 
2367104470Siwasakiheader are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
2368102550Siwasakimanually optimized to be aligned and will not work if it is byte-packed. 
2369104470Siwasaki
2370104470SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2371102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2372102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2373114237Snjla much larger code and data size.
2374102550Siwasaki
2375114237Snjl  Previous Release:
2376114237Snjl    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2377114237Snjl    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2378114237Snjl  Current Release:
2379114237Snjl    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2380102550Siwasaki    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2381102550Siwasaki
2382102550Siwasaki
2383104470Siwasaki2) iASL Compiler/Disassembler and Tools:
2384114237Snjl
2385114237SnjlFixed a problem where the presence of the _OSI predefined control method 
2386114237Snjlwithin complex expressions could cause an internal compiler error.
2387114237Snjl
2388114237SnjlAcpiExec: Implemented full region support for multiple address spaces. 
2389114237SnjlSpaceId is now part of the REGION object. BZ 429
2390114237Snjl
2391114237Snjl----------------------------------------
2392114237Snjl11 October 2006. Summary of changes for version 20061011:
2393102550Siwasaki
2394102550Siwasaki1) ACPI CA Core Subsystem:
2395114237Snjl
2396114237SnjlCompleted an AML interpreter performance enhancement for control method 
2397102550Siwasakiexecution. Previously a 2-pass parse/execution, control methods are now 
2398102550Siwasakicompletely parsed and executed in a single pass. This improves overall 
2399114237Snjlinterpreter performance by ~25%, reduces code size, and reduces CPU stack 
2400114237Snjluse. (Valery Podrezov + interpreter changes in version 20051202 that 
2401102550Siwasakieliminated namespace loading during the pass one parse.)
2402102550Siwasaki
2403102550SiwasakiImplemented _CID support for PCI Root Bridge detection. If the _HID does not 
2404114237Snjlmatch the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
2405114237Snjlobtained and also checked for an ID match.
2406114237Snjl
2407114237SnjlImplemented additional support for the PCI _ADR execution: upsearch until a 
2408114237Snjldevice scope is found before executing _ADR. This allows PCI_Config 
2409114237Snjloperation regions to be declared locally within control methods underneath 
2410114237SnjlPCI device objects.
2411114237Snjl
2412114237SnjlFixed a problem with a possible race condition between threads executing 
2413102550SiwasakiAcpiWalkNamespace and the AML interpreter. This condition was removed by 
2414114237Snjlmodifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
2415114237Snjlentries created during any concurrent control method execution. An 
2416114237Snjladditional namespace race condition is known to exist between 
2417102550SiwasakiAcpiWalkNamespace and the Load/Unload ASL operators and is still under 
2418102550Siwasakiinvestigation.
2419104470Siwasaki
2420104470SiwasakiRestructured the AML ParseLoop function, breaking it into several 
2421102550Siwasakisubfunctions in order to reduce CPU stack use and improve maintainability. 
2422102550Siwasaki(Mikhail Kouzmich)
2423102550Siwasaki
2424114237SnjlAcpiGetHandle: Fix for parameter validation to detect invalid combinations 
2425114237Snjlof prefix handle and pathname. BZ 478
2426114237Snjl
2427114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2428102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2429114237Snjldebug version of the code includes the debug output trace mechanism and has 
2430114237Snjla much larger code and data size.
2431114237Snjl
2432102550Siwasaki  Previous Release:
2433102550Siwasaki    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2434102550Siwasaki    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2435102550Siwasaki  Current Release:
2436102550Siwasaki    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2437102550Siwasaki    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2438102550Siwasaki
2439102550Siwasaki2) iASL Compiler/Disassembler and Tools:
2440114237Snjl
2441114237SnjlPorted the -g option (get local ACPI tables) to the new ACPICA Table Manager 
2442114237Snjlto restore original behavior.
2443114237Snjl
2444102550Siwasaki----------------------------------------
2445104470Siwasaki27 September 2006. Summary of changes for version 20060927:
2446104470Siwasaki
2447104470Siwasaki1) ACPI CA Core Subsystem:
2448114237Snjl
2449114237SnjlRemoved the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
2450102550SiwasakiThese functions now use a spinlock for mutual exclusion and the interrupt 
2451114237Snjllevel indication flag is not needed.
2452114237Snjl
2453102550SiwasakiFixed a problem with the Global Lock where the lock could appear to be 
2454102550Siwasakiobtained before it is actually obtained. The global lock semaphore was 
2455102550Siwasakiinadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
2456102550SiwasakiSuietov.
2457114237Snjl
2458114237SnjlFixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
2459114237Snjla read from a buffer or region field. (BZ 458) Fiodor Suietov.
2460114237Snjl
2461114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2462114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2463114237Snjldebug version of the code includes the debug output trace mechanism and has 
2464102550Siwasakia much larger code and data size.
2465114237Snjl
2466114237Snjl  Previous Release:
2467114237Snjl    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2468114237Snjl    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2469114237Snjl  Current Release:
2470102550Siwasaki    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2471114237Snjl    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2472114237Snjl
2473114237Snjl
2474102550Siwasaki2) iASL Compiler/Disassembler and Tools:
2475114237Snjl
2476114237SnjlFixed a compilation problem with the pre-defined Resource Descriptor field 
2477114237Snjlnames where an "object does not exist" error could be incorrectly generated 
2478102550Siwasakiif the parent ResourceTemplate pathname places the template within a 
2479102550Siwasakidifferent namespace scope than the current scope. (BZ 7212)
2480102550Siwasaki
2481102550SiwasakiFixed a problem where the compiler could hang after syntax errors detected 
2482102550Siwasakiin an ElseIf construct. (BZ 453)
2483102550Siwasaki
2484102550SiwasakiFixed a problem with the AmlFilename parameter to the DefinitionBlock() 
2485102550Siwasakioperator. An incorrect output filename was produced when this parameter was 
2486102550Siwasakia null string (""). Now, the original input filename is used as the AML 
2487102550Siwasakioutput filename, with an ".aml" extension.
2488114237Snjl
2489114237SnjlImplemented a generic batch command mode for the AcpiExec utility (execute 
2490114237Snjlany AML debugger command) (Valery Podrezov).
2491114237Snjl
2492114237Snjl----------------------------------------
2493114237Snjl12 September 2006. Summary of changes for version 20060912:
2494114237Snjl
2495102550Siwasaki1) ACPI CA Core Subsystem:
2496104470Siwasaki
2497104470SiwasakiEnhanced the implementation of the "serialized mode" of the interpreter 
2498102550Siwasaki(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
2499102550Siwasakispecified, instead of creating a serialization semaphore per control method, 
2500104470Siwasakithe interpreter lock is simply no longer released before a blocking 
2501114237Snjloperation during control method execution. This effectively makes the AML 
2502114237SnjlInterpreter single-threaded. The overhead of a semaphore per-method is 
2503114237Snjleliminated.
2504114237Snjl
2505114237SnjlFixed a regression where an error was no longer emitted if a control method 
2506102550Siwasakiattempts to create 2 objects of the same name. This once again returns 
2507114237SnjlAE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
2508114237Snjlwill dynamically serialize the control method to possible prevent future 
2509114237Snjlerrors. (BZ 440)
2510114237Snjl
2511114237SnjlIntegrated a fix for a problem with PCI Express HID detection in the PCI 
2512102550SiwasakiConfig Space setup procedure. (BZ 7145)
2513102550Siwasaki
2514114237SnjlMoved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
2515114237SnjlAcpiHwInitialize function - the FADT registers are now validated when the 
2516114237Snjltable is loaded.
2517102550Siwasaki
2518104470SiwasakiAdded two new warnings during FADT verification - 1) if the FADT is larger 
2519104470Siwasakithan the largest known FADT version, and 2) if there is a mismatch between a 
2520102550Siwasaki32-bit block address and the 64-bit X counterpart (when both are non-zero.)
2521102550Siwasaki
2522104470SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2523104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2524104470Siwasakidebug version of the code includes the debug output trace mechanism and has 
2525104470Siwasakia much larger code and data size.
2526114237Snjl
2527114237Snjl  Previous Release:
2528102550Siwasaki    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2529102550Siwasaki    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2530102550Siwasaki  Current Release:
2531102550Siwasaki    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2532104470Siwasaki    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2533114237Snjl
2534114237Snjl
2535114237Snjl2) iASL Compiler/Disassembler and Tools:
2536114237Snjl
2537114237SnjlFixed a problem with the implementation of the Switch() operator where the 
2538114237Snjltemporary variable was declared too close to the actual Switch, instead of 
2539114237Snjlat method level. This could cause a problem if the Switch() operator is 
2540114237Snjlwithin a while loop, causing an error on the second iteration. (BZ 460)
2541114237Snjl
2542102550SiwasakiDisassembler - fix for error emitted for unknown type for target of scope 
2543102550Siwasakioperator. Now, ignore it and continue.
2544114237Snjl
2545114237SnjlDisassembly of an FADT now verifies the input FADT and reports any errors 
2546102550Siwasakifound. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
2547102550Siwasaki
2548114237SnjlDisassembly of raw data buffers with byte initialization data now prefixes 
2549114237Snjleach output line with the current buffer offset.
2550102550Siwasaki
2551102550SiwasakiDisassembly of ASF! table now includes all variable-length data fields at 
2552102550Siwasakithe end of some of the subtables.
2553102550Siwasaki
2554102550SiwasakiThe disassembler now emits a comment if a buffer appears to be a 
2555102550SiwasakiResourceTemplate, but cannot be disassembled as such because the EndTag does 
2556102550Siwasakinot appear at the very end of the buffer.
2557102550Siwasaki
2558104470SiwasakiAcpiExec - Added the "-t" command line option to enable the serialized mode 
2559104470Siwasakiof the AML interpreter.
2560102550Siwasaki
2561102550Siwasaki----------------------------------------
2562102550Siwasaki31 August 2006. Summary of changes for version 20060831:
2563104470Siwasaki
2564104470Siwasaki1) ACPI CA Core Subsystem:
2565102550Siwasaki
2566102550SiwasakiMiscellaneous fixes for the Table Manager:
2567102550Siwasaki- Correctly initialize internal common FADT for all 64-bit "X" fields
2568102550Siwasaki- Fixed a couple table mapping issues during table load
2569102550Siwasaki- Fixed a couple alignment issues for IA64
2570102550Siwasaki- Initialize input array to zero in AcpiInitializeTables
2571102550Siwasaki- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
2572104470SiwasakiAcpiGetTableByIndex
2573104470Siwasaki
2574104470SiwasakiChange for GPE support: when a "wake" GPE is received, all wake GPEs are now 
2575114237Snjlimmediately disabled to prevent the waking GPE from firing again and to 
2576114237Snjlprevent other wake GPEs from interrupting the wake process.
2577114237Snjl
2578102550SiwasakiAdded the AcpiGpeCount global that tracks the number of processed GPEs, to 
2579102550Siwasakibe used for debugging systems with a large number of ACPI interrupts.
2580114237Snjl
2581114237SnjlImplemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
2582104470Siwasakiboth the ACPICA headers and the disassembler.
2583102550Siwasaki
2584102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2585102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2586102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2587102550Siwasakia much larger code and data size.
2588102550Siwasaki
2589102550Siwasaki  Previous Release:
2590114237Snjl    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2591102550Siwasaki    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2592114237Snjl  Current Release:
2593114237Snjl    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2594102550Siwasaki    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2595104470Siwasaki
2596104470Siwasaki
2597104470Siwasaki2) iASL Compiler/Disassembler and Tools:
2598102550Siwasaki
2599102550SiwasakiDisassembler support for the DMAR ACPI table.
2600114237Snjl
2601114237Snjl----------------------------------------
2602102550Siwasaki23 August 2006. Summary of changes for version 20060823:
2603104470Siwasaki
2604104470Siwasaki1) ACPI CA Core Subsystem:
2605104470Siwasaki
2606104470SiwasakiThe Table Manager component has been completely redesigned and 
2607102550Siwasakireimplemented. The new design is much simpler, and reduces the overall code 
2608104470Siwasakiand data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
2609104470Siwasakinow possible to obtain the ACPI tables very early during kernel 
2610104470Siwasakiinitialization, even before dynamic memory management is initialized. 
2611102550Siwasaki(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
2612114237Snjl
2613114237SnjlObsolete ACPICA interfaces:
2614102550Siwasaki
2615114237Snjl- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
2616114237Snjltime).
2617114237Snjl- AcpiLoadTable: Not needed.
2618114237Snjl- AcpiUnloadTable: Not needed.
2619114237Snjl
2620114237SnjlNew ACPICA interfaces:
2621114237Snjl
2622114237Snjl- AcpiInitializeTables: Must be called before the table manager can be used.
2623102550Siwasaki- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
2624102550Siwasakiallocated memory after it becomes available.
2625114237Snjl- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
2626114237Snjlin the RSDT/XSDT.
2627102550Siwasaki
2628102550SiwasakiOther ACPICA changes:
2629102550Siwasaki
2630114237Snjl- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
2631114237SnjlAcpiOsUnmapMemory to free this mapping.
2632114237Snjl- AcpiGetTable returns the actual mapped table. The mapping is managed 
2633102550Siwasakiinternally and must not be deleted by the caller. Use of this interface 
2634102550Siwasakicauses no additional dynamic memory allocation.
2635104470Siwasaki- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
2636104470Siwasakiit appeared to be unused.
2637102550Siwasaki- The interface to AcpiOsMapMemory has changed to be consistent with the 
2638102550Siwasakiother allocation interfaces.
2639104470Siwasaki- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
2640114237Snjlparameters.
2641114237Snjl- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
2642114237Snjlbit platforms. Was previously 64 bits on all platforms.
2643114237Snjl- The interface to the ACPI Global Lock acquire/release macros have changed 
2644114237Snjlslightly since ACPICA no longer keeps a local copy of the FACS with a 
2645114237Snjlconstructed pointer to the actual global lock.
2646102550Siwasaki
2647104470SiwasakiPorting to the new table manager:
2648104470Siwasaki
2649102550Siwasaki- AcpiInitializeTables: Must be called once, and can be called anytime 
2650102550Siwasakiduring the OS initialization process. It allows the host to specify an area 
2651102550Siwasakiof memory to be used to store the internal version of the RSDT/XSDT (root 
2652102550Siwasakitable). This allows the host to access ACPI tables before memory management 
2653102550Siwasakiis initialized and running.
2654102550Siwasaki- AcpiReallocateRootTable: Can be called after memory management is running 
2655104470Siwasakito copy the root table to a dynamically allocated array, freeing up the 
2656104470Siwasakiscratch memory specified in the call to AcpiInitializeTables.
2657114237Snjl- AcpiSubsystemInitialize: This existing interface is independent of the 
2658114237SnjlTable Manager, and does not have to be called before the Table Manager can 
2659102550Siwasakibe used, it only must be called before the rest of ACPICA can be used.
2660104470Siwasaki- ACPI Tables: Some changes have been made to the names and structure of the 
2661104470Siwasakiactbl.h and actbl1.h header files and may require changes to existing code. 
2662104470SiwasakiFor example, bitfields have been completely removed because of their lack of 
2663104470Siwasakiportability across C compilers.
2664102550Siwasaki- Update interfaces to the Global Lock acquire/release macros if local 
2665114237Snjlversions are used. (see acwin.h)
2666114237Snjl
2667114237SnjlObsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
2668102550Siwasaki
2669104470SiwasakiNew files: tbfind.c
2670114237Snjl
2671114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2672102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2673114237Snjldebug version of the code includes the debug output trace mechanism and has 
2674114237Snjla much larger code and data size.
2675104470Siwasaki
2676102550Siwasaki  Previous Release:
2677104470Siwasaki    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2678104470Siwasaki    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2679102550Siwasaki  Current Release:
2680102550Siwasaki    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2681114237Snjl    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2682114237Snjl
2683102550Siwasaki
2684114237Snjl2) iASL Compiler/Disassembler and Tools:
2685114237Snjl
2686114237SnjlNo changes for this release.
2687114237Snjl
2688114237Snjl----------------------------------------
2689102550Siwasaki21 July 2006. Summary of changes for version 20060721:
2690114237Snjl
2691114237Snjl1) ACPI CA Core Subsystem:
2692114237Snjl
2693114237SnjlThe full source code for the ASL test suite used to validate the iASL 
2694114237Snjlcompiler and the ACPICA core subsystem is being released with the ACPICA 
2695102550Siwasakisource for the first time. The source is contained in a separate package and 
2696114237Snjlconsists of over 1100 files that exercise all ASL/AML operators. The package 
2697114237Snjlshould appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
2698114237SnjlSuietov)
2699114237Snjl
2700102550SiwasakiCompleted a new design and implementation for support of the ACPI Global 
2701102550SiwasakiLock. On the OS side, the global lock is now treated as a standard AML 
2702102550Siwasakimutex. Previously, multiple OS threads could "acquire" the global lock 
2703102550Siwasakisimultaneously. However, this could cause the BIOS to be starved out of the 
2704114237Snjllock - especially in cases such as the Embedded Controller driver where 
2705114237Snjlthere is a tight coupling between the OS and the BIOS.
2706114237Snjl
2707114237SnjlImplemented an optimization for the ACPI Global Lock interrupt mechanism. 
2708114237SnjlThe Global Lock interrupt handler no longer queues the execution of a 
2709114237Snjlseparate thread to signal the global lock semaphore. Instead, the semaphore 
2710114237Snjlis signaled directly from the interrupt handler.
2711114237Snjl
2712102550SiwasakiImplemented support within the AML interpreter for package objects that 
2713102550Siwasakicontain a larger AML length (package list length) than the package element 
2714114237Snjlcount. In this case, the length of the package is truncated to match the 
2715114237Snjlpackage element count. Some BIOS code apparently modifies the package length 
2716102550Siwasakion the fly, and this change supports this behavior. Provides compatibility 
2717102550Siwasakiwith the MS AML interpreter. (With assistance from Fiodor Suietov)
2718102550Siwasaki
2719114237SnjlImplemented a temporary fix for the BankValue parameter of a Bank Field to 
2720114237Snjlsupport all constant values, now including the Zero and One opcodes. 
2721102550SiwasakiEvaluation of this parameter must eventually be converted to a full TermArg 
2722114237Snjlevaluation. A not-implemented error is now returned (temporarily) for non-
2723114237Snjlconstant values for this parameter.
2724102550Siwasaki
2725102550SiwasakiFixed problem reports (Fiodor Suietov) integrated:
2726102550Siwasaki- Fix for premature object deletion after CopyObject on Operation Region (BZ 
2727102550Siwasaki350)
2728102550Siwasaki
2729102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2730102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2731102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2732102550Siwasakia much larger code and data size.
2733102550Siwasaki
2734114237Snjl  Previous Release:
2735114237Snjl    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
2736114237Snjl    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
2737114237Snjl  Current Release:
2738114237Snjl    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2739102550Siwasaki    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2740104470Siwasaki
2741104470Siwasaki
2742104470Siwasaki2) iASL Compiler/Disassembler and Tools:
2743104470Siwasaki
2744102550SiwasakiNo changes for this release.
2745114237Snjl
2746114237Snjl----------------------------------------
2747114237Snjl07 July 2006. Summary of changes for version 20060707:
2748102550Siwasaki
2749114237Snjl1) ACPI CA Core Subsystem:
2750114237Snjl
2751114237SnjlAdded the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
2752114237Snjlthat do not allow the initialization of address pointers within packed 
2753102550Siwasakistructures - even though the hardware itself may support misaligned 
2754114237Snjltransfers. Some of the debug data structures are packed by default to 
2755114237Snjlminimize size.
2756102550Siwasaki
2757104470SiwasakiAdded an error message for the case where AcpiOsGetThreadId() returns zero. 
2758104470SiwasakiA non-zero value is required by the core ACPICA code to ensure the proper 
2759102550Siwasakioperation of AML mutexes and recursive control methods.
2760114237Snjl
2761114237SnjlThe DSDT is now the only ACPI table that determines whether the AML 
2762114237Snjlinterpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
2763114237Snjlthe hooks for per-table 32/64 switching have been removed from the code. A 
2764114237Snjlclarification to the ACPI specification is forthcoming in ACPI 3.0B.
2765114237Snjl
2766114237SnjlFixed a possible leak of an OwnerID in the error path of 
2767114237SnjlAcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
2768114237Snjldeletion to a single place in AcpiTbUninstallTable to correct possible leaks 
2769114237Snjlwhen using the AcpiTbDeleteTablesByType interface (with assistance from 
2770102550SiwasakiLance Ortiz.)
2771102550Siwasaki
2772102550SiwasakiFixed a problem with Serialized control methods where the semaphore 
2773102550Siwasakiassociated with the method could be over-signaled after multiple method 
2774102550Siwasakiinvocations.
2775102550Siwasaki
2776104470SiwasakiFixed two issues with the locking of the internal namespace data structure. 
2777102550SiwasakiBoth the Unload() operator and AcpiUnloadTable interface now lock the 
2778102550Siwasakinamespace during the namespace deletion associated with the table unload 
2779102550Siwasaki(with assistance from Linn Crosetto.)
2780102550Siwasaki
2781102550SiwasakiFixed problem reports (Valery Podrezov) integrated:
2782104470Siwasaki- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
2783104470Siwasaki
2784104470SiwasakiFixed problem reports (Fiodor Suietov) integrated:
2785102550Siwasaki- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
2786102550Siwasaki- On Address Space handler deletion, needless deactivation call (BZ 374)
2787102550Siwasaki- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
2788102550Siwasaki- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
2789102550Siwasaki(BZ 376)
2790102550Siwasaki- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
2791114237Snjl- Minimum Length of RSDT should be validated (BZ 379)
2792114237Snjl- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
2793114237SnjlHandler (BZ (380)
2794114237Snjl- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
2795114237Snjl(BZ 381)
2796102550Siwasaki
2797114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2798114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2799114237Snjldebug version of the code includes the debug output trace mechanism and has 
2800114237Snjla much larger code and data size.
2801102550Siwasaki
2802114237Snjl  Previous Release:
2803114237Snjl    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
2804114237Snjl    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
2805114237Snjl  Current Release:
2806114237Snjl    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2807102550Siwasaki    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2808102550Siwasaki
2809102550Siwasaki
2810102550Siwasaki2) iASL Compiler/Disassembler and Tools:
2811114237Snjl
2812114237SnjlFixed problem reports:
2813114237SnjlCompiler segfault when ASL contains a long (>1024) String declaration (BZ 
2814102550Siwasaki436)
2815102550Siwasaki
2816102550Siwasaki----------------------------------------
2817114237Snjl23 June 2006. Summary of changes for version 20060623:
2818114237Snjl
2819102550Siwasaki1) ACPI CA Core Subsystem:
2820102550Siwasaki
2821102550SiwasakiImplemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
2822102550Siwasakiallows the type to be customized to the host OS for improved efficiency 
2823102550Siwasaki(since a spinlock is usually a very small object.)
2824102550Siwasaki
2825102550SiwasakiImplemented support for "ignored" bits in the ACPI registers. According to 
2826102550Siwasakithe ACPI specification, these bits should be preserved when writing the 
2827102550Siwasakiregisters via a read/modify/write cycle. There are 3 bits preserved in this 
2828114237Snjlmanner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
2829102550Siwasaki
2830114237SnjlImplemented the initial deployment of new OSL mutex interfaces. Since some 
2831114237Snjlhost operating systems have separate mutex and semaphore objects, this 
2832102550Siwasakifeature was requested. The base code now uses mutexes (and the new mutex 
2833114237Snjlinterfaces) wherever a binary semaphore was used previously. However, for 
2834114237Snjlthe current release, the mutex interfaces are defined as macros to map them 
2835102550Siwasakito the existing semaphore interfaces. Therefore, no OSL changes are required 
2836102550Siwasakiat this time. (See acpiosxf.h)
2837102550Siwasaki
2838102550SiwasakiFixed several problems with the support for the control method SyncLevel 
2839102550Siwasakiparameter. The SyncLevel now works according to the ACPI specification and 
2840102550Siwasakiin concert with the Mutex SyncLevel parameter, since the current SyncLevel 
2841104470Siwasakiis a property of the executing thread. Mutual exclusion for control methods 
2842114237Snjlis now implemented with a mutex instead of a semaphore.
2843114237Snjl
2844114237SnjlFixed three instances of the use of the C shift operator in the bitfield 
2845114237Snjlsupport code (exfldio.c) to avoid the use of a shift value larger than the 
2846114237Snjltarget data width. The behavior of C compilers is undefined in this case and 
2847102550Siwasakican cause unpredictable results, and therefore the case must be detected and 
2848104470Siwasakiavoided. (Fiodor Suietov)
2849104470Siwasaki
2850114237SnjlAdded an info message whenever an SSDT or OEM table is loaded dynamically 
2851114237Snjlvia the Load() or LoadTable() ASL operators. This should improve debugging 
2852102550Siwasakicapability since it will show exactly what tables have been loaded (beyond 
2853114237Snjlthe tables present in the RSDT/XSDT.)
2854114237Snjl
2855114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2856114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2857102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2858104470Siwasakia much larger code and data size.
2859114237Snjl
2860114237Snjl  Previous Release:
2861102550Siwasaki    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
2862102550Siwasaki    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
2863102550Siwasaki  Current Release:
2864102550Siwasaki    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
2865102550Siwasaki    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
2866102550Siwasaki
2867102550Siwasaki
2868102550Siwasaki2) iASL Compiler/Disassembler and Tools:
2869102550Siwasaki
2870114237SnjlNo changes for this release.
2871114237Snjl
2872114237Snjl----------------------------------------
2873102550Siwasaki08 June 2006. Summary of changes for version 20060608:
2874102550Siwasaki
2875102550Siwasaki1) ACPI CA Core Subsystem:
2876114237Snjl
2877114237SnjlConverted the locking mutex used for the ACPI hardware to a spinlock. This 
2878114237Snjlchange should eliminate all problems caused by attempting to acquire a 
2879114237Snjlsemaphore at interrupt level, and it means that all ACPICA external 
2880114237Snjlinterfaces that directly access the ACPI hardware can be safely called from 
2881114237Snjlinterrupt level. OSL code that implements the semaphore interfaces should be 
2882102550Siwasakiable to eliminate any workarounds for being called at interrupt level.
2883104470Siwasaki
2884104470SiwasakiFixed a regression introduced in 20060526 where the ACPI device 
2885114237Snjlinitialization could be prematurely aborted with an AE_NOT_FOUND if a device 
2886114237Snjldid not have an optional _INI method.
2887114237Snjl
2888114237SnjlFixed an IndexField issue where a write to the Data Register should be 
2889114237Snjllimited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
2890114237SnjlFiodor Suietov)
2891114237Snjl
2892114237SnjlFixed problem reports (Valery Podrezov) integrated:
2893114237Snjl- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
2894102550Siwasaki
2895102550SiwasakiFixed problem reports (Fiodor Suietov) integrated:
2896102550Siwasaki- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
2897102550Siwasaki
2898102550SiwasakiRemoved four global mutexes that were obsolete and were no longer being 
2899102550Siwasakiused.
2900102550Siwasaki
2901102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
2902114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2903114237Snjldebug version of the code includes the debug output trace mechanism and has 
2904114237Snjla much larger code and data size.
2905114237Snjl
2906114237Snjl  Previous Release:
2907114237Snjl    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
2908114237Snjl    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
2909102550Siwasaki  Current Release:
2910104470Siwasaki    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
2911114237Snjl    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
2912114237Snjl
2913114237Snjl
2914114237Snjl2) iASL Compiler/Disassembler and Tools:
2915114237Snjl
2916102550SiwasakiFixed a fault when using -g option (get tables from registry) on Windows 
2917102550Siwasakimachines.
2918114237Snjl
2919114237SnjlFixed problem reports integrated:
2920114237Snjl- Generate error if CreateField NumBits parameter is zero. (BZ 405)
2921114237Snjl- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
2922114237SnjlSuietov)
2923102550Siwasaki- Global table revision override (-r) is ignored (BZ 413)
2924114237Snjl
2925102550Siwasaki----------------------------------------
2926102550Siwasaki26 May 2006. Summary of changes for version 20060526:
2927114237Snjl
2928114237Snjl1) ACPI CA Core Subsystem:
2929114237Snjl
2930114237SnjlRestructured, flattened, and simplified the internal interfaces for 
2931102550Siwasakinamespace object evaluation - resulting in smaller code, less CPU stack use, 
2932104470Siwasakiand fewer interfaces. (With assistance from Mikhail Kouzmich)
2933104470Siwasaki
2934102550SiwasakiFixed a problem with the CopyObject operator where the first parameter was 
2935114237Snjlnot typed correctly for the parser, interpreter, compiler, and disassembler. 
2936114237SnjlCaused various errors and unexpected behavior.
2937114237Snjl
2938102550SiwasakiFixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
2939114237Snjlproduced incorrect results with some C compilers. Since the behavior of C 
2940114237Snjlcompilers when the shift value is larger than the datatype width is 
2941102550Siwasakiapparently not well defined, the interpreter now detects this condition and 
2942102550Siwasakisimply returns zero as expected in all such cases. (BZ 395)
2943102550Siwasaki
2944102550SiwasakiFixed problem reports (Valery Podrezov) integrated:
2945102550Siwasaki- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
2946102550Siwasaki- Allow interpreter to handle nested method declarations (BZ 5361)
2947102550Siwasaki
2948114237SnjlFixed problem reports (Fiodor Suietov) integrated:
2949114237Snjl- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
2950102550Siwasaki- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
2951102550Siwasaki- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
2952102550Siwasaki- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
2953114237Snjl- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
2954114237Snjl- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
2955114237Snjl- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
2956102550Siwasaki- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
2957114237Snjl- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
2958114237Snjl- Status of the Global Initialization Handler call not used (BZ 366)
2959102550Siwasaki- Incorrect object parameter to Global Initialization Handler (BZ 367)
2960114237Snjl
2961114237SnjlExample Code and Data Size: These are the sizes for the OS-independent 
2962114237Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2963102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
2964102550Siwasakia much larger code and data size.
2965104470Siwasaki
2966114237Snjl  Previous Release:
2967114237Snjl    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
2968114237Snjl    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
2969102550Siwasaki  Current Release:
2970104470Siwasaki    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
2971104470Siwasaki    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
2972102550Siwasaki
2973102550Siwasaki
2974102550Siwasaki2) iASL Compiler/Disassembler and Tools:
2975102550Siwasaki
2976102550SiwasakiModified the parser to allow the names IO, DMA, and IRQ to be used as 
2977102550Siwasakinamespace identifiers with no collision with existing resource descriptor 
2978114237Snjlmacro names. This provides compatibility with other ASL compilers and is 
2979114237Snjlmost useful for disassembly/recompilation of existing tables without parse 
2980114237Snjlerrors. (With assistance from Thomas Renninger)
2981114237Snjl
2982102550SiwasakiDisassembler: fixed an incorrect disassembly problem with the 
2983114237SnjlDataTableRegion and CopyObject operators. Fixed a possible fault during 
2984114237Snjldisassembly of some Alias operators.
2985114237Snjl
2986114237Snjl----------------------------------------
2987102550Siwasaki12 May 2006. Summary of changes for version 20060512:
2988102550Siwasaki
2989102550Siwasaki1) ACPI CA Core Subsystem:
2990104470Siwasaki
2991114237SnjlReplaced the AcpiOsQueueForExecution interface with a new interface named 
2992114237SnjlAcpiOsExecute. The major difference is that the new interface does not have 
2993102550Siwasakia Priority parameter, this appeared to be useless and has been replaced by a 
2994102550SiwasakiType parameter. The Type tells the host what type of execution is being 
2995102550Siwasakirequested, such as global lock handler, notify handler, GPE handler, etc. 
2996102550SiwasakiThis allows the host to queue and execute the request as appropriate for the 
2997102550Siwasakirequest type, possibly using different work queues and different priorities 
2998102550Siwasakifor the various request types. This enables fixes for multithreading 
2999102550Siwasakideadlock problems such as BZ #5534, and will require changes to all existing 
3000102550SiwasakiOS interface layers. (Alexey Starikovskiy and Bob Moore)
3001102550Siwasaki
3002102550SiwasakiFixed a possible memory leak associated with the support for the so-called 
3003114237Snjl"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
3004114237SnjlSuietov)
3005114237Snjl
3006102550SiwasakiFixed a problem with the Load() operator where a table load from an 
3007102550Siwasakioperation region could overwrite an internal table buffer by up to 7 bytes 
3008102550Siwasakiand cause alignment faults on IPF systems. (With assistance from Luming Yu)
3009102550Siwasaki
3010104470SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
3011104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3012102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
3013102550Siwasakia much larger code and data size.
3014102550Siwasaki
3015102550Siwasaki  Previous Release:
3016102550Siwasaki    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3017102550Siwasaki    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3018102550Siwasaki  Current Release:
3019102550Siwasaki    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3020102550Siwasaki    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3021102550Siwasaki
3022102550Siwasaki
3023102550Siwasaki
3024102550Siwasaki2) iASL Compiler/Disassembler and Tools:
3025102550Siwasaki
3026102550SiwasakiDisassembler: Implemented support to cross reference the internal namespace 
3027102550Siwasakiand automatically generate ASL External() statements for symbols not defined 
3028102550Siwasakiwithin the current table being disassembled. This will simplify the 
3029102550Siwasakidisassembly and recompilation of interdependent tables such as SSDTs since 
3030102550Siwasakithese statements will no longer have to be added manually.
3031102550Siwasaki
3032102550SiwasakiDisassembler: Implemented experimental support to automatically detect 
3033104470Siwasakiinvocations of external control methods and generate appropriate External() 
3034102550Siwasakistatements. This is problematic because the AML cannot be correctly parsed 
3035114237Snjluntil the number of arguments for each control method is known. Currently, 
3036114237Snjlstandalone method invocations and invocations as the source operand of a 
3037102550SiwasakiStore() statement are supported.
3038102550Siwasaki
3039102550SiwasakiDisassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
3040102550SiwasakiLLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
3041102550SiwasakiLNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
3042102550Siwasakimore readable and likely closer to the original ASL source.
3043102550Siwasaki
3044102550Siwasaki----------------------------------------
3045102550Siwasaki21 April 2006. Summary of changes for version 20060421:
3046102550Siwasaki
3047102550Siwasaki1) ACPI CA Core Subsystem:
3048102550Siwasaki
3049102550SiwasakiRemoved a device initialization optimization introduced in 20051216 where 
3050102550Siwasakithe _STA method was not run unless an _INI was also present for the same 
3051102550Siwasakidevice. This optimization could cause problems because it could allow _INI 
3052102550Siwasakimethods to be run within a not-present device subtree. (If a not-present 
3053102550Siwasakidevice had no _INI, _STA would not be run, the not-present status would not 
3054104470Siwasakibe discovered, and the children of the device would be incorrectly 
3055104470Siwasakitraversed.)
3056102550Siwasaki
3057102550SiwasakiImplemented a new _STA optimization where namespace subtrees that do not 
3058102550Siwasakicontain _INI are identified and ignored during device initialization. 
3059102550SiwasakiSelectively running _STA can significantly improve boot time on large 
3060102550Siwasakimachines (with assistance from Len Brown.)
3061102550Siwasaki
3062102550SiwasakiImplemented support for the device initialization case where the returned 
3063114237Snjl_STA flags indicate a device not-present but functioning. In this case, _INI 
3064114237Snjlis not run, but the device children are examined for presence, as per the 
3065114237SnjlACPI specification.
3066114237Snjl
3067114237SnjlImplemented an additional change to the IndexField support in order to 
3068102550Siwasakiconform to MS behavior. The value written to the Index Register is not 
3069102550Siwasakisimply a byte offset, it is a byte offset in units of the access width of 
3070102550Siwasakithe parent Index Field. (Fiodor Suietov)
3071102550Siwasaki
3072102550SiwasakiDefined and deployed a new OSL interface, AcpiOsValidateAddress. This 
3073102550Siwasakiinterface is called during the creation of all AML operation regions, and 
3074102550Siwasakiallows the host OS to exert control over what addresses it will allow the 
3075102550SiwasakiAML code to access. Operation Regions whose addresses are disallowed will 
3076104470Siwasakicause a runtime exception when they are actually accessed (will not affect 
3077114237Snjlor abort table loading.) See oswinxf or osunixxf for an example 
3078102550Siwasakiimplementation.
3079104470Siwasaki
3080114237SnjlDefined and deployed a new OSL interface, AcpiOsValidateInterface. This 
3081114237Snjlinterface allows the host OS to match the various "optional" 
3082114237Snjlinterface/behavior strings for the _OSI predefined control method as 
3083102550Siwasakiappropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
3084114237Snjlfor an example implementation.
3085114237Snjl
3086114237SnjlRestructured and corrected various problems in the exception handling code 
3087114237Snjlpaths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
3088102550Siwasaki(with assistance from Takayoshi Kochi.)
3089102550Siwasaki
3090102550SiwasakiModified the Linux source converter to ignore quoted string literals while 
3091102550Siwasakiconverting identifiers from mixed to lower case. This will correct problems 
3092102550Siwasakiwith the disassembler and other areas where such strings must not be 
3093102550Siwasakimodified.
3094102550Siwasaki
3095114237SnjlThe ACPI_FUNCTION_* macros no longer require quotes around the function 
3096114237Snjlname. This allows the Linux source converter to convert the names, now that 
3097102550Siwasakithe converter ignores quoted strings.
3098102550Siwasaki
3099102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
3100102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3101102550Siwasakidebug version of the code includes the debug output trace mechanism and has 
3102102550Siwasakia much larger code and data size.
3103102550Siwasaki
3104102550Siwasaki  Previous Release:
3105102550Siwasaki
3106102550Siwasaki    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3107102550Siwasaki    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3108102550Siwasaki  Current Release:
3109102550Siwasaki    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3110102550Siwasaki    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3111102550Siwasaki
3112102550Siwasaki
3113102550Siwasaki2) iASL Compiler/Disassembler and Tools:
3114102550Siwasaki
3115102550SiwasakiImplemented 3 new warnings for iASL, and implemented multiple warning levels 
3116102550Siwasaki(w2 flag).
3117104470Siwasaki
3118114237Snjl1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
3119114237SnjlWAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
3120114237Snjlcheck for the possible timeout, a warning is issued.
3121102550Siwasaki
3122114237Snjl2) Useless operators: If an ASL operator does not specify an optional target 
3123114237Snjloperand and it also does not use the function return value from the 
3124114237Snjloperator, a warning is issued since the operator effectively does nothing.
3125102550Siwasaki
3126114237Snjl3) Unreferenced objects: If a namespace object is created, but never 
3127114237Snjlreferenced, a warning is issued. This is a warning level 2 since there are 
3128114237Snjlcases where this is ok, such as when a secondary table is loaded that uses 
3129114237Snjlthe unreferenced objects. Even so, care is taken to only flag objects that 
3130102550Siwasakidon't look like they will ever be used. For example, the reserved methods 
3131102550Siwasaki(starting with an underscore) are usually not referenced because it is 
3132102550Siwasakiexpected that the OS will invoke them.
3133102550Siwasaki
3134102550Siwasaki----------------------------------------
3135102550Siwasaki31 March 2006. Summary of changes for version 20060331:
3136102550Siwasaki
3137102550Siwasaki1) ACPI CA Core Subsystem:
3138102550Siwasaki
3139102550SiwasakiImplemented header file support for the following additional ACPI tables: 
3140102550SiwasakiASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
3141114237Snjlall current and known ACPI tables are now defined in the ACPICA headers and 
3142114237Snjlare available for use by device drivers and other software.
3143102550Siwasaki
3144102550SiwasakiImplemented support to allow tables that contain ACPI names with invalid 
3145102550Siwasakicharacters to be loaded. Previously, this would cause the table load to 
3146102550Siwasakifail, but since there are several known cases of such tables on existing 
3147102550Siwasakimachines, this change was made to enable ACPI support for them. Also, this 
3148102550Siwasakimatches the behavior of the Microsoft ACPI implementation.
3149104470Siwasaki
3150104470SiwasakiFixed a couple regressions introduced during the memory optimization in the 
3151102550Siwasaki20060317 release. The namespace node definition required additional 
3152102550Siwasakireorganization and an internal datatype that had been changed to 8-bit was 
3153102550Siwasakirestored to 32-bit. (Valery Podrezov)
3154102550Siwasaki
3155102550SiwasakiFixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
3156104470Siwasakicould be passed through to AcpiOsReleaseObject which is unexpected. Such 
3157114237Snjlnull pointers are now trapped and ignored, matching the behavior of the 
3158114237Snjlprevious implementation before the deployment of AcpiOsReleaseObject.
3159114237Snjl(Valery Podrezov, Fiodor Suietov)
3160114237Snjl
3161114237SnjlFixed a memory mapping leak during the deletion of a SystemMemory operation 
3162102550Siwasakiregion where a cached memory mapping was not deleted. This became a 
3163104470Siwasakinoticeable problem for operation regions that are defined within frequently 
3164104470Siwasakiused control methods. (Dana Meyers)
3165102550Siwasaki
3166102550SiwasakiReorganized the ACPI table header files into two main files: one for the 
3167102550SiwasakiACPI tables consumed by the ACPICA core, and another for the miscellaneous 
3168102550SiwasakiACPI tables that are consumed by the drivers and other software. The various 
3169102550SiwasakiFADT definitions were merged into one common section and three different 
3170102550Siwasakitables (ACPI 1.0, 1.0+, and 2.0)
3171102550Siwasaki
3172102550SiwasakiExample Code and Data Size: These are the sizes for the OS-independent 
3173102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3174104470Siwasakidebug version of the code includes the debug output trace mechanism and has 
3175102550Siwasakia much larger code and data size.
3176102550Siwasaki
3177102550Siwasaki  Previous Release:
3178102550Siwasaki    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3179102550Siwasaki    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3180102550Siwasaki  Current Release:
3181102550Siwasaki    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3182102550Siwasaki    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3183102550Siwasaki
3184102550Siwasaki
3185102550Siwasaki2) iASL Compiler/Disassembler and Tools:
3186102550Siwasaki
3187102550SiwasakiDisassembler: Implemented support to decode and format all non-AML ACPI 
3188102550Siwasakitables (tables other than DSDTs and SSDTs.) This includes the new tables 
3189102550Siwasakiadded to the ACPICA headers, therefore all current and known ACPI tables are 
3190102550Siwasakisupported.
3191102550Siwasaki
3192102550SiwasakiDisassembler: The change to allow ACPI names with invalid characters also 
3193102550Siwasakienables the disassembly of such tables. Invalid characters within names are 
3194102550Siwasakichanged to '*' to make the name printable; the iASL compiler will still 
3195102550Siwasakigenerate an error for such names, however, since this is an invalid ACPI 
3196102550Siwasakicharacter.
3197102550Siwasaki
3198102550SiwasakiImplemented an option for AcpiXtract (-a) to extract all tables found in the 
3199102550Siwasakiinput file. The default invocation extracts only the DSDTs and SSDTs.
3200102550Siwasaki
3201102550SiwasakiFixed a couple of gcc generation issues for iASL and AcpiExec and added a 
3202114237Snjlmakefile for the AcpiXtract utility.
3203102550Siwasaki
3204102550Siwasaki----------------------------------------
3205102550Siwasaki17 March 2006. Summary of changes for version 20060317:
3206102550Siwasaki
3207102550Siwasaki1) ACPI CA Core Subsystem:
3208114237Snjl
3209114237SnjlImplemented the use of a cache object for all internal namespace nodes. 
3210102550SiwasakiSince there are about 1000 static nodes in a typical system, this will 
3211114237Snjldecrease memory use for cache implementations that minimize per-allocation 
3212102550Siwasakioverhead (such as a slab allocator.)
3213102550Siwasaki
3214102550SiwasakiRemoved the reference count mechanism for internal namespace nodes, since it 
3215102550Siwasakiwas deemed unnecessary. This reduces the size of each namespace node by 
3216102550Siwasakiabout 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
3217102550Siwasakiand 32 bytes for the 64-bit case.
3218102550Siwasaki
3219102550SiwasakiOptimized several internal data structures to reduce object size on 64-bit 
3220104470Siwasakiplatforms by packing data within the 64-bit alignment. This includes the 
3221104470Siwasakifrequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
3222102550Siwasakiinstances corresponding to the namespace objects.
3223104470Siwasaki
3224104470SiwasakiAdded two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
3225102550Siwasakiand "Windows 2006".
3226102550Siwasaki
3227102550SiwasakiSplit the allocation tracking mechanism out to a separate file, from 
3228114237Snjlutalloc.c to uttrack.c. This mechanism appears to be only useful for 
3229114237Snjlapplication-level code. Kernels may wish to not include uttrack.c in 
3230114237Snjldistributions.
3231114237Snjl
3232102550SiwasakiRemoved all remnants of the obsolete ACPI_REPORT_* macros and the associated 
3233104470Siwasakicode. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
3234104470Siwasakimacros.)
3235104470Siwasaki
3236102550SiwasakiCode and Data Size: These are the sizes for the acpica.lib produced by the 
3237104470SiwasakiMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3238114237Snjldriver or OSPM code. The debug version of the code includes the debug output 
3239114237Snjltrace mechanism and has a much larger code and data size. Note that these 
3240102550Siwasakivalues will vary depending on the efficiency of the compiler and the 
3241102550Siwasakicompiler options used during generation.
3242104470Siwasaki
3243114237Snjl  Previous Release:
3244114237Snjl    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3245114237Snjl    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3246114237Snjl  Current Release:
3247114237Snjl    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3248102550Siwasaki    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3249104470Siwasaki
3250104470Siwasaki
3251102550Siwasaki2) iASL Compiler/Disassembler and Tools:
3252104470Siwasaki
3253114237SnjlImplemented an ANSI C version of the acpixtract utility. This version will 
3254114237Snjlautomatically extract the DSDT and all SSDTs from the input acpidump text 
3255114237Snjlfile and dump the binary output to separate files. It can also display a 
3256104470Siwasakisummary of the input file including the headers for each table found and 
3257102550Siwasakiwill extract any single ACPI table, with any signature. (See 
3258102550Siwasakisource/tools/acpixtract)
3259102550Siwasaki
3260102550Siwasaki----------------------------------------
3261114237Snjl10 March 2006. Summary of changes for version 20060310:
3262114237Snjl
3263102550Siwasaki1) ACPI CA Core Subsystem:
3264102550Siwasaki
3265102550SiwasakiTagged all external interfaces to the subsystem with the new 
3266102550SiwasakiACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
3267102550Siwasakikernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
3268114237Snjlmacro. The default definition is NULL.
3269114237Snjl
3270114237SnjlAdded the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
3271102550SiwasakiThis allows the host to define this as necessary to simplify kernel 
3272102550Siwasakiintegration. The default definition is ACPI_NATIVE_UINT.
3273102550Siwasaki
3274114237SnjlFixed two interpreter problems related to error processing, the deletion of 
3275114237Snjlobjects, and placing invalid pointers onto the internal operator result 
3276114237Snjlstack. BZ 6028, 6151 (Valery Podrezov)
3277114237Snjl
3278102550SiwasakiIncreased the reference count threshold where a warning is emitted for large 
3279102550Siwasakireference counts in order to eliminate unnecessary warnings on systems with 
3280102550Siwasakilarge namespaces (especially 64-bit.) Increased the value from 0x400 to 
3281102550Siwasaki0x800.
3282102550Siwasaki
3283102550SiwasakiDue to universal disagreement as to the meaning of the 'c' in the calloc() 
3284102550Siwasakifunction, the ACPI_MEM_CALLOCATE macro has been renamed to 
3285102550SiwasakiACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
3286102550SiwasakiACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
3287102550SiwasakiACPI_FREE.
3288102550Siwasaki
3289102550SiwasakiCode and Data Size: These are the sizes for the acpica.lib produced by the 
3290102550SiwasakiMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3291102550Siwasakidriver or OSPM code. The debug version of the code includes the debug output 
3292102550Siwasakitrace mechanism and has a much larger code and data size. Note that these 
3293102550Siwasakivalues will vary depending on the efficiency of the compiler and the 
3294102550Siwasakicompiler options used during generation.
3295102550Siwasaki
3296102550Siwasaki  Previous Release:
3297102550Siwasaki    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3298102550Siwasaki    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3299114237Snjl  Current Release:
3300114237Snjl    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3301102550Siwasaki    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3302102550Siwasaki
3303102550Siwasaki
3304102550Siwasaki2) iASL Compiler/Disassembler:
3305102550Siwasaki
3306104470SiwasakiDisassembler: implemented support for symbolic resource descriptor 
3307104470Siwasakireferences. If a CreateXxxxField operator references a fixed offset within a 
3308102550Siwasakiresource descriptor, a name is assigned to the descriptor and the offset is 
3309114237Snjltranslated to the appropriate resource tag and pathname. The addition of 
3310114237Snjlthis support brings the disassembled code very close to the original ASL 
3311114237Snjlsource code and helps eliminate run-time errors when the disassembled code 
3312114237Snjlis modified (and recompiled) in such a way as to invalidate the original 
3313102550Siwasakifixed offsets.
3314102550Siwasaki
3315102550SiwasakiImplemented support for a Descriptor Name as the last parameter to the ASL 
3316102550SiwasakiRegister() macro. This parameter was inadvertently left out of the ACPI 
3317102550Siwasakispecification, and will be added for ACPI 3.0b.
3318102550Siwasaki
3319104470SiwasakiFixed a problem where the use of the "_OSI" string (versus the full path 
3320102550Siwasaki"\_OSI") caused an internal compiler error. ("No back ptr to op")
3321102550Siwasaki
3322102550SiwasakiFixed a problem with the error message that occurs when an invalid string is 
3323114237Snjlused for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
3324114237SnjlThe correct message is now displayed.
3325114237Snjl
3326114237Snjl----------------------------------------
3327114237Snjl17 February 2006. Summary of changes for version 20060217:
3328102550Siwasaki
3329104470Siwasaki1) ACPI CA Core Subsystem:
3330114237Snjl
3331114237SnjlImplemented a change to the IndexField support to match the behavior of the 
3332114237SnjlMicrosoft AML interpreter. The value written to the Index register is now a 
3333114237Snjlbyte offset, no longer an index based upon the width of the Data register. 
3334102550SiwasakiThis should fix IndexField problems seen on some machines where the Data 
3335102550Siwasakiregister is not exactly one byte wide. The ACPI specification will be 
3336102550Siwasakiclarified on this point.
3337102550Siwasaki
3338114237SnjlFixed a problem where several resource descriptor types could overrun the 
3339114237Snjlinternal descriptor buffer due to size miscalculation: VendorShort, 
3340114237SnjlVendorLong, and Interrupt. This was noticed on IA64 machines, but could 
3341114237Snjlaffect all platforms.
3342102550Siwasaki
3343102550SiwasakiFixed a problem where individual resource descriptors were misaligned within 
3344114237Snjlthe internal buffer, causing alignment faults on IA64 platforms.
3345114237Snjl
3346114237SnjlCode and Data Size: These are the sizes for the acpica.lib produced by the 
3347114237SnjlMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3348102550Siwasakidriver or OSPM code. The debug version of the code includes the debug output 
3349114237Snjltrace mechanism and has a much larger code and data size. Note that these 
3350114237Snjlvalues will vary depending on the efficiency of the compiler and the 
3351102550Siwasakicompiler options used during generation.
3352102550Siwasaki
3353102550Siwasaki  Previous Release:
3354114237Snjl    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3355114237Snjl    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3356102550Siwasaki  Current Release:
3357102550Siwasaki    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3358102550Siwasaki    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3359102550Siwasaki
3360114237Snjl
3361114237Snjl2) iASL Compiler/Disassembler:
3362102550Siwasaki
3363102550SiwasakiImplemented support for new reserved names: _WDG and _WED are Microsoft 
3364102550Siwasakiextensions for Windows Instrumentation Management, _TDL is a new ACPI-
3365102550Siwasakidefined method (Throttling Depth Limit.)
3366104470Siwasaki
3367104470SiwasakiFixed a problem where a zero-length VendorShort or VendorLong resource 
3368102550Siwasakidescriptor was incorrectly emitted as a descriptor of length one.
3369102550Siwasaki
3370102550Siwasaki----------------------------------------
3371102550Siwasaki10 February 2006. Summary of changes for version 20060210:
3372102550Siwasaki
3373102550Siwasaki1) ACPI CA Core Subsystem:
3374102550Siwasaki
3375102550SiwasakiRemoved a couple of extraneous ACPI_ERROR messages that appeared during 
3376102550Siwasakinormal execution. These became apparent after the conversion from 
3377102550SiwasakiACPI_DEBUG_PRINT.
3378102550Siwasaki
3379114237SnjlFixed a problem where the CreateField operator could hang if the BitIndex or 
3380114237SnjlNumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
3381114237Snjl
3382102550SiwasakiFixed a problem where a DeRefOf operation on a buffer object incorrectly 
3383102550Siwasakifailed with an exception. This also fixes a couple of related RefOf and 
3384114237SnjlDeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
3385114237Snjl
3386114237SnjlFixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
3387114237SnjlAE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
3388114237Snjl5480)
3389102550Siwasaki
3390102550SiwasakiImplemented a memory cleanup at the end of the execution of each iteration 
3391102550Siwasakiof an AML While() loop, preventing the accumulation of outstanding objects. 
3392114237Snjl(Valery Podrezov, BZ 5427)
3393114237Snjl
3394102550SiwasakiEliminated a chunk of duplicate code in the object resolution code. (Valery 
3395114237SnjlPodrezov, BZ 5336)
3396114237Snjl
3397114237SnjlFixed several warnings during the 64-bit code generation.
3398102550Siwasaki
3399102550SiwasakiThe AcpiSrc source code conversion tool now inserts one line of whitespace 
3400102550Siwasakiafter an if() statement that is followed immediately by a comment, improving 
3401102550Siwasakireadability of the Linux code.
3402102550Siwasaki
3403102550SiwasakiCode and Data Size: The current and previous library sizes for the core 
3404102550Siwasakisubsystem are shown below. These are the code and data sizes for the 
3405102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3406114237Snjlvalues do not include any ACPI driver or OSPM code. The debug version of the 
3407102550Siwasakicode includes the debug output trace mechanism and has a much larger code 
3408102550Siwasakiand data size. Note that these values will vary depending on the efficiency 
3409102550Siwasakiof the compiler and the compiler options used during generation.
3410102550Siwasaki
3411102550Siwasaki  Previous Release:
3412102550Siwasaki    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3413102550Siwasaki    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3414102550Siwasaki  Current Release:
3415102550Siwasaki    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3416102550Siwasaki    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3417114237Snjl
3418114237Snjl
3419114237Snjl2) iASL Compiler/Disassembler:
3420114237Snjl
3421102550SiwasakiFixed a problem with the disassembly of a BankField operator with a complex 
3422102550Siwasakiexpression for the BankValue parameter.
3423102550Siwasaki
3424102550Siwasaki----------------------------------------
3425102550Siwasaki27 January 2006. Summary of changes for version 20060127:
3426102550Siwasaki
3427102550Siwasaki1) ACPI CA Core Subsystem:
3428104470Siwasaki
3429104470SiwasakiImplemented support in the Resource Manager to allow unresolved namestring 
3430104470Siwasakireferences within resource package objects for the _PRT method. This support 
3431102550Siwasakiis in addition to the previously implemented unresolved reference support 
3432102550Siwasakiwithin the AML parser. If the interpreter slack mode is enabled, these 
3433102550Siwasakiunresolved references will be passed through to the caller as a NULL package 
3434102550Siwasakientry.
3435102550Siwasaki
3436114237SnjlImplemented and deployed new macros and functions for error and warning 
3437114237Snjlmessages across the subsystem. These macros are simpler and generate less 
3438114237Snjlcode than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
3439114237SnjlACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
3440114237Snjlmacros remain defined to allow ACPI drivers time to migrate to the new 
3441114237Snjlmacros.
3442114237Snjl
3443102550SiwasakiImplemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
3444102550SiwasakiAcquire/Release Lock OSL interfaces.
3445102550Siwasaki
3446102550SiwasakiFixed a problem where Alias ASL operators are sometimes not correctly 
3447102550Siwasakiresolved, in both the interpreter and the iASL compiler.
3448102550Siwasaki
3449102550SiwasakiFixed several problems with the implementation of the ConcatenateResTemplate 
3450102550SiwasakiASL operator. As per the ACPI specification, zero length buffers are now 
3451102550Siwasakitreated as a single EndTag. One-length buffers always cause a fatal 
3452102550Siwasakiexception. Non-zero length buffers that do not end with a full 2-byte EndTag 
3453114237Snjlcause a fatal exception.
3454114237Snjl
3455114237SnjlFixed a possible structure overwrite in the AcpiGetObjectInfo external 
3456102550Siwasakiinterface. (With assistance from Thomas Renninger)
3457114237Snjl
3458114237SnjlCode and Data Size: The current and previous library sizes for the core 
3459114237Snjlsubsystem are shown below. These are the code and data sizes for the 
3460102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3461102550Siwasakivalues do not include any ACPI driver or OSPM code. The debug version of the 
3462104470Siwasakicode includes the debug output trace mechanism and has a much larger code 
3463114237Snjland data size. Note that these values will vary depending on the efficiency 
3464114237Snjlof the compiler and the compiler options used during generation.
3465102550Siwasaki
3466102550Siwasaki  Previous Release:
3467102550Siwasaki    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3468114237Snjl    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3469114237Snjl  Current Release:
3470114237Snjl    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3471102550Siwasaki    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3472114237Snjl
3473114237Snjl
3474114237Snjl2) iASL Compiler/Disassembler:
3475102550Siwasaki
3476114237SnjlFixed an internal error that was generated for any forward references to ASL 
3477114237SnjlAlias objects.
3478102550Siwasaki
3479102550Siwasaki----------------------------------------
3480102550Siwasaki13 January 2006. Summary of changes for version 20060113:
3481102550Siwasaki
3482102550Siwasaki1) ACPI CA Core Subsystem:
3483104470Siwasaki
3484104470SiwasakiAdded 2006 copyright to all module headers and signons. This affects 
3485104470Siwasakivirtually every file in the ACPICA core subsystem, iASL compiler, and the 
3486104470Siwasakiutilities.
3487102550Siwasaki 
3488104470SiwasakiEnhanced the ACPICA error reporting in order to simplify user migration to 
3489104470Siwasakithe non-debug version of ACPICA. Replaced all instances of the 
3490102550SiwasakiACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
3491104470Siwasakilevels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
3492104470Siwasakirespectively. This preserves all error and warning messages in the non-debug 
3493102550Siwasakiversion of the ACPICA code (this has been referred to as the "debug lite" 
3494102550Siwasakioption.) Over 200 cases were converted to create a total of over 380 
3495114237Snjlerror/warning messages across the ACPICA code. This increases the code and 
3496102550Siwasakidata size of the default non-debug version of the code somewhat (about 13K), 
3497114237Snjlbut all error/warning reporting may be disabled if desired (and code 
3498114237Snjleliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
3499102550Siwasakiconfiguration option. The size of the debug version of ACPICA remains about 
3500104470Siwasakithe same.
3501104470Siwasaki
3502102550SiwasakiFixed a memory leak within the AML Debugger "Set" command. One object was 
3503114237Snjlnot properly deleted for every successful invocation of the command.
3504114237Snjl
3505102550SiwasakiCode and Data Size: The current and previous library sizes for the core 
3506102550Siwasakisubsystem are shown below. These are the code and data sizes for the 
3507102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3508102550Siwasakivalues do not include any ACPI driver or OSPM code. The debug version of the 
3509114237Snjlcode includes the debug output trace mechanism and has a much larger code 
3510114237Snjland data size. Note that these values will vary depending on the efficiency 
3511102550Siwasakiof the compiler and the compiler options used during generation.
3512104470Siwasaki
3513104470Siwasaki  Previous Release:
3514102550Siwasaki    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3515104470Siwasaki    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3516104470Siwasaki  Current Release:
3517102550Siwasaki    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3518114237Snjl    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3519114237Snjl
3520102550Siwasaki
3521102550Siwasaki2) iASL Compiler/Disassembler:
3522102550Siwasaki
3523102550SiwasakiThe compiler now officially supports the ACPI 3.0a specification that was 
3524102550Siwasakireleased on December 30, 2005. (Specification is available at www.acpi.info)
3525102550Siwasaki
3526102550Siwasaki----------------------------------------
3527102550Siwasaki16 December 2005. Summary of changes for version 20051216:
3528102550Siwasaki
3529102550Siwasaki1) ACPI CA Core Subsystem:
3530102550Siwasaki
3531102550SiwasakiImplemented optional support to allow unresolved names within ASL Package 
3532102550Siwasakiobjects. A null object is inserted in the package when a named reference 
3533102550Siwasakicannot be located in the current namespace. Enabled via the interpreter 
3534102550Siwasakislack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
3535102550Siwasakithat contain such code.
3536102550Siwasaki
3537114237SnjlImplemented an optimization to the initialization sequence that can improve 
3538114237Snjlboot time. During ACPI device initialization, the _STA method is now run if 
3539114237Snjland only if the _INI method exists. The _STA method is used to determine if 
3540114237Snjlthe device is present; An _INI can only be run if _STA returns present, but 
3541114237Snjlit is a waste of time to run the _STA method if the _INI does not exist. 
3542102550Siwasaki(Prototype and assistance from Dong Wei)
3543104470Siwasaki
3544104470SiwasakiImplemented use of the C99 uintptr_t for the pointer casting macros if it is 
3545102550Siwasakiavailable in the current compiler. Otherwise, the default (void *) cast is 
3546114237Snjlused as before.
3547114237Snjl
3548102550SiwasakiFixed some possible memory leaks found within the execution path of the 
3549102550SiwasakiBreak, Continue, If, and CreateField operators. (Valery Podrezov)
3550102550Siwasaki
3551102550SiwasakiFixed a problem introduced in the 20051202 release where an exception is 
3552102550Siwasakigenerated during method execution if a control method attempts to declare 
3553114237Snjlanother method.
3554114237Snjl
3555114237SnjlMoved resource descriptor string constants that are used by both the AML 
3556102550Siwasakidisassembler and AML debugger to the common utilities directory so that 
3557104470Siwasakithese components are independent.
3558104470Siwasaki
3559104470SiwasakiImplemented support in the AcpiExec utility (-e switch) to globally ignore 
3560102550Siwasakiexceptions during control method execution (method is not aborted.)
3561114237Snjl
3562102550SiwasakiAdded the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
3563102550Siwasakigeneration.
3564102550Siwasaki
3565102550SiwasakiCode and Data Size: The current and previous library sizes for the core 
3566102550Siwasakisubsystem are shown below. These are the code and data sizes for the 
3567104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3568104470Siwasakivalues do not include any ACPI driver or OSPM code. The debug version of the 
3569104470Siwasakicode includes the debug output trace mechanism and has a much larger code 
3570104470Siwasakiand data size. Note that these values will vary depending on the efficiency 
3571102550Siwasakiof the compiler and the compiler options used during generation.
3572102550Siwasaki
3573102550Siwasaki  Previous Release:
3574102550Siwasaki    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3575102550Siwasaki    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3576102550Siwasaki  Current Release:
3577104470Siwasaki    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3578104470Siwasaki    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3579104470Siwasaki
3580104470Siwasaki
3581102550Siwasaki2) iASL Compiler/Disassembler:
3582102550Siwasaki
3583102550SiwasakiFixed a problem where a CPU stack overflow fault could occur if a recursive 
3584102550Siwasakimethod call was made from within a Return statement.
3585114237Snjl
3586114237Snjl----------------------------------------
3587102550Siwasaki02 December 2005. Summary of changes for version 20051202:
3588102550Siwasaki
3589104470Siwasaki1) ACPI CA Core Subsystem:
3590114237Snjl
3591102550SiwasakiModified the parsing of control methods to no longer create namespace 
3592114237Snjlobjects during the first pass of the parse. Objects are now created only 
3593114237Snjlduring the execute phase, at the moment the namespace creation operator is 
3594102550Siwasakiencountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
3595102550Siwasakishould eliminate ALREADY_EXISTS exceptions seen on some machines where 
3596102550Siwasakireentrant control methods are protected by an AML mutex. The mutex will now 
3597102550Siwasakicorrectly block multiple threads from attempting to create the same object 
3598102550Siwasakimore than once.
3599114237Snjl
3600114237SnjlIncreased the number of available Owner Ids for namespace object tracking 
3601102550Siwasakifrom 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
3602102550Siwasakisome machines with a large number of ACPI tables (either static or dynamic).
3603102550Siwasaki
3604102550SiwasakiFixed a problem with the AcpiExec utility where a fault could occur when the 
3605102550Siwasaki-b switch (batch mode) is used.
3606102550Siwasaki
3607102550SiwasakiEnhanced the namespace dump routine to output the owner ID for each 
3608114237Snjlnamespace object.
3609114237Snjl
3610102550SiwasakiCode and Data Size: The current and previous library sizes for the core 
3611104470Siwasakisubsystem are shown below. These are the code and data sizes for the 
3612104470Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3613102550Siwasakivalues do not include any ACPI driver or OSPM code. The debug version of the 
3614102550Siwasakicode includes the debug output trace mechanism and has a much larger code 
3615102550Siwasakiand data size. Note that these values will vary depending on the efficiency 
3616102550Siwasakiof the compiler and the compiler options used during generation.
3617102550Siwasaki
3618102550Siwasaki  Previous Release:
3619114237Snjl    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3620114237Snjl    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3621104470Siwasaki  Current Release:
3622104470Siwasaki    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3623102550Siwasaki    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3624114237Snjl
3625114237Snjl
3626114237Snjl2) iASL Compiler/Disassembler:
3627114237Snjl
3628114237SnjlFixed a parse error during compilation of certain Switch/Case constructs. To 
3629102550Siwasakisimplify the parse, the grammar now allows for multiple Default statements 
3630104470Siwasakiand this error is now detected and flagged during the analysis phase.
3631104470Siwasaki
3632102550SiwasakiDisassembler: The disassembly now includes the contents of the original 
3633114237Snjltable header within a comment at the start of the file. This includes the 
3634114237Snjlname and version of the original ASL compiler.
3635114237Snjl
3636114237Snjl----------------------------------------
3637102550Siwasaki17 November 2005. Summary of changes for version 20051117:
3638114237Snjl
3639114237Snjl1) ACPI CA Core Subsystem:
3640102550Siwasaki
3641102550SiwasakiFixed a problem in the AML parser where the method thread count could be 
3642102550Siwasakidecremented below zero if any errors occurred during the method parse phase. 
3643102550SiwasakiThis should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
3644102550SiwasakiThis also fixed a related regression with the mechanism that detects and 
3645114237Snjlcorrects methods that cannot properly handle reentrancy (related to the 
3646114237Snjldeployment of the new OwnerId mechanism.)
3647114237Snjl
3648114237SnjlEliminated the pre-parsing of control methods (to detect errors) during 
3649102550Siwasakitable load. Related to the problem above, this was causing unwind issues if 
3650102550Siwasakiany errors occurred during the parse, and it seemed to be overkill. A table 
3651104470Siwasakiload should not be aborted if there are problems with any single control 
3652114237Snjlmethod, thus rendering this feature rather pointless.
3653114237Snjl
3654102550SiwasakiFixed a problem with the new table-driven resource manager where an internal 
3655114237Snjlbuffer overflow could occur for small resource templates.
3656114237Snjl
3657114237SnjlImplemented a new external interface, AcpiGetVendorResource. This interface 
3658114237Snjlwill find and return a vendor-defined resource descriptor within a _CRS or 
3659114237Snjl_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
3660114237Snjl
3661114237SnjlRemoved the length limit (200) on string objects as per the upcoming ACPI 
3662114237Snjl3.0A specification. This affects the following areas of the interpreter: 1) 
3663114237Snjlany implicit conversion of a Buffer to a String, 2) a String object result 
3664102550Siwasakiof the ASL Concatentate operator, 3) the String object result of the ASL 
3665114237SnjlToString operator.
3666114237Snjl
3667104470SiwasakiFixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
3668102550Siwasakion a semaphore object would incorrectly timeout. This allows the 
3669102550Siwasakimultithreading features of the AcpiExec utility to work properly under 
3670102550SiwasakiWindows.
3671102550Siwasaki
3672102550SiwasakiUpdated the Linux makefiles for the iASL compiler and AcpiExec to include 
3673102550Siwasakithe recently added file named "utresrc.c".
3674102550Siwasaki
3675102550SiwasakiCode and Data Size: The current and previous library sizes for the core 
3676102550Siwasakisubsystem are shown below. These are the code and data sizes for the 
3677102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3678102550Siwasakivalues do not include any ACPI driver or OSPM code. The debug version of the 
3679114237Snjlcode includes the debug output trace mechanism and has a much larger code 
3680114237Snjland data size. Note that these values will vary depending on the efficiency 
3681114237Snjlof the compiler and the compiler options used during generation.
3682114237Snjl
3683102550Siwasaki  Previous Release:
3684114237Snjl    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3685114237Snjl    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3686114237Snjl  Current Release:
3687114237Snjl    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3688114237Snjl    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3689114237Snjl
3690102550Siwasaki
3691102550Siwasaki2) iASL Compiler/Disassembler:
3692102550Siwasaki
3693102550SiwasakiRemoved the limit (200) on string objects as per the upcoming ACPI 3.0A 
3694102550Siwasakispecification. For the iASL compiler, this means that string literals within 
3695102550Siwasakithe source ASL can be of any length. 
3696102550Siwasaki
3697102550SiwasakiEnhanced the listing output to dump the AML code for resource descriptors 
3698114237Snjlimmediately after the ASL code for each descriptor, instead of in a block at 
3699114237Snjlthe end of the entire resource template.
3700114237Snjl
3701114237SnjlEnhanced the compiler debug output to dump the entire original parse tree 
3702114237Snjlconstructed during the parse phase, before any transforms are applied to the 
3703114237Snjltree. The transformed tree is dumped also.
3704102550Siwasaki
3705104470Siwasaki----------------------------------------
3706104470Siwasaki02 November 2005. Summary of changes for version 20051102:
3707114237Snjl
3708114237Snjl1) ACPI CA Core Subsystem:
3709114237Snjl
3710102550SiwasakiModified the subsystem initialization sequence to improve GPE support. The 
3711102550SiwasakiGPE initialization has been split into two parts in order to defer execution 
3712102550Siwasakiof the _PRW methods (Power Resources for Wake) until after the hardware is 
3713102550Siwasakifully initialized and the SCI handler is installed. This allows the _PRW 
3714114237Snjlmethods to access fields protected by the Global Lock. This will fix systems 
3715114237Snjlwhere a NO_GLOBAL_LOCK exception has been seen during initialization.
3716114237Snjl
3717114237SnjlConverted the ACPI internal object disassemble and display code within the 
3718114237SnjlAML debugger to fully table-driven operation, reducing code size and 
3719114237Snjlincreasing maintainability.
3720114237Snjl
3721102550SiwasakiFixed a regression with the ConcatenateResTemplate() ASL operator introduced 
3722102550Siwasakiin the 20051021 release.
3723102550Siwasaki
3724114237SnjlImplemented support for "local" internal ACPI object types within the 
3725102550Siwasakidebugger "Object" command and the AcpiWalkNamespace external interfaces. 
3726102550SiwasakiThese local types include RegionFields, BankFields, IndexFields, Alias, and 
3727102550Siwasakireference objects.
3728114237Snjl
3729114237SnjlMoved common AML resource handling code into a new file, "utresrc.c". This 
3730114237Snjlcode is shared by both the Resource Manager and the AML Debugger.
3731102550Siwasaki
3732104470SiwasakiCode and Data Size: The current and previous library sizes for the core 
3733104470Siwasakisubsystem are shown below. These are the code and data sizes for the 
3734102550Siwasakiacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3735104470Siwasakivalues do not include any ACPI driver or OSPM code. The debug version of the 
3736114237Snjlcode includes the debug output trace mechanism and has a much larger code 
3737114237Snjland data size. Note that these values will vary depending on the efficiency 
3738114237Snjlof the compiler and the compiler options used during generation.
3739102550Siwasaki
3740102550Siwasaki  Previous Release:
3741114237Snjl    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3742114237Snjl    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3743114237Snjl  Current Release:
3744102550Siwasaki    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3745102550Siwasaki    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3746102550Siwasaki
3747102550Siwasaki
3748102550Siwasaki2) iASL Compiler/Disassembler:
3749102550Siwasaki
3750114237SnjlFixed a problem with very large initializer lists (more than 4000 elements) 
3751114237Snjlfor both Buffer and Package objects where the parse stack could overflow.
3752114237Snjl
3753102550SiwasakiEnhanced the pre-compile source code scan for non-ASCII characters to ignore 
3754102550Siwasakicharacters within comment fields. The scan is now always performed and is no 
3755114237Snjllonger optional, detecting invalid characters within a source file 
3756114237Snjlimmediately rather than during the parse phase or later.
3757114237Snjl
3758114237SnjlEnhanced the ASL grammar definition to force early reductions on all list-
3759102550Siwasakistyle grammar elements so that the overall parse stack usage is greatly 
3760102550Siwasakireduced. This should improve performance and reduce the possibility of parse 
3761102550Siwasakistack overflow.
3762102550Siwasaki
3763114237SnjlEliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
3764114237Snjlwith the addition of a %expected statement, the compiler generates from 
3765114237Snjlsource with no warnings.
3766114237Snjl
3767114237SnjlFixed a possible segment fault in the disassembler if the input filename 
3768114237Snjldoes not contain a "dot" extension (Thomas Renninger).
3769114237Snjl
3770114237Snjl----------------------------------------
3771114237Snjl21 October 2005. Summary of changes for version 20051021:
3772102550Siwasaki
3773104470Siwasaki1) ACPI CA Core Subsystem:
3774114237Snjl
3775114237SnjlImplemented support for the EM64T and other x86-64 processors. This 
3776102550Siwasakiessentially entails recognizing that these processors support non-aligned 
3777102550Siwasakimemory transfers. Previously, all 64-bit processors were assumed to lack 
3778102550Siwasakihardware support for non-aligned transfers.
3779102550Siwasaki
3780102550SiwasakiCompleted conversion of the Resource Manager to nearly full table-driven 
3781114237Snjloperation. Specifically, the resource conversion code (convert AML to 
3782114237Snjlinternal format and the reverse) and the debug code to dump internal 
3783114237Snjlresource descriptors are fully table-driven, reducing code and data size and 
3784114237Snjlimproving maintainability.
3785114237Snjl
3786114237SnjlThe OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
3787114237Snjlon 64-bit processors instead of a fixed 32-bit word. (With assistance from 
3788114237SnjlAlexey Starikovskiy)
3789102550Siwasaki
3790102550SiwasakiImplemented support within the resource conversion code for the Type-
3791102550SiwasakiSpecific byte within the various ACPI 3.0 *WordSpace macros.
3792102550Siwasaki
3793102550SiwasakiFixed some issues within the resource conversion code for the type-specific 
3794102550Siwasakiflags for both Memory and I/O address resource descriptors. For Memory, 
3795114237Snjlimplemented support for the MTP and TTP flags. For I/O, split the TRS and 
3796114237SnjlTTP flags into two separate fields.
3797102550Siwasaki
3798102550SiwasakiCode and Data Size: The current and previous library sizes for the core 
3799102550Siwasakisubsystem are shown below. These are the code and data sizes for the 
3800acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3801values do not include any ACPI driver or OSPM code. The debug version of the 
3802code includes the debug output trace mechanism and has a much larger code 
3803and data size. Note that these values will vary depending on the efficiency 
3804of the compiler and the compiler options used during generation.
3805
3806  Previous Release:
3807    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
3808    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
3809  Current Release:
3810    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3811    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3812
3813
3814
38152) iASL Compiler/Disassembler:
3816
3817Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
3818corresponding ResourceSource string was not also present in a resource 
3819descriptor declaration. This restriction caused problems with existing 
3820AML/ASL code that includes the Index byte without the string. When such AML 
3821was disassembled, it could not be compiled without modification. Further, 
3822the modified code created a resource template with a different size than the 
3823original, breaking code that used fixed offsets into the resource template 
3824buffer.
3825
3826Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
3827byte. This byte is now emitted if present so that the exact AML can be 
3828reproduced when the disassembled code is recompiled.
3829
3830Improved comments and text alignment for the resource descriptor code 
3831emitted by the disassembler.
3832
3833Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
3834Register() resource descriptor.
3835
3836----------------------------------------
383730 September 2005. Summary of changes for version 20050930:
3838
38391) ACPI CA Core Subsystem:
3840
3841Completed a major overhaul of the Resource Manager code - specifically, 
3842optimizations in the area of the AML/internal resource conversion code. The 
3843code has been optimized to simplify and eliminate duplicated code, CPU stack 
3844use has been decreased by optimizing function parameters and local 
3845variables, and naming conventions across the manager have been standardized 
3846for clarity and ease of maintenance (this includes function, parameter, 
3847variable, and struct/typedef names.) The update may force changes in some 
3848driver code, depending on how resources are handled by the host OS.
3849
3850All Resource Manager dispatch and information tables have been moved to a 
3851single location for clarity and ease of maintenance. One new file was 
3852created, named "rsinfo.c".
3853
3854The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
3855guarantee that the argument is not evaluated twice, making them less prone 
3856to macro side-effects. However, since there exists the possibility of 
3857additional stack use if a particular compiler cannot optimize them (such as 
3858in the debug generation case), the original macros are optionally available.  
3859Note that some invocations of the return_VALUE macro may now cause size 
3860mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
3861eliminate these. (From Randy Dunlap)
3862
3863Implemented a new mechanism to enable debug tracing for individual control 
3864methods. A new external interface, AcpiDebugTrace, is provided to enable 
3865this mechanism. The intent is to allow the host OS to easily enable and 
3866disable tracing for problematic control methods. This interface can be 
3867easily exposed to a user or debugger interface if desired. See the file 
3868psxface.c for details.
3869
3870AcpiUtCallocate will now return a valid pointer if a length of zero is 
3871specified - a length of one is used and a warning is issued. This matches 
3872the behavior of AcpiUtAllocate.
3873
3874Code and Data Size: The current and previous library sizes for the core 
3875subsystem are shown below. These are the code and data sizes for the 
3876acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3877values do not include any ACPI driver or OSPM code. The debug version of the 
3878code includes the debug output trace mechanism and has a much larger code 
3879and data size. Note that these values will vary depending on the efficiency 
3880of the compiler and the compiler options used during generation.
3881
3882  Previous Release:
3883    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
3884    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
3885  Current Release:
3886    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
3887    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
3888
3889
38902) iASL Compiler/Disassembler:
3891
3892A remark is issued if the effective compile-time length of a package or 
3893buffer is zero. Previously, this was a warning.
3894
3895----------------------------------------
389616 September 2005. Summary of changes for version 20050916:
3897
38981) ACPI CA Core Subsystem:
3899
3900Fixed a problem within the Resource Manager where support for the Generic 
3901Register descriptor was not fully implemented. This descriptor is now fully 
3902recognized, parsed, disassembled, and displayed.
3903
3904Completely restructured the Resource Manager code to utilize table-driven 
3905dispatch and lookup, eliminating many of the large switch() statements. This 
3906reduces overall subsystem code size and code complexity. Affects the 
3907resource parsing and construction, disassembly, and debug dump output.
3908
3909Cleaned up and restructured the debug dump output for all resource 
3910descriptors. Improved readability of the output and reduced code size.
3911
3912Fixed a problem where changes to internal data structures caused the 
3913optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
3914
3915Code and Data Size: The current and previous library sizes for the core 
3916subsystem are shown below. These are the code and data sizes for the 
3917acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3918values do not include any ACPI driver or OSPM code. The debug version of the 
3919code includes the debug output trace mechanism and has a much larger code 
3920and data size. Note that these values will vary depending on the efficiency 
3921of the compiler and the compiler options used during generation.
3922
3923  Previous Release:
3924    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
3925    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
3926  Current Release:
3927    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
3928    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
3929
3930
39312) iASL Compiler/Disassembler:
3932
3933Updated the disassembler to automatically insert an EndDependentFn() macro 
3934into the ASL stream if this macro is missing in the original AML code, 
3935simplifying compilation of the resulting ASL module.
3936
3937Fixed a problem in the disassembler where a disassembled ResourceSource 
3938string (within a large resource descriptor) was not surrounded by quotes and 
3939not followed by a comma, causing errors when the resulting ASL module was 
3940compiled. Also, escape sequences within a ResourceSource string are now 
3941handled correctly (especially "\\")
3942
3943----------------------------------------
394402 September 2005. Summary of changes for version 20050902:
3945
39461) ACPI CA Core Subsystem:
3947
3948Fixed a problem with the internal Owner ID allocation and deallocation 
3949mechanisms for control method execution and recursive method invocation. 
3950This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
3951messages seen on some systems. Recursive method invocation depth is 
3952currently limited to 255. (Alexey Starikovskiy)
3953
3954Completely eliminated all vestiges of support for the "module-level 
3955executable code" until this support is fully implemented and debugged. This 
3956should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
3957some systems that invoke this support.
3958
3959Fixed a problem within the resource manager code where the transaction flags 
3960for a 64-bit address descriptor were handled incorrectly in the type-
3961specific flag byte.
3962
3963Consolidated duplicate code within the address descriptor resource manager 
3964code, reducing overall subsystem code size.
3965
3966Fixed a fault when using the AML debugger "disassemble" command to 
3967disassemble individual control methods.
3968
3969Removed references to the "release_current" directory within the Unix 
3970release package.
3971
3972Code and Data Size: The current and previous core subsystem library sizes 
3973are shown below. These are the code and data sizes for the acpica.lib 
3974produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
3975include any ACPI driver or OSPM code. The debug version of the code includes 
3976the debug output trace mechanism and has a much larger code and data size. 
3977Note that these values will vary depending on the efficiency of the compiler 
3978and the compiler options used during generation.
3979
3980  Previous Release:
3981    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
3982    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
3983  Current Release:
3984    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
3985    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
3986
3987
39882) iASL Compiler/Disassembler:
3989
3990Implemented an error check for illegal duplicate values in the interrupt and 
3991dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
3992Interrupt().
3993
3994Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
3995too many values in the interrupt list (16 max) and invalid values in the 
3996list (range 0 - 15)
3997
3998The maximum length string literal within an ASL file is now restricted to 
3999200 characters as per the ACPI specification.
4000
4001Fixed a fault when using the -ln option (generate namespace listing).
4002
4003Implemented an error check to determine if a DescriptorName within a 
4004resource descriptor has already been used within the current scope.
4005
4006----------------------------------------
400715 August 2005.  Summary of changes for version 20050815:
4008 
40091) ACPI CA Core Subsystem:
4010 
4011Implemented a full bytewise compare to determine if a table load request is 
4012attempting to load a duplicate table. The compare is performed if the table 
4013signatures and table lengths match. This will allow different tables with 
4014the same OEM Table ID and revision to be loaded - probably against the ACPI 
4015specification, but discovered in the field nonetheless.
4016 
4017Added the changes.txt logfile to each of the zipped release packages.
4018 
4019Code and Data Size: Current and previous core subsystem library sizes are 
4020shown below. These are the code and data sizes for the acpica.lib produced 
4021by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4022any ACPI driver or OSPM code. The debug version of the code includes the 
4023debug output trace mechanism and has a much larger code and data size. Note 
4024that these values will vary depending on the efficiency of the compiler and 
4025the compiler options used during generation.
4026 
4027  Previous Release:
4028    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4029    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4030  Current Release:
4031    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4032    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4033 
4034 
40352) iASL Compiler/Disassembler:
4036 
4037Fixed a problem where incorrect AML code could be generated for Package 
4038objects if optimization is disabled (via the -oa switch).
4039 
4040Fixed a problem with where incorrect AML code is generated for variable-
4041length packages when the package length is not specified and the number of 
4042initializer values is greater than 255.
4043 
4044
4045----------------------------------------
404629 July 2005.  Summary of changes for version 20050729:
4047
40481) ACPI CA Core Subsystem:
4049
4050Implemented support to ignore an attempt to install/load a particular ACPI 
4051table more than once. Apparently there exists BIOS code that repeatedly 
4052attempts to load the same SSDT upon certain events. With assistance from 
4053Venkatesh Pallipadi.
4054
4055Restructured the main interface to the AML parser in order to correctly 
4056handle all exceptional conditions. This will prevent leakage of the OwnerId 
4057resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
4058machines. With assistance from Alexey Starikovskiy.
4059
4060Support for "module level code" has been disabled in this version due to a 
4061number of issues that have appeared on various machines. The support can be 
4062enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
4063compilation. When the issues are fully resolved, the code will be enabled by 
4064default again.
4065
4066Modified the internal functions for debug print support to define the 
4067FunctionName parameter as a (const char *) for compatibility with compiler 
4068built-in macros such as __FUNCTION__, etc.
4069
4070Linted the entire ACPICA source tree for both 32-bit and 64-bit.
4071
4072Implemented support to display an object count summary for the AML Debugger 
4073commands Object and Methods.
4074
4075Code and Data Size: Current and previous core subsystem library sizes are 
4076shown below. These are the code and data sizes for the acpica.lib produced 
4077by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4078any ACPI driver or OSPM code. The debug version of the code includes the 
4079debug output trace mechanism and has a much larger code and data size. Note 
4080that these values will vary depending on the efficiency of the compiler and 
4081the compiler options used during generation.
4082
4083  Previous Release:
4084    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4085    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4086  Current Release:
4087    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4088    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4089
4090
40912) iASL Compiler/Disassembler:
4092
4093Fixed a regression that appeared in the 20050708 version of the compiler 
4094where an error message was inadvertently emitted for invocations of the _OSI 
4095reserved control method.
4096
4097----------------------------------------
409808 July 2005.  Summary of changes for version 20050708:
4099
41001) ACPI CA Core Subsystem:
4101
4102The use of the CPU stack in the debug version of the subsystem has been 
4103considerably reduced. Previously, a debug structure was declared in every 
4104function that used the debug macros. This structure has been removed in 
4105favor of declaring the individual elements as parameters to the debug 
4106functions. This reduces the cumulative stack use during nested execution of 
4107ACPI function calls at the cost of a small increase in the code size of the 
4108debug version of the subsystem. With assistance from Alexey Starikovskiy and 
4109Len Brown.
4110
4111Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
4112headers to define a macro that will return the current function name at 
4113runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
4114the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
4115compiler-dependent header, the function name is saved on the CPU stack (one 
4116pointer per function.) This mechanism is used because apparently there 
4117exists no standard ANSI-C defined macro that that returns the function name.
4118
4119Redesigned and reimplemented the "Owner ID" mechanism used to track 
4120namespace objects created/deleted by ACPI tables and control method 
4121execution. A bitmap is now used to allocate and free the IDs, thus solving 
4122the wraparound problem present in the previous implementation. The size of 
4123the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
4124Starikovskiy).
4125
4126Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
4127flag definitions within the headers for the predefined ACPI tables. These 
4128have been replaced by UINT8_BIT in order to increase the code portability of 
4129the subsystem. If the use of UINT8 remains a problem, we may be forced to 
4130eliminate bitfields entirely because of a lack of portability.
4131
4132Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
4133is a frequently used function and this improvement increases the performance 
4134of the entire subsystem (Alexey Starikovskiy).
4135
4136Fixed several possible memory leaks and the inverse - premature object 
4137deletion (Alexey Starikovskiy).
4138
4139Code and Data Size: Current and previous core subsystem library sizes are 
4140shown below. These are the code and data sizes for the acpica.lib produced 
4141by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4142any ACPI driver or OSPM code. The debug version of the code includes the 
4143debug output trace mechanism and has a much larger code and data size. Note 
4144that these values will vary depending on the efficiency of the compiler and 
4145the compiler options used during generation.
4146
4147  Previous Release:
4148    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4149    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4150  Current Release:
4151    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4152    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4153
4154----------------------------------------
415524 June 2005.  Summary of changes for version 20050624:
4156
41571) ACPI CA Core Subsystem:
4158
4159Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
4160the host-defined cache object. This allows the OSL implementation to define 
4161and type this object in any manner desired, simplifying the OSL 
4162implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
4163Linux, and should be defined in the OS-specific header file for other 
4164operating systems as required.
4165
4166Changed the interface to AcpiOsAcquireObject to directly return the 
4167requested object as the function return (instead of ACPI_STATUS.) This 
4168change was made for performance reasons, since this is the purpose of the 
4169interface in the first place. AcpiOsAcquireObject is now similar to the 
4170AcpiOsAllocate interface.
4171
4172Implemented a new AML debugger command named Businfo. This command displays 
4173information about all devices that have an associate _PRT object. The _ADR, 
4174_HID, _UID, and _CID are displayed for these devices.
4175
4176Modified the initialization sequence in AcpiInitializeSubsystem to call the 
4177OSL interface AcpiOslInitialize first, before any local initialization. This 
4178change was required because the global initialization now calls OSL 
4179interfaces.
4180
4181Enhanced the Dump command to display the entire contents of Package objects 
4182(including all sub-objects and their values.) 
4183
4184Restructured the code base to split some files because of size and/or 
4185because the code logically belonged in a separate file. New files are listed 
4186below. All makefiles and project files included in the ACPI CA release have 
4187been updated.
4188    utilities/utcache.c           /* Local cache interfaces */
4189    utilities/utmutex.c           /* Local mutex support */
4190    utilities/utstate.c           /* State object support */
4191    interpreter/parser/psloop.c   /* Main AML parse loop */
4192
4193Code and Data Size: Current and previous core subsystem library sizes are 
4194shown below. These are the code and data sizes for the acpica.lib produced 
4195by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4196any ACPI driver or OSPM code. The debug version of the code includes the 
4197debug output trace mechanism and has a much larger code and data size. Note 
4198that these values will vary depending on the efficiency of the compiler and 
4199the compiler options used during generation.
4200
4201  Previous Release:
4202    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4203    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4204  Current Release:
4205    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4206    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4207
4208
42092) iASL Compiler/Disassembler:
4210
4211Fixed a regression introduced in version 20050513 where the use of a Package 
4212object within a Case() statement caused a compile time exception. The 
4213original behavior has been restored (a Match() operator is emitted.)
4214
4215----------------------------------------
421617 June 2005.  Summary of changes for version 20050617:
4217
42181) ACPI CA Core Subsystem:
4219
4220Moved the object cache operations into the OS interface layer (OSL) to allow 
4221the host OS to handle these operations if desired (for example, the Linux 
4222OSL will invoke the slab allocator). This support is optional; the compile 
4223time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
4224code in the ACPI CA core. The new OSL interfaces are shown below. See 
4225utalloc.c for an example implementation, and acpiosxf.h for the exact 
4226interface definitions. With assistance from Alexey Starikovskiy.
4227    AcpiOsCreateCache
4228    AcpiOsDeleteCache
4229    AcpiOsPurgeCache
4230    AcpiOsAcquireObject
4231    AcpiOsReleaseObject
4232
4233Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
4234and restore a flags parameter. This fits better with many OS lock models. 
4235Note: the current execution state (interrupt handler or not) is no longer 
4236passed to these interfaces. If necessary, the OSL must determine this state 
4237by itself, a simple and fast operation. With assistance from Alexey 
4238Starikovskiy.
4239
4240Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
4241present if the revision of the RSDP was 2 or greater. According to the ACPI 
4242specification, the XSDT is optional in all cases, and the table manager 
4243therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
4244Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
4245only the RSDT.
4246
4247Fixed an interpreter problem with the Mid() operator in the case of an input 
4248string where the resulting output string is of zero length. It now correctly 
4249returns a valid, null terminated string object instead of a string object 
4250with a null pointer.
4251
4252Fixed a problem with the control method argument handling to allow a store 
4253to an Arg object that already contains an object of type Device. The Device 
4254object is now correctly overwritten. Previously, an error was returned.
4255
4256
4257Enhanced the debugger Find command to emit object values in addition to the 
4258found object pathnames. The output format is the same as the dump namespace 
4259command.
4260
4261Enhanced the debugger Set command. It now has the ability to set the value 
4262of any Named integer object in the namespace (Previously, only method locals 
4263and args could be set.)
4264
4265Code and Data Size: Current and previous core subsystem library sizes are 
4266shown below. These are the code and data sizes for the acpica.lib produced 
4267by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4268any ACPI driver or OSPM code. The debug version of the code includes the 
4269debug output trace mechanism and has a much larger code and data size. Note 
4270that these values will vary depending on the efficiency of the compiler and 
4271the compiler options used during generation.
4272
4273  Previous Release:
4274    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4275    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4276  Current Release:
4277    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4278    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4279
4280
42812) iASL Compiler/Disassembler:
4282
4283Fixed a regression in the disassembler where if/else/while constructs were 
4284output incorrectly. This problem was introduced in the previous release 
4285(20050526). This problem also affected the single-step disassembly in the 
4286debugger.
4287
4288Fixed a problem where compiling the reserved _OSI method would randomly (but 
4289rarely) produce compile errors.
4290
4291Enhanced the disassembler to emit compilable code in the face of incorrect 
4292AML resource descriptors. If the optional ResourceSourceIndex is present, 
4293but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
4294disassembly. Otherwise, the resulting code cannot be compiled without 
4295errors.
4296
4297----------------------------------------
429826 May 2005.  Summary of changes for version 20050526:
4299
43001) ACPI CA Core Subsystem:
4301
4302Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
4303the module level (not within a control method.) These opcodes are executed 
4304exactly once at the time the table is loaded. This type of code was legal up 
4305until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
4306order to provide backwards compatibility with earlier BIOS implementations. 
4307This eliminates the "Encountered executable code at module level" warning 
4308that was previously generated upon detection of such code.
4309
4310Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
4311inadvertently be generated during the lookup of namespace objects in the 
4312second pass parse of ACPI tables and control methods. It appears that this 
4313problem could occur during the resolution of forward references to namespace 
4314objects.
4315
4316Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
4317corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
4318allows the deadlock detection debug code to be compiled out in the normal 
4319case, improving mutex performance (and overall subsystem performance) 
4320considerably.
4321
4322Implemented a handful of miscellaneous fixes for possible memory leaks on 
4323error conditions and error handling control paths. These fixes were 
4324suggested by FreeBSD and the Coverity Prevent source code analysis tool.
4325
4326Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
4327to prevent a fault in this error case.
4328
4329Code and Data Size: Current and previous core subsystem library sizes are 
4330shown below. These are the code and data sizes for the acpica.lib produced 
4331by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4332any ACPI driver or OSPM code. The debug version of the code includes the 
4333debug output trace mechanism and has a much larger code and data size. Note 
4334that these values will vary depending on the efficiency of the compiler and 
4335the compiler options used during generation.
4336
4337  Previous Release:
4338    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4339    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4340  Current Release:
4341    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4342    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4343
4344
43452) iASL Compiler/Disassembler:
4346
4347Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
4348the module level (not within a control method.) These operators will be 
4349executed once at the time the table is loaded. This type of code was legal 
4350up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
4351compiler in order to provide backwards compatibility with earlier BIOS ASL 
4352code.
4353
4354The ACPI integer width (specified via the table revision ID or the -r 
4355override, 32 or 64 bits) is now used internally during compile-time constant 
4356folding to ensure that constants are truncated to 32 bits if necessary. 
4357Previously, the revision ID value was only emitted in the AML table header.
4358
4359An error message is now generated for the Mutex and Method operators if the 
4360SyncLevel parameter is outside the legal range of 0 through 15.
4361
4362Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
43633.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
4364The actual underlying implementation of method argument typechecking is 
4365still under development, however.
4366
4367----------------------------------------
436813 May 2005.  Summary of changes for version 20050513:
4369
43701) ACPI CA Core Subsystem:
4371
4372Implemented support for PCI Express root bridges -- added support for device 
4373PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
4374
4375The interpreter now automatically truncates incoming 64-bit constants to 32 
4376bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
4377also affects the iASL compiler constant folding. (Note: as per below, the 
4378iASL compiler no longer allows 64-bit constants within 32-bit tables.)
4379
4380Fixed a problem where string and buffer objects with "static" pointers 
4381(pointers to initialization data within an ACPI table) were not handled 
4382consistently. The internal object copy operation now always copies the data 
4383to a newly allocated buffer, regardless of whether the source object is 
4384static or not.
4385
4386Fixed a problem with the FromBCD operator where an implicit result 
4387conversion was improperly performed while storing the result to the target 
4388operand. Since this is an "explicit conversion" operator, the implicit 
4389conversion should never be performed on the output.
4390
4391Fixed a problem with the CopyObject operator where a copy to an existing 
4392named object did not always completely overwrite the existing object stored 
4393at name. Specifically, a buffer-to-buffer copy did not delete the existing 
4394buffer.
4395
4396Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
4397structs for consistency.
4398
4399Code and Data Size: Current and previous core subsystem library sizes are 
4400shown below. These are the code and data sizes for the acpica.lib produced 
4401by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4402any ACPI driver or OSPM code. The debug version of the code includes the 
4403debug output trace mechanism and has a much larger code and data size. Note 
4404that these values will vary depending on the efficiency of the compiler and 
4405the compiler options used during generation.
4406
4407  Previous Release:
4408    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4409    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4410  Current Release: (Same sizes)
4411    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4412    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4413
4414
44152) iASL Compiler/Disassembler:
4416
4417The compiler now emits a warning if an attempt is made to generate a 64-bit 
4418integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
4419is truncated to 32 bits.
4420
4421Fixed a problem with large package objects: if the static length of the 
4422package is greater than 255, the "variable length package" opcode is 
4423emitted. Previously, this caused an error. This requires an update to the 
4424ACPI spec, since it currently (incorrectly) states that packages larger than 
4425255 elements are not allowed.
4426
4427The disassembler now correctly handles variable length packages and packages 
4428larger than 255 elements.
4429
4430----------------------------------------
443108 April 2005.  Summary of changes for version 20050408:
4432
44331) ACPI CA Core Subsystem:
4434
4435Fixed three cases in the interpreter where an "index" argument to an ASL 
4436function was still (internally) 32 bits instead of the required 64 bits. 
4437This was the Index argument to the Index, Mid, and Match operators.
4438
4439The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
4440not a POSIX-defined function and not present in most kernel-level C 
4441libraries. All references to the C library strupr function have been removed 
4442from the headers.
4443
4444Completed the deployment of static functions/prototypes. All prototypes with 
4445the static attribute have been moved from the headers to the owning C file.
4446
4447Implemented an extract option (-e) for the AcpiBin utility (AML binary 
4448utility). This option allows the utility to extract individual ACPI tables 
4449from the output of AcpiDmp. It provides the same functionality of the 
4450acpixtract.pl perl script without the worry of setting the correct perl 
4451options. AcpiBin runs on Windows and has not yet been generated/validated in 
4452the Linux/Unix environment (but should be soon).
4453 
4454Updated and fixed the table dump option for AcpiBin (-d). This option 
4455converts a single ACPI table to a hex/ascii file, similar to the output of 
4456AcpiDmp.
4457
4458Code and Data Size: Current and previous core subsystem library sizes are 
4459shown below. These are the code and data sizes for the acpica.lib produced 
4460by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4461any ACPI driver or OSPM code. The debug version of the code includes the 
4462debug output trace mechanism and has a much larger code and data size. Note 
4463that these values will vary depending on the efficiency of the compiler and 
4464the compiler options used during generation.
4465
4466  Previous Release:
4467    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4468    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4469  Current Release:
4470    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4471    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4472
4473
44742) iASL Compiler/Disassembler:
4475
4476Disassembler fix: Added a check to ensure that the table length found in the 
4477ACPI table header within the input file is not longer than the actual input 
4478file size. This indicates some kind of file or table corruption.
4479
4480----------------------------------------
448129 March 2005.  Summary of changes for version 20050329:
4482
44831) ACPI CA Core Subsystem:
4484
4485An error is now generated if an attempt is made to create a Buffer Field of 
4486length zero (A CreateField with a length operand of zero.)
4487
4488The interpreter now issues a warning whenever executable code at the module 
4489level is detected during ACPI table load. This will give some idea of the 
4490prevalence of this type of code.
4491
4492Implemented support for references to named objects (other than control 
4493methods) within package objects.
4494
4495Enhanced package object output for the debug object. Package objects are now 
4496completely dumped, showing all elements.
4497
4498Enhanced miscellaneous object output for the debug object. Any object can 
4499now be written to the debug object (for example, a device object can be 
4500written, and the type of the object will be displayed.)
4501
4502The "static" qualifier has been added to all local functions across both the 
4503core subsystem and the iASL compiler.
4504
4505The number of "long" lines (> 80 chars) within the source has been 
4506significantly reduced, by about 1/3.
4507
4508Cleaned up all header files to ensure that all CA/iASL functions are 
4509prototyped (even static functions) and the formatting is consistent.
4510
4511Two new header files have been added, acopcode.h and acnames.h.
4512
4513Removed several obsolete functions that were no longer used.
4514
4515Code and Data Size: Current and previous core subsystem library sizes are 
4516shown below. These are the code and data sizes for the acpica.lib produced 
4517by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4518any ACPI driver or OSPM code. The debug version of the code includes the 
4519debug output trace mechanism and has a much larger code and data size. Note 
4520that these values will vary depending on the efficiency of the compiler and 
4521the compiler options used during generation.
4522
4523  Previous Release:
4524    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4525    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4526  Current Release:
4527    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4528    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4529
4530
4531
45322) iASL Compiler/Disassembler:
4533
4534Fixed a problem with the resource descriptor generation/support. For the 
4535ResourceSourceIndex and the ResourceSource fields, both must be present, or 
4536both must be not present - can't have one without the other.
4537
4538The compiler now returns non-zero from the main procedure if any errors have 
4539occurred during the compilation.
4540
4541
4542----------------------------------------
454309 March 2005.  Summary of changes for version 20050309:
4544
45451) ACPI CA Core Subsystem:
4546
4547The string-to-buffer implicit conversion code has been modified again after 
4548a change to the ACPI specification.  In order to match the behavior of the 
4549other major ACPI implementation, the target buffer is no longer truncated if 
4550the source string is smaller than an existing target buffer. This change 
4551requires an update to the ACPI spec, and should eliminate the recent 
4552AE_AML_BUFFER_LIMIT issues.
4553
4554The "implicit return" support was rewritten to a new algorithm that solves 
4555the general case. Rather than attempt to determine when a method is about to 
4556exit, the result of every ASL operator is saved momentarily until the very 
4557next ASL operator is executed. Therefore, no matter how the method exits, 
4558there will always be a saved implicit return value. This feature is only 
4559enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
4560AE_AML_NO_RETURN_VALUE errors when enabled.
4561
4562Implemented implicit conversion support for the predicate (operand) of the 
4563If, Else, and While operators. String and Buffer arguments are automatically 
4564converted to Integers.
4565
4566Changed the string-to-integer conversion behavior to match the new ACPI 
4567errata: "If no integer object exists, a new integer is created. The ASCII 
4568string is interpreted as a hexadecimal constant. Each string character is 
4569interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
4570with the first character as the most significant digit, and ending with the 
4571first non-hexadecimal character or end-of-string." This means that the first 
4572non-hex character terminates the conversion and this is the code that was 
4573changed.
4574
4575Fixed a problem where the ObjectType operator would fail (fault) when used 
4576on an Index of a Package which pointed to a null package element. The 
4577operator now properly returns zero (Uninitialized) in this case.
4578
4579Fixed a problem where the While operator used excessive memory by not 
4580properly popping the result stack during execution. There was no memory leak 
4581after execution, however. (Code provided by Valery Podrezov.)
4582
4583Fixed a problem where references to control methods within Package objects 
4584caused the method to be invoked, instead of producing a reference object 
4585pointing to the method.
4586
4587Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
4588improve performance and reduce code size. (Code provided by Alexey 
4589Starikovskiy.)
4590
4591Code and Data Size: Current and previous core subsystem library sizes are 
4592shown below. These are the code and data sizes for the acpica.lib produced 
4593by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4594any ACPI driver or OSPM code. The debug version of the code includes the 
4595debug output trace mechanism and has a much larger code and data size. Note 
4596that these values will vary depending on the efficiency of the compiler and 
4597the compiler options used during generation.
4598
4599  Previous Release:
4600    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4601    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4602  Current Release:
4603    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4604    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4605
4606
46072) iASL Compiler/Disassembler:
4608
4609Fixed a problem with the Return operator with no arguments. Since the AML 
4610grammar for the byte encoding requires an operand for the Return opcode, the 
4611compiler now emits a Return(Zero) for this case.  An ACPI specification 
4612update has been written for this case.
4613
4614For tables other than the DSDT, namepath optimization is automatically 
4615disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
4616compiler has no knowledge of where, and thus cannot optimize namepaths.
4617
4618Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
4619inadvertently omitted from the ACPI specification, and will require an 
4620update to the spec.
4621
4622The source file scan for ASCII characters is now optional (-a). This change 
4623was made because some vendors place non-ascii characters within comments. 
4624However, the scan is simply a brute-force byte compare to ensure all 
4625characters in the file are in the range 0x00 to 0x7F.
4626
4627Fixed a problem with the CondRefOf operator where the compiler was 
4628inappropriately checking for the existence of the target. Since the point of 
4629the operator is to check for the existence of the target at run-time, the 
4630compiler no longer checks for the target existence.
4631
4632Fixed a problem where errors generated from the internal AML interpreter 
4633during constant folding were not handled properly, causing a fault.
4634
4635Fixed a problem with overly aggressive range checking for the Stall 
4636operator. The valid range (max 255) is now only checked if the operand is of 
4637type Integer. All other operand types cannot be statically checked.
4638
4639Fixed a problem where control method references within the RefOf, DeRefOf, 
4640and ObjectType operators were not treated properly. They are now treated as 
4641actual references, not method invocations.
4642
4643Fixed and enhanced the "list namespace" option (-ln). This option was broken 
4644a number of releases ago.
4645
4646Improved error handling for the Field, IndexField, and BankField operators. 
4647The compiler now cleanly reports and recovers from errors in the field 
4648component (FieldUnit) list.
4649
4650Fixed a disassembler problem where the optional ResourceDescriptor fields 
4651TRS and TTP were not always handled correctly.
4652
4653Disassembler - Comments in output now use "//" instead of "/*"
4654
4655----------------------------------------
465628 February 2005.  Summary of changes for version 20050228:
4657
46581) ACPI CA Core Subsystem:
4659
4660Fixed a problem where the result of an Index() operator (an object 
4661reference) must increment the reference count on the target object for the 
4662life of the object reference.
4663
4664Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
4665Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
4666resource descriptors.
4667
4668Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
4669Space Descriptor" string, indicating interpreter support for the descriptors 
4670above.
4671
4672Implemented header support for the new ACPI 3.0 FADT flag bits.
4673
4674Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
4675status/enable registers.
4676
4677Updated header support for the MADT processor local Apic struct and MADT 
4678platform interrupt source struct for new ACPI 3.0 fields.
4679
4680Implemented header support for the SRAT and SLIT ACPI tables.
4681
4682Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
4683at runtime.
4684
4685Code and Data Size: Current and previous core subsystem library sizes are 
4686shown below. These are the code and data sizes for the acpica.lib produced 
4687by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4688any ACPI driver or OSPM code. The debug version of the code includes the 
4689debug output trace mechanism and has a much larger code and data size. Note 
4690that these values will vary depending on the efficiency of the compiler and 
4691the compiler options used during generation.
4692
4693  Previous Release:
4694    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4695    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4696  Current Release:
4697    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4698    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4699
4700
47012) iASL Compiler/Disassembler:
4702
4703Fixed a problem with the internal 64-bit String-to-integer conversion with 
4704strings less than two characters long.
4705
4706Fixed a problem with constant folding where the result of the Index() 
4707operator can not be considered a constant. This means that Index() cannot be 
4708a type3 opcode and this will require an update to the ACPI specification.
4709
4710Disassembler: Implemented support for the TTP, MTP, and TRS resource 
4711descriptor fields. These fields were inadvertently ignored and not output in 
4712the disassembly of the resource descriptor.
4713
4714
4715 ----------------------------------------
471611 February 2005.  Summary of changes for version 20050211:
4717
47181) ACPI CA Core Subsystem:
4719
4720Implemented ACPI 3.0 support for implicit conversion within the Match() 
4721operator. MatchObjects can now be of type integer, buffer, or string instead 
4722of just type integer.  Package elements are implicitly converted to the type 
4723of the MatchObject. This change aligns the behavior of Match() with the 
4724behavior of the other logical operators (LLess(), etc.) It also requires an 
4725errata change to the ACPI specification as this support was intended for 
4726ACPI 3.0, but was inadvertently omitted.
4727
4728Fixed a problem with the internal implicit "to buffer" conversion. Strings 
4729that are converted to buffers will cause buffer truncation if the string is 
4730smaller than the target buffer. Integers that are converted to buffers will 
4731not cause buffer truncation, only zero extension (both as per the ACPI 
4732spec.) The problem was introduced when code was added to truncate the 
4733buffer, but this should not be performed in all cases, only the string case.
4734
4735Fixed a problem with the Buffer and Package operators where the interpreter 
4736would get confused if two such operators were used as operands to an ASL 
4737operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
4738stack was not being popped after the execution of these operators, resulting 
4739in an AE_NO_RETURN_VALUE exception.
4740
4741Fixed a problem with constructs of the form Store(Index(...),...). The 
4742reference object returned from Index was inadvertently resolved to an actual 
4743value. This problem was introduced in version 20050114 when the behavior of 
4744Store() was modified to restrict the object types that can be used as the 
4745source operand (to match the ACPI specification.)
4746
4747Reduced excessive stack use within the AcpiGetObjectInfo procedure.
4748
4749Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
4750
4751Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
4752
4753Code and Data Size: Current and previous core subsystem library sizes are 
4754shown below. These are the code and data sizes for the acpica.lib produced 
4755by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4756any ACPI driver or OSPM code. The debug version of the code includes the 
4757debug output trace mechanism and has a much larger code and data size. Note 
4758that these values will vary depending on the efficiency of the compiler and 
4759the compiler options used during generation.
4760
4761  Previous Release:
4762    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
4763    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
4764  Current Release:
4765    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4766    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4767
4768
47692) iASL Compiler/Disassembler:
4770
4771Fixed a code generation problem in the constant folding optimization code 
4772where incorrect code was generated if a constant was reduced to a buffer 
4773object (i.e., a reduced type 5 opcode.)
4774
4775Fixed a typechecking problem for the ToBuffer operator. Caused by an 
4776incorrect return type in the internal opcode information table.
4777
4778----------------------------------------
477925 January 2005.  Summary of changes for version 20050125:
4780
47811) ACPI CA Core Subsystem:
4782
4783Fixed a recently introduced problem with the Global Lock where the 
4784underlying semaphore was not created.  This problem was introduced in 
4785version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
4786Acquire() operation on _GL.
4787
4788The local object cache is now optional, and is disabled by default. Both 
4789AcpiExec and the iASL compiler enable the cache because they run in user 
4790mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
4791to enable the local cache.
4792
4793Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
4794optional "implicit return" support where an error was returned if no return 
4795object was expected, but one was implicitly returned. AE_OK is now returned 
4796in this case and the implicitly returned object is deleted. 
4797AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
4798methods such as _STA and _INI where the return type is known up front.
4799
4800Fixed a few issues with the internal convert-to-integer code. It now returns 
4801an error if an attempt is made to convert a null string, a string of only 
4802blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
4803and explicit conversion via the ToInteger() operator.
4804
4805The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
4806not needed for normal operation and should increase the performance of the 
4807entire subsystem. The code remains in case it is needed for debug purposes 
4808again.
4809
4810The AcpiExec source and makefile are included in the Unix/Linux package for 
4811the first time.
4812
4813Code and Data Size: Current and previous core subsystem library sizes are 
4814shown below. These are the code and data sizes for the acpica.lib produced 
4815by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4816any ACPI driver or OSPM code. The debug version of the code includes the 
4817debug output trace mechanism and has a much larger code and data size. Note 
4818that these values will vary depending on the efficiency of the compiler and 
4819the compiler options used during generation.
4820
4821  Previous Release:
4822    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
4823    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
4824  Current Release:
4825    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
4826    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
4827
48282) iASL Compiler/Disassembler:
4829
4830Switch/Case support: A warning is now issued if the type of the Switch value 
4831cannot be determined at compile time. For example, Switch(Arg0) will 
4832generate the warning, and the type is assumed to be an integer. As per the 
4833ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
4834warning.
4835
4836Switch/Case support: Implemented support for buffer and string objects as 
4837the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
4838buffers and strings.
4839
4840Switch/Case support: The emitted code for the LEqual() comparisons now uses 
4841the switch value as the first operand, not the second. The case value is now 
4842the second operand, and this allows the case value to be implicitly 
4843converted to the type of the switch value, not the other way around.
4844
4845Switch/Case support: Temporary variables are now emitted immediately within 
4846the control method, not at the global level. This means that there are now 
484736 temps available per-method, not 36 temps per-module as was the case with 
4848the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
4849
4850----------------------------------------
485114 January 2005.  Summary of changes for version 20050114:
4852
4853Added 2005 copyright to all module headers.  This affects every module in 
4854the core subsystem, iASL compiler, and the utilities.
4855
48561) ACPI CA Core Subsystem:
4857
4858Fixed an issue with the String-to-Buffer conversion code where the string 
4859null terminator was not included in the buffer after conversion, but there 
4860is existing ASL that assumes the string null terminator is included. This is 
4861the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
4862introduced in the previous version when the code was updated to correctly 
4863set the converted buffer size as per the ACPI specification. The ACPI spec 
4864is ambiguous and will be updated to specify that the null terminator must be 
4865included in the converted buffer. This also affects the ToBuffer() ASL 
4866operator.
4867
4868Fixed a problem with the Mid() ASL/AML operator where it did not work 
4869correctly on Buffer objects. Newly created sub-buffers were not being marked 
4870as initialized.
4871
4872
4873Fixed a problem in AcpiTbFindTable where incorrect string compares were 
4874performed on the OemId and OemTableId table header fields.  These fields are 
4875not null terminated, so strncmp is now used instead of strcmp.
4876
4877Implemented a restriction on the Store() ASL/AML operator to align the 
4878behavior with the ACPI specification.  Previously, any object could be used 
4879as the source operand.  Now, the only objects that may be used are Integers, 
4880Buffers, Strings, Packages, Object References, and DDB Handles.  If 
4881necessary, the original behavior can be restored by enabling the 
4882EnableInterpreterSlack flag.
4883
4884Enhanced the optional "implicit return" support to allow an implicit return 
4885value from methods that are invoked externally via the AcpiEvaluateObject 
4886interface.  This enables implicit returns from the _STA and _INI methods, 
4887for example.
4888
4889Changed the Revision() ASL/AML operator to return the current version of the 
4890AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
4891the supported ACPI version (This is the function of the _REV method).
4892
4893Updated the _REV predefined method to return the currently supported version 
4894of ACPI, now 3.
4895
4896Implemented batch mode option for the AcpiExec utility (-b).
4897
4898Code and Data Size: Current and previous core subsystem library sizes are 
4899shown below. These are the code and data sizes for the acpica.lib produced 
4900by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4901any ACPI driver or OSPM code. The debug version of the code includes the 
4902debug output trace mechanism and has a much larger code and data size. Note 
4903that these values will vary depending on the efficiency of the compiler and 
4904the compiler options used during generation.
4905
4906  Previous Release:
4907    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
4908    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
4909  Current Release:
4910    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
4911    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
4912
4913----------------------------------------
491410 December 2004.  Summary of changes for version 20041210:
4915
4916ACPI 3.0 support is nearing completion in both the iASL compiler and the 
4917ACPI CA core subsystem.
4918
49191) ACPI CA Core Subsystem:
4920
4921Fixed a problem in the ToDecimalString operator where the resulting string 
4922length was incorrectly calculated. The length is now calculated exactly, 
4923eliminating incorrect AE_STRING_LIMIT exceptions.
4924
4925Fixed a problem in the ToHexString operator to allow a maximum 200 character 
4926string to be produced.
4927
4928Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
4929routine where the length of the resulting buffer was not truncated to the 
4930new size (if the target buffer already existed).
4931
4932Code and Data Size: Current and previous core subsystem library sizes are 
4933shown below. These are the code and data sizes for the acpica.lib produced 
4934by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4935any ACPI driver or OSPM code. The debug version of the code includes the 
4936debug output trace mechanism and has a much larger code and data size. Note 
4937that these values will vary depending on the efficiency of the compiler and 
4938the compiler options used during generation.
4939
4940  Previous Release:
4941    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
4942    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
4943  Current Release:
4944    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
4945    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
4946
4947
49482) iASL Compiler/Disassembler:
4949
4950Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
4951ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
4952Includes support in the disassembler.
4953
4954Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
4955AccessSize.
4956
4957Fixed a problem where the _HE resource name for the Interrupt macro was 
4958referencing bit 0 instead of bit 1.
4959
4960Implemented check for maximum 255 interrupts in the Interrupt macro.
4961
4962Fixed a problem with the predefined resource descriptor names where 
4963incorrect AML code was generated if the offset within the resource buffer 
4964was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
4965but did not update the surrounding package lengths.
4966
4967Changes to the Dma macro:  All channels within the channel list must be in 
4968the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
4969optional (default is BusMaster).
4970
4971Implemented check for maximum 7 data bytes for the VendorShort macro.
4972
4973The ReadWrite parameter is now optional for the Memory32 and similar macros.
4974
4975----------------------------------------
497603 December 2004.  Summary of changes for version 20041203:
4977
49781) ACPI CA Core Subsystem:
4979
4980The low-level field insertion/extraction code (exfldio) has been completely 
4981rewritten to eliminate unnecessary complexity, bugs, and boundary 
4982conditions.
4983
4984Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
4985operators where the input operand could be inadvertently deleted if no 
4986conversion was necessary (e.g., if the input to ToInteger was an Integer 
4987object.)
4988
4989Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
4990exception code was returned if the resulting string would be > 200 chars.  
4991AE_STRING_LIMIT is now returned.
4992
4993Fixed a problem with the Concatenate operator where AE_OK was always 
4994returned, even if the operation failed.
4995
4996Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
4997semaphores to be allocated.
4998
4999Code and Data Size: Current and previous core subsystem library sizes are 
5000shown below. These are the code and data sizes for the acpica.lib produced 
5001by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5002any ACPI driver or OSPM code. The debug version of the code includes the 
5003debug output trace mechanism and has a much larger code and data size. Note 
5004that these values will vary depending on the efficiency of the compiler and 
5005the compiler options used during generation.
5006
5007  Previous Release:
5008    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5009    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5010  Current Release:
5011    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5012    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5013
5014
50152) iASL Compiler/Disassembler:
5016
5017Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
5018recently introduced in 20041119.
5019
5020Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
5021byte was inadvertently set to zero.
5022
5023----------------------------------------
502419 November 2004.  Summary of changes for version 20041119:
5025
50261) ACPI CA Core Subsystem:
5027
5028Fixed a problem in the internal ConvertToInteger routine where new integers 
5029were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
5030buffers and strings to integers.
5031
5032Implemented support to store a value to an Index() on a String object. This 
5033is an ACPI 2.0 feature that had not yet been implemented.
5034
5035Implemented new behavior for storing objects to individual package elements 
5036(via the Index() operator). The previous behavior was to invoke the implicit 
5037conversion rules if an object was already present at the index.  The new 
5038behavior is to simply delete any existing object and directly store the new 
5039object. Although the ACPI specification seems unclear on this subject, other 
5040ACPI implementations behave in this manner.  (This is the root of the 
5041AE_BAD_HEX_CONSTANT issue.)
5042
5043Modified the RSDP memory scan mechanism to support the extended checksum for 
5044ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
5045RSDP signature is found with a valid checksum.
5046
5047Code and Data Size: Current and previous core subsystem library sizes are 
5048shown below. These are the code and data sizes for the acpica.lib produced 
5049by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5050any ACPI driver or OSPM code. The debug version of the code includes the 
5051debug output trace mechanism and has a much larger code and data size. Note 
5052that these values will vary depending on the efficiency of the compiler and 
5053the compiler options used during generation.
5054
5055  Previous Release:
5056    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5057    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5058  Current Release:
5059    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5060    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5061
5062
50632) iASL Compiler/Disassembler:
5064
5065Fixed a missing semicolon in the aslcompiler.y file.
5066
5067----------------------------------------
506805 November 2004.  Summary of changes for version 20041105:
5069
50701) ACPI CA Core Subsystem:
5071
5072Implemented support for FADT revision 2.  This was an interim table (between 
5073ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
5074
5075Implemented optional support to allow uninitialized LocalX and ArgX 
5076variables in a control method.  The variables are initialized to an Integer 
5077object with a value of zero.  This support is enabled by setting the 
5078AcpiGbl_EnableInterpreterSlack flag to TRUE.
5079
5080Implemented support for Integer objects for the SizeOf operator.  Either 4 
5081or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
5082depending on the parent table revision).
5083
5084Fixed a problem in the implementation of the SizeOf and ObjectType operators 
5085where the operand was resolved to a value too early, causing incorrect 
5086return values for some objects.
5087
5088Fixed some possible memory leaks during exceptional conditions.
5089
5090Code and Data Size: Current and previous core subsystem library sizes are 
5091shown below. These are the code and data sizes for the acpica.lib produced 
5092by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5093any ACPI driver or OSPM code. The debug version of the code includes the 
5094debug output trace mechanism and has a much larger code and data size. Note 
5095that these values will vary depending on the efficiency of the compiler and 
5096the compiler options used during generation.
5097
5098  Previous Release:
5099    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5100    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5101  Current Release:
5102    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5103    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5104
5105
51062) iASL Compiler/Disassembler:
5107
5108Implemented support for all ACPI 3.0 reserved names and methods.
5109
5110Implemented all ACPI 3.0 grammar elements in the front-end, including 
5111support for semicolons.
5112
5113Implemented the ACPI 3.0 Function() and ToUUID() macros
5114
5115Fixed a problem in the disassembler where a Scope() operator would not be 
5116emitted properly if the target of the scope was in another table.
5117
5118----------------------------------------
511915 October 2004.  Summary of changes for version 20041015:
5120
5121Note:  ACPI CA is currently undergoing an in-depth and complete formal 
5122evaluation to test/verify the following areas. Other suggestions are 
5123welcome. This will result in an increase in the frequency of releases and 
5124the number of bug fixes in the next few months.
5125  - Functional tests for all ASL/AML operators
5126  - All implicit/explicit type conversions
5127  - Bit fields and operation regions
5128  - 64-bit math support and 32-bit-only "truncated" math support
5129  - Exceptional conditions, both compiler and interpreter
5130  - Dynamic object deletion and memory leaks
5131  - ACPI 3.0 support when implemented
5132  - External interfaces to the ACPI subsystem
5133
5134
51351) ACPI CA Core Subsystem:
5136
5137Fixed two alignment issues on 64-bit platforms - within debug statements in 
5138AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
5139field within the non-aligned ACPI generic address structure.
5140
5141Fixed a problem in the Increment and Decrement operators where incorrect 
5142operand resolution could result in the inadvertent modification of the 
5143original integer when the integer is passed into another method as an 
5144argument and the arg is then incremented/decremented.
5145
5146Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
5147BCD number were truncated during conversion.
5148
5149Fixed a problem in the ToDecimal operator where the length of the resulting 
5150string could be set incorrectly too long if the input operand was a Buffer 
5151object.
5152
5153Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
5154within a buffer would prematurely terminate a compare between buffer 
5155objects.
5156
5157Added a check for string overflow (>200 characters as per the ACPI 
5158specification) during the Concatenate operator with two string operands.
5159
5160Code and Data Size: Current and previous core subsystem library sizes are 
5161shown below. These are the code and data sizes for the acpica.lib produced 
5162by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5163any ACPI driver or OSPM code. The debug version of the code includes the 
5164debug output trace mechanism and has a much larger code and data size. Note 
5165that these values will vary depending on the efficiency of the compiler and 
5166the compiler options used during generation.
5167
5168  Previous Release:
5169    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5170    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5171  Current Release:
5172    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5173    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5174
5175
5176
51772) iASL Compiler/Disassembler:
5178
5179Allow the use of the ObjectType operator on uninitialized Locals and Args 
5180(returns 0 as per the ACPI specification).
5181
5182Fixed a problem where the compiler would fault if there was a syntax error 
5183in the FieldName of all of the various CreateXXXField operators.
5184
5185Disallow the use of lower case letters within the EISAID macro, as per the 
5186ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
5187U is an uppercase letter and N is a hex digit.
5188
5189
5190----------------------------------------
519106 October 2004.  Summary of changes for version 20041006:
5192
51931) ACPI CA Core Subsystem:
5194
5195Implemented support for the ACPI 3.0 Timer operator. This ASL function 
5196implements a 64-bit timer with 100 nanosecond granularity.
5197
5198Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
5199implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
5200the timer with the best clock available. Also, it keeps the core subsystem 
5201out of the clock handling business, since the host OS (usually) performs 
5202this function.
5203
5204Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
5205functions use a 64-bit address which is part of the packed ACPI Generic 
5206Address Structure. Since the structure is non-aligned, the alignment macros 
5207are now used to extract the address to a local variable before use.
5208
5209Fixed a problem where the ToInteger operator assumed all input strings were 
5210hexadecimal. The operator now handles both decimal strings and hex strings 
5211(prefixed with "0x").
5212
5213Fixed a problem where the string length in the string object created as a 
5214result of the internal ConvertToString procedure could be incorrect. This 
5215potentially affected all implicit conversions and also the ToDecimalString 
5216and ToHexString operators.
5217
5218Fixed two problems in the ToString operator. If the length parameter was 
5219zero, an incorrect string object was created and the value of the input 
5220length parameter was inadvertently changed from zero to Ones.
5221
5222Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
5223resource macro was ignored.
5224
5225Simplified the interfaces to the internal division functions, reducing code 
5226size and complexity.
5227
5228Code and Data Size: Current and previous core subsystem library sizes are 
5229shown below. These are the code and data sizes for the acpica.lib produced 
5230by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5231any ACPI driver or OSPM code. The debug version of the code includes the 
5232debug output trace mechanism and has a much larger code and data size. Note 
5233that these values will vary depending on the efficiency of the compiler and 
5234the compiler options used during generation.
5235
5236  Previous Release:
5237    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5238    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5239  Current Release:
5240    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5241    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5242
5243
52442) iASL Compiler/Disassembler:
5245
5246Implemented support for the ACPI 3.0 Timer operator.
5247
5248Fixed a problem where the Default() operator was inadvertently ignored in a 
5249Switch/Case block.  This was a problem in the translation of the Switch 
5250statement to If...Else pairs.
5251
5252Added support to allow a standalone Return operator, with no parentheses (or 
5253operands).
5254
5255Fixed a problem with code generation for the ElseIf operator where the 
5256translated Else...If parse tree was improperly constructed leading to the 
5257loss of some code.
5258
5259----------------------------------------
526022 September 2004.  Summary of changes for version 20040922:
5261
52621) ACPI CA Core Subsystem:
5263
5264Fixed a problem with the implementation of the LNot() operator where "Ones" 
5265was not returned for the TRUE case. Changed the code to return Ones instead 
5266of (!Arg) which was usually 1. This change affects iASL constant folding for 
5267this operator also.
5268
5269Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
5270initialized properly -- Now zero the entire buffer in this case where the 
5271buffer already exists.
5272
5273Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
5274Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
5275related code considerably. This will require changes/updates to all OS 
5276interface layers (OSLs.)
5277
5278Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
5279a system exception handler to be installed. This handler is invoked upon any 
5280run-time exception that occurs during control method execution.
5281
5282Added support for the DSDT in AcpiTbFindTable. This allows the 
5283DataTableRegion() operator to access the local copy of the DSDT.
5284
5285Code and Data Size: Current and previous core subsystem library sizes are 
5286shown below. These are the code and data sizes for the acpica.lib produced 
5287by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5288any ACPI driver or OSPM code. The debug version of the code includes the 
5289debug output trace mechanism and has a much larger code and data size. Note 
5290that these values will vary depending on the efficiency of the compiler and 
5291the compiler options used during generation.
5292
5293  Previous Release:
5294    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5295    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5296  Current Release:
5297    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5298    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5299
5300
53012) iASL Compiler/Disassembler:
5302
5303Fixed a problem with constant folding and the LNot operator. LNot was 
5304returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
5305could result in the generation of an incorrect folded/reduced constant.
5306
5307End-Of-File is now allowed within a "//"-style comment.  A parse error no 
5308longer occurs if such a comment is at the very end of the input ASL source 
5309file.
5310
5311Implemented the "-r" option to override the Revision in the table header. 
5312The initial use of this option will be to simplify the evaluation of the AML 
5313interpreter by allowing a single ASL source module to be compiled for either 
531432-bit or 64-bit integers.
5315
5316
5317----------------------------------------
531827 August 2004.  Summary of changes for version 20040827:
5319
53201) ACPI CA Core Subsystem:
5321
5322- Implemented support for implicit object conversion in the non-numeric 
5323logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
5324LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
5325the second operand is implicitly converted on the fly to match the type of 
5326the first operand.  For example:
5327
5328    LEqual (Source1, Source2)
5329
5330Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
5331The data type of Source1 dictates the required type of Source2. Source2 is 
5332implicitly converted if necessary to match the type of Source1.
5333
5334- Updated and corrected the behavior of the string conversion support.  The 
5335rules concerning conversion of buffers to strings (according to the ACPI 
5336specification) are as follows:
5337
5338ToDecimalString - explicit byte-wise conversion of buffer to string of 
5339decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
5340conversion of buffer to string of hex values (0-FF) separated by commas. 
5341ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
5342copy with no transform except NULL terminated. Any other implicit buffer-to-
5343string conversion - byte-wise conversion of buffer to string of hex values 
5344(0-FF) separated by spaces.
5345
5346- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
5347
5348- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
5349one byte too short in the case of a node in the root scope.  This could 
5350cause a fault during debug output.
5351
5352- Code and Data Size: Current and previous core subsystem library sizes are 
5353shown below.  These are the code and data sizes for the acpica.lib produced 
5354by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5355any ACPI driver or OSPM code.  The debug version of the code includes the 
5356debug output trace mechanism and has a much larger code and data size.  Note 
5357that these values will vary depending on the efficiency of the compiler and 
5358the compiler options used during generation.
5359
5360  Previous Release:
5361    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5362    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5363  Current Release:
5364    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5365    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5366
5367
53682) iASL Compiler/Disassembler:
5369
5370- Fixed a Linux generation error.
5371
5372
5373----------------------------------------
537416 August 2004.  Summary of changes for version 20040816:
5375
53761) ACPI CA Core Subsystem:
5377
5378Designed and implemented support within the AML interpreter for the so-
5379called "implicit return".  This support returns the result of the last ASL 
5380operation within a control method, in the absence of an explicit Return() 
5381operator.  A few machines depend on this behavior, even though it is not 
5382explicitly supported by the ASL language.  It is optional support that can 
5383be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
5384
5385Removed support for the PCI_Config address space from the internal low level 
5386hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
5387support was not used internally, and would not work correctly anyway because 
5388the PCI bus number and segment number were not supported.  There are 
5389separate interfaces for PCI configuration space access because of the unique 
5390interface.
5391
5392Code and Data Size: Current and previous core subsystem library sizes are 
5393shown below.  These are the code and data sizes for the acpica.lib produced 
5394by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5395any ACPI driver or OSPM code.  The debug version of the code includes the 
5396debug output trace mechanism and has a much larger code and data size.  Note 
5397that these values will vary depending on the efficiency of the compiler and 
5398the compiler options used during generation.
5399
5400  Previous Release:
5401    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5402    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5403  Current Release:
5404    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5405    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5406
5407
54082) iASL Compiler/Disassembler:
5409
5410Fixed a problem where constants in ASL expressions at the root level (not 
5411within a control method) could be inadvertently truncated during code 
5412generation.  This problem was introduced in the 20040715 release.
5413
5414
5415----------------------------------------
541615 July 2004.  Summary of changes for version 20040715:
5417
54181) ACPI CA Core Subsystem:
5419
5420Restructured the internal HW GPE interfaces to pass/track the current state 
5421of interrupts (enabled/disabled) in order to avoid possible deadlock and 
5422increase flexibility of the interfaces.
5423
5424Implemented a "lexicographical compare" for String and Buffer objects within 
5425the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
5426as per further clarification to the ACPI specification.  Behavior is similar 
5427to C library "strcmp".
5428
5429Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
5430external function.  In the 32-bit non-debug case, the stack use has been 
5431reduced from 168 bytes to 32 bytes.
5432
5433Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
5434whose purpose is to allow the AML interpreter to forgive certain bad AML 
5435constructs.  Default setting is FALSE.
5436
5437Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
5438support code.  If enabled, it allows field access to go beyond the end of a 
5439region definition if the field is within the region length rounded up to the 
5440next access width boundary (a common coding error.)
5441
5442Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
5443ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
5444symbols are lowercased by the latest version of the AcpiSrc tool.
5445
5446The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
5447rename "Register" to simply "Reg" to prevent certain compilers from 
5448complaining.
5449
5450Code and Data Size: Current and previous core subsystem library sizes are 
5451shown below.  These are the code and data sizes for the acpica.lib produced 
5452by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5453any ACPI driver or OSPM code.  The debug version of the code includes the 
5454debug output trace mechanism and has a much larger code and data size.  Note 
5455that these values will vary depending on the efficiency of the compiler and 
5456the compiler options used during generation.
5457
5458  Previous Release:
5459    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5460    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5461  Current Release:
5462    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5463    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5464
5465
54662) iASL Compiler/Disassembler:
5467
5468Implemented full support for Package objects within the Case() operator.  
5469Note: The Break() operator is currently not supported within Case blocks 
5470(TermLists) as there is some question about backward compatibility with ACPI 
54711.0 interpreters.
5472
5473
5474Fixed a problem where complex terms were not supported properly within the 
5475Switch() operator.
5476
5477Eliminated extraneous warning for compiler-emitted reserved names of the 
5478form "_T_x".  (Used in Switch/Case operators.)
5479
5480Eliminated optimization messages for "_T_x" objects and small constants 
5481within the DefinitionBlock operator.
5482
5483
5484----------------------------------------
548515 June 2004.  Summary of changes for version 20040615:
5486
54871) ACPI CA Core Subsystem:
5488
5489Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
5490following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5491LLessEqual.
5492
5493All directory names in the entire source package are lower case, as they 
5494were in earlier releases.
5495
5496Implemented "Disassemble" command in the AML debugger that will disassemble 
5497a single control method.
5498
5499Code and Data Size: Current and previous core subsystem library sizes are 
5500shown below.  These are the code and data sizes for the acpica.lib produced 
5501by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5502any ACPI driver or OSPM code.  The debug version of the code includes the 
5503debug output trace mechanism and has a much larger code and data size.  Note 
5504that these values will vary depending on the efficiency of the compiler and 
5505the compiler options used during generation.
5506
5507  Previous Release:
5508    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5509    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5510
5511  Current Release:
5512    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5513    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5514
5515
55162) iASL Compiler/Disassembler:
5517
5518Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
5519following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5520LLessEqual.
5521
5522All directory names in the entire source package are lower case, as they 
5523were in earlier releases.
5524
5525Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
5526not found.
5527
5528Fixed an issue with the Windows version of the compiler where later versions 
5529of Windows place the FADT in the registry under the name "FADT" and not 
5530"FACP" as earlier versions did.  This applies when using the -g or -
5531d<nofilename> options.  The compiler now looks for both strings as 
5532necessary.
5533
5534Fixed a problem with compiler namepath optimization where a namepath within 
5535the Scope() operator could not be optimized if the namepath was a subpath of 
5536the current scope path.
5537
5538----------------------------------------
553927 May 2004.  Summary of changes for version 20040527:
5540
55411) ACPI CA Core Subsystem:
5542
5543Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
5544support in the RSDP scan code.  The original code improperly scanned for the 
5545EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
5546is to first obtain the EBDA pointer from within the BIOS data area, then 
5547scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
5548any machines that place the RSDP in the EBDA, however.
5549
5550Integrated a fix for a possible fault during evaluation of BufferField 
5551arguments.  Obsolete code that was causing the problem was removed.
5552
5553Found and fixed a problem in the Field Support Code where data could be 
5554corrupted on a bit field read that starts on an aligned boundary but does 
5555not end on an aligned boundary.  Merged the read/write "datum length" 
5556calculation code into a common procedure.
5557
5558Rolled in a couple of changes to the FreeBSD-specific header.
5559
5560
5561Code and Data Size: Current and previous core subsystem library sizes are 
5562shown below.  These are the code and data sizes for the acpica.lib produced 
5563by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5564any ACPI driver or OSPM code.  The debug version of the code includes the 
5565debug output trace mechanism and has a much larger code and data size.  Note 
5566that these values will vary depending on the efficiency of the compiler and 
5567the compiler options used during generation.
5568
5569  Previous Release:
5570    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5571    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5572  Current Release:
5573    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5574    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5575
5576
55772) iASL Compiler/Disassembler:
5578
5579Fixed a generation warning produced by some overly-verbose compilers for a 
558064-bit constant.
5581
5582----------------------------------------
558314 May 2004.  Summary of changes for version 20040514:
5584
55851) ACPI CA Core Subsystem:
5586
5587Fixed a problem where hardware GPE enable bits sometimes not set properly 
5588during and after GPE method execution.  Result of 04/27 changes.
5589
5590Removed extra "clear all GPEs" when sleeping/waking.
5591
5592Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
5593AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
5594the new AcpiEv* calls as appropriate.
5595
5596ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
5597now "Microsoft Windows NT" for maximum compatibility.  However this can be 
5598changed by modifying the acconfig.h file.
5599
5600Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
5601traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
5602
5603Run _INI methods on ThermalZone objects.  This is against the ACPI 
5604specification, but there is apparently ASL code in the field that has these 
5605_INI methods, and apparently "other" AML interpreters execute them.
5606
5607Performed a full 16/32/64 bit lint that resulted in some small changes.
5608
5609Added a sleep simulation command to the AML debugger to test sleep code. 
5610
5611Code and Data Size: Current and previous core subsystem library sizes are 
5612shown below.  These are the code and data sizes for the acpica.lib produced 
5613by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5614any ACPI driver or OSPM code.  The debug version of the code includes the 
5615debug output trace mechanism and has a much larger code and data size.  Note 
5616that these values will vary depending on the efficiency of the compiler and 
5617the compiler options used during generation.
5618
5619  Previous Release:
5620    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5621    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5622  Current Release:
5623    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5624    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5625
5626----------------------------------------
562727 April 2004.  Summary of changes for version 20040427:
5628
56291) ACPI CA Core Subsystem:
5630
5631Completed a major overhaul of the GPE handling within ACPI CA.  There are 
5632now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
5633The only GPEs allowed to be combination wake/run are for button-style 
5634devices such as a control-method power button, control-method sleep button, 
5635or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
5636referenced by any _PRW methods are marked for "runtime" and hardware 
5637enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
5638(and disabled at runtime).  However, at sleep time, only those GPEs that 
5639have been specifically enabled for wake via the AcpiEnableGpe interface will 
5640actually be hardware enabled.
5641
5642A new external interface has been added, AcpiSetGpeType(), that is meant to 
5643be used by device drivers to force a GPE to a particular type.  It will be 
5644especially useful for the drivers for the button devices mentioned above.
5645
5646Completed restructuring of the ACPI CA initialization sequence so that 
5647default operation region handlers are installed before GPEs are initialized 
5648and the _PRW methods are executed.  This will prevent errors when the _PRW 
5649methods attempt to access system memory or I/O space.
5650
5651GPE enable/disable no longer reads the GPE enable register.  We now keep the 
5652enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
5653thus no longer depend on the hardware to maintain these bits.
5654
5655Always clear the wake status and fixed/GPE status bits before sleep, even 
5656for state S5.
5657
5658Improved the AML debugger output for displaying the GPE blocks and their 
5659current status.
5660
5661Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
5662x = 0,1,2,3,4.
5663
5664Fixed a problem where the physical address was incorrectly calculated when 
5665the Load() operator was used to directly load from an Operation Region (vs. 
5666loading from a Field object.)  Also added check for minimum table length for 
5667this case.
5668
5669Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
5670mutex release.
5671
5672Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
5673consistency with the other fields returned.
5674
5675Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
5676structure for each GPE in the system, so the size of this structure is 
5677important.
5678
5679CPU stack requirement reduction:  Cleaned up the method execution and object 
5680evaluation paths so that now a parameter structure is passed, instead of 
5681copying the various method parameters over and over again.
5682
5683In evregion.c:  Correctly exit and reenter the interpreter region if and 
5684only if dispatching an operation region request to a user-installed handler.  
5685Do not exit/reenter when dispatching to a default handler (e.g., default 
5686system memory or I/O handlers)
5687
5688
5689Notes for updating drivers for the new GPE support.  The following changes 
5690must be made to ACPI-related device drivers that are attached to one or more 
5691GPEs: (This information will be added to the ACPI CA Programmer Reference.)
5692
56931) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
5694explicitly call AcpiEnableGpe.
56952) There is a new interface called AcpiSetGpeType. This should be called 
5696before enabling the GPE.  Also, this interface will automatically disable 
5697the GPE if it is currently enabled.
56983) AcpiEnableGpe no longer supports a GPE type flag.
5699
5700Specific drivers that must be changed:
57011) EC driver:
5702    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
5703AeGpeHandler, NULL);
5704    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
5705    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
5706
57072) Button Drivers (Power, Lid, Sleep):
5708Run _PRW method under parent device
5709If _PRW exists: /* This is a control-method button */
5710    Extract GPE number and possibly GpeDevice
5711    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
5712    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
5713
5714For all other devices that have _PRWs, we automatically set the GPE type to 
5715ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
5716must be done on a selective basis, usually requiring some kind of user app 
5717to allow the user to pick the wake devices.
5718
5719
5720Code and Data Size: Current and previous core subsystem library sizes are 
5721shown below.  These are the code and data sizes for the acpica.lib produced 
5722by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5723any ACPI driver or OSPM code.  The debug version of the code includes the 
5724debug output trace mechanism and has a much larger code and data size.  Note 
5725that these values will vary depending on the efficiency of the compiler and 
5726the compiler options used during generation.
5727
5728  Previous Release:
5729    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5730    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5731  Current Release:
5732
5733    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5734    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5735
5736
5737
5738----------------------------------------
573902 April 2004.  Summary of changes for version 20040402:
5740
57411) ACPI CA Core Subsystem:
5742
5743Fixed an interpreter problem where an indirect store through an ArgX 
5744parameter was incorrectly applying the "implicit conversion rules" during 
5745the store.  From the ACPI specification: "If the target is a method local or 
5746argument (LocalX or ArgX), no conversion is performed and the result is 
5747stored directly to the target".  The new behavior is to disable implicit 
5748conversion during ALL stores to an ArgX.
5749
5750Changed the behavior of the _PRW method scan to ignore any and all errors 
5751returned by a given _PRW.  This prevents the scan from aborting from the 
5752failure of any single _PRW.
5753
5754Moved the runtime configuration parameters from the global init procedure to 
5755static variables in acglobal.h.  This will allow the host to override the 
5756default values easily.
5757
5758Code and Data Size: Current and previous core subsystem library sizes are 
5759shown below.  These are the code and data sizes for the acpica.lib produced 
5760by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5761any ACPI driver or OSPM code.  The debug version of the code includes the 
5762debug output trace mechanism and has a much larger code and data size.  Note 
5763that these values will vary depending on the efficiency of the compiler and 
5764the compiler options used during generation.
5765
5766  Previous Release:
5767    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
5768    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
5769  Current Release:
5770    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5771    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5772
5773
57742) iASL Compiler/Disassembler:
5775
5776iASL now fully disassembles SSDTs.  However, External() statements are not 
5777generated automatically for unresolved symbols at this time.  This is a 
5778planned feature for future implementation.
5779
5780Fixed a scoping problem in the disassembler that occurs when the type of the 
5781target of a Scope() operator is overridden.  This problem caused an 
5782incorrectly nested internal namespace to be constructed.
5783
5784Any warnings or errors that are emitted during disassembly are now commented 
5785out automatically so that the resulting file can be recompiled without any 
5786hand editing.
5787
5788----------------------------------------
578926 March 2004.  Summary of changes for version 20040326:
5790
57911) ACPI CA Core Subsystem:
5792
5793Implemented support for "wake" GPEs via interaction between GPEs and the 
5794_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
5795identified as a WAKE GPE and by default will no longer be enabled at 
5796runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
5797_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
5798believe this has been the cause of thousands of "spurious" GPEs on some 
5799systems.
5800
5801This new GPE behavior is can be reverted to the original behavior (enable 
5802ALL GPEs at runtime) via a runtime flag.
5803
5804Fixed a problem where aliased control methods could not access objects 
5805properly.  The proper scope within the namespace was not initialized 
5806(transferred to the target of the aliased method) before executing the 
5807target method.
5808
5809Fixed a potential race condition on internal object deletion on the return 
5810object in AcpiEvaluateObject. 
5811
5812Integrated a fix for resource descriptors where both _MEM and _MTP were 
5813being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
5814wide, 0x0F instead of 0x03.)
5815
5816Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
5817fault in some cases.
5818
5819Updated Notify() values for debug statements in evmisc.c
5820
5821Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
5822
5823Code and Data Size: Current and previous core subsystem library sizes are 
5824shown below.  These are the code and data sizes for the acpica.lib produced 
5825by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5826any ACPI driver or OSPM code.  The debug version of the code includes the 
5827debug output trace mechanism and has a much larger code and data size.  Note 
5828that these values will vary depending on the efficiency of the compiler and 
5829the compiler options used during generation.
5830
5831  Previous Release:
5832
5833    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
5834    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
5835  Current Release:
5836    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
5837    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
5838
5839----------------------------------------
584011 March 2004.  Summary of changes for version 20040311:
5841
58421) ACPI CA Core Subsystem:
5843
5844Fixed a problem where errors occurring during the parse phase of control 
5845method execution did not abort cleanly.  For example, objects created and 
5846installed in the namespace were not deleted.  This caused all subsequent 
5847invocations of the method to return the AE_ALREADY_EXISTS exception.
5848
5849Implemented a mechanism to force a control method to "Serialized" execution 
5850if the method attempts to create namespace objects. (The root of the 
5851AE_ALREADY_EXISTS problem.)
5852
5853Implemented support for the predefined _OSI "internal" control method.  
5854Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
5855"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
5856This feature will allow "other" operating systems to execute the fully 
5857tested, "Windows" code path through the ASL code
5858
5859Global Lock Support:  Now allows multiple acquires and releases with any 
5860internal thread.  Removed concept of "owning thread" for this special mutex.
5861
5862Fixed two functions that were inappropriately declaring large objects on the 
5863CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
5864method execution considerably.
5865
5866Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
5867S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
5868
5869Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
5870defined on the machine.
5871
5872Implemented two runtime options:  One to force all control method execution 
5873to "Serialized" to mimic Windows behavior, another to disable _OSI support 
5874if it causes problems on a given machine.
5875
5876Code and Data Size: Current and previous core subsystem library sizes are 
5877shown below.  These are the code and data sizes for the acpica.lib produced 
5878by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5879any ACPI driver or OSPM code.  The debug version of the code includes the 
5880debug output trace mechanism and has a much larger code and data size.  Note 
5881that these values will vary depending on the efficiency of the compiler and 
5882the compiler options used during generation.
5883
5884  Previous Release:
5885    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
5886    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
5887  Current Release:
5888    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
5889    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
5890
58912) iASL Compiler/Disassembler:
5892
5893Fixed an array size problem for FreeBSD that would cause the compiler to 
5894fault.
5895
5896----------------------------------------
589720 February 2004.  Summary of changes for version 20040220:
5898
5899
59001) ACPI CA Core Subsystem:
5901
5902Implemented execution of _SxD methods for Device objects in the 
5903GetObjectInfo interface.
5904
5905Fixed calls to _SST method to pass the correct arguments.
5906
5907Added a call to _SST on wake to restore to "working" state.
5908
5909Check for End-Of-Buffer failure case in the WalkResources interface.
5910
5911Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
5912structures to the beginning of the file.
5913
5914After wake, clear GPE status register(s) before enabling GPEs.
5915
5916After wake, clear/enable power button.  (Perhaps we should clear/enable all 
5917fixed events upon wake.)
5918
5919Fixed a couple of possible memory leaks in the Namespace manager.
5920
5921Integrated latest acnetbsd.h file.
5922
5923----------------------------------------
592411 February 2004.  Summary of changes for version 20040211:
5925
5926
59271) ACPI CA Core Subsystem:
5928
5929Completed investigation and implementation of the call-by-reference 
5930mechanism for control method arguments.
5931
5932Fixed a problem where a store of an object into an indexed package could 
5933fail if the store occurs within a different method than the method that 
5934created the package.
5935
5936Fixed a problem where the ToDecimal operator could return incorrect results.
5937
5938Fixed a problem where the CopyObject operator could fail on some of the more 
5939obscure objects (e.g., Reference objects.)
5940
5941Improved the output of the Debug object to display buffer, package, and 
5942index objects.
5943
5944Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
5945the expected result.
5946
5947Added permanent ACPI_REPORT_ERROR macros for all instances of the 
5948ACPI_AML_INTERNAL exception.
5949
5950Integrated latest version of acfreebsd.h
5951
5952----------------------------------------
595316 January 2004.  Summary of changes for version 20040116:
5954
5955The purpose of this release is primarily to update the copyright years in 
5956each module, thus causing a huge number of diffs.  There are a few small 
5957functional changes, however.
5958
59591) ACPI CA Core Subsystem:
5960
5961Improved error messages when there is a problem finding one or more of the 
5962required base ACPI tables
5963
5964Reintroduced the definition of APIC_HEADER in actbl.h
5965
5966Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
5967
5968Removed extraneous reference to NewObj in dsmthdat.c
5969
59702) iASL compiler
5971
5972Fixed a problem introduced in December that disabled the correct disassembly 
5973of Resource Templates
5974
5975
5976----------------------------------------
597703 December 2003.  Summary of changes for version 20031203:
5978
59791) ACPI CA Core Subsystem:
5980
5981Changed the initialization of Operation Regions during subsystem
5982init to perform two entire walks of the ACPI namespace; The first
5983to initialize the regions themselves, the second to execute the
5984_REG methods.  This fixed some interdependencies across _REG
5985methods found on some machines.
5986
5987Fixed a problem where a Store(Local0, Local1) could simply update
5988the object reference count, and not create a new copy of the
5989object if the Local1 is uninitialized.
5990
5991Implemented support for the _SST reserved method during sleep
5992transitions.
5993
5994Implemented support to clear the SLP_TYP and SLP_EN bits when
5995waking up, this is apparently required by some machines.
5996
5997When sleeping, clear the wake status only if SleepState is not S5.
5998
5999Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6000pointer arithmetic advanced a string pointer too far.
6001
6002Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6003could be returned if the requested table has not been loaded.
6004
6005Within the support for IRQ resources, restructured the handling of
6006the active and edge/level bits.
6007
6008Fixed a few problems in AcpiPsxExecute() where memory could be
6009leaked under certain error conditions.
6010
6011Improved error messages for the cases where the ACPI mode could
6012not be entered.
6013
6014Code and Data Size: Current and previous core subsystem library
6015sizes are shown below.  These are the code and data sizes for the
6016acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6017these values do not include any ACPI driver or OSPM code.  The
6018debug version of the code includes the debug output trace
6019mechanism and has a much larger code and data size.  Note that
6020these values will vary depending on the efficiency of the compiler
6021and the compiler options used during generation.
6022
6023  Previous Release (20031029):
6024    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6025    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6026  Current Release:
6027    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6028    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6029
60302) iASL Compiler/Disassembler:
6031
6032Implemented a fix for the iASL disassembler where a bad index was
6033generated.  This was most noticeable on 64-bit platforms
6034
6035
6036----------------------------------------
603729 October 2003.  Summary of changes for version 20031029:
6038
60391) ACPI CA Core Subsystem:
6040
6041
6042Fixed a problem where a level-triggered GPE with an associated
6043_Lxx control method was incorrectly cleared twice.
6044
6045Fixed a problem with the Field support code where an access can
6046occur beyond the end-of-region if the field is non-aligned but
6047extends to the very end of the parent region (resulted in an
6048AE_AML_REGION_LIMIT exception.)
6049
6050Fixed a problem with ACPI Fixed Events where an RT Clock handler
6051would not get invoked on an RTC event.  The RTC event bitmasks for
6052the PM1 registers were not being initialized properly.
6053
6054Implemented support for executing _STA and _INI methods for
6055Processor objects.  Although this is currently not part of the
6056ACPI specification, there is existing ASL code that depends on the
6057init-time execution of these methods.
6058
6059Implemented and deployed a GetDescriptorName function to decode
6060the various types of internal descriptors.  Guards against null
6061descriptors during debug output also.
6062
6063Implemented and deployed a GetNodeName function to extract the 4-
6064character namespace node name.  This function simplifies the debug
6065and error output, as well as guarding against null pointers during
6066output.
6067
6068Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
6069simplify the debug and error output of 64-bit integers.  This
6070macro replaces the HIDWORD and LODWORD macros for dumping these
6071integers.
6072
6073Updated the implementation of the Stall() operator to only call
6074AcpiOsStall(), and also return an error if the operand is larger
6075than 255.  This preserves the required behavior of not
6076relinquishing the processor, as would happen if AcpiOsSleep() was
6077called for "long stalls".
6078
6079Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
6080initialized are now treated as NOOPs.
6081
6082Cleaned up a handful of warnings during 64-bit generation.
6083
6084Fixed a reported error where and incorrect GPE number was passed
6085to the GPE dispatch handler.  This value is only used for error
6086output, however.  Used this opportunity to clean up and streamline
6087the GPE dispatch code.
6088
6089Code and Data Size: Current and previous core subsystem library
6090sizes are shown below.  These are the code and data sizes for the
6091acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6092these values do not include any ACPI driver or OSPM code.  The
6093
6094debug version of the code includes the debug output trace
6095mechanism and has a much larger code and data size.  Note that
6096these values will vary depending on the efficiency of the compiler
6097and the compiler options used during generation.
6098
6099  Previous Release (20031002):
6100    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6101    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6102  Current Release:
6103    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6104    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6105
6106
61072) iASL Compiler/Disassembler:
6108
6109Updated the iASL compiler to return an error if the operand to the
6110Stall() operator is larger than 255.
6111
6112
6113----------------------------------------
611402 October 2003.  Summary of changes for version 20031002:
6115
6116
61171) ACPI CA Core Subsystem:
6118
6119Fixed a problem with Index Fields where the index was not
6120incremented for fields that require multiple writes to the
6121index/data registers (Fields that are wider than the data
6122register.)
6123
6124Fixed a problem with all Field objects where a write could go
6125beyond the end-of-field if the field was larger than the access
6126granularity and therefore required multiple writes to complete the
6127request.  An extra write beyond the end of the field could happen
6128inadvertently.
6129
6130Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
6131would incorrectly be returned if the width of the Data Register
6132was larger than the specified field access width.
6133
6134Completed fixes for LoadTable() and Unload() and verified their
6135operation.  Implemented full support for the "DdbHandle" object
6136throughout the ACPI CA subsystem.
6137
6138Implemented full support for the MADT and ECDT tables in the ACPI
6139CA header files.  Even though these tables are not directly
6140consumed by ACPI CA, the header definitions are useful for ACPI
6141device drivers.
6142
6143Integrated resource descriptor fixes posted to the Linux ACPI
6144list.  This included checks for minimum descriptor length, and
6145support for trailing NULL strings within descriptors that have
6146optional string elements.
6147
6148Code and Data Size: Current and previous core subsystem library
6149sizes are shown below.  These are the code and data sizes for the
6150acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6151these values do not include any ACPI driver or OSPM code.  The
6152debug version of the code includes the debug output trace
6153mechanism and has a much larger code and data size.  Note that
6154these values will vary depending on the efficiency of the compiler
6155and the compiler options used during generation.
6156
6157  Previous Release (20030918):
6158    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6159    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6160  Current Release:
6161    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6162    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6163
6164
61652) iASL Compiler:
6166
6167Implemented detection of non-ASCII characters within the input
6168source ASL file.  This catches attempts to compile binary (AML)
6169files early in the compile, with an informative error message.
6170
6171Fixed a problem where the disassembler would fault if the output
6172filename could not be generated or if the output file could not be
6173opened.
6174
6175----------------------------------------
617618 September 2003.  Summary of changes for version 20030918:
6177
6178
61791) ACPI CA Core Subsystem:
6180
6181Found and fixed a longstanding problem with the late execution of
6182the various deferred AML opcodes (such as Operation Regions,
6183Buffer Fields, Buffers, and Packages).  If the name string
6184specified for the name of the new object placed the object in a
6185scope other than the current scope, the initialization/execution
6186of the opcode failed.  The solution to this problem was to
6187implement a mechanism where the late execution of such opcodes
6188does not attempt to lookup/create the name a second time in an
6189incorrect scope.  This fixes the "region size computed
6190incorrectly" problem.
6191
6192Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
6193Global Lock AE_BAD_PARAMETER error.
6194
6195Fixed several 64-bit issues with prototypes, casting and data
6196types.
6197
6198Removed duplicate prototype from acdisasm.h
6199
6200Fixed an issue involving EC Operation Region Detach (Shaohua Li)
6201
6202Code and Data Size: Current and previous core subsystem library
6203sizes are shown below.  These are the code and data sizes for the
6204acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6205these values do not include any ACPI driver or OSPM code.  The
6206debug version of the code includes the debug output trace
6207mechanism and has a much larger code and data size.  Note that
6208these values will vary depending on the efficiency of the compiler
6209and the compiler options used during generation.
6210
6211  Previous Release:
6212
6213    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6214    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6215  Current Release:
6216    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6217    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6218
6219
62202) Linux:
6221
6222Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
6223correct sleep time in seconds.
6224
6225----------------------------------------
622614 July 2003.  Summary of changes for version 20030619:
6227
62281) ACPI CA Core Subsystem:
6229
6230Parse SSDTs in order discovered, as opposed to reverse order
6231(Hrvoje Habjanic)
6232
6233Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
6234Klausner,
6235   Nate Lawson)
6236
6237
62382) Linux:
6239
6240Dynamically allocate SDT list (suggested by Andi Kleen)
6241
6242proc function return value cleanups (Andi Kleen)
6243
6244Correctly handle NMI watchdog during long stalls (Andrew Morton)
6245
6246Make it so acpismp=force works (reported by Andrew Morton)
6247
6248
6249----------------------------------------
625019 June 2003.  Summary of changes for version 20030619:
6251
62521) ACPI CA Core Subsystem:
6253
6254Fix To/FromBCD, eliminating the need for an arch-specific #define.
6255
6256Do not acquire a semaphore in the S5 shutdown path.
6257
6258Fix ex_digits_needed for 0. (Takayoshi Kochi)
6259
6260Fix sleep/stall code reversal. (Andi Kleen)
6261
6262Revert a change having to do with control method calling
6263semantics.
6264
62652) Linux:
6266
6267acpiphp update (Takayoshi Kochi)
6268
6269Export acpi_disabled for sonypi (Stelian Pop)
6270
6271Mention acpismp=force in config help
6272
6273Re-add acpitable.c and acpismp=force. This improves backwards
6274
6275compatibility and also cleans up the code to a significant degree.
6276
6277Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
6278
6279----------------------------------------
628022 May 2003.  Summary of changes for version 20030522:
6281
62821) ACPI CA Core Subsystem:
6283
6284Found and fixed a reported problem where an AE_NOT_FOUND error
6285occurred occasionally during _BST evaluation.  This turned out to
6286be an Owner ID allocation issue where a called method did not get
6287a new ID assigned to it.  Eventually, (after 64k calls), the Owner
6288ID UINT16 would wraparound so that the ID would be the same as the
6289caller's and the called method would delete the caller's
6290namespace.
6291
6292Implemented extended error reporting for control methods that are
6293aborted due to a run-time exception.  Output includes the exact
6294AML instruction that caused the method abort, a dump of the method
6295locals and arguments at the time of the abort, and a trace of all
6296nested control method calls.
6297
6298Modified the interpreter to allow the creation of buffers of zero
6299length from the AML code. Implemented new code to ensure that no
6300attempt is made to actually allocate a memory buffer (of length
6301zero) - instead, a simple buffer object with a NULL buffer pointer
6302and length zero is created.  A warning is no longer issued when
6303the AML attempts to create a zero-length buffer.
6304
6305Implemented a workaround for the "leading asterisk issue" in
6306_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
6307asterisk is automatically removed if present in any HID, UID, or
6308CID strings.  The iASL compiler will still flag this asterisk as
6309an error, however.
6310
6311Implemented full support for _CID methods that return a package of
6312multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
6313now additionally returns a device _CID list if present.  This
6314required a change to the external interface in order to pass an
6315ACPI_BUFFER object as a parameter since the _CID list is of
6316variable length.
6317
6318Fixed a problem with the new AE_SAME_HANDLER exception where
6319handler initialization code did not know about this exception.
6320
6321Code and Data Size: Current and previous core subsystem library
6322sizes are shown below.  These are the code and data sizes for the
6323acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6324these values do not include any ACPI driver or OSPM code.  The
6325debug version of the code includes the debug output trace
6326mechanism and has a much larger code and data size.  Note that
6327these values will vary depending on the efficiency of the compiler
6328and the compiler options used during generation.
6329
6330  Previous Release (20030509):
6331    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6332    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6333  Current Release:
6334    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6335    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6336
6337
63382) Linux:
6339
6340Fixed a bug in which we would reinitialize the ACPI interrupt
6341after it was already working, thus disabling all ACPI and the IRQs
6342for any other device sharing the interrupt. (Thanks to Stian
6343Jordet)
6344
6345Toshiba driver update (John Belmonte)
6346
6347Return only 0 or 1 for our interrupt handler status (Andrew
6348Morton)
6349
6350
63513) iASL Compiler:
6352
6353Fixed a reported problem where multiple (nested) ElseIf()
6354statements were not handled correctly by the compiler, resulting
6355in incorrect warnings and incorrect AML code.  This was a problem
6356in both the ASL parser and the code generator.
6357
6358
63594) Documentation:
6360
6361Added changes to existing interfaces, new exception codes, and new
6362text concerning reference count object management versus garbage
6363collection.
6364
6365----------------------------------------
636609 May 2003.  Summary of changes for version 20030509.
6367
6368
63691) ACPI CA Core Subsystem:
6370
6371Changed the subsystem initialization sequence to hold off
6372installation of address space handlers until the hardware has been
6373initialized and the system has entered ACPI mode.  This is because
6374the installation of space handlers can cause _REG methods to be
6375run.  Previously, the _REG methods could potentially be run before
6376ACPI mode was enabled.
6377
6378Fixed some memory leak issues related to address space handler and
6379notify handler installation.  There were some problems with the
6380reference count mechanism caused by the fact that the handler
6381objects are shared across several namespace objects.
6382
6383Fixed a reported problem where reference counts within the
6384namespace were not properly updated when named objects created by
6385method execution were deleted.
6386
6387Fixed a reported problem where multiple SSDTs caused a deletion
6388issue during subsystem termination.  Restructured the table data
6389structures to simplify the linked lists and the related code.
6390
6391Fixed a problem where the table ID associated with secondary
6392tables (SSDTs) was not being propagated into the namespace objects
6393created by those tables.  This would only present a problem for
6394tables that are unloaded at run-time, however.
6395
6396Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
6397type as the length parameter (instead of UINT32).
6398
6399Solved a long-standing problem where an ALREADY_EXISTS error
6400appears on various systems.  This problem could happen when there
6401are multiple PCI_Config operation regions under a single PCI root
6402bus.  This doesn't happen very frequently, but there are some
6403systems that do this in the ASL.
6404
6405Fixed a reported problem where the internal DeleteNode function
6406was incorrectly handling the case where a namespace node was the
6407first in the parent's child list, and had additional peers (not
6408the only child, but first in the list of children.)
6409
6410Code and Data Size: Current core subsystem library sizes are shown
6411below.  These are the code and data sizes for the acpica.lib
6412produced by the Microsoft Visual C++ 6.0 compiler, and these
6413values do not include any ACPI driver or OSPM code.  The debug
6414version of the code includes the debug output trace mechanism and
6415has a much larger code and data size.  Note that these values will
6416vary depending on the efficiency of the compiler and the compiler
6417options used during generation.
6418
6419  Previous Release
6420    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6421    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6422  Current Release:
6423    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6424    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6425
6426
64272) Linux:
6428
6429Allow ":" in OS override string (Ducrot Bruno)
6430
6431Kobject fix (Greg KH)
6432
6433
64343 iASL Compiler/Disassembler:
6435
6436Fixed a problem in the generation of the C source code files (AML
6437is emitted in C source statements for BIOS inclusion) where the
6438Ascii dump that appears within a C comment at the end of each line
6439could cause a compile time error if the AML sequence happens to
6440have an open comment or close comment sequence embedded.
6441
6442
6443----------------------------------------
644424 April 2003.  Summary of changes for version 20030424.
6445
6446
64471) ACPI CA Core Subsystem:
6448
6449Support for big-endian systems has been implemented.  Most of the
6450support has been invisibly added behind big-endian versions of the
6451ACPI_MOVE_* macros.
6452
6453Fixed a problem in AcpiHwDisableGpeBlock() and
6454AcpiHwClearGpeBlock() where an incorrect offset was passed to the
6455low level hardware write routine.  The offset parameter was
6456actually eliminated from the low level read/write routines because
6457they had become obsolete.
6458
6459Fixed a problem where a handler object was deleted twice during
6460the removal of a fixed event handler.
6461
6462
64632) Linux:
6464
6465A fix for SMP systems with link devices was contributed by
6466
6467Compaq's Dan Zink.
6468
6469(2.5) Return whether we handled the interrupt in our IRQ handler.
6470(Linux ISRs no longer return void, so we can propagate the handler
6471return value from the ACPI CA core back to the OS.)
6472
6473
6474
64753) Documentation:
6476
6477The ACPI CA Programmer Reference has been updated to reflect new
6478interfaces and changes to existing interfaces.
6479
6480----------------------------------------
648128 March 2003.  Summary of changes for version 20030328.
6482
64831) ACPI CA Core Subsystem:
6484
6485The GPE Block Device support has been completed.  New interfaces
6486are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
6487interfaces (enable, disable, clear, getstatus) have been split
6488into separate interfaces for Fixed Events and General Purpose
6489Events (GPEs) in order to support GPE Block Devices properly.
6490
6491Fixed a problem where the error message "Failed to acquire
6492semaphore" would appear during operations on the embedded
6493controller (EC).
6494
6495Code and Data Size: Current core subsystem library sizes are shown
6496below.  These are the code and data sizes for the acpica.lib
6497produced by the Microsoft Visual C++ 6.0 compiler, and these
6498values do not include any ACPI driver or OSPM code.  The debug
6499version of the code includes the debug output trace mechanism and
6500has a much larger code and data size.  Note that these values will
6501vary depending on the efficiency of the compiler and the compiler
6502options used during generation.
6503
6504  Previous Release
6505    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6506    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6507  Current Release:
6508    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6509    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6510
6511
6512----------------------------------------
651328 February 2003.  Summary of changes for version 20030228.
6514
6515
65161) ACPI CA Core Subsystem:
6517
6518The GPE handling and dispatch code has been completely overhauled
6519in preparation for support of GPE Block Devices (ID ACPI0006).
6520This affects internal data structures and code only; there should
6521be no differences visible externally.  One new file has been
6522added, evgpeblk.c
6523
6524The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
6525fields that are used to determine the GPE block lengths.  The
6526REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
6527structures are ignored.  This is per the ACPI specification but it
6528isn't very clear.  The full 256 Block 0/1 GPEs are now supported
6529(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
6530
6531In the SCI interrupt handler, removed the read of the PM1_CONTROL
6532register to look at the SCI_EN bit.  On some machines, this read
6533causes an SMI event and greatly slows down SCI events.  (This may
6534in fact be the cause of slow battery status response on some
6535systems.)
6536
6537Fixed a problem where a store of a NULL string to a package object
6538could cause the premature deletion of the object.  This was seen
6539during execution of the battery _BIF method on some systems,
6540resulting in no battery data being returned.
6541
6542Added AcpiWalkResources interface to simplify parsing of resource
6543lists.
6544
6545Code and Data Size: Current core subsystem library sizes are shown
6546below.  These are the code and data sizes for the acpica.lib
6547produced by the Microsoft Visual C++ 6.0 compiler, and these
6548values do not include any ACPI driver or OSPM code.  The debug
6549version of the code includes the debug output trace mechanism and
6550has a much larger code and data size.  Note that these values will
6551vary depending on the efficiency of the compiler and the compiler
6552options used during generation.
6553
6554  Previous Release
6555    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6556    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6557  Current Release:
6558    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6559    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6560
6561
65622) Linux
6563
6564S3 fixes (Ole Rohne)
6565
6566Update ACPI PHP driver with to use new acpi_walk_resource API
6567(Bjorn Helgaas)
6568
6569Add S4BIOS support (Pavel Machek)
6570
6571Map in entire table before performing checksum (John Stultz)
6572
6573Expand the mem= cmdline to allow the specification of reserved and
6574ACPI DATA blocks (Pavel Machek)
6575
6576Never use ACPI on VISWS
6577
6578Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
6579
6580Revert a change that allowed P_BLK lengths to be 4 or 5. This is
6581causing us to think that some systems support C2 when they really
6582don't.
6583
6584Do not count processor objects for non-present CPUs (Thanks to
6585Dominik Brodowski)
6586
6587
65883) iASL Compiler:
6589
6590Fixed a problem where ASL include files could not be found and
6591opened.
6592
6593Added support for the _PDC reserved name.
6594
6595
6596----------------------------------------
659722 January 2003.  Summary of changes for version 20030122.
6598
6599
66001) ACPI CA Core Subsystem:
6601
6602Added a check for constructs of the form:  Store (Local0, Local0)
6603where Local0 is not initialized.  Apparently, some BIOS
6604programmers believe that this is a NOOP.  Since this store doesn't
6605do anything anyway, the new prototype behavior will ignore this
6606error.  This is a case where we can relax the strict checking in
6607the interpreter in the name of compatibility.
6608
6609
66102) Linux
6611
6612The AcpiSrc Source Conversion Utility has been released with the
6613Linux package for the first time.  This is the utility that is
6614used to convert the ACPI CA base source code to the Linux version.
6615
6616(Both) Handle P_BLK lengths shorter than 6 more gracefully
6617
6618(Both) Move more headers to include/acpi, and delete an unused
6619header.
6620
6621(Both) Move drivers/acpi/include directory to include/acpi
6622
6623(Both) Boot functions don't use cmdline, so don't pass it around
6624
6625(Both) Remove include of unused header (Adrian Bunk)
6626
6627(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
6628the
6629former now also includes the latter, acpiphp.h only needs the one,
6630now.
6631
6632(2.5) Make it possible to select method of bios restoring after S3
6633resume. [=> no more ugly ifdefs] (Pavel Machek)
6634
6635(2.5) Make proc write interfaces work (Pavel Machek)
6636
6637(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
6638
6639(2.5) Break out ACPI Perf code into its own module, under cpufreq
6640(Dominik Brodowski)
6641
6642(2.4) S4BIOS support (Ducrot Bruno)
6643
6644(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
6645Visinoni)
6646
6647
66483) iASL Compiler:
6649
6650Added support to disassemble SSDT and PSDTs.
6651
6652Implemented support to obtain SSDTs from the Windows registry if
6653available.
6654
6655
6656----------------------------------------
665709 January 2003.  Summary of changes for version 20030109.
6658
66591) ACPI CA Core Subsystem:
6660
6661Changed the behavior of the internal Buffer-to-String conversion
6662function.  The current ACPI specification states that the contents
6663of the buffer are "converted to a string of two-character
6664hexadecimal numbers, each separated by a space".  Unfortunately,
6665this definition is not backwards compatible with existing ACPI 1.0
6666implementations (although the behavior was not defined in the ACPI
66671.0 specification).  The new behavior simply copies data from the
6668buffer to the string until a null character is found or the end of
6669the buffer is reached.  The new String object is always null
6670terminated.  This problem was seen during the generation of _BIF
6671battery data where incorrect strings were returned for battery
6672type, etc.  This will also require an errata to the ACPI
6673specification.
6674
6675Renamed all instances of NATIVE_UINT and NATIVE_INT to
6676ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
6677
6678Copyright in all module headers (both Linux and non-Linux) has be
6679updated to 2003.
6680
6681Code and Data Size: Current core subsystem library sizes are shown
6682below.  These are the code and data sizes for the acpica.lib
6683produced by the Microsoft Visual C++ 6.0 compiler, and these
6684values do not include any ACPI driver or OSPM code.  The debug
6685version of the code includes the debug output trace mechanism and
6686has a much larger code and data size.  Note that these values will
6687vary depending on the efficiency of the compiler and the compiler
6688options used during generation.
6689
6690  Previous Release
6691    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6692    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6693  Current Release:
6694    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6695    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6696
6697
66982) Linux
6699
6700Fixed an oops on module insertion/removal (Matthew Tippett)
6701
6702(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
6703
6704(2.5) Replace pr_debug (Randy Dunlap)
6705
6706(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
6707
6708(Both) Eliminate spawning of thread from timer callback, in favor
6709of schedule_work()
6710
6711(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
6712
6713(Both) Added define for Fixed Function HW region (Matthew Wilcox)
6714
6715(Both) Add missing statics to button.c (Pavel Machek)
6716
6717Several changes have been made to the source code translation
6718utility that generates the Linux Code in order to make the code
6719more "Linux-like":
6720
6721All typedefs on structs and unions have been removed in keeping
6722with the Linux coding style.
6723
6724Removed the non-Linux SourceSafe module revision number from each
6725module header.
6726
6727Completed major overhaul of symbols to be lowercased for linux.
6728Doubled the number of symbols that are lowercased.
6729
6730Fixed a problem where identifiers within procedure headers and
6731within quotes were not fully lower cased (they were left with a
6732starting capital.)
6733
6734Some C macros whose only purpose is to allow the generation of 16-
6735bit code are now completely removed in the Linux code, increasing
6736readability and maintainability.
6737
6738----------------------------------------
6739
674012 December 2002.  Summary of changes for version 20021212.
6741
6742
67431) ACPI CA Core Subsystem:
6744
6745Fixed a problem where the creation of a zero-length AML Buffer
6746would cause a fault.
6747
6748Fixed a problem where a Buffer object that pointed to a static AML
6749buffer (in an ACPI table) could inadvertently be deleted, causing
6750memory corruption.
6751
6752Fixed a problem where a user buffer (passed in to the external
6753ACPI CA interfaces) could be overwritten if the buffer was too
6754small to complete the operation, causing memory corruption.
6755
6756Fixed a problem in the Buffer-to-String conversion code where a
6757string of length one was always returned, regardless of the size
6758of the input Buffer object.
6759
6760Removed the NATIVE_CHAR data type across the entire source due to
6761lack of need and lack of consistent use.
6762
6763Code and Data Size: Current core subsystem library sizes are shown
6764below.  These are the code and data sizes for the acpica.lib
6765produced by the Microsoft Visual C++ 6.0 compiler, and these
6766values do not include any ACPI driver or OSPM code.  The debug
6767version of the code includes the debug output trace mechanism and
6768has a much larger code and data size.  Note that these values will
6769vary depending on the efficiency of the compiler and the compiler
6770options used during generation.
6771
6772  Previous Release
6773    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
6774    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
6775  Current Release:
6776    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6777    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6778
6779
6780----------------------------------------
678105 December 2002.  Summary of changes for version 20021205.
6782
67831) ACPI CA Core Subsystem:
6784
6785Fixed a problem where a store to a String or Buffer object could
6786cause corruption of the DSDT if the object type being stored was
6787the same as the target object type and the length of the object
6788being stored was equal to or smaller than the original (existing)
6789target object.  This was seen to cause corruption of battery _BIF
6790buffers if the _BIF method modified the buffer on the fly.
6791
6792Fixed a problem where an internal error was generated if a control
6793method invocation was used in an OperationRegion, Buffer, or
6794Package declaration.  This was caused by the deferred parsing of
6795the control method and thus the deferred creation of the internal
6796method object.  The solution to this problem was to create the
6797internal method object at the moment the method is encountered in
6798the first pass - so that subsequent references to the method will
6799able to obtain the required parameter count and thus properly
6800parse the method invocation.  This problem presented itself as an
6801AE_AML_INTERNAL during the pass 1 parse phase during table load.
6802
6803Fixed a problem where the internal String object copy routine did
6804not always allocate sufficient memory for the target String object
6805and caused memory corruption.  This problem was seen to cause
6806"Allocation already present in list!" errors as memory allocation
6807became corrupted.
6808
6809Implemented a new function for the evaluation of namespace objects
6810that allows the specification of the allowable return object
6811types.  This simplifies a lot of code that checks for a return
6812object of one or more specific objects returned from the
6813evaluation (such as _STA, etc.)  This may become and external
6814function if it would be useful to ACPI-related drivers.
6815
6816Completed another round of prefixing #defines with "ACPI_" for
6817clarity.
6818
6819Completed additional code restructuring to allow more modular
6820linking for iASL compiler and AcpiExec.  Several files were split
6821creating new files.  New files:  nsparse.c dsinit.c evgpe.c
6822
6823Implemented an abort mechanism to terminate an executing control
6824method via the AML debugger.  This feature is useful for debugging
6825control methods that depend (wait) for specific hardware
6826responses.
6827
6828Code and Data Size: Current core subsystem library sizes are shown
6829below.  These are the code and data sizes for the acpica.lib
6830produced by the Microsoft Visual C++ 6.0 compiler, and these
6831values do not include any ACPI driver or OSPM code.  The debug
6832version of the code includes the debug output trace mechanism and
6833has a much larger code and data size.  Note that these values will
6834vary depending on the efficiency of the compiler and the compiler
6835options used during generation.
6836
6837  Previous Release
6838    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
6839    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
6840  Current Release:
6841    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
6842    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
6843
6844
68452) iASL Compiler/Disassembler
6846
6847Fixed a compiler code generation problem for "Interrupt" Resource
6848Descriptors.  If specified in the ASL, the optional "Resource
6849Source Index" and "Resource Source" fields were not inserted into
6850the correct location within the AML resource descriptor, creating
6851an invalid descriptor.
6852
6853Fixed a disassembler problem for "Interrupt" resource descriptors.
6854The optional "Resource Source Index" and "Resource Source" fields
6855were ignored.
6856
6857
6858----------------------------------------
685922 November 2002.  Summary of changes for version 20021122.
6860
6861
68621) ACPI CA Core Subsystem:
6863
6864Fixed a reported problem where an object stored to a Method Local
6865or Arg was not copied to a new object during the store - the
6866object pointer was simply copied to the Local/Arg.  This caused
6867all subsequent operations on the Local/Arg to also affect the
6868original source of the store operation.
6869
6870Fixed a problem where a store operation to a Method Local or Arg
6871was not completed properly if the Local/Arg contained a reference
6872(from RefOf) to a named field.  The general-purpose store-to-
6873namespace-node code is now used so that this case is handled
6874automatically.
6875
6876Fixed a problem where the internal object copy routine would cause
6877a protection fault if the object being copied was a Package and
6878contained either 1) a NULL package element or 2) a nested sub-
6879package.
6880
6881Fixed a problem with the GPE initialization that resulted from an
6882ambiguity in the ACPI specification.  One section of the
6883specification states that both the address and length of the GPE
6884block must be zero if the block is not supported.  Another section
6885implies that only the address need be zero if the block is not
6886supported.  The code has been changed so that both the address and
6887the length must be non-zero to indicate a valid GPE block (i.e.,
6888if either the address or the length is zero, the GPE block is
6889invalid.)
6890
6891Code and Data Size: Current core subsystem library sizes are shown
6892below.  These are the code and data sizes for the acpica.lib
6893produced by the Microsoft Visual C++ 6.0 compiler, and these
6894values do not include any ACPI driver or OSPM code.  The debug
6895version of the code includes the debug output trace mechanism and
6896has a much larger code and data size.  Note that these values will
6897vary depending on the efficiency of the compiler and the compiler
6898options used during generation.
6899
6900  Previous Release
6901    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
6902    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
6903  Current Release:
6904    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
6905    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
6906
6907
69082) Linux
6909
6910Cleaned up EC driver. Exported an external EC read/write
6911interface. By going through this, other drivers (most notably
6912sonypi) will be able to serialize access to the EC.
6913
6914
69153) iASL Compiler/Disassembler
6916
6917Implemented support to optionally generate include files for both
6918ASM and C (the -i switch).  This simplifies BIOS development by
6919automatically creating include files that contain external
6920declarations for the symbols that are created within the
6921
6922(optionally generated) ASM and C AML source files.
6923
6924
6925----------------------------------------
692615 November 2002.  Summary of changes for version 20021115.
6927
69281) ACPI CA Core Subsystem:
6929
6930Fixed a memory leak problem where an error during resolution of
6931
6932method arguments during a method invocation from another method
6933failed to cleanup properly by deleting all successfully resolved
6934argument objects.
6935
6936Fixed a problem where the target of the Index() operator was not
6937correctly constructed if the source object was a package.  This
6938problem has not been detected because the use of a target operand
6939with Index() is very rare.
6940
6941Fixed a problem with the Index() operator where an attempt was
6942made to delete the operand objects twice.
6943
6944Fixed a problem where an attempt was made to delete an operand
6945twice during execution of the CondRefOf() operator if the target
6946did not exist.
6947
6948Implemented the first of perhaps several internal create object
6949functions that create and initialize a specific object type.  This
6950consolidates duplicated code wherever the object is created, thus
6951shrinking the size of the subsystem.
6952
6953Implemented improved debug/error messages for errors that occur
6954during nested method invocations.  All executing method pathnames
6955are displayed (with the error) as the call stack is unwound - thus
6956simplifying debug.
6957
6958Fixed a problem introduced in the 10/02 release that caused
6959premature deletion of a buffer object if a buffer was used as an
6960ASL operand where an integer operand is required (Thus causing an
6961implicit object conversion from Buffer to Integer.)  The change in
6962the 10/02 release was attempting to fix a memory leak (albeit
6963incorrectly.)
6964
6965Code and Data Size: Current core subsystem library sizes are shown
6966below.  These are the code and data sizes for the acpica.lib
6967produced by the Microsoft Visual C++ 6.0 compiler, and these
6968values do not include any ACPI driver or OSPM code.  The debug
6969version of the code includes the debug output trace mechanism and
6970has a much larger code and data size.  Note that these values will
6971vary depending on the efficiency of the compiler and the compiler
6972options used during generation.
6973
6974  Previous Release
6975    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
6976    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
6977  Current Release:
6978    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
6979    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
6980
6981
69822) Linux
6983
6984Changed the implementation of the ACPI semaphores to use down()
6985instead of down_interruptable().  It is important that the
6986execution of ACPI control methods not be interrupted by signals.
6987Methods must run to completion, or the system may be left in an
6988unknown/unstable state.
6989
6990Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
6991(Shawn Starr)
6992
6993
69943) iASL Compiler/Disassembler
6995
6996
6997Changed the default location of output files.  All output files
6998are now placed in the current directory by default instead of in
6999the directory of the source file.  This change may affect some
7000existing makefiles, but it brings the behavior of the compiler in
7001line with other similar tools.  The location of the output files
7002can be overridden with the -p command line switch.
7003
7004
7005----------------------------------------
700611 November 2002.  Summary of changes for version 20021111.
7007
7008
70090) ACPI Specification 2.0B is released and is now available at:
7010http://www.acpi.info/index.html
7011
7012
70131) ACPI CA Core Subsystem:
7014
7015Implemented support for the ACPI 2.0 SMBus Operation Regions.
7016This includes the early detection and handoff of the request to
7017the SMBus region handler (avoiding all of the complex field
7018support code), and support for the bidirectional return packet
7019from an SMBus write operation.  This paves the way for the
7020development of SMBus drivers in each host operating system.
7021
7022Fixed a problem where the semaphore WAIT_FOREVER constant was
7023defined as 32 bits, but must be 16 bits according to the ACPI
7024specification.  This had the side effect of causing ASL
7025Mutex/Event timeouts even though the ASL code requested a wait
7026forever.  Changed all internal references to the ACPI timeout
7027parameter to 16 bits to prevent future problems.  Changed the name
7028of WAIT_FOREVER to ACPI_WAIT_FOREVER.
7029
7030Code and Data Size: Current core subsystem library sizes are shown
7031below.  These are the code and data sizes for the acpica.lib
7032produced by the Microsoft Visual C++ 6.0 compiler, and these
7033values do not include any ACPI driver or OSPM code.  The debug
7034version of the code includes the debug output trace mechanism and
7035has a much larger code and data size.  Note that these values will
7036vary depending on the efficiency of the compiler and the compiler
7037options used during generation.
7038
7039  Previous Release
7040    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7041    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7042  Current Release:
7043    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7044    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7045
7046
70472) Linux
7048
7049Module loading/unloading fixes (John Cagle)
7050
7051
70523) iASL Compiler/Disassembler
7053
7054Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
7055
7056Implemented support for the disassembly of all SMBus protocol
7057keywords (SMBQuick, SMBWord, etc.)
7058
7059----------------------------------------
706001 November 2002.  Summary of changes for version 20021101.
7061
7062
70631) ACPI CA Core Subsystem:
7064
7065Fixed a problem where platforms that have a GPE1 block but no GPE0
7066block were not handled correctly.  This resulted in a "GPE
7067overlap" error message.  GPE0 is no longer required.
7068
7069Removed code added in the previous release that inserted nodes
7070into the namespace in alphabetical order.  This caused some side-
7071effects on various machines.  The root cause of the problem is
7072still under investigation since in theory, the internal ordering
7073of the namespace nodes should not matter.
7074
7075
7076Enhanced error reporting for the case where a named object is not
7077found during control method execution.  The full ACPI namepath
7078(name reference) of the object that was not found is displayed in
7079this case.
7080
7081Note: as a result of the overhaul of the namespace object types in
7082the previous release, the namespace nodes for the predefined
7083scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
7084instead of ACPI_TYPE_ANY.  This simplifies the namespace
7085management code but may affect code that walks the namespace tree
7086looking for specific object types.
7087
7088Code and Data Size: Current core subsystem library sizes are shown
7089below.  These are the code and data sizes for the acpica.lib
7090produced by the Microsoft Visual C++ 6.0 compiler, and these
7091values do not include any ACPI driver or OSPM code.  The debug
7092version of the code includes the debug output trace mechanism and
7093has a much larger code and data size.  Note that these values will
7094vary depending on the efficiency of the compiler and the compiler
7095options used during generation.
7096
7097  Previous Release
7098    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7099    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7100  Current Release:
7101    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7102    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7103
7104
71052) Linux
7106
7107Fixed a problem introduced in the previous release where the
7108Processor and Thermal objects were not recognized and installed in
7109/proc.  This was related to the scope type change described above.
7110
7111
71123) iASL Compiler/Disassembler
7113
7114Implemented the -g option to get all of the required ACPI tables
7115from the registry and save them to files (Windows version of the
7116compiler only.)  The required tables are the FADT, FACS, and DSDT.
7117
7118Added ACPI table checksum validation during table disassembly in
7119order to catch corrupted tables.
7120
7121
7122----------------------------------------
712322 October 2002.  Summary of changes for version 20021022.
7124
71251) ACPI CA Core Subsystem:
7126
7127Implemented a restriction on the Scope operator that the target
7128must already exist in the namespace at the time the operator is
7129encountered (during table load or method execution).  In other
7130words, forward references are not allowed and Scope() cannot
7131create a new object. This changes the previous behavior where the
7132interpreter would create the name if not found.  This new behavior
7133correctly enables the search-to-root algorithm during namespace
7134lookup of the target name.  Because of this upsearch, this fixes
7135the known Compaq _SB_.OKEC problem and makes both the AML
7136interpreter and iASL compiler compatible with other ACPI
7137implementations.
7138
7139Completed a major overhaul of the internal ACPI object types for
7140the ACPI Namespace and the associated operand objects.  Many of
7141these types had become obsolete with the introduction of the two-
7142pass namespace load.  This cleanup simplifies the code and makes
7143the entire namespace load mechanism much clearer and easier to
7144understand.
7145
7146Improved debug output for tracking scope opening/closing to help
7147diagnose scoping issues.  The old scope name as well as the new
7148scope name are displayed.  Also improved error messages for
7149problems with ASL Mutex objects and error messages for GPE
7150problems.
7151
7152Cleaned up the namespace dump code, removed obsolete code.
7153
7154All string output (for all namespace/object dumps) now uses the
7155common ACPI string output procedure which handles escapes properly
7156and does not emit non-printable characters.
7157
7158Fixed some issues with constants in the 64-bit version of the
7159local C library (utclib.c)
7160
7161
71622) Linux
7163
7164EC Driver:  No longer attempts to acquire the Global Lock at
7165interrupt level.
7166
7167
71683) iASL Compiler/Disassembler
7169
7170Implemented ACPI 2.0B grammar change that disallows all Type 1 and
71712 opcodes outside of a control method.  This means that the
7172"executable" operators (versus the "namespace" operators) cannot
7173be used at the table level; they can only be used within a control
7174method.
7175
7176Implemented the restriction on the Scope() operator where the
7177target must already exist in the namespace at the time the
7178operator is encountered (during ASL compilation). In other words,
7179forward references are not allowed and Scope() cannot create a new
7180object.  This makes the iASL compiler compatible with other ACPI
7181implementations and makes the Scope() implementation adhere to the
7182ACPI specification.
7183
7184Fixed a problem where namepath optimization for the Alias operator
7185was optimizing the wrong path (of the two namepaths.)  This caused
7186a "Missing alias link" error message.
7187
7188Fixed a problem where an "unknown reserved name" warning could be
7189incorrectly generated for names like "_SB" when the trailing
7190underscore is not used in the original ASL.
7191
7192Fixed a problem where the reserved name check did not handle
7193NamePaths with multiple NameSegs correctly.  The first nameseg of
7194the NamePath was examined instead of the last NameSeg.
7195
7196
7197----------------------------------------
7198
719902 October 2002.  Summary of changes for this release.
7200
7201
72021) ACPI CA Core Subsystem version 20021002:
7203
7204Fixed a problem where a store/copy of a string to an existing
7205string did not always set the string length properly in the String
7206object.
7207
7208Fixed a reported problem with the ToString operator where the
7209behavior was identical to the ToHexString operator instead of just
7210simply converting a raw buffer to a string data type.
7211
7212Fixed a problem where CopyObject and the other "explicit"
7213conversion operators were not updating the internal namespace node
7214type as part of the store operation.
7215
7216Fixed a memory leak during implicit source operand conversion
7217where the original object was not deleted if it was converted to a
7218new object of a different type.
7219
7220Enhanced error messages for all problems associated with namespace
7221lookups.  Common procedure generates and prints the lookup name as
7222well as the formatted status.
7223
7224Completed implementation of a new design for the Alias support
7225within the namespace.  The existing design did not handle the case
7226where a new object was assigned to one of the two names due to the
7227use of an explicit conversion operator, resulting in the two names
7228pointing to two different objects.  The new design simply points
7229the Alias name to the original name node - not to the object.
7230This results in a level of indirection that must be handled in the
7231name resolution mechanism.
7232
7233Code and Data Size: Current core subsystem library sizes are shown
7234below.  These are the code and data sizes for the acpica.lib
7235produced by the Microsoft Visual C++ 6.0 compiler, and these
7236values do not include any ACPI driver or OSPM code.  The debug
7237version of the code includes the debug output trace mechanism and
7238has a larger code and data size.  Note that these values will vary
7239depending on the efficiency of the compiler and the compiler
7240options used during generation.
7241
7242  Previous Release
7243    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7244    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7245  Current Release:
7246    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7247    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7248
7249
72502) Linux
7251
7252Initialize thermal driver's timer before it is used. (Knut
7253Neumann)
7254
7255Allow handling negative celsius values. (Kochi Takayoshi)
7256
7257Fix thermal management and make trip points. R/W (Pavel Machek)
7258
7259Fix /proc/acpi/sleep. (P. Christeas)
7260
7261IA64 fixes. (David Mosberger)
7262
7263Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
7264
7265Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
7266Brodowski)
7267
7268
72693) iASL Compiler/Disassembler
7270
7271Clarified some warning/error messages.
7272
7273
7274----------------------------------------
727518 September 2002.  Summary of changes for this release.
7276
7277
72781) ACPI CA Core Subsystem version 20020918:
7279
7280Fixed a reported problem with reference chaining (via the Index()
7281and RefOf() operators) in the ObjectType() and SizeOf() operators.
7282The definition of these operators includes the dereferencing of
7283all chained references to return information on the base object.
7284
7285Fixed a problem with stores to indexed package elements - the
7286existing code would not complete the store if an "implicit
7287conversion" was not performed.  In other words, if the existing
7288object (package element) was to be replaced completely, the code
7289didn't handle this case.
7290
7291Relaxed typechecking on the ASL "Scope" operator to allow the
7292target name to refer to an object of type Integer, String, or
7293Buffer, in addition to the scoping object types (Device,
7294predefined Scopes, Processor, PowerResource, and ThermalZone.)
7295This allows existing AML code that has workarounds for a bug in
7296Windows to function properly.  A warning is issued, however.  This
7297affects both the AML interpreter and the iASL compiler. Below is
7298an example of this type of ASL code:
7299
7300      Name(DEB,0x00)
7301      Scope(DEB)
7302      {
7303
7304Fixed some reported problems with 64-bit integer support in the
7305local implementation of C library functions (clib.c)
7306
7307
73082) Linux
7309
7310Use ACPI fix map region instead of IOAPIC region, since it is
7311undefined in non-SMP.
7312
7313Ensure that the SCI has the proper polarity and trigger, even on
7314systems that do not have an interrupt override entry in the MADT.
7315
73162.5 big driver reorganization (Pat Mochel)
7317
7318Use early table mapping code from acpitable.c (Andi Kleen)
7319
7320New blacklist entries (Andi Kleen)
7321
7322Blacklist improvements. Split blacklist code out into a separate
7323file. Move checking the blacklist to very early. Previously, we
7324would use ACPI tables, and then halfway through init, check the
7325blacklist -- too late. Now, it's early enough to completely fall-
7326back to non-ACPI.
7327
7328
73293) iASL Compiler/Disassembler version 20020918:
7330
7331Fixed a problem where the typechecking code didn't know that an
7332alias could point to a method.  In other words, aliases were not
7333being dereferenced during typechecking.
7334
7335
7336----------------------------------------
733729 August 2002.  Summary of changes for this release.
7338
73391) ACPI CA Core Subsystem Version 20020829:
7340
7341If the target of a Scope() operator already exists, it must be an
7342object type that actually opens a scope -- such as a Device,
7343Method, Scope, etc.  This is a fatal runtime error.  Similar error
7344check has been added to the iASL compiler also.
7345
7346Tightened up the namespace load to disallow multiple names in the
7347same scope.  This previously was allowed if both objects were of
7348the same type.  (i.e., a lookup was the same as entering a new
7349name).
7350
7351
73522) Linux
7353
7354Ensure that the ACPI interrupt has the proper trigger and
7355polarity.
7356
7357local_irq_disable is extraneous. (Matthew Wilcox)
7358
7359Make "acpi=off" actually do what it says, and not use the ACPI
7360interpreter *or* the tables.
7361
7362Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
7363Takayoshi)
7364
7365
73663) iASL Compiler/Disassembler  Version 20020829:
7367
7368Implemented namepath optimization for name declarations.  For
7369example, a declaration like "Method (\_SB_.ABCD)" would get
7370optimized to "Method (ABCD)" if the declaration is within the
7371\_SB_ scope.  This optimization is in addition to the named
7372reference path optimization first released in the previous
7373version. This would seem to complete all possible optimizations
7374for namepaths within the ASL/AML.
7375
7376If the target of a Scope() operator already exists, it must be an
7377object type that actually opens a scope -- such as a Device,
7378Method, Scope, etc.
7379
7380Implemented a check and warning for unreachable code in the same
7381block below a Return() statement.
7382
7383Fixed a problem where the listing file was not generated if the
7384compiler aborted if the maximum error count was exceeded (200).
7385
7386Fixed a problem where the typechecking of method return values was
7387broken.  This includes the check for a return value when the
7388method is invoked as a TermArg (a return value is expected.)
7389
7390Fixed a reported problem where EOF conditions during a quoted
7391string or comment caused a fault.
7392
7393
7394----------------------------------------
739515 August 2002.  Summary of changes for this release.
7396
73971) ACPI CA Core Subsystem Version 20020815:
7398
7399Fixed a reported problem where a Store to a method argument that
7400contains a reference did not perform the indirect store correctly.
7401This problem was created during the conversion to the new
7402reference object model - the indirect store to a method argument
7403code was not updated to reflect the new model.
7404
7405Reworked the ACPI mode change code to better conform to ACPI 2.0,
7406handle corner cases, and improve code legibility (Kochi Takayoshi)
7407
7408Fixed a problem with the pathname parsing for the carat (^)
7409prefix.  The heavy use of the carat operator by the new namepath
7410optimization in the iASL compiler uncovered a problem with the AML
7411interpreter handling of this prefix.  In the case where one or
7412more carats precede a single nameseg, the nameseg was treated as
7413standalone and the search rule (to root) was inadvertently
7414applied.  This could cause both the iASL compiler and the
7415interpreter to find the wrong object or to miss the error that
7416should occur if the object does not exist at that exact pathname.
7417
7418Found and fixed the problem where the HP Pavilion DSDT would not
7419load.  This was a relatively minor tweak to the table loading code
7420(a problem caused by the unexpected encounter with a method
7421invocation not within a control method), but it does not solve the
7422overall issue of the execution of AML code at the table level.
7423This investigation is still ongoing.
7424
7425Code and Data Size: Current core subsystem library sizes are shown
7426below.  These are the code and data sizes for the acpica.lib
7427produced by the Microsoft Visual C++ 6.0 compiler, and these
7428values do not include any ACPI driver or OSPM code.  The debug
7429version of the code includes the debug output trace mechanism and
7430has a larger code and data size.  Note that these values will vary
7431depending on the efficiency of the compiler and the compiler
7432options used during generation.
7433
7434  Previous Release
7435    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7436    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7437  Current Release:
7438    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7439    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7440
7441
74422) Linux
7443
7444Remove redundant slab.h include (Brad Hards)
7445
7446Fix several bugs in thermal.c (Herbert Nachtnebel)
7447
7448Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
7449
7450Change acpi_system_suspend to use updated irq functions (Pavel
7451Machek)
7452
7453Export acpi_get_firmware_table (Matthew Wilcox)
7454
7455Use proper root proc entry for ACPI (Kochi Takayoshi)
7456
7457Fix early-boot table parsing (Bjorn Helgaas)
7458
7459
74603) iASL Compiler/Disassembler
7461
7462Reworked the compiler options to make them more consistent and to
7463use two-letter options where appropriate.  We were running out of
7464sensible letters.   This may break some makefiles, so check the
7465current options list by invoking the compiler with no parameters.
7466
7467Completed the design and implementation of the ASL namepath
7468optimization option for the compiler.  This option optimizes all
7469references to named objects to the shortest possible path.  The
7470first attempt tries to utilize a single nameseg (4 characters) and
7471the "search-to-root" algorithm used by the interpreter.  If that
7472cannot be used (because either the name is not in the search path
7473or there is a conflict with another object with the same name),
7474the pathname is optimized using the carat prefix (usually a
7475shorter string than specifying the entire path from the root.)
7476
7477Implemented support to obtain the DSDT from the Windows registry
7478(when the disassembly option is specified with no input file).
7479Added this code as the implementation for AcpiOsTableOverride in
7480the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
7481utility) to scan memory for the DSDT to the AcpiOsTableOverride
7482function in the DOS OSL to make the disassembler truly OS
7483independent.
7484
7485Implemented a new option to disassemble and compile in one step.
7486When used without an input filename, this option will grab the
7487DSDT from the local machine, disassemble it, and compile it in one
7488step.
7489
7490Added a warning message for invalid escapes (a backslash followed
7491by any character other than the allowable escapes).  This catches
7492the quoted string error "\_SB_" (which should be "\\_SB_" ).
7493
7494Also, there are numerous instances in the ACPI specification where
7495this error occurs.
7496
7497Added a compiler option to disable all optimizations.  This is
7498basically the "compatibility mode" because by using this option,
7499the AML code will come out exactly the same as other ASL
7500compilers.
7501
7502Added error messages for incorrectly ordered dependent resource
7503functions.  This includes: missing EndDependentFn macro at end of
7504dependent resource list, nested dependent function macros (both
7505start and end), and missing StartDependentFn macro.  These are
7506common errors that should be caught at compile time.
7507
7508Implemented _OSI support for the disassembler and compiler.  _OSI
7509must be included in the namespace for proper disassembly (because
7510the disassembler must know the number of arguments.)
7511
7512Added an "optimization" message type that is optional (off by
7513default).  This message is used for all optimizations - including
7514constant folding, integer optimization, and namepath optimization.
7515
7516----------------------------------------
751725 July 2002.  Summary of changes for this release.
7518
7519
75201) ACPI CA Core Subsystem Version 20020725:
7521
7522The AML Disassembler has been enhanced to produce compilable ASL
7523code and has been integrated into the iASL compiler (see below) as
7524well as the single-step disassembly for the AML debugger and the
7525disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
7526resource templates and macros are fully supported.  The
7527disassembler has been tested on over 30 different AML files,
7528producing identical AML when the resulting disassembled ASL file
7529is recompiled with the same ASL compiler.
7530
7531Modified the Resource Manager to allow zero interrupts and zero
7532dma channels during the GetCurrentResources call.  This was
7533causing problems on some platforms.
7534
7535Added the AcpiOsRedirectOutput interface to the OSL to simplify
7536output redirection for the AcpiOsPrintf and AcpiOsVprintf
7537interfaces.
7538
7539Code and Data Size: Current core subsystem library sizes are shown
7540below.  These are the code and data sizes for the acpica.lib
7541produced by the Microsoft Visual C++ 6.0 compiler, and these
7542values do not include any ACPI driver or OSPM code.  The debug
7543version of the code includes the debug output trace mechanism and
7544has a larger code and data size.  Note that these values will vary
7545depending on the efficiency of the compiler and the compiler
7546options used during generation.
7547
7548  Previous Release
7549    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7550    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7551  Current Release:
7552    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7553    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7554
7555
75562) Linux
7557
7558Fixed a panic in the EC driver (Dominik Brodowski)
7559
7560Implemented checksum of the R/XSDT itself during Linux table scan
7561(Richard Schaal)
7562
7563
75643) iASL compiler
7565
7566The AML disassembler is integrated into the compiler.  The "-d"
7567option invokes the disassembler  to completely disassemble an
7568input AML file, producing as output a text ASL file with the
7569extension ".dsl" (to avoid name collisions with existing .asl
7570source files.)  A future enhancement will allow the disassembler
7571to obtain the BIOS DSDT from the registry under Windows.
7572
7573Fixed a problem with the VendorShort and VendorLong resource
7574descriptors where an invalid AML sequence was created.
7575
7576Implemented a fix for BufferData term in the ASL parser.  It was
7577inadvertently defined twice, allowing invalid syntax to pass and
7578causing reduction conflicts.
7579
7580Fixed a problem where the Ones opcode could get converted to a
7581value of zero if "Ones" was used where a byte, word or dword value
7582was expected.  The 64-bit value is now truncated to the correct
7583size with the correct value.
7584
7585
7586
7587----------------------------------------
758802 July 2002.  Summary of changes for this release.
7589
7590
75911) ACPI CA Core Subsystem Version 20020702:
7592
7593The Table Manager code has been restructured to add several new
7594features.  Tables that are not required by the core subsystem
7595(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
7596validated in any way and are returned from AcpiGetFirmwareTable if
7597requested.  The AcpiOsTableOverride interface is now called for
7598each table that is loaded by the subsystem in order to allow the
7599host to override any table it chooses.  Previously, only the DSDT
7600could be overridden.  Added one new files, tbrsdt.c and
7601tbgetall.c.
7602
7603Fixed a problem with the conversion of internal package objects to
7604external objects (when a package is returned from a control
7605method.)  The return buffer length was set to zero instead of the
7606proper length of the package object.
7607
7608Fixed a reported problem with the use of the RefOf and DeRefOf
7609operators when passing reference arguments to control methods.  A
7610new type of Reference object is used internally for references
7611produced by the RefOf operator.
7612
7613Added additional error messages in the Resource Manager to explain
7614AE_BAD_DATA errors when they occur during resource parsing.
7615
7616Split the AcpiEnableSubsystem into two primitives to enable a
7617finer granularity initialization sequence.  These two calls should
7618be called in this order: AcpiEnableSubsystem (flags),
7619AcpiInitializeObjects (flags).  The flags parameter remains the
7620same.
7621
7622
76232) Linux
7624
7625Updated the ACPI utilities module to understand the new style of
7626fully resolved package objects that are now returned from the core
7627subsystem.  This eliminates errors of the form:
7628
7629    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
7630    acpi_utils-0430 [145] acpi_evaluate_reference:
7631        Invalid element in package (not a device reference)
7632
7633The method evaluation utility uses the new buffer allocation
7634scheme instead of calling AcpiEvaluate Object twice.
7635
7636Added support for ECDT. This allows the use of the Embedded
7637
7638Controller before the namespace has been fully initialized, which
7639is necessary for ACPI 2.0 support, and for some laptops to
7640initialize properly. (Laptops using ECDT are still rare, so only
7641limited testing was performed of the added functionality.)
7642
7643Fixed memory leaks in the EC driver.
7644
7645Eliminated a brittle code structure in acpi_bus_init().
7646
7647Eliminated the acpi_evaluate() helper function in utils.c. It is
7648no longer needed since acpi_evaluate_object can optionally
7649allocate memory for the return object.
7650
7651Implemented fix for keyboard hang when getting battery readings on
7652some systems (Stephen White)
7653
7654PCI IRQ routing update (Dominik Brodowski)
7655
7656Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
7657support
7658
7659----------------------------------------
766011 June 2002.  Summary of changes for this release.
7661
7662
76631) ACPI CA Core Subsystem Version 20020611:
7664
7665Fixed a reported problem where constants such as Zero and One
7666appearing within _PRT packages were not handled correctly within
7667the resource manager code.  Originally reported against the ASL
7668compiler because the code generator now optimizes integers to
7669their minimal AML representation (i.e. AML constants if possible.)
7670The _PRT code now handles all AML constant opcodes correctly
7671(Zero, One, Ones, Revision).
7672
7673Fixed a problem with the Concatenate operator in the AML
7674interpreter where a buffer result object was incorrectly marked as
7675not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
7676
7677All package sub-objects are now fully resolved before they are
7678returned from the external ACPI interfaces.  This means that name
7679strings are resolved to object handles, and constant operators
7680(Zero, One, Ones, Revision) are resolved to Integers.
7681
7682Implemented immediate resolution of the AML Constant opcodes
7683(Zero, One, Ones, Revision) to Integer objects upon detection
7684within the AML stream. This has simplified and reduced the
7685generated code size of the subsystem by eliminating about 10
7686switch statements for these constants (which previously were
7687contained in Reference objects.)  The complicating issues are that
7688the Zero opcode is used as a "placeholder" for unspecified
7689optional target operands and stores to constants are defined to be
7690no-ops.
7691
7692Code and Data Size: Current core subsystem library sizes are shown
7693below. These are the code and data sizes for the acpica.lib
7694produced by the Microsoft Visual C++ 6.0 compiler, and these
7695values do not include any ACPI driver or OSPM code.  The debug
7696version of the code includes the debug output trace mechanism and
7697has a larger code and data size.  Note that these values will vary
7698depending on the efficiency of the compiler and the compiler
7699options used during generation.
7700
7701  Previous Release
7702    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7703    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7704  Current Release:
7705    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7706    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7707
7708
77092) Linux
7710
7711
7712Added preliminary support for obtaining _TRA data for PCI root
7713bridges (Bjorn Helgaas).
7714
7715
77163) iASL Compiler Version X2046:
7717
7718Fixed a problem where the "_DDN" reserved name was defined to be a
7719control method with one argument.  There are no arguments, and
7720_DDN does not have to be a control method.
7721
7722Fixed a problem with the Linux version of the compiler where the
7723source lines printed with error messages were the wrong lines.
7724This turned out to be the "LF versus CR/LF" difference between
7725Windows and Unix.  This appears to be the longstanding issue
7726concerning listing output and error messages.
7727
7728Fixed a problem with the Linux version of compiler where opcode
7729names within error messages were wrong.  This was caused by a
7730slight difference in the output of the Flex tool on Linux versus
7731Windows.
7732
7733Fixed a problem with the Linux compiler where the hex output files
7734contained some garbage data caused by an internal buffer overrun.
7735
7736
7737----------------------------------------
773817 May 2002.  Summary of changes for this release.
7739
7740
77411) ACPI CA Core Subsystem Version 20020517:
7742
7743Implemented a workaround to an BIOS bug discovered on the HP
7744OmniBook where the FADT revision number and the table size are
7745inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
7746behavior is to fallback to using only the ACPI 1.0 fields of the
7747FADT if the table is too small to be a ACPI 2.0 table as claimed
7748by the revision number.  Although this is a BIOS bug, this is a
7749case where the workaround is simple enough and with no side
7750effects, so it seemed prudent to add it.  A warning message is
7751issued, however.
7752
7753Implemented minimum size checks for the fixed-length ACPI tables -
7754- the FADT and FACS, as well as consistency checks between the
7755revision number and the table size.
7756
7757Fixed a reported problem in the table override support where the
7758new table pointer was incorrectly treated as a physical address
7759instead of a logical address.
7760
7761Eliminated the use of the AE_AML_ERROR exception and replaced it
7762with more descriptive codes.
7763
7764Fixed a problem where an exception would occur if an ASL Field was
7765defined with no named Field Units underneath it (used by some
7766index fields).
7767
7768Code and Data Size: Current core subsystem library sizes are shown
7769below.  These are the code and data sizes for the acpica.lib
7770produced by the Microsoft Visual C++ 6.0 compiler, and these
7771values do not include any ACPI driver or OSPM code.  The debug
7772version of the code includes the debug output trace mechanism and
7773has a larger code and data size.  Note that these values will vary
7774depending on the efficiency of the compiler and the compiler
7775options used during generation.
7776
7777  Previous Release
7778    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
7779    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
7780  Current Release:
7781    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7782    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7783
7784
7785
77862) Linux
7787
7788Much work done on ACPI init (MADT and PCI IRQ routing support).
7789(Paul D. and Dominik Brodowski)
7790
7791Fix PCI IRQ-related panic on boot (Sam Revitch)
7792
7793Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
7794
7795Fix "MHz" typo (Dominik Brodowski)
7796
7797Fix RTC year 2000 issue (Dominik Brodowski)
7798
7799Preclude multiple button proc entries (Eric Brunet)
7800
7801Moved arch-specific code out of include/platform/aclinux.h
7802
78033) iASL Compiler Version X2044:
7804
7805Implemented error checking for the string used in the EISAID macro
7806(Usually used in the definition of the _HID object.)  The code now
7807strictly enforces the PnP format - exactly 7 characters, 3
7808uppercase letters and 4 hex digits.
7809
7810If a raw string is used in the definition of the _HID object
7811(instead of the EISAID macro), the string must contain all
7812alphanumeric characters (e.g., "*PNP0011" is not allowed because
7813of the asterisk.)
7814
7815Implemented checking for invalid use of ACPI reserved names for
7816most of the name creation operators (Name, Device, Event, Mutex,
7817OperationRegion, PowerResource, Processor, and ThermalZone.)
7818Previously, this check was only performed for control methods.
7819
7820Implemented an additional check on the Name operator to emit an
7821error if a reserved name that must be implemented in ASL as a
7822control method is used.  We know that a reserved name must be a
7823method if it is defined with input arguments.
7824
7825The warning emitted when a namespace object reference is not found
7826during the cross reference phase has been changed into an error.
7827The "External" directive should be used for names defined in other
7828modules.
7829
7830
78314) Tools and Utilities
7832
7833The 16-bit tools (adump16 and aexec16) have been regenerated and
7834tested.
7835
7836Fixed a problem with the output of both acpidump and adump16 where
7837the indentation of closing parentheses and brackets was not
7838
7839aligned properly with the parent block.
7840
7841
7842----------------------------------------
784303 May 2002.  Summary of changes for this release.
7844
7845
78461) ACPI CA Core Subsystem Version 20020503:
7847
7848Added support a new OSL interface that allows the host operating
7849
7850system software to override the DSDT found in the firmware -
7851AcpiOsTableOverride.  With this interface, the OSL can examine the
7852version of the firmware DSDT and replace it with a different one
7853if desired.
7854
7855Added new external interfaces for accessing ACPI registers from
7856device drivers and other system software - AcpiGetRegister and
7857AcpiSetRegister.  This was simply an externalization of the
7858existing AcpiHwBitRegister interfaces.
7859
7860Fixed a regression introduced in the previous build where the
7861ASL/AML CreateField operator always returned an error,
7862"destination must be a NS Node".
7863
7864Extended the maximum time (before failure) to successfully enable
7865ACPI mode to 3 seconds.
7866
7867Code and Data Size: Current core subsystem library sizes are shown
7868below.  These are the code and data sizes for the acpica.lib
7869produced by the Microsoft Visual C++ 6.0 compiler, and these
7870values do not include any ACPI driver or OSPM code.  The debug
7871version of the code includes the debug output trace mechanism and
7872has a larger code and data size.  Note that these values will vary
7873depending on the efficiency of the compiler and the compiler
7874options used during generation.
7875
7876  Previous Release
7877    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
7878    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
7879  Current Release:
7880    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
7881    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
7882
7883
78842) Linux
7885
7886Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
7887free. While 3 out of 4 of our in-house systems work fine, the last
7888one still hangs when testing the LAPIC timer.
7889
7890Renamed many files in 2.5 kernel release to omit "acpi_" from the
7891name.
7892
7893Added warning on boot for Presario 711FR.
7894
7895Sleep improvements (Pavel Machek)
7896
7897ACPI can now be built without CONFIG_PCI enabled.
7898
7899IA64: Fixed memory map functions (JI Lee)
7900
7901
79023) iASL Compiler Version X2043:
7903
7904Added support to allow the compiler to be integrated into the MS
7905VC++ development environment for one-button compilation of single
7906files or entire projects -- with error-to-source-line mapping.
7907
7908Implemented support for compile-time constant folding for the
7909Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
7910specification.  This allows the ASL writer to use expressions
7911instead of Integer/Buffer/String constants in terms that must
7912evaluate to constants at compile time and will also simplify the
7913emitted AML in any such sub-expressions that can be folded
7914(evaluated at compile-time.)  This increases the size of the
7915compiler significantly because a portion of the ACPI CA AML
7916interpreter is included within the compiler in order to pre-
7917evaluate constant expressions.
7918
7919
7920Fixed a problem with the "Unicode" ASL macro that caused the
7921compiler to fault.  (This macro is used in conjunction with the
7922_STR reserved name.)
7923
7924Implemented an AML opcode optimization to use the Zero, One, and
7925Ones opcodes where possible to further reduce the size of integer
7926constants and thus reduce the overall size of the generated AML
7927code.
7928
7929Implemented error checking for new reserved terms for ACPI version
79302.0A.
7931
7932Implemented the -qr option to display the current list of ACPI
7933reserved names known to the compiler.
7934
7935Implemented the -qc option to display the current list of ASL
7936operators that are allowed within constant expressions and can
7937therefore be folded at compile time if the operands are constants.
7938
7939
79404) Documentation
7941
7942Updated the Programmer's Reference for new interfaces, data types,
7943and memory allocation model options.
7944
7945Updated the iASL Compiler User Reference to apply new format and
7946add information about new features and options.
7947
7948----------------------------------------
794919 April 2002.  Summary of changes for this release.
7950
79511) ACPI CA Core Subsystem Version 20020419:
7952
7953The source code base for the Core Subsystem has been completely
7954cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
7955versions.  The Lint option files used are included in the
7956/acpi/generate/lint directory.
7957
7958Implemented enhanced status/error checking across the entire
7959Hardware manager subsystem.  Any hardware errors (reported from
7960the OSL) are now bubbled up and will abort a running control
7961method.
7962
7963
7964Fixed a problem where the per-ACPI-table integer width (32 or 64)
7965was stored only with control method nodes, causing a fault when
7966non-control method code was executed during table loading.  The
7967solution implemented uses a global variable to indicate table
7968width across the entire ACPI subsystem.  Therefore, ACPI CA does
7969not support mixed integer widths across different ACPI tables
7970(DSDT, SSDT).
7971
7972Fixed a problem where NULL extended fields (X fields) in an ACPI
79732.0 ACPI FADT caused the table load to fail.  Although the
7974existing ACPI specification is a bit fuzzy on this topic, the new
7975behavior is to fall back on a ACPI 1.0 field if the corresponding
7976ACPI 2.0 X field is zero (even though the table revision indicates
7977a full ACPI 2.0 table.)  The ACPI specification will be updated to
7978clarify this issue.
7979
7980Fixed a problem with the SystemMemory operation region handler
7981where memory was always accessed byte-wise even if the AML-
7982specified access width was larger than a byte.  This caused
7983problems on systems with memory-mapped I/O.  Memory is now
7984accessed with the width specified.  On systems that do not support
7985non-aligned transfers, a check is made to guarantee proper address
7986alignment before proceeding in order to avoid an AML-caused
7987alignment fault within the kernel.
7988
7989
7990Fixed a problem with the ExtendedIrq resource where only one byte
7991of the 4-byte Irq field was extracted.
7992
7993Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
7994function was out of date and required a rewrite.
7995
7996Code and Data Size: Current core subsystem library sizes are shown
7997below.  These are the code and data sizes for the acpica.lib
7998produced by the Microsoft Visual C++ 6.0 compiler, and these
7999values do not include any ACPI driver or OSPM code.  The debug
8000version of the code includes the debug output trace mechanism and
8001has a larger code and data size.  Note that these values will vary
8002depending on the efficiency of the compiler and the compiler
8003options used during generation.
8004
8005  Previous Release
8006    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8007    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8008  Current Release:
8009    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8010    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8011
8012
80132) Linux
8014
8015PCI IRQ routing fixes (Dominik Brodowski)
8016
8017
80183) iASL Compiler Version X2042:
8019
8020Implemented an additional compile-time error check for a field
8021unit whose size + minimum access width would cause a run-time
8022access beyond the end-of-region.  Previously, only the field size
8023itself was checked.
8024
8025The Core subsystem and iASL compiler now share a common parse
8026object in preparation for compile-time evaluation of the type
80273/4/5 ASL operators.
8028
8029
8030----------------------------------------
8031Summary of changes for this release: 03_29_02
8032
80331) ACPI CA Core Subsystem Version 20020329:
8034
8035Implemented support for late evaluation of TermArg operands to
8036Buffer and Package objects.  This allows complex expressions to be
8037used in the declarations of these object types.
8038
8039Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
80401.0, if the field was larger than 32 bits, it was returned as a
8041buffer - otherwise it was returned as an integer.  In ACPI 2.0,
8042the field is returned as a buffer only if the field is larger than
804364 bits.  The TableRevision is now considered when making this
8044conversion to avoid incompatibility with existing ASL code.
8045
8046Implemented logical addressing for AcpiOsGetRootPointer.  This
8047allows an RSDP with either a logical or physical address.  With
8048this support, the host OS can now override all ACPI tables with
8049one logical RSDP.  Includes implementation of  "typed" pointer
8050support to allow a common data type for both physical and logical
8051pointers internally.  This required a change to the
8052AcpiOsGetRootPointer interface.
8053
8054Implemented the use of ACPI 2.0 Generic Address Structures for all
8055GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
8056mapped I/O for these ACPI features.
8057
8058Initialization now ignores not only non-required tables (All
8059tables other than the FADT, FACS, DSDT, and SSDTs), but also does
8060not validate the table headers of unrecognized tables.
8061
8062Fixed a problem where a notify handler could only be
8063installed/removed on an object of type Device.  All "notify"
8064
8065objects are now supported -- Devices, Processor, Power, and
8066Thermal.
8067
8068Removed most verbosity from the ACPI_DB_INFO debug level.  Only
8069critical information is returned when this debug level is enabled.
8070
8071Code and Data Size: Current core subsystem library sizes are shown
8072below.  These are the code and data sizes for the acpica.lib
8073produced by the Microsoft Visual C++ 6.0 compiler, and these
8074values do not include any ACPI driver or OSPM code.  The debug
8075version of the code includes the debug output trace mechanism and
8076has a larger code and data size.  Note that these values will vary
8077depending on the efficiency of the compiler and the compiler
8078options used during generation.
8079
8080  Previous Release
8081    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8082    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8083  Current Release:
8084    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8085    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8086
8087
80882) Linux:
8089
8090The processor driver (acpi_processor.c) now fully supports ACPI
80912.0-based processor performance control (e.g. Intel(R)
8092SpeedStep(TM) technology) Note that older laptops that only have
8093the Intel "applet" interface are not supported through this.  The
8094'limit' and 'performance' interface (/proc) are fully functional.
8095[Note that basic policy for controlling performance state
8096transitions will be included in the next version of ospmd.]  The
8097idle handler was modified to more aggressively use C2, and PIIX4
8098errata handling underwent a complete overhaul (big thanks to
8099Dominik Brodowski).
8100
8101Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
8102based devices in the ACPI namespace are now dynamically bound
8103(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
8104This allows, among other things, ACPI to resolve bus numbers for
8105subordinate PCI bridges.
8106
8107Enhanced PCI IRQ routing to get the proper bus number for _PRT
8108entries defined underneath PCI bridges.
8109
8110Added IBM 600E to bad bios list due to invalid _ADR value for
8111PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
8112
8113In the process of adding full MADT support (e.g. IOAPIC) for IA32
8114(acpi.c, mpparse.c) -- stay tuned.
8115
8116Added back visual differentiation between fixed-feature and
8117control-method buttons in dmesg.  Buttons are also subtyped (e.g.
8118button/power/PWRF) to simplify button identification.
8119
8120We no longer use -Wno-unused when compiling debug. Please ignore
8121any "_THIS_MODULE defined but not used" messages.
8122
8123Can now shut down the system using "magic sysrq" key.
8124
8125
81263) iASL Compiler version 2041:
8127
8128Fixed a problem where conversion errors for hex/octal/decimal
8129constants were not reported.
8130
8131Implemented a fix for the General Register template Address field.
8132This field was 8 bits when it should be 64.
8133
8134Fixed a problem where errors/warnings were no longer being emitted
8135within the listing output file.
8136
8137Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
8138exactly 4 characters, alphanumeric only.
8139
8140
8141
8142
8143----------------------------------------
8144Summary of changes for this release: 03_08_02
8145
8146
81471) ACPI CA Core Subsystem Version 20020308:
8148
8149Fixed a problem with AML Fields where the use of the "AccessAny"
8150keyword could cause an interpreter error due to attempting to read
8151or write beyond the end of the parent Operation Region.
8152
8153Fixed a problem in the SystemMemory Operation Region handler where
8154an attempt was made to map memory beyond the end of the region.
8155This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
8156errors on some Linux systems.
8157
8158Fixed a problem where the interpreter/namespace "search to root"
8159algorithm was not functioning for some object types.  Relaxed the
8160internal restriction on the search to allow upsearches for all
8161external object types as well as most internal types.
8162
8163
81642) Linux:
8165
8166We now use safe_halt() macro versus individual calls to sti | hlt.
8167
8168Writing to the processor limit interface should now work. "echo 1"
8169will increase the limit, 2 will decrease, and 0 will reset to the
8170
8171default.
8172
8173
81743) ASL compiler:
8175
8176Fixed segfault on Linux version.
8177
8178
8179----------------------------------------
8180Summary of changes for this release: 02_25_02
8181
81821) ACPI CA Core Subsystem:
8183
8184
8185Fixed a problem where the GPE bit masks were not initialized
8186properly, causing erratic GPE behavior.
8187
8188Implemented limited support for multiple calling conventions.  The
8189code can be generated with either the VPL (variable parameter
8190list, or "C") convention, or the FPL (fixed parameter list, or
8191"Pascal") convention.  The core subsystem is about 3.4% smaller
8192when generated with FPL.
8193
8194
81952) Linux
8196
8197Re-add some /proc/acpi/event functionality that was lost during
8198the rewrite
8199
8200Resolved issue with /proc events for fixed-feature buttons showing
8201up as the system device.
8202
8203Fixed checks on C2/C3 latencies to be inclusive of maximum values.
8204
8205Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
8206
8207Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
8208
8209Fixed limit interface & usage to fix bugs with passive cooling
8210hysterisis.
8211
8212Restructured PRT support.
8213
8214
8215----------------------------------------
8216Summary of changes for this label: 02_14_02
8217
8218
82191) ACPI CA Core Subsystem:
8220
8221Implemented support in AcpiLoadTable to allow loading of FACS and
8222FADT tables.
8223
8224Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
8225been removed.  All 64-bit platforms should be migrated to the ACPI
82262.0 tables.  The actbl71.h header has been removed from the source
8227tree.
8228
8229All C macros defined within the subsystem have been prefixed with
8230"ACPI_" to avoid collision with other system include files.
8231
8232Removed the return value for the two AcpiOsPrint interfaces, since
8233it is never used and causes lint warnings for ignoring the return
8234value.
8235
8236Added error checking to all internal mutex acquire and release
8237calls.  Although a failure from one of these interfaces is
8238probably a fatal system error, these checks will cause the
8239immediate abort of the currently executing method or interface.
8240
8241Fixed a problem where the AcpiSetCurrentResources interface could
8242fault.  This was a side effect of the deployment of the new memory
8243allocation model.
8244
8245Fixed a couple of problems with the Global Lock support introduced
8246in the last major build.  The "common" (1.0/2.0) internal FACS was
8247being overwritten with the FACS signature and clobbering the
8248Global Lock pointer.  Also, the actual firmware FACS was being
8249unmapped after construction of the "common" FACS, preventing
8250access to the actual Global Lock field within it.  The "common"
8251internal FACS is no longer installed as an actual ACPI table; it
8252is used simply as a global.
8253
8254Code and Data Size: Current core subsystem library sizes are shown
8255below.  These are the code and data sizes for the acpica.lib
8256produced by the Microsoft Visual C++ 6.0 compiler, and these
8257values do not include any ACPI driver or OSPM code.  The debug
8258version of the code includes the debug output trace mechanism and
8259has a larger code and data size.  Note that these values will vary
8260depending on the efficiency of the compiler and the compiler
8261options used during generation.
8262
8263  Previous Release (02_07_01)
8264    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8265    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8266  Current Release:
8267    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8268    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8269
8270
82712) Linux
8272
8273Updated Linux-specific code for core macro and OSL interface
8274changes described above.
8275
8276Improved /proc/acpi/event. It now can be opened only once and has
8277proper poll functionality.
8278
8279Fixed and restructured power management (acpi_bus).
8280
8281Only create /proc "view by type" when devices of that class exist.
8282
8283Fixed "charging/discharging" bug (and others) in acpi_battery.
8284
8285Improved thermal zone code.
8286
8287
82883) ASL Compiler, version X2039:
8289
8290
8291Implemented the new compiler restriction on ASL String hex/octal
8292escapes to non-null, ASCII values.  An error results if an invalid
8293value is used.  (This will require an ACPI 2.0 specification
8294change.)
8295
8296AML object labels that are output to the optional C and ASM source
8297are now prefixed with both the ACPI table signature and table ID
8298to help guarantee uniqueness within a large BIOS project.
8299
8300
8301----------------------------------------
8302Summary of changes for this label: 02_01_02
8303
83041) ACPI CA Core Subsystem:
8305
8306ACPI 2.0 support is complete in the entire Core Subsystem and the
8307ASL compiler. All new ACPI 2.0 operators are implemented and all
8308other changes for ACPI 2.0 support are complete.  With
8309simultaneous code and data optimizations throughout the subsystem,
8310ACPI 2.0 support has been implemented with almost no additional
8311cost in terms of code and data size.
8312
8313Implemented a new mechanism for allocation of return buffers.  If
8314the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
8315be allocated on behalf of the caller.  Consolidated all return
8316buffer validation and allocation to a common procedure.  Return
8317buffers will be allocated via the primary OSL allocation interface
8318since it appears that a separate pool is not needed by most users.
8319If a separate pool is required for these buffers, the caller can
8320still use the original mechanism and pre-allocate the buffer(s).
8321
8322Implemented support for string operands within the DerefOf
8323operator.
8324
8325Restructured the Hardware and Event managers to be table driven,
8326simplifying the source code and reducing the amount of generated
8327code.
8328
8329Split the common read/write low-level ACPI register bitfield
8330procedure into a separate read and write, simplifying the code
8331considerably.
8332
8333Obsoleted the AcpiOsCallocate OSL interface.  This interface was
8334used only a handful of times and didn't have enough critical mass
8335for a separate interface.  Replaced with a common calloc procedure
8336in the core.
8337
8338Fixed a reported problem with the GPE number mapping mechanism
8339that allows GPE1 numbers to be non-contiguous with GPE0.
8340Reorganized the GPE information and shrunk a large array that was
8341originally large enough to hold info for all possible GPEs (256)
8342to simply large enough to hold all GPEs up to the largest GPE
8343number on the machine.
8344
8345Fixed a reported problem with resource structure alignment on 64-
8346bit platforms.
8347
8348Changed the AcpiEnableEvent and AcpiDisableEvent external
8349interfaces to not require any flags for the common case of
8350enabling/disabling a GPE.
8351
8352Implemented support to allow a "Notify" on a Processor object.
8353
8354Most TBDs in comments within the source code have been resolved
8355and eliminated.
8356
8357
8358Fixed a problem in the interpreter where a standalone parent
8359prefix (^) was not handled correctly in the interpreter and
8360debugger.
8361
8362Removed obsolete and unnecessary GPE save/restore code.
8363
8364Implemented Field support in the ASL Load operator.  This allows a
8365table to be loaded from a named field, in addition to loading a
8366table directly from an Operation Region.
8367
8368Implemented timeout and handle support in the external Global Lock
8369interfaces.
8370
8371Fixed a problem in the AcpiDump utility where pathnames were no
8372longer being generated correctly during the dump of named objects.
8373
8374Modified the AML debugger to give a full display of if/while
8375predicates instead of just one AML opcode at a time.  (The
8376predicate can have several nested ASL statements.)  The old method
8377was confusing during single stepping.
8378
8379Code and Data Size: Current core subsystem library sizes are shown
8380below. These are the code and data sizes for the acpica.lib
8381produced by the Microsoft Visual C++ 6.0 compiler, and these
8382values do not include any ACPI driver or OSPM code.  The debug
8383version of the code includes the debug output trace mechanism and
8384has a larger code and data size.  Note that these values will vary
8385depending on the efficiency of the compiler and the compiler
8386options used during generation.
8387
8388  Previous Release (12_18_01)
8389     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8390     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8391   Current Release:
8392     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8393     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8394
83952) Linux
8396
8397 Implemented fix for PIIX reverse throttling errata (Processor
8398driver)
8399
8400Added new Limit interface (Processor and Thermal drivers)
8401
8402New thermal policy (Thermal driver)
8403
8404Many updates to /proc
8405
8406Battery "low" event support (Battery driver)
8407
8408Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
8409
8410IA32 - IA64 initialization unification, no longer experimental
8411
8412Menuconfig options redesigned
8413
84143) ASL Compiler, version X2037:
8415
8416Implemented several new output features to simplify integration of
8417AML code into  firmware: 1) Output the AML in C source code with
8418labels for each named ASL object.  The    original ASL source code
8419is interleaved as C comments. 2) Output the AML in ASM source code
8420with labels and interleaved ASL    source. 3) Output the AML in
8421raw hex table form, in either C or ASM.
8422
8423Implemented support for optional string parameters to the
8424LoadTable operator.
8425
8426Completed support for embedded escape sequences within string
8427literals.  The compiler now supports all single character escapes
8428as well as the Octal and Hex escapes.  Note: the insertion of a
8429null byte into a string literal (via the hex/octal escape) causes
8430the string to be immediately terminated.  A warning is issued.
8431
8432Fixed a problem where incorrect AML was generated for the case
8433where an ASL namepath consists of a single parent prefix (
8434
8435) with no trailing name segments.
8436
8437The compiler has been successfully generated with a 64-bit C
8438compiler.
8439
8440
8441
8442
8443----------------------------------------
8444Summary of changes for this label: 12_18_01
8445
84461) Linux
8447
8448Enhanced blacklist with reason and severity fields. Any table's
8449signature may now be used to identify a blacklisted system.
8450
8451Call _PIC control method to inform the firmware which interrupt
8452model the OS is using. Turn on any disabled link devices.
8453
8454Cleaned up busmgr /proc error handling (Andreas Dilger)
8455
8456 2) ACPI CA Core Subsystem:
8457
8458Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
8459while loop)
8460
8461Completed implementation of the ACPI 2.0 "Continue",
8462"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
8463operators.  All new ACPI 2.0 operators are now implemented in both
8464the ASL compiler and the AML interpreter.  The only remaining ACPI
84652.0 task is support for the String data type in the DerefOf
8466operator.  Fixed a problem with AcquireMutex where the status code
8467was lost if the caller had to actually wait for the mutex.
8468
8469Increased the maximum ASL Field size from 64K bits to 4G bits.
8470
8471Completed implementation of the external Global Lock interfaces --
8472AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
8473Handler parameters were added.
8474
8475Completed another pass at removing warnings and issues when
8476compiling with 64-bit compilers.  The code now compiles cleanly
8477with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
8478add and subtract (diff) macros have changed considerably.
8479
8480
8481Created and deployed a new ACPI_SIZE type that is 64-bits wide on
848264-bit platforms, 32-bits on all others.  This type is used
8483wherever memory allocation and/or the C sizeof() operator is used,
8484and affects the OSL memory allocation interfaces AcpiOsAllocate
8485and AcpiOsCallocate.
8486
8487Implemented sticky user breakpoints in the AML debugger.
8488
8489Code and Data Size: Current core subsystem library sizes are shown
8490below. These are the code and data sizes for the acpica.lib
8491produced by the Microsoft Visual C++ 6.0 compiler, and these
8492values do not include any ACPI driver or OSPM code.  The debug
8493version of the code includes the debug output trace mechanism and
8494has a larger code and data size. Note that these values will vary
8495depending on the efficiency of the compiler and the compiler
8496options used during generation.
8497
8498  Previous Release (12_05_01)
8499     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8500     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8501   Current Release:
8502     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8503     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8504
8505 3) ASL Compiler, version X2034:
8506
8507Now checks for (and generates an error if detected) the use of a
8508Break or Continue statement without an enclosing While statement.
8509
8510
8511Successfully generated the compiler with the Intel 64-bit C
8512compiler.
8513
8514 ----------------------------------------
8515Summary of changes for this label: 12_05_01
8516
8517 1) ACPI CA Core Subsystem:
8518
8519The ACPI 2.0 CopyObject operator is fully implemented.  This
8520operator creates a new copy of an object (and is also used to
8521bypass the "implicit conversion" mechanism of the Store operator.)
8522
8523The ACPI 2.0 semantics for the SizeOf operator are fully
8524implemented.  The change is that performing a SizeOf on a
8525reference object causes an automatic dereference of the object to
8526tha actual value before the size is evaluated. This behavior was
8527undefined in ACPI 1.0.
8528
8529The ACPI 2.0 semantics for the Extended IRQ resource descriptor
8530have been implemented.  The interrupt polarity and mode are now
8531independently set.
8532
8533Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
8534appearing in Package objects were not properly converted to
8535integers when the internal Package was converted to an external
8536object (via the AcpiEvaluateObject interface.)
8537
8538Fixed a problem with the namespace object deletion mechanism for
8539objects created by control methods.  There were two parts to this
8540problem: 1) Objects created during the initialization phase method
8541parse were not being deleted, and 2) The object owner ID mechanism
8542to track objects was broken.
8543
8544Fixed a problem where the use of the ASL Scope operator within a
8545control method would result in an invalid opcode exception.
8546
8547Fixed a problem introduced in the previous label where the buffer
8548length required for the _PRT structure was not being returned
8549correctly.
8550
8551Code and Data Size: Current core subsystem library sizes are shown
8552below. These are the code and data sizes for the acpica.lib
8553produced by the Microsoft Visual C++ 6.0 compiler, and these
8554values do not include any ACPI driver or OSPM code.  The debug
8555version of the code includes the debug output trace mechanism and
8556has a larger code and data size.  Note that these values will vary
8557depending on the efficiency of the compiler and the compiler
8558options used during generation.
8559
8560  Previous Release (11_20_01)
8561     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8562     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8563
8564  Current Release:
8565     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8566     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8567
8568 2) Linux:
8569
8570Updated all files to apply cleanly against 2.4.16.
8571
8572Added basic PCI Interrupt Routing Table (PRT) support for IA32
8573(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
8574version supports both static and dyanmic PRT entries, but dynamic
8575entries are treated as if they were static (not yet
8576reconfigurable).  Architecture- specific code to use this data is
8577absent on IA32 but should be available shortly.
8578
8579Changed the initialization sequence to start the ACPI interpreter
8580(acpi_init) prior to initialization of the PCI driver (pci_init)
8581in init/main.c.  This ordering is required to support PRT and
8582facilitate other (future) enhancement.  A side effect is that the
8583ACPI bus driver and certain device drivers can no longer be loaded
8584as modules.
8585
8586Modified the 'make menuconfig' options to allow PCI Interrupt
8587Routing support to be included without the ACPI Bus and other
8588device drivers.
8589
8590 3) ASL Compiler, version X2033:
8591
8592Fixed some issues with the use of the new CopyObject and
8593DataTableRegion operators.  Both are fully functional.
8594
8595 ----------------------------------------
8596Summary of changes for this label: 11_20_01
8597
8598 20 November 2001.  Summary of changes for this release.
8599
8600 1) ACPI CA Core Subsystem:
8601
8602Updated Index support to match ACPI 2.0 semantics.  Storing a
8603Integer, String, or Buffer to an Index of a Buffer will store only
8604the least-significant byte of the source to the Indexed buffer
8605byte.  Multiple writes are not performed.
8606
8607Fixed a problem where the access type used in an AccessAs ASL
8608operator was not recorded correctly into the field object.
8609
8610Fixed a problem where ASL Event objects were created in a
8611signalled state. Events are now created in an unsignalled state.
8612
8613The internal object cache is now purged after table loading and
8614initialization to reduce the use of dynamic kernel memory -- on
8615the assumption that object use is greatest during the parse phase
8616of the entire table (versus the run-time use of individual control
8617methods.)
8618
8619ACPI 2.0 variable-length packages are now fully operational.
8620
8621Code and Data Size: Code and Data optimizations have permitted new
8622feature development with an actual reduction in the library size.
8623Current core subsystem library sizes are shown below.  These are
8624the code and data sizes for the acpica.lib produced by the
8625Microsoft Visual C++ 6.0 compiler, and these values do not include
8626any ACPI driver or OSPM code.  The debug version of the code
8627includes the debug output trace mechanism and has a larger code
8628and data size.  Note that these values will vary depending on the
8629efficiency of the compiler and the compiler options used during
8630generation.
8631
8632  Previous Release (11_09_01):
8633     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8634     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8635
8636  Current Release:
8637     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8638     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8639
8640 2) Linux:
8641
8642Enhanced the ACPI boot-time initialization code to allow the use
8643of Local APIC tables for processor enumeration on IA-32, and to
8644pave the way for a fully MPS-free boot (on SMP systems) in the
8645near future.  This functionality replaces
8646arch/i386/kernel/acpitables.c, which was introduced in an earlier
86472.4.15-preX release.  To enable this feature you must add
8648"acpi_boot=on" to the kernel command line -- see the help entry
8649for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
8650the works...
8651
8652Restructured the configuration options to allow boot-time table
8653parsing support without inclusion of the ACPI Interpreter (and
8654other) code.
8655
8656NOTE: This release does not include fixes for the reported events,
8657power-down, and thermal passive cooling issues (coming soon).
8658
8659 3) ASL Compiler:
8660
8661Added additional typechecking for Fields within restricted access
8662Operation Regions.  All fields within EC and CMOS regions must be
8663declared with ByteAcc. All fields withing SMBus regions must be
8664declared with the BufferAcc access type.
8665
8666Fixed a problem where the listing file output of control methods
8667no longer interleaved the actual AML code with the ASL source
8668code.
8669
8670
8671
8672
8673----------------------------------------
8674Summary of changes for this label: 11_09_01
8675
86761) ACPI CA Core Subsystem:
8677
8678Implemented ACPI 2.0-defined support for writes to fields with a
8679Buffer, String, or Integer source operand that is smaller than the
8680target field. In these cases, the source operand is zero-extended
8681to fill the target field.
8682
8683Fixed a problem where a Field starting bit offset (within the
8684parent operation region) was calculated incorrectly if the
8685
8686alignment of the field differed from the access width.  This
8687affected CreateWordField, CreateDwordField, CreateQwordField, and
8688possibly other fields that use the "AccessAny" keyword.
8689
8690Fixed a problem introduced in the 11_02_01 release where indirect
8691stores through method arguments did not operate correctly.
8692
86932) Linux:
8694
8695Implemented boot-time ACPI table parsing support
8696(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
8697facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
8698legacy BIOS interfaces (e.g. MPS) for the configuration of system
8699processors, memory, and interrupts during setup_arch().  Note that
8700this patch does not include the required architecture-specific
8701changes required to apply this information -- subsequent patches
8702will be posted for both IA32 and IA64 to achieve this.
8703
8704Added low-level sleep support for IA32 platforms, courtesy of Pat
8705Mochel. This allows IA32 systems to transition to/from various
8706sleeping states (e.g. S1, S3), although the lack of a centralized
8707driver model and power-manageable drivers will prevent its
8708(successful) use on most systems.
8709
8710Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
8711submenu, unified IA32 and IA64 options, added new "Boot using ACPI
8712tables" option, etc.
8713
8714Increased the default timeout for the EC driver from 1ms to 10ms
8715(1000 cycles of 10us) to try to address AE_TIME errors during EC
8716transactions.
8717
8718 ----------------------------------------
8719Summary of changes for this label: 11_02_01
8720
87211) ACPI CA Core Subsystem:
8722
8723ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
8724(QWordAcc keyword). All ACPI 2.0 64-bit support is now
8725implemented.
8726
8727OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
8728changes to support ACPI 2.0 Qword field access.  Read/Write
8729PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
8730accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
8731the value parameter for the address space handler interface is now
8732an ACPI_INTEGER.  OSL implementations of these interfaces must now
8733handle the case where the Width parameter is 64.
8734
8735Index Fields: Fixed a problem where unaligned bit assembly and
8736disassembly for IndexFields was not supported correctly.
8737
8738Index and Bank Fields:  Nested Index and Bank Fields are now
8739supported. During field access, a check is performed to ensure
8740that the value written to an Index or Bank register is not out of
8741the range of the register.  The Index (or Bank) register is
8742written before each access to the field data. Future support will
8743include allowing individual IndexFields to be wider than the
8744DataRegister width.
8745
8746Fields: Fixed a problem where the AML interpreter was incorrectly
8747attempting to write beyond the end of a Field/OpRegion.  This was
8748a boundary case that occurred when a DWORD field was written to a
8749BYTE access OpRegion, forcing multiple writes and causing the
8750interpreter to write one datum too many.
8751
8752Fields: Fixed a problem with Field/OpRegion access where the
8753starting bit address of a field was incorrectly calculated if the
8754current access type was wider than a byte (WordAcc, DwordAcc, or
8755QwordAcc).
8756
8757Fields: Fixed a problem where forward references to individual
8758FieldUnits (individual Field names within a Field definition) were
8759not resolved during the AML table load.
8760
8761Fields: Fixed a problem where forward references from a Field
8762definition to the parent Operation Region definition were not
8763resolved during the AML table load.
8764
8765Fields: Duplicate FieldUnit names within a scope are now detected
8766during AML table load.
8767
8768Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
8769returned an incorrect name for the root node.
8770
8771Code and Data Size: Code and Data optimizations have permitted new
8772feature development with an actual reduction in the library size.
8773Current core subsystem library sizes are shown below.  These are
8774the code and data sizes for the acpica.lib produced by the
8775Microsoft Visual C++ 6.0 compiler, and these values do not include
8776any ACPI driver or OSPM code.  The debug version of the code
8777includes the debug output trace mechanism and has a larger code
8778and data size.  Note that these values will vary depending on the
8779efficiency of the compiler and the compiler options used during
8780generation.
8781
8782  Previous Release (10_18_01):
8783     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
8784     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
8785
8786  Current Release:
8787     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8788     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8789
8790 2) Linux:
8791
8792Improved /proc processor output (Pavel Machek) Re-added
8793MODULE_LICENSE("GPL") to all modules.
8794
8795 3) ASL Compiler version X2030:
8796
8797Duplicate FieldUnit names within a scope are now detected and
8798flagged as errors.
8799
8800 4) Documentation:
8801
8802Programmer Reference updated to reflect OSL and address space
8803handler interface changes described above.
8804
8805----------------------------------------
8806Summary of changes for this label: 10_18_01
8807
8808ACPI CA Core Subsystem:
8809
8810Fixed a problem with the internal object reference count mechanism
8811that occasionally caused premature object deletion. This resolves
8812all of the outstanding problem reports where an object is deleted
8813in the middle of an interpreter evaluation.  Although this problem
8814only showed up in rather obscure cases, the solution to the
8815problem involved an adjustment of all reference counts involving
8816objects attached to namespace nodes.
8817
8818Fixed a problem with Field support in the interpreter where
8819writing to an aligned field whose length is an exact multiple (2
8820or greater) of the field access granularity would cause an attempt
8821to write beyond the end of the field.
8822
8823The top level AML opcode execution functions within the
8824interpreter have been renamed with a more meaningful and
8825consistent naming convention.  The modules exmonad.c and
8826exdyadic.c were eliminated.  New modules are exoparg1.c,
8827exoparg2.c, exoparg3.c, and exoparg6.c.
8828
8829Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
8830
8831Fixed a problem where the AML debugger was causing some internal
8832objects to not be deleted during subsystem termination.
8833
8834Fixed a problem with the external AcpiEvaluateObject interface
8835where the subsystem would fault if the named object to be
8836evaluated refered to a constant such as Zero, Ones, etc.
8837
8838Fixed a problem with IndexFields and BankFields where the
8839subsystem would fault if the index, data, or bank registers were
8840not defined in the same scope as the field itself.
8841
8842Added printf format string checking for compilers that support
8843this feature.  Corrected more than 50 instances of issues with
8844format specifiers within invocations of ACPI_DEBUG_PRINT
8845throughout the core subsystem code.
8846
8847The ASL "Revision" operator now returns the ACPI support level
8848implemented in the core - the value "2" since the ACPI 2.0 support
8849is more than 50% implemented.
8850
8851Enhanced the output of the AML debugger "dump namespace" command
8852to output in a more human-readable form.
8853
8854Current core subsystem library code sizes are shown below.  These
8855
8856are the code and data sizes for the acpica.lib produced by the
8857Microsoft Visual C++ 6.0 compiler, and these values do not include
8858any ACPI driver or OSPM code.  The debug version of the code
8859includes the full debug trace mechanism -- leading to a much
8860
8861larger code and data size.  Note that these values will vary
8862depending on the efficiency of the compiler and the compiler
8863options used during generation.
8864
8865     Previous Label (09_20_01):
8866     Non-Debug Version:    65K Code,     5K Data,     70K Total
8867     Debug Version:       138K Code,    58K Data,    196K Total
8868
8869     This Label:
8870
8871     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
8872     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
8873
8874Linux:
8875
8876Implemented a "Bad BIOS Blacklist" to track machines that have
8877known ASL/AML problems.
8878
8879Enhanced the /proc interface for the thermal zone driver and added
8880support for _HOT (the critical suspend trip point).  The 'info'
8881file now includes threshold/policy information, and allows setting
8882of _SCP (cooling preference) and _TZP (polling frequency) values
8883to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
8884frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
8885preference to the passive/quiet mode (if supported by the ASL).
8886
8887Implemented a workaround for a gcc bug that resuted in an OOPs
8888when loading the control method battery driver.
8889
8890 ----------------------------------------
8891Summary of changes for this label: 09_20_01
8892
8893 ACPI CA Core Subsystem:
8894
8895The AcpiEnableEvent and AcpiDisableEvent interfaces have been
8896modified to allow individual GPE levels to be flagged as wake-
8897enabled (i.e., these GPEs are to remain enabled when the platform
8898sleeps.)
8899
8900The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
8901support wake-enabled GPEs.  This means that upon entering the
8902sleep state, all GPEs that are not wake-enabled are disabled.
8903When leaving the sleep state, these GPEs are reenabled.
8904
8905A local double-precision divide/modulo module has been added to
8906enhance portability to OS kernels where a 64-bit math library is
8907not available.  The new module is "utmath.c".
8908
8909Several optimizations have been made to reduce the use of CPU
8910stack.  Originally over 2K, the maximum stack usage is now below
89112K at 1860  bytes (1.82k)
8912
8913Fixed a problem with the AcpiGetFirmwareTable interface where the
8914root table pointer was not mapped into a logical address properly.
8915
8916Fixed a problem where a NULL pointer was being dereferenced in the
8917interpreter code for the ASL Notify operator.
8918
8919Fixed a problem where the use of the ASL Revision operator
8920returned an error. This operator now returns the current version
8921of the ACPI CA core subsystem.
8922
8923Fixed a problem where objects passed as control method parameters
8924to AcpiEvaluateObject were always deleted at method termination.
8925However, these objects may end up being stored into the namespace
8926by the called method.  The object reference count mechanism was
8927applied to these objects instead of a force delete.
8928
8929Fixed a problem where static strings or buffers (contained in the
8930AML code) that are declared as package elements within the ASL
8931code could cause a fault because the interpreter would attempt to
8932delete them.  These objects are now marked with the "static
8933object" flag to prevent any attempt to delete them.
8934
8935Implemented an interpreter optimization to use operands directly
8936from the state object instead of extracting the operands to local
8937variables.  This reduces stack use and code size, and improves
8938performance.
8939
8940The module exxface.c was eliminated as it was an unnecessary extra
8941layer of code.
8942
8943Current core subsystem library code sizes are shown below.  These
8944are the code and data sizes for the acpica.lib produced by the
8945Microsoft Visual C++ 6.0 compiler, and these values do not include
8946any ACPI driver or OSPM code.  The debug version of the code
8947includes the full debug trace mechanism -- leading to a much
8948larger code and data size.  Note that these values will vary
8949depending on the efficiency of the compiler and the compiler
8950options used during generation.
8951
8952  Non-Debug Version:  65K Code,   5K Data,   70K Total
8953(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
8954Total  (Previously 195K)
8955
8956Linux:
8957
8958Support for ACPI 2.0 64-bit integers has been added.   All ACPI
8959Integer objects are now 64 bits wide
8960
8961All Acpi data types and structures are now in lower case.  Only
8962Acpi macros are upper case for differentiation.
8963
8964 Documentation:
8965
8966Changes to the external interfaces as described above.
8967
8968 ----------------------------------------
8969Summary of changes for this label: 08_31_01
8970
8971 ACPI CA Core Subsystem:
8972
8973A bug with interpreter implementation of the ASL Divide operator
8974was found and fixed.  The implicit function return value (not the
8975explicit store operands) was returning the remainder instead of
8976the quotient.  This was a longstanding bug and it fixes several
8977known outstanding issues on various platforms.
8978
8979The ACPI_DEBUG_PRINT and function trace entry/exit macros have
8980been further optimized for size.  There are 700 invocations of the
8981DEBUG_PRINT macro alone, so each optimization reduces the size of
8982the debug version of the subsystem significantly.
8983
8984A stack trace mechanism has been implemented.  The maximum stack
8985usage is about 2K on 32-bit platforms.  The debugger command "stat
8986stack" will display the current maximum stack usage.
8987
8988All public symbols and global variables within the subsystem are
8989now prefixed with the string "Acpi".  This keeps all of the
8990symbols grouped together in a kernel map, and avoids conflicts
8991with other kernel subsystems.
8992
8993Most of the internal fixed lookup tables have been moved into the
8994code segment via the const operator.
8995
8996Several enhancements have been made to the interpreter to both
8997reduce the code size and improve performance.
8998
8999Current core subsystem library code sizes are shown below.  These
9000are the code and data sizes for the acpica.lib produced by the
9001Microsoft Visual C++ 6.0 compiler, and these values do not include
9002any ACPI driver or OSPM code.  The debug version of the code
9003includes the full debug trace mechanism which contains over 700
9004invocations of the DEBUG_PRINT macro, 500 function entry macro
9005invocations, and over 900 function exit macro invocations --
9006leading to a much larger code and data size.  Note that these
9007values will vary depending on the efficiency of the compiler and
9008the compiler options used during generation.
9009
9010        Non-Debug Version:  64K Code,   5K Data,   69K Total
9011Debug Version:     137K Code,  58K Data,  195K Total
9012
9013 Linux:
9014
9015Implemented wbinvd() macro, pending a kernel-wide definition.
9016
9017Fixed /proc/acpi/event to handle poll() and short reads.
9018
9019 ASL Compiler, version X2026:
9020
9021Fixed a problem introduced in the previous label where the AML
9022
9023code emitted for package objects produced packages with zero
9024length.
9025
9026 ----------------------------------------
9027Summary of changes for this label: 08_16_01
9028
9029ACPI CA Core Subsystem:
9030
9031The following ACPI 2.0 ASL operators have been implemented in the
9032AML interpreter (These are already supported by the Intel ASL
9033compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9034ToBuffer.  Support for 64-bit AML constants is implemented in the
9035AML parser, debugger, and disassembler.
9036
9037The internal memory tracking mechanism (leak detection code) has
9038been upgraded to reduce the memory overhead (a separate tracking
9039block is no longer allocated for each memory allocation), and now
9040supports all of the internal object caches.
9041
9042The data structures and code for the internal object caches have
9043been coelesced and optimized so that there is a single cache and
9044memory list data structure and a single group of functions that
9045implement generic cache management.  This has reduced the code
9046size in both the debug and release versions of the subsystem.
9047
9048The DEBUG_PRINT macro(s) have been optimized for size and replaced
9049by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
9050different, because it generates a single call to an internal
9051function.  This results in a savings of about 90 bytes per
9052invocation, resulting in an overall code and data savings of about
905316% in the debug version of the subsystem.
9054
9055 Linux:
9056
9057Fixed C3 disk corruption problems and re-enabled C3 on supporting
9058machines.
9059
9060Integrated low-level sleep code by Patrick Mochel.
9061
9062Further tweaked source code Linuxization.
9063
9064Other minor fixes.
9065
9066 ASL Compiler:
9067
9068Support for ACPI 2.0 variable length packages is fixed/completed.
9069
9070Fixed a problem where the optional length parameter for the ACPI
90712.0 ToString operator.
9072
9073Fixed multiple extraneous error messages when a syntax error is
9074detected within the declaration line of a control method.
9075
9076 ----------------------------------------
9077Summary of changes for this label: 07_17_01
9078
9079ACPI CA Core Subsystem:
9080
9081Added a new interface named AcpiGetFirmwareTable to obtain any
9082ACPI table via the ACPI signature.  The interface can be called at
9083any time during kernel initialization, even before the kernel
9084virtual memory manager is initialized and paging is enabled.  This
9085allows kernel subsystems to obtain ACPI tables very early, even
9086before the ACPI CA subsystem is initialized.
9087
9088Fixed a problem where Fields defined with the AnyAcc attribute
9089could be resolved to the incorrect address under the following
9090conditions: 1) the field width is larger than 8 bits and 2) the
9091parent operation region is not defined on a DWORD boundary.
9092
9093Fixed a problem where the interpreter is not being locked during
9094namespace initialization (during execution of the _INI control
9095methods), causing an error when an attempt is made to release it
9096later.
9097
9098ACPI 2.0 support in the AML Interpreter has begun and will be
9099ongoing throughout the rest of this year.  In this label, The Mod
9100operator is implemented.
9101
9102Added a new data type to contain full PCI addresses named
9103ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
9104and Function values.
9105
9106 Linux:
9107
9108Enhanced the Linux version of the source code to change most
9109capitalized ACPI type names to lowercase. For example, all
9110instances of ACPI_STATUS are changed to acpi_status.  This will
9111result in a large diff, but the change is strictly cosmetic and
9112aligns the CA code closer to the Linux coding standard.
9113
9114OSL Interfaces:
9115
9116The interfaces to the PCI configuration space have been changed to
9117add the PCI Segment number and to split the single 32-bit combined
9118DeviceFunction field into two 16-bit fields.  This was
9119accomplished by moving the four values that define an address in
9120PCI configuration space (segment, bus, device, and function) to
9121the new ACPI_PCI_ID structure.
9122
9123The changes to the PCI configuration space interfaces led to a
9124reexamination of the complete set of address space access
9125interfaces for PCI, I/O, and Memory.  The previously existing 18
9126interfaces have proven difficult to maintain (any small change
9127must be propagated across at least 6 interfaces) and do not easily
9128allow for future expansion to 64 bits if necessary.  Also, on some
9129systems, it would not be appropriate to demultiplex the access
9130width (8, 16, 32,or 64) before calling the OSL if the
9131corresponding native OS interfaces contain a similar access width
9132parameter.  For these reasons, the 18 address space interfaces
9133have been replaced by these 6 new ones:
9134
9135AcpiOsReadPciConfiguration
9136AcpiOsWritePciConfiguration
9137AcpiOsReadMemory
9138AcpiOsWriteMemory
9139AcpiOsReadPort
9140AcpiOsWritePort
9141
9142Added a new interface named AcpiOsGetRootPointer to allow the OSL
9143to perform the platform and/or OS-specific actions necessary to
9144obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
9145interface will simply call down to the CA core to perform the low-
9146memory search for the table.  On IA-64, the RSDP is obtained from
9147EFI.  Migrating this interface to the OSL allows the CA core to
9148
9149remain OS and platform independent.
9150
9151Added a new interface named AcpiOsSignal to provide a generic
9152"function code and pointer" interface for various miscellaneous
9153signals and notifications that must be made to the host OS.   The
9154first such signals are intended to support the ASL Fatal and
9155Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
9156interface has been obsoleted.
9157
9158The definition of the AcpiFormatException interface has been
9159changed to simplify its use.  The caller no longer must supply a
9160buffer to the call; A pointer to a const string is now returned
9161directly.  This allows the call to be easily used in printf
9162statements, etc. since the caller does not have to manage a local
9163buffer.
9164
9165
9166 ASL Compiler, Version X2025:
9167
9168The ACPI 2.0 Switch/Case/Default operators have been implemented
9169and are fully functional.  They will work with all ACPI 1.0
9170interpreters, since the operators are simply translated to If/Else
9171pairs.
9172
9173The ACPI 2.0 ElseIf operator is implemented and will also work
9174with 1.0 interpreters, for the same reason.
9175
9176Implemented support for ACPI 2.0 variable-length packages.  These
9177packages have a separate opcode, and their size is determined by
9178the interpreter at run-time.
9179
9180Documentation The ACPI CA Programmer Reference has been updated to
9181reflect the new interfaces and changes to existing interfaces.
9182
9183 ------------------------------------------
9184Summary of changes for this label: 06_15_01
9185
9186 ACPI CA Core Subsystem:
9187
9188Fixed a problem where a DWORD-accessed field within a Buffer
9189object would get its byte address inadvertently rounded down to
9190the nearest DWORD.  Buffers are always Byte-accessible.
9191
9192 ASL Compiler, version X2024:
9193
9194Fixed a problem where the Switch() operator would either fault or
9195hang the compiler.  Note however, that the AML code for this ACPI
91962.0 operator is not yet implemented.
9197
9198Compiler uses the new AcpiOsGetTimer interface to obtain compile
9199timings.
9200
9201Implementation of the CreateField operator automatically converts
9202a reference to a named field within a resource descriptor from a
9203byte offset to a bit offset if required.
9204
9205Added some missing named fields from the resource descriptor
9206support. These are the names that are automatically created by the
9207compiler to reference fields within a descriptor.  They are only
9208valid at compile time and are not passed through to the AML
9209interpreter.
9210
9211Resource descriptor named fields are now typed as Integers and
9212subject to compile-time typechecking when used in expressions.
9213
9214 ------------------------------------------
9215Summary of changes for this label: 05_18_01
9216
9217 ACPI CA Core Subsystem:
9218
9219Fixed a couple of problems in the Field support code where bits
9220from adjacent fields could be returned along with the proper field
9221bits. Restructured the field support code to improve performance,
9222readability and maintainability.
9223
9224New DEBUG_PRINTP macro automatically inserts the procedure name
9225into the output, saving hundreds of copies of procedure name
9226strings within the source, shrinking the memory footprint of the
9227debug version of the core subsystem.
9228
9229 Source Code Structure:
9230
9231The source code directory tree was restructured to reflect the
9232current organization of the component architecture.  Some files
9233and directories have been moved and/or renamed.
9234
9235 Linux:
9236
9237Fixed leaking kacpidpc processes.
9238
9239Fixed queueing event data even when /proc/acpi/event is not
9240opened.
9241
9242 ASL Compiler, version X2020:
9243
9244Memory allocation performance enhancement - over 24X compile time
9245improvement on large ASL files.  Parse nodes and namestring
9246buffers are now allocated from a large internal compiler buffer.
9247
9248The temporary .SRC file is deleted unless the "-s" option is
9249specified
9250
9251The "-d" debug output option now sends all output to the .DBG file
9252instead of the console.
9253
9254"External" second parameter is now optional
9255
9256"ElseIf" syntax now properly allows the predicate
9257
9258Last operand to "Load" now recognized as a Target operand
9259
9260Debug object can now be used anywhere as a normal object.
9261
9262ResourceTemplate now returns an object of type BUFFER
9263
9264EISAID now returns an object of type INTEGER
9265
9266"Index" now works with a STRING operand
9267
9268"LoadTable" now accepts optional parameters
9269
9270"ToString" length parameter is now optional
9271
9272"Interrupt (ResourceType," parse error fixed.
9273
9274"Register" with a user-defined region space parse error fixed
9275
9276Escaped backslash at the end of a string ("\\") scan/parse error
9277fixed
9278
9279"Revision" is now an object of type INTEGER.
9280
9281
9282
9283------------------------------------------
9284Summary of changes for this label: 05_02_01
9285
9286Linux:
9287
9288/proc/acpi/event now blocks properly.
9289
9290Removed /proc/sys/acpi. You can still dump your DSDT from
9291/proc/acpi/dsdt.
9292
9293 ACPI CA Core Subsystem:
9294
9295Fixed a problem introduced in the previous label where some of the
9296"small" resource descriptor types were not recognized.
9297
9298Improved error messages for the case where an ASL Field is outside
9299the range of the parent operation region.
9300
9301 ASL Compiler, version X2018:
9302
9303
9304Added error detection for ASL Fields that extend beyond the length
9305of the parent operation region (only if the length of the region
9306is known at compile time.)  This includes fields that have a
9307minimum access width that is smaller than the parent region, and
9308individual field units that are partially or entirely beyond the
9309extent of the parent.
9310
9311
9312
9313------------------------------------------
9314Summary of changes for this label: 04_27_01
9315
9316 ACPI CA Core Subsystem:
9317
9318Fixed a problem where the namespace mutex could be released at the
9319wrong time during execution of AcpiRemoveAddressSpaceHandler.
9320
9321Added optional thread ID output for debug traces, to simplify
9322debugging of multiple threads.  Added context switch notification
9323when the debug code realizes that a different thread is now
9324executing ACPI code.
9325
9326Some additional external data types have been prefixed with the
9327string "ACPI_" for consistency.  This may effect existing code.
9328The data types affected are the external callback typedefs - e.g.,
9329
9330WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
9331
9332 Linux:
9333
9334Fixed an issue with the OSL semaphore implementation where a
9335thread was waking up with an error from receiving a SIGCHLD
9336signal.
9337
9338Linux version of ACPI CA now uses the system C library for string
9339manipulation routines instead of a local implementation.
9340
9341Cleaned up comments and removed TBDs.
9342
9343 ASL Compiler, version X2017:
9344
9345Enhanced error detection and reporting for all file I/O
9346operations.
9347
9348 Documentation:
9349
9350Programmer Reference updated to version 1.06.
9351
9352
9353
9354------------------------------------------
9355Summary of changes for this label: 04_13_01
9356
9357 ACPI CA Core Subsystem:
9358
9359Restructured support for BufferFields and RegionFields.
9360BankFields support is now fully operational.  All known 32-bit
9361limitations on field sizes have been removed.  Both BufferFields
9362and (Operation) RegionFields are now supported by the same field
9363management code.
9364
9365Resource support now supports QWORD address and IO resources. The
936616/32/64 bit address structures and the Extended IRQ structure
9367have been changed to properly handle Source Resource strings.
9368
9369A ThreadId of -1 is now used to indicate a "mutex not acquired"
9370condition internally and must never be returned by AcpiOsThreadId.
9371This reserved value was changed from 0 since Unix systems allow a
9372thread ID of 0.
9373
9374Linux:
9375
9376Driver code reorganized to enhance portability
9377
9378Added a kernel configuration option to control ACPI_DEBUG
9379
9380Fixed the EC driver to honor _GLK.
9381
9382ASL Compiler, version X2016:
9383
9384Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
9385address space was set to 0, not 0x7f as it should be.
9386
9387 ------------------------------------------
9388Summary of changes for this label: 03_13_01
9389
9390 ACPI CA Core Subsystem:
9391
9392During ACPI initialization, the _SB_._INI method is now run if
9393present.
9394
9395Notify handler fix - notifies are deferred until the parent method
9396completes execution.  This fixes the "mutex already acquired"
9397issue seen occasionally.
9398
9399Part of the "implicit conversion" rules in ACPI 2.0 have been
9400found to cause compatibility problems with existing ASL/AML.  The
9401convert "result-to-target-type" implementation has been removed
9402for stores to method Args and Locals.  Source operand conversion
9403is still fully implemented.  Possible changes to ACPI 2.0
9404specification pending.
9405
9406Fix to AcpiRsCalculatePciRoutingTableLength to return correct
9407length.
9408
9409Fix for compiler warnings for 64-bit compiles.
9410
9411 Linux:
9412
9413/proc output aligned for easier parsing.
9414
9415Release-version compile problem fixed.
9416
9417New kernel configuration options documented in Configure.help.
9418
9419IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
9420context" message.
9421
9422 OSPM:
9423
9424Power resource driver integrated with bus manager.
9425
9426Fixed kernel fault during active cooling for thermal zones.
9427
9428Source Code:
9429
9430The source code tree has been restructured.
9431
9432
9433
9434------------------------------------------
9435Summary of changes for this label: 03_02_01
9436
9437 Linux OS Services Layer (OSL):
9438
9439Major revision of all Linux-specific code.
9440
9441Modularized all ACPI-specific drivers.
9442
9443Added new thermal zone and power resource drivers.
9444
9445Revamped /proc interface (new functionality is under /proc/acpi).
9446
9447New kernel configuration options.
9448
9449 Linux known issues:
9450
9451New kernel configuration options not documented in Configure.help
9452yet.
9453
9454
9455Module dependencies not currently implemented. If used, they
9456should be loaded in this order: busmgr, power, ec, system,
9457processor, battery, ac_adapter, button, thermal.
9458
9459Modules will not load if CONFIG_MODVERSION is set.
9460
9461IBM 600E - entering S5 may reboot instead of shutting down.
9462
9463IBM 600E - Sleep button may generate "Invalid <NULL> context"
9464message.
9465
9466Some systems may fail with "execution mutex already acquired"
9467message.
9468
9469 ACPI CA Core Subsystem:
9470
9471Added a new OSL Interface, AcpiOsGetThreadId.  This was required
9472for the  deadlock detection code. Defined to return a non-zero, 32-
9473bit thread ID for the currently executing thread.  May be a non-
9474zero constant integer on single-thread systems.
9475
9476Implemented deadlock detection for internal subsystem mutexes.  We
9477may add conditional compilation for this code (debug only) later.
9478
9479ASL/AML Mutex object semantics are now fully supported.  This
9480includes multiple acquires/releases by owner and support for the
9481
9482Mutex SyncLevel parameter.
9483
9484A new "Force Release" mechanism automatically frees all ASL
9485Mutexes that have been acquired but not released when a thread
9486exits the interpreter.  This forces conformance to the ACPI spec
9487("All mutexes must be released when an invocation exits") and
9488prevents deadlocked ASL threads.  This mechanism can be expanded
9489(later) to monitor other resource acquisitions if OEM ASL code
9490continues to misbehave (which it will).
9491
9492Several new ACPI exception codes have been added for the Mutex
9493support.
9494
9495Recursive method calls are now allowed and supported (the ACPI
9496spec does in fact allow recursive method calls.)  The number of
9497recursive calls is subject to the restrictions imposed by the
9498SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
9499parameter.
9500
9501Implemented support for the SyncLevel parameter for control
9502methods (ACPI 2.0 feature)
9503
9504Fixed a deadlock problem when multiple threads attempted to use
9505the interpreter.
9506
9507Fixed a problem where the string length of a String package
9508element was not always set in a package returned from
9509AcpiEvaluateObject.
9510
9511Fixed a problem where the length of a String package element was
9512not always included in the length of the overall package returned
9513from AcpiEvaluateObject.
9514
9515Added external interfaces (Acpi*) to the ACPI debug memory
9516manager.  This manager keeps a list of all outstanding
9517allocations, and can therefore detect memory leaks and attempts to
9518free memory blocks more than once. Useful for code such as the
9519power manager, etc.  May not be appropriate for device drivers.
9520Performance with the debug code enabled is slow.
9521
9522The ACPI Global Lock is now an optional hardware element.
9523
9524 ASL Compiler Version X2015:
9525
9526Integrated changes to allow the compiler to be generated on
9527multiple platforms.
9528
9529Linux makefile added to generate the compiler on Linux
9530
9531 Source Code:
9532
9533All platform-specific headers have been moved to their own
9534subdirectory, Include/Platform.
9535
9536New source file added, Interpreter/ammutex.c
9537
9538New header file, Include/acstruct.h
9539
9540 Documentation:
9541
9542The programmer reference has been updated for the following new
9543interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
9544
9545 ------------------------------------------
9546Summary of changes for this label: 02_08_01
9547
9548Core ACPI CA Subsystem: Fixed a problem where an error was
9549incorrectly returned if the return resource buffer was larger than
9550the actual data (in the resource interfaces).
9551
9552References to named objects within packages are resolved to the
9553
9554full pathname string before packages are returned directly (via
9555the AcpiEvaluateObject interface) or indirectly via the resource
9556interfaces.
9557
9558Linux OS Services Layer (OSL):
9559
9560Improved /proc battery interface.
9561
9562
9563Added C-state debugging output and other miscellaneous fixes.
9564
9565ASL Compiler Version X2014:
9566
9567All defined method arguments can now be used as local variables,
9568including the ones that are not actually passed in as parameters.
9569The compiler tracks initialization of the arguments and issues an
9570exception if they are used without prior assignment (just like
9571locals).
9572
9573The -o option now specifies a filename prefix that is used for all
9574output files, including the AML output file.  Otherwise, the
9575default behavior is as follows:  1) the AML goes to the file
9576specified in the DSDT.  2) all other output files use the input
9577source filename as the base.
9578
9579 ------------------------------------------
9580Summary of changes for this label: 01_25_01
9581
9582Core ACPI CA Subsystem: Restructured the implementation of object
9583store support within the  interpreter.  This includes support for
9584the Store operator as well  as any ASL operators that include a
9585target operand.
9586
9587Partially implemented support for Implicit Result-to-Target
9588conversion. This is when a result object is converted on the fly
9589to the type of  an existing target object.  Completion of this
9590support is pending  further analysis of the ACPI specification
9591concerning this matter.
9592
9593CPU-specific code has been removed from the subsystem (hardware
9594directory).
9595
9596New Power Management Timer functions added
9597
9598Linux OS Services Layer (OSL): Moved system state transition code
9599to the core, fixed it, and modified  Linux OSL accordingly.
9600
9601Fixed C2 and C3 latency calculations.
9602
9603
9604We no longer use the compilation date for the version message on
9605initialization, but retrieve the version from AcpiGetSystemInfo().
9606
9607Incorporated for fix Sony VAIO machines.
9608
9609Documentation:  The Programmer Reference has been updated and
9610reformatted.
9611
9612
9613ASL Compiler:  Version X2013: Fixed a problem where the line
9614numbering and error reporting could get out  of sync in the
9615presence of multiple include files.
9616
9617 ------------------------------------------
9618Summary of changes for this label: 01_15_01
9619
9620Core ACPI CA Subsystem:
9621
9622Implemented support for type conversions in the execution of the
9623ASL  Concatenate operator (The second operand is converted to
9624match the type  of the first operand before concatenation.)
9625
9626Support for implicit source operand conversion is partially
9627implemented.   The ASL source operand types Integer, Buffer, and
9628String are freely  interchangeable for most ASL operators and are
9629converted by the interpreter  on the fly as required.  Implicit
9630Target operand conversion (where the  result is converted to the
9631target type before storing) is not yet implemented.
9632
9633Support for 32-bit and 64-bit BCD integers is implemented.
9634
9635Problem fixed where a field read on an aligned field could cause a
9636read  past the end of the field.
9637
9638New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
9639does not return a value, but the caller expects one.  (The ASL
9640compiler flags this as a warning.)
9641
9642ASL Compiler:
9643
9644Version X2011:
96451. Static typechecking of all operands is implemented. This
9646prevents the use of invalid objects (such as using a Package where
9647an Integer is required) at compile time instead of at interpreter
9648run-time.
96492. The ASL source line is printed with ALL errors and warnings.
96503. Bug fix for source EOF without final linefeed.
96514. Debug option is split into a parse trace and a namespace trace.
96525. Namespace output option (-n) includes initial values for
9653integers and strings.
96546. Parse-only option added for quick syntax checking.
96557. Compiler checks for duplicate ACPI name declarations
9656
9657Version X2012:
96581. Relaxed typechecking to allow interchangeability between
9659strings, integers, and buffers.  These types are now converted by
9660the interpreter at runtime.
96612. Compiler reports time taken by each internal subsystem in the
9662debug         output file.
9663
9664
9665 ------------------------------------------
9666Summary of changes for this label: 12_14_00
9667
9668ASL Compiler:
9669
9670This is the first official release of the compiler. Since the
9671compiler requires elements of the Core Subsystem, this label
9672synchronizes everything.
9673
9674------------------------------------------
9675Summary of changes for this label: 12_08_00
9676
9677
9678Fixed a problem where named references within the ASL definition
9679of both OperationRegions and CreateXXXFields did not work
9680properly.  The symptom was an AE_AML_OPERAND_TYPE during
9681initialization of the region/field. This is similar (but not
9682related internally) to the problem that was fixed in the last
9683label.
9684
9685Implemented both 32-bit and 64-bit support for the BCD ASL
9686functions ToBCD and FromBCD.
9687
9688Updated all legal headers to include "2000" in the copyright
9689years.
9690
9691 ------------------------------------------
9692Summary of changes for this label: 12_01_00
9693
9694Fixed a problem where method invocations within the ASL definition
9695of both OperationRegions and CreateXXXFields did not work
9696properly.  The symptom was an AE_AML_OPERAND_TYPE during
9697initialization of the region/field:
9698
9699  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
9700[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
9701(0x3005)
9702
9703Fixed a problem where operators with more than one nested
9704subexpression would fail.  The symptoms were varied, by mostly
9705AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
9706problem that has gone unnoticed until now.
9707
9708  Subtract (Add (1,2), Multiply (3,4))
9709
9710Fixed a problem where AcpiGetHandle didn't quite get fixed in the
9711previous build (The prefix part of a relative path was handled
9712incorrectly).
9713
9714Fixed a problem where Operation Region initialization failed if
9715the operation region name was a "namepath" instead of a simple
9716"nameseg". Symptom was an AE_NO_OPERAND error.
9717
9718Fixed a problem where an assignment to a local variable via the
9719indirect RefOf mechanism only worked for the first such
9720assignment.  Subsequent assignments were ignored.
9721
9722 ------------------------------------------
9723Summary of changes for this label: 11_15_00
9724
9725ACPI 2.0 table support with backwards support for ACPI 1.0 and the
97260.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
9727the AML  interpreter does NOT have support for the new 2.0 ASL
9728grammar terms at this time.
9729
9730All ACPI hardware access is via the GAS structures in the ACPI 2.0
9731FADT.
9732
9733All physical memory addresses across all platforms are now 64 bits
9734wide. Logical address width remains dependent on the platform
9735(i.e., "void *").
9736
9737AcpiOsMapMemory interface changed to a 64-bit physical address.
9738
9739The AML interpreter integer size is now 64 bits, as per the ACPI
97402.0 specification.
9741
9742For backwards compatibility with ACPI 1.0, ACPI tables with a
9743revision number less than 2 use 32-bit integers only.
9744
9745Fixed a problem where the evaluation of OpRegion operands did not
9746always resolve them to numbers properly.
9747
9748------------------------------------------
9749Summary of changes for this label: 10_20_00
9750
9751Fix for CBN_._STA issue.  This fix will allow correct access to
9752CBN_ OpRegions when the _STA returns 0x8.
9753
9754Support to convert ACPI constants (Ones, Zeros, One) to actual
9755values before a package object is returned
9756
9757Fix for method call as predicate to if/while construct causing
9758incorrect if/while behavior
9759
9760Fix for Else block package lengths sometimes calculated wrong (if
9761block > 63 bytes)
9762
9763Fix for Processor object length field, was always zero
9764
9765Table load abort if FACP sanity check fails
9766
9767Fix for problem with Scope(name) if name already exists
9768
9769Warning emitted if a named object referenced cannot be found
9770(resolved) during method execution.
9771
9772
9773
9774
9775
9776------------------------------------------
9777Summary of changes for this label: 9_29_00
9778
9779New table initialization interfaces: AcpiInitializeSubsystem no
9780longer has any parameters AcpiFindRootPointer - Find the RSDP (if
9781necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
9782>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
9783AcpiLoadTables
9784
9785Note: These interface changes require changes to all existing OSDs
9786
9787The PCI_Config default address space handler is always installed
9788at the root namespace object.
9789
9790-------------------------------------------
9791Summary of changes for this label: 09_15_00
9792
9793The new initialization architecture is implemented.  New
9794interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
9795AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
9796
9797(Namespace is automatically loaded when a table is loaded)
9798
9799The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
980052 bytes to 32 bytes.  There is usually one of these for every
9801namespace object, so the memory savings is significant.
9802
9803Implemented just-in-time evaluation of the CreateField operators.
9804
9805Bug fixes for IA-64 support have been integrated.
9806
9807Additional code review comments have been implemented
9808
9809The so-called "third pass parse" has been replaced by a final walk
9810through the namespace to initialize all operation regions (address
9811spaces) and fields that have not yet been initialized during the
9812execution of the various _INI and REG methods.
9813
9814New file - namespace/nsinit.c
9815
9816-------------------------------------------
9817Summary of changes for this label: 09_01_00
9818
9819Namespace manager data structures have been reworked to change the
9820primary  object from a table to a single object.  This has
9821resulted in dynamic memory  savings of 3X within the namespace and
98222X overall in the ACPI CA subsystem.
9823
9824Fixed problem where the call to AcpiEvFindPciRootBuses was
9825inadvertently left  commented out.
9826
9827Reduced the warning count when generating the source with the GCC
9828compiler.
9829
9830Revision numbers added to each module header showing the
9831SourceSafe version of the file.  Please refer to this version
9832number when giving us feedback or comments on individual modules.
9833
9834The main object types within the subsystem have been renamed to
9835clarify their  purpose:
9836
9837ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
9838ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
9839ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
9840
9841NOTE: no changes to the initialization sequence are included in
9842this label.
9843
9844-------------------------------------------
9845Summary of changes for this label: 08_23_00
9846
9847Fixed problem where TerminateControlMethod was being called
9848multiple times per  method
9849
9850Fixed debugger problem where single stepping caused a semaphore to
9851be  oversignalled
9852
9853Improved performance through additional parse object caching -
9854added  ACPI_EXTENDED_OP type
9855
9856-------------------------------------------
9857Summary of changes for this label: 08_10_00
9858
9859Parser/Interpreter integration:  Eliminated the creation of
9860complete parse trees  for ACPI tables and control methods.
9861Instead, parse subtrees are created and  then deleted as soon as
9862they are processed (Either entered into the namespace or  executed
9863by the interpreter).  This reduces the use of dynamic kernel
9864memory  significantly. (about 10X)
9865
9866Exception codes broken into classes and renumbered.  Be sure to
9867recompile all  code that includes acexcep.h.  Hopefully we won't
9868have to renumber the codes  again now that they are split into
9869classes (environment, programmer, AML code,  ACPI table, and
9870internal).
9871
9872Fixed some additional alignment issues in the Resource Manager
9873subcomponent
9874
9875Implemented semaphore tracking in the AcpiExec utility, and fixed
9876several places  where mutexes/semaphores were being unlocked
9877without a corresponding lock  operation.  There are no known
9878semaphore or mutex "leaks" at this time.
9879
9880Fixed the case where an ASL Return operator is used to return an
9881unnamed  package.
9882
9883-------------------------------------------
9884Summary of changes for this label: 07_28_00
9885
9886Fixed a problem with the way addresses were calculated in
9887AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
9888manifested itself when a Field was  created with WordAccess or
9889DwordAccess, but the field unit defined within the  Field was less
9890
9891than a Word or Dword.
9892
9893Fixed a problem in AmlDumpOperands() module's loop to pull
9894operands off of the  operand stack to display information. The
9895problem manifested itself as a TLB  error on 64-bit systems when
9896accessing an operand stack with two or more  operands.
9897
9898Fixed a problem with the PCI configuration space handlers where
9899context was  getting confused between accesses. This required a
9900change to the generic address  space handler and address space
9901setup definitions. Handlers now get both a  global handler context
9902(this is the one passed in by the user when executing
9903AcpiInstallAddressSpaceHandler() and a specific region context
9904that is unique to  each region (For example, the _ADR, _SEG and
9905_BBN values associated with a  specific region). The generic
9906function definitions have changed to the  following:
9907
9908typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
9909UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
9910*HandlerContext, // This used to be void *Context void
9911*RegionContext); // This is an additional parameter
9912
9913typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
9914RegionHandle, UINT32 Function, void *HandlerContext,  void
9915**RegionContext); // This used to be **ReturnContext
9916
9917-------------------------------------------
9918Summary of changes for this label: 07_21_00
9919
9920Major file consolidation and rename.  All files within the
9921interpreter have been  renamed as well as most header files.  This
9922was done to prevent collisions with  existing files in the host
9923OSs -- filenames such as "config.h" and "global.h"  seem to be
9924quite common.  The VC project files have been updated.  All
9925makefiles  will require modification.
9926
9927The parser/interpreter integration continues in Phase 5 with the
9928implementation  of a complete 2-pass parse (the AML is parsed
9929twice) for each table;  This  avoids the construction of a huge
9930parse tree and therefore reduces the amount of  dynamic memory
9931required by the subsystem.  Greater use of the parse object cache
9932means that performance is unaffected.
9933
9934Many comments from the two code reviews have been rolled in.
9935
9936The 64-bit alignment support is complete.
9937
9938-------------------------------------------
9939Summary of changes for this label: 06_30_00
9940
9941With a nod and a tip of the hat to the technology of yesteryear,
9942we've added  support in the source code for 80 column output
9943devices.  The code is now mostly  constrained to 80 columns or
9944less to support environments and editors that 1)  cannot display
9945or print more than 80 characters on a single line, and 2) cannot
9946disable line wrapping.
9947
9948A major restructuring of the namespace data structure has been
9949completed.  The  result is 1) cleaner and more
9950understandable/maintainable code, and 2) a  significant reduction
9951in the dynamic memory requirement for each named ACPI  object
9952(almost half).
9953
9954-------------------------------------------
9955Summary of changes for this label: 06_23_00
9956
9957Linux support has been added.  In order to obtain approval to get
9958the ACPI CA  subsystem into the Linux kernel, we've had to make
9959quite a few changes to the  base subsystem that will affect all
9960users (all the changes are generic and OS- independent).  The
9961effects of these global changes have been somewhat far  reaching.
9962Files have been merged and/or renamed and interfaces have been
9963renamed.   The major changes are described below.
9964
9965Osd* interfaces renamed to AcpiOs* to eliminate namespace
9966pollution/confusion  within our target kernels.  All OSD
9967interfaces must be modified to match the new  naming convention.
9968
9969Files merged across the subsystem.  A number of the smaller source
9970and header  files have been merged to reduce the file count and
9971increase the density of the  existing files.  There are too many
9972to list here.  In general, makefiles that  call out individual
9973files will require rebuilding.
9974
9975Interpreter files renamed.  All interpreter files now have the
9976prefix am*  instead of ie* and is*.
9977
9978Header files renamed:  The acapi.h file is now acpixf.h.  The
9979acpiosd.h file is  now acpiosxf.h.  We are removing references to
9980the acronym "API" since it is  somewhat windowsy. The new name is
9981"external interface" or xface or xf in the  filenames.j
9982
9983
9984All manifest constants have been forced to upper case (some were
9985mixed case.)   Also, the string "ACPI_" has been prepended to many
9986(not all) of the constants,  typedefs, and structs.
9987
9988The globals "DebugLevel" and "DebugLayer" have been renamed
9989"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
9990
9991All other globals within the subsystem are now prefixed with
9992"AcpiGbl_" Internal procedures within the subsystem are now
9993prefixed with "Acpi" (with only  a few exceptions).  The original
9994two-letter abbreviation for the subcomponent  remains after "Acpi"
9995- for example, CmCallocate became AcpiCmCallocate.
9996
9997Added a source code translation/conversion utility.  Used to
9998generate the Linux  source code, it can be modified to generate
9999other types of source as well. Can  also be used to cleanup
10000existing source by removing extraneous spaces and blank  lines.
10001Found in tools/acpisrc/*
10002
10003OsdUnMapMemory was renamed to OsdUnmapMemory and then
10004AcpiOsUnmapMemory.  (UnMap  became Unmap).
10005
10006A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10007When set to  one, this indicates that the caller wants to use the
10008
10009semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10010both types.  However, implementers of this  call may want to use
10011different OS primitives depending on the type of semaphore
10012requested.  For example, some operating systems provide separate
10013
10014"mutex" and  "semaphore" interfaces - where the mutex interface is
10015much faster because it  doesn't have all the overhead of a full
10016semaphore implementation.
10017
10018Fixed a deadlock problem where a method that accesses the PCI
10019address space can  block forever if it is the first access to the
10020space.
10021
10022-------------------------------------------
10023Summary of changes for this label: 06_02_00
10024
10025Support for environments that cannot handle unaligned data
10026accesses (e.g.  firmware and OS environments devoid of alignment
10027handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10028been added (via configurable macros) in  these three areas: -
10029Transfer of data from the raw AML byte stream is done via byte
10030moves instead of    word/dword/qword moves. - External objects are
10031aligned within the user buffer, including package   elements (sub-
10032objects). - Conversion of name strings to UINT32 Acpi Names is now
10033done byte-wise.
10034
10035The Store operator was modified to mimic Microsoft's
10036implementation when storing  to a Buffer Field.
10037
10038Added a check of the BM_STS bit before entering C3.
10039
10040The methods subdirectory has been obsoleted and removed.  A new
10041file, cmeval.c  subsumes the functionality.
10042
10043A 16-bit (DOS) version of AcpiExec has been developed.  The
10044makefile is under  the acpiexec directory.
10045