changes.txt revision 213806
1117521Snjl----------------------------------------
2213806Sjkim13 October 2010. Summary of changes for version 20101013:
3213806Sjkim
4213806SjkimThis release is available at www.acpica.org/downloads
5213806Sjkim
6213806Sjkim1) ACPI CA Core Subsystem:
7213806Sjkim
8213806SjkimAdded support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
9213806Sjkimclear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
10213806SjkimHwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
11213806Sjkim
12213806SjkimChanged the type of the predefined namespace object _TZ from ThermalZone to 
13213806SjkimDevice. This was found to be confusing to the host software that processes 
14213806Sjkimthe various thermal zones, since _TZ is not really a ThermalZone. However, a 
15213806SjkimNotify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
16213806SjkimZhang.
17213806Sjkim
18213806SjkimAdded Windows Vista SP2 to the list of supported _OSI strings. The actual 
19213806Sjkimstring is "Windows 2006 SP2".
20213806Sjkim
21213806SjkimEliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
22213806Sjkimcode automatically repairs _HID-related strings, this type of code is no 
23213806Sjkimlonger needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
24213806Sjkim
25213806SjkimExample Code and Data Size: These are the sizes for the OS-independent 
26213806Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
27213806Sjkimdebug version of the code includes the debug output trace mechanism and has a 
28213806Sjkimmuch larger code and data size.
29213806Sjkim
30213806Sjkim  Previous Release:
31213806Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
32213806Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
33213806Sjkim  Current Release:
34213806Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
35213806Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
36213806Sjkim
37213806Sjkim2) iASL Compiler/Disassembler and Tools:
38213806Sjkim
39213806SjkimiASL: Implemented additional compile-time validation for _HID strings. The 
40213806Sjkimnon-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
41213806Sjkimthe string must be exactly seven or eight characters. For both _HID and _CID 
42213806Sjkimstrings, all characters must be alphanumeric. ACPICA BZ 874.
43213806Sjkim
44213806SjkimiASL: Allow certain "null" resource descriptors. Some BIOS code creates 
45213806Sjkimdescriptors that are mostly or all zeros, with the expectation that they will 
46213806Sjkimbe filled in at runtime. iASL now allows this as long as there is a "resource 
47213806Sjkimtag" (name) associated with the descriptor, which gives the ASL a handle 
48213806Sjkimneeded to modify the descriptor. ACPICA BZ 873.
49213806Sjkim
50213806SjkimAdded single-thread support to the generic Unix application OSL. Primarily 
51213806Sjkimfor iASL support, this change removes the use of semaphores in the single-
52213806Sjkimthreaded ACPICA tools/applications - increasing performance. The 
53213806Sjkim_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
54213806Sjkimoption. ACPICA BZ 879.
55213806Sjkim
56213806SjkimAcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
57213806Sjkimfor 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
58213806Sjkim
59213806SjkimiASL: Moved all compiler messages to a new file, aslmessages.h.
60213806Sjkim
61213806Sjkim----------------------------------------
62212761Sjkim15 September 2010. Summary of changes for version 20100915:
63212761Sjkim
64212761SjkimThis release is available at www.acpica.org/downloads
65212761Sjkim
66212761Sjkim1) ACPI CA Core Subsystem:
67212761Sjkim
68212761SjkimRemoved the AcpiOsDerivePciId OSL interface. The various host implementations 
69212761Sjkimof this function were not OS-dependent and are now obsolete and can be 
70212761Sjkimremoved from all host OSLs. This function has been replaced by 
71212761SjkimAcpiHwDerivePciId, which is now part of the ACPICA core code. 
72212761SjkimAcpiHwDerivePciId has been implemented without recursion. Adds one new 
73212761Sjkimmodule, hwpci.c. ACPICA BZ 857.
74212761Sjkim
75212761SjkimImplemented a dynamic repair for _HID and _CID strings. The following 
76212761Sjkimproblems are now repaired at runtime: 1) Remove a leading asterisk in the 
77212761Sjkimstring, and 2) the entire string is uppercased. Both repairs are in 
78212761Sjkimaccordance with the ACPI specification and will simplify host driver code. 
79212761SjkimACPICA BZ 871.
80212761Sjkim
81212761SjkimThe ACPI_THREAD_ID type is no longer configurable, internally it is now 
82212761Sjkimalways UINT64. This simplifies the ACPICA code, especially any printf output. 
83212761SjkimUINT64 is the only common data type for all thread_id types across all 
84212761Sjkimoperating systems. It is now up to the host OSL to cast the native thread_id 
85212761Sjkimtype to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
86212761SjkimLin Ming, Bob Moore.
87212761Sjkim
88212761SjkimAdded the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
89212761Sjkimkeyword is not standard across compilers, and this type allows inline to be 
90212761Sjkimconfigured on a per-compiler basis. Lin Ming.
91212761Sjkim
92212761SjkimMade the system global AcpiGbl_SystemAwakeAndRunning publically available. 
93212761SjkimAdded an extern for this boolean in acpixf.h. Some hosts utilize this value 
94212761Sjkimduring suspend/restore operations. ACPICA BZ 869.
95212761Sjkim
96212761SjkimAll code that implements error/warning messages with the "ACPI:" prefix has 
97212761Sjkimbeen moved to a new module, utxferror.c.
98212761Sjkim
99212761SjkimThe UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
100212761Sjkimis used. ACPICA BZ 829. Lin Ming, Bob Moore.
101212761Sjkim
102212761SjkimExample Code and Data Size: These are the sizes for the OS-independent 
103212761Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
104212761Sjkimdebug version of the code includes the debug output trace mechanism and has a 
105212761Sjkimmuch larger code and data size.
106212761Sjkim
107212761Sjkim  Previous Release:
108212761Sjkim    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
109212761Sjkim    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
110212761Sjkim  Current Release:
111212761Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
112212761Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
113212761Sjkim
114212761Sjkim2) iASL Compiler/Disassembler and Tools:
115212761Sjkim
116212761SjkimiASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
117212761SjkimThis keeps the output files free of random error messages that may originate 
118212761Sjkimfrom within the namespace/interpreter code. Used this opportunity to merge 
119212761Sjkimall ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
120212761Sjkim866. Lin Ming, Bob Moore.
121212761Sjkim
122212761SjkimTools: update some printfs for ansi warnings on size_t. Handle width change 
123212761Sjkimof size_t on 32-bit versus 64-bit generations. Lin Ming.
124212761Sjkim
125212761Sjkim----------------------------------------
126210976Sjkim06 August 2010. Summary of changes for version 20100806:
127210976Sjkim
128210976Sjkim1) ACPI CA Core Subsystem:
129210976Sjkim
130210976SjkimDesigned and implemented a new host interface to the _OSI support code. This 
131210976Sjkimwill allow the host to dynamically add or remove multiple _OSI strings, as 
132210976Sjkimwell as install an optional handler that is called for each _OSI invocation. 
133210976SjkimAlso added a new AML debugger command, 'osi' to display and modify the global 
134210976Sjkim_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
135210976Sjkimreference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
136210976SjkimNew Functions:
137210976Sjkim    AcpiInstallInterface - Add an _OSI string.
138210976Sjkim    AcpiRemoveInterface - Delete an _OSI string.
139210976Sjkim    AcpiInstallInterfaceHandler - Install optional _OSI handler.
140210976SjkimObsolete Functions:
141210976Sjkim    AcpiOsValidateInterface - no longer used.
142210976SjkimNew Files:
143210976Sjkim    source/components/utilities/utosi.c
144210976Sjkim
145210976SjkimRe-introduced the support to enable multi-byte transfers for Embedded 
146210976SjkimController (EC) operation regions. A reported problem was found to be a bug 
147210976Sjkimin the host OS, not in the multi-byte support. Previously, the maximum data 
148210976Sjkimsize passed to the EC operation region handler was a single byte. There are 
149210976Sjkimoften EC Fields larger than one byte that need to be transferred, and it is 
150210976Sjkimuseful for the EC driver to lock these as a single transaction. This change 
151210976Sjkimenables single transfers larger than 8 bits. This effectively changes the 
152210976Sjkimaccess to the EC space from ByteAcc to AnyAcc, and will probably require 
153210976Sjkimchanges to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
154210976Sjkimtransfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
155210976Sjkim
156210976SjkimFixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
157210976Sjkimprototype in acpiosxf.h had the output value pointer as a (void *).
158210976SjkimIt should be a (UINT64 *). This may affect some host OSL code.
159210976Sjkim
160210976SjkimFixed a couple problems with the recently modified Linux makefiles for iASL 
161210976Sjkimand AcpiExec. These new makefiles place the generated object files in the 
162210976Sjkimlocal directory so that there can be no collisions between the files that are 
163210976Sjkimshared between them that are compiled with different options.
164210976Sjkim
165210976SjkimExample Code and Data Size: These are the sizes for the OS-independent 
166210976Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
167210976Sjkimdebug version of the code includes the debug output trace mechanism and has a 
168210976Sjkimmuch larger code and data size.
169210976Sjkim
170210976Sjkim  Previous Release:
171210976Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
172210976Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
173210976Sjkim  Current Release:
174210976Sjkim    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
175210976Sjkim    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
176210976Sjkim
177210976Sjkim2) iASL Compiler/Disassembler and Tools:
178210976Sjkim
179210976SjkimiASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
180210976Sjkimnamespace from and disassemble an entire group of AML files. Useful for 
181210976Sjkimloading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
182210976Sjkimdisassembling with one simple command. ACPICA BZ 865. Lin Ming.
183210976Sjkim
184210976SjkimiASL: Allow multiple invocations of -e option. This change allows multiple 
185210976Sjkimuses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
186210976SjkimLin Ming.
187210976Sjkim
188210976Sjkim----------------------------------------
189209746Sjkim02 July 2010. Summary of changes for version 20100702:
190209746Sjkim
191209746Sjkim1) ACPI CA Core Subsystem:
192209746Sjkim
193209746SjkimImplemented several updates to the recently added GPE reference count 
194209746Sjkimsupport. The model for "wake" GPEs is changing to give the host OS complete 
195209746Sjkimcontrol of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
196209746Sjkimmethods, since the host already must execute them. Also, additional changes 
197209746Sjkimwere made to help ensure that the reference counts are kept in proper 
198209746Sjkimsynchronization with reality. Rafael J. Wysocki.
199209746Sjkim
200209746Sjkim1) Ensure that GPEs are not enabled twice during initialization.
201209746Sjkim2) Ensure that GPE enable masks stay in sync with the reference count.
202209746Sjkim3) Do not inadvertently enable GPEs when writing GPE registers.
203209746Sjkim4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
204209746Sjkiminterface. This interface will set or clear individual GPEs for wakeup.
205209746Sjkim5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
206209746Sjkimare now used for "runtime" GPEs only.
207209746Sjkim
208209746SjkimChanged the behavior of the GPE install/remove handler interfaces. The GPE is 
209209746Sjkimno longer disabled during this process, as it was found to cause problems on 
210209746Sjkimsome machines. Rafael J. Wysocki.
211209746Sjkim
212209746SjkimReverted a change introduced in version 20100528 to enable Embedded 
213209746SjkimController multi-byte transfers. This change was found to cause problems with 
214209746SjkimIndex Fields and possibly Bank Fields. It will be reintroduced when these 
215209746Sjkimproblems have been resolved.
216209746Sjkim
217209746SjkimFixed a problem with references to Alias objects within Package Objects. A 
218209746Sjkimreference to an Alias within the definition of a Package was not always 
219209746Sjkimresolved properly. Aliases to objects like Processors, Thermal zones, etc. 
220209746Sjkimwere resolved to the actual object instead of a reference to the object as it 
221209746Sjkimshould be. Package objects are only allowed to contain integer, string, 
222209746Sjkimbuffer, package, and reference objects. Redhat bugzilla 608648.
223209746Sjkim
224209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
225209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
226209746Sjkimdebug version of the code includes the debug output trace mechanism and has a 
227209746Sjkimmuch larger code and data size.
228209746Sjkim
229209746Sjkim  Previous Release:
230209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
231209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
232209746Sjkim  Current Release:
233209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
234209746Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
235209746Sjkim
236209746Sjkim2) iASL Compiler/Disassembler and Tools:
237209746Sjkim
238209746SjkimiASL: Implemented a new compiler subsystem to allow definition and 
239209746Sjkimcompilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
240209746Sjkimare called "ACPI Data Tables", and the new compiler is the "Data Table 
241209746SjkimCompiler". This compiler is intended to simplify the existing error-prone 
242209746Sjkimprocess of creating these tables for the BIOS, as well as allowing the 
243209746Sjkimdisassembly, modification, recompilation, and override of existing ACPI data 
244209746Sjkimtables. See the iASL User Guide for detailed information.
245209746Sjkim
246209746SjkimiASL: Implemented a new Template Generator option in support of the new Data 
247209746SjkimTable Compiler. This option will create examples of all known ACPI tables 
248209746Sjkimthat can be used as the basis for table development. See the iASL 
249209746Sjkimdocumentation and the -T option.
250209746Sjkim
251209746SjkimDisassembler and headers: Added support for the WDDT ACPI table (Watchdog 
252209746SjkimDescriptor Table).
253209746Sjkim
254209746SjkimUpdated the Linux makefiles for iASL and AcpiExec to place the generated 
255209746Sjkimobject files in the local directory so that there can be no collisions 
256209746Sjkimbetween the shared files between them that are generated with different 
257209746Sjkimoptions.
258209746Sjkim
259209746SjkimAdded support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
260209746Sjkimthe #define __APPLE__ to enable this support.
261209746Sjkim
262209746Sjkim----------------------------------------
263209746Sjkim28 May 2010. Summary of changes for version 20100528:
264209746Sjkim
265209746SjkimNote: The ACPI 4.0a specification was released on April 5, 2010 and is 
266209746Sjkimavailable at www.acpi.info. This is primarily an errata release.
267209746Sjkim
268209746Sjkim1) ACPI CA Core Subsystem:
269209746Sjkim
270209746SjkimUndefined ACPI tables: We are looking for the definitions for the following 
271209746SjkimACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
272209746Sjkim
273209746SjkimImplemented support to enable multi-byte transfers for Embedded Controller 
274209746Sjkim(EC) operation regions. Previously, the maximum data size passed to the EC 
275209746Sjkimoperation region handler was a single byte. There are often EC Fields larger 
276209746Sjkimthan one byte that need to be transferred, and it is useful for the EC driver 
277209746Sjkimto lock these as a single transaction. This change enables single transfers 
278209746Sjkimlarger than 8 bits. This effectively changes the access to the EC space from 
279209746SjkimByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
280209746SjkimController driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
281209746Sjkimtransfers. Alexey Starikovskiy, Lin Ming
282209746Sjkim
283209746SjkimImplemented a performance enhancement for namespace search and access. This 
284209746Sjkimchange enhances the performance of namespace searches and walks by adding a 
285209746Sjkimbackpointer to the parent in each namespace node. On large namespaces, this 
286209746Sjkimchange can improve overall ACPI performance by up to 9X. Adding a pointer to 
287209746Sjkimeach namespace node increases the overall size of the internal namespace by 
288209746Sjkimabout 5%, since each namespace entry usually consists of both a namespace 
289209746Sjkimnode and an ACPI operand object. However, this is the first growth of the 
290209746Sjkimnamespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
291209746Sjkim
292209746SjkimImplemented a performance optimization that reduces the number of namespace 
293209746Sjkimwalks. On control method exit, only walk the namespace if the method is known 
294209746Sjkimto have created namespace objects outside of its local scope. Previously, the 
295209746Sjkimentire namespace was traversed on each control method exit. This change can 
296209746Sjkimimprove overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
297209746Sjkim
298209746SjkimAdded support to truncate I/O addresses to 16 bits for Windows compatibility. 
299209746SjkimSome ASL code has been seen in the field that inadvertently has bits set 
300209746Sjkimabove bit 15. This feature is optional and is enabled if the BIOS requests 
301209746Sjkimany Windows OSI strings. It can also be enabled by the host OS. Matthew 
302209746SjkimGarrett, Bob Moore.
303209746Sjkim
304209746SjkimAdded support to limit the maximum time for the ASL Sleep() operator. To 
305209746Sjkimprevent accidental deep sleeps, limit the maximum time that Sleep() will 
306209746Sjkimactually sleep. Configurable, the default maximum is two seconds. ACPICA 
307209746Sjkimbugzilla 854.
308209746Sjkim
309209746SjkimAdded run-time validation support for the _WDG and_WED Microsoft predefined 
310209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
311209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
312209746Sjkim
313209746SjkimExpanded all statistic counters used during namespace and device 
314209746Sjkiminitialization from 16 to 32 bits in order to support very large namespaces.
315209746Sjkim
316209746SjkimReplaced all instances of %d in printf format specifiers with %u since nearly 
317209746Sjkimall integers in ACPICA are unsigned.
318209746Sjkim
319209746SjkimFixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
320209746Sjkimas AE_NO_HANDLER.
321209746Sjkim
322209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
323209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
324209746Sjkimdebug version of the code includes the debug output trace mechanism and has a 
325209746Sjkimmuch larger code and data size.
326209746Sjkim
327209746Sjkim  Previous Release:
328209746Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
329209746Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
330209746Sjkim  Current Release:
331209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
332209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
333209746Sjkim
334209746Sjkim2) iASL Compiler/Disassembler and Tools:
335209746Sjkim
336209746SjkimiASL: Added compiler support for the _WDG and_WED Microsoft predefined 
337209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
338209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
339209746Sjkim
340209746SjkimAcpiExec: added option to disable the memory tracking mechanism. The -dt 
341209746Sjkimoption will disable the tracking mechanism, which improves performance 
342209746Sjkimconsiderably.
343209746Sjkim
344209746SjkimAcpiExec: Restructured the command line options into -d (disable) and -e 
345209746Sjkim(enable) options.
346209746Sjkim
347209746Sjkim----------------------------------------
348207344Sjkim28 April 2010. Summary of changes for version 20100428:
349207344Sjkim
350207344Sjkim1) ACPI CA Core Subsystem:
351207344Sjkim
352207344SjkimImplemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
353207344Sjkimincluding FADT-based and GPE Block Devices, execute any _PRW methods in the 
354207344Sjkimnew table, and process any _Lxx/_Exx GPE methods in the new table. Any 
355207344Sjkimruntime GPE that is referenced by an _Lxx/_Exx method in the new table is 
356207344Sjkimimmediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
357207344SjkimDevices. Provides compatibility with other ACPI implementations. Two new 
358207344Sjkimfiles added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
359207344Sjkim
360207344SjkimFixed a regression introduced in version 20100331 within the table manager 
361207344Sjkimwhere initial table loading could fail. This was introduced in the fix for 
362207344SjkimAcpiReallocateRootTable. Also, renamed some of fields in the table manager 
363207344Sjkimdata structures to clarify their meaning and use.
364207344Sjkim
365207344SjkimFixed a possible allocation overrun during internal object copy in 
366207344SjkimAcpiUtCopySimpleObject. The original code did not correctly handle the case 
367207344Sjkimwhere the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
368207344Sjkim
369207344SjkimUpdated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
370207344Sjkimpossible access beyond end-of-allocation. Also, now fully validate descriptor 
371207344Sjkim(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
372207344Sjkim
373207344SjkimExample Code and Data Size: These are the sizes for the OS-independent 
374207344Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
375207344Sjkimdebug version of the code includes the debug output trace mechanism and has a 
376207344Sjkimmuch larger code and data size.
377207344Sjkim
378207344Sjkim  Previous Release:
379207344Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
380207344Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
381207344Sjkim  Current Release:
382207344Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
383207344Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
384207344Sjkim
385207344Sjkim2) iASL Compiler/Disassembler and Tools:
386207344Sjkim
387207344SjkimiASL: Implemented Min/Max/Len/Gran validation for address resource 
388207344Sjkimdescriptors. This change implements validation for the address fields that 
389207344Sjkimare common to all address-type resource descriptors. These checks are 
390207344Sjkimimplemented: Checks for valid Min/Max, length within the Min/Max window, 
391207344Sjkimvalid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
392207344Sjkimtable 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
393207344Sjkimand aslrestype2.c files into five new files. ACPICA BZ 840.
394207344Sjkim
395207344SjkimiASL: Added support for the _Wxx predefined names. This support was missing 
396207344Sjkimand these names were not recognized by the compiler as valid predefined 
397207344Sjkimnames. ACPICA BZ 851.
398207344Sjkim
399207344SjkimiASL: Added an error for all predefined names that are defined to return no 
400207344Sjkimvalue and thus must be implemented as Control Methods. These include all of 
401207344Sjkimthe _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
402207344Sjkimnames such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
403207344Sjkim
404207344SjkimiASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
405207344SjkimASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
406207344Sjkimdynamically loaded via the Load() operator. Also cleaned up output for the -
407207344Sjkimta and -tc options. ACPICA BZ 853.
408207344Sjkim
409207344SjkimTests: Added a new file with examples of extended iASL error checking. 
410207344SjkimDemonstrates the advanced error checking ability of the iASL compiler. 
411207344SjkimAvailable at tests/misc/badcode.asl.
412207344Sjkim
413207344Sjkim----------------------------------------
414206117Sjkim31 March 2010. Summary of changes for version 20100331:
415206117Sjkim
416206117Sjkim1) ACPI CA Core Subsystem:
417206117Sjkim
418206117SjkimCompleted a major update for the GPE support in order to improve support for 
419206117Sjkimshared GPEs and to simplify both host OS and ACPICA code. Added a reference 
420206117Sjkimcount mechanism to support shared GPEs that require multiple device drivers. 
421206117SjkimSeveral external interfaces have changed. One external interface has been 
422206117Sjkimremoved. One new external interface was added. Most of the GPE external 
423206117Sjkiminterfaces now use the GPE spinlock instead of the events mutex (and the 
424206117SjkimFlags parameter for many GPE interfaces has been removed.) See the updated 
425206117SjkimACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
426206117SjkimWysocki. ACPICA BZ 831.
427206117Sjkim
428206117SjkimChanged:
429206117Sjkim    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
430206117SjkimRemoved:
431206117Sjkim    AcpiSetGpeType
432206117SjkimNew:
433206117Sjkim    AcpiSetGpe
434206117Sjkim
435206117SjkimImplemented write support for DataTable operation regions. These regions are 
436206117Sjkimdefined via the DataTableRegion() operator. Previously, only read support was 
437206117Sjkimimplemented. The ACPI specification allows DataTableRegions to be read/write, 
438206117Sjkimhowever.
439206117Sjkim
440206117SjkimImplemented a new subsystem option to force a copy of the DSDT to local 
441206117Sjkimmemory. Optionally copy the entire DSDT to local memory (instead of simply 
442206117Sjkimmapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
443206117Sjkimthe original DSDT, creating the need for this option. Default is FALSE, do 
444206117Sjkimnot copy the DSDT.
445206117Sjkim
446206117SjkimImplemented detection of a corrupted or replaced DSDT. This change adds 
447206117Sjkimsupport to detect a DSDT that has been corrupted and/or replaced from outside 
448206117Sjkimthe OS (by firmware). This is typically catastrophic for the system, but has 
449206117Sjkimbeen seen on some machines. Once this problem has been detected, the DSDT 
450206117Sjkimcopy option can be enabled via system configuration. Lin Ming, Bob Moore.
451206117Sjkim
452206117SjkimFixed two problems with AcpiReallocateRootTable during the root table copy. 
453206117SjkimWhen copying the root table to the new allocation, the length used was 
454206117Sjkimincorrect. The new size was used instead of the current table size, meaning 
455206117Sjkimtoo much data was copied. Also, the count of available slots for ACPI tables 
456206117Sjkimwas not set correctly. Alexey Starikovskiy, Bob Moore.
457206117Sjkim
458206117SjkimExample Code and Data Size: These are the sizes for the OS-independent 
459206117Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
460206117Sjkimdebug version of the code includes the debug output trace mechanism and has a 
461206117Sjkimmuch larger code and data size.
462206117Sjkim
463206117Sjkim  Previous Release:
464206117Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
465206117Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
466206117Sjkim  Current Release:
467206117Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
468206117Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
469206117Sjkim
470206117Sjkim2) iASL Compiler/Disassembler and Tools:
471206117Sjkim
472206117SjkimiASL: Implement limited typechecking for values returned from predefined 
473206117Sjkimcontrol methods. The type of any returned static (unnamed) object is now 
474206117Sjkimvalidated. For example, Return(1). ACPICA BZ 786.
475206117Sjkim
476206117SjkimiASL: Fixed a predefined name object verification regression. Fixes a problem 
477206117Sjkimintroduced in version 20100304. An error is incorrectly generated if a 
478206117Sjkimpredefined name is declared as a static named object with a value defined 
479206117Sjkimusing the keywords "Zero", "One", or "Ones". Lin Ming.
480206117Sjkim
481206117SjkimiASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
482206117Sjkimreducing the requested registry access rights. ACPICA BZ 842.
483206117Sjkim
484206117SjkimDisassembler: fixed a possible fault when generating External() statements. 
485206117SjkimIntroduced in commit ae7d6fd: Properly handle externals with parent-prefix 
486206117Sjkim(carat). Fixes a string length allocation calculation. Lin Ming.
487206117Sjkim
488206117Sjkim----------------------------------------
489204773Sjkim04 March 2010. Summary of changes for version 20100304:
490204773Sjkim
491204773Sjkim1) ACPI CA Core Subsystem:
492204773Sjkim
493204773SjkimFixed a possible problem with the AML Mutex handling function 
494204773SjkimAcpiExReleaseMutex where the function could fault under the very rare 
495204773Sjkimcondition when the interpreter has blocked, the interpreter lock is released, 
496204773Sjkimthe interpreter is then reentered via the same thread, and attempts to 
497204773Sjkimacquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
498204773SjkimMing.
499204773Sjkim
500204773SjkimImplemented additional configuration support for the AML "Debug Object". 
501204773SjkimOutput from the debug object can now be enabled via a global variable, 
502204773SjkimAcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
503204773SjkimThis debug output is now available in the release version of ACPICA instead 
504204773Sjkimof just the debug version. Also, the entire debug output module can now be 
505204773Sjkimconfigured out of the ACPICA build if desired. One new file added, 
506204773Sjkimexecuter/exdebug.c. Lin Ming, Bob Moore.
507204773Sjkim
508204773SjkimAdded header support for the ACPI MCHI table (Management Controller Host 
509204773SjkimInterface Table). This table was added in ACPI 4.0, but the defining document 
510204773Sjkimhas only recently become available.
511204773Sjkim
512204773SjkimStandardized output of integer values for ACPICA warnings/errors. Always use 
513204773Sjkim0x prefix for hex output, always use %u for unsigned integer decimal output. 
514204773SjkimAffects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
515204773Sjkiminvocations.) These invocations were converted from the original 
516204773SjkimACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
517204773Sjkim
518204773SjkimExample Code and Data Size: These are the sizes for the OS-independent 
519204773Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
520204773Sjkimdebug version of the code includes the debug output trace mechanism and has a 
521204773Sjkimmuch larger code and data size.
522204773Sjkim
523204773Sjkim  Previous Release:
524204773Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
525204773Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
526204773Sjkim  Current Release:
527204773Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
528204773Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
529204773Sjkim
530204773Sjkim2) iASL Compiler/Disassembler and Tools:
531204773Sjkim
532204773SjkimiASL: Implemented typechecking support for static (non-control method) 
533204773Sjkimpredefined named objects that are declared with the Name() operator. For 
534204773Sjkimexample, the type of this object is now validated to be of type Integer: 
535204773SjkimName(_BBN, 1). This change migrates the compiler to using the core predefined 
536204773Sjkimname table instead of maintaining a local version. Added a new file, 
537204773Sjkimaslpredef.c. ACPICA BZ 832.
538204773Sjkim
539204773SjkimDisassembler: Added support for the ACPI 4.0 MCHI table.
540204773Sjkim
541204773Sjkim----------------------------------------
542202771Sjkim21 January 2010. Summary of changes for version 20100121:
543202771Sjkim
544202771Sjkim1) ACPI CA Core Subsystem:
545202771Sjkim
546202771SjkimAdded the 2010 copyright to all module headers and signons. This affects 
547202771Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, the 
548202771Sjkimtools/utilities, and the test suites.
549202771Sjkim
550202771SjkimImplemented a change to the AcpiGetDevices interface to eliminate unnecessary 
551202771Sjkiminvocations of the _STA method. In the case where a specific _HID is 
552202771Sjkimrequested, do not run _STA until a _HID match is found. This eliminates 
553202771Sjkimpotentially dozens of _STA calls during a search for a particular device/HID, 
554202771Sjkimwhich in turn can improve boot times. ACPICA BZ 828. Lin Ming.
555202771Sjkim
556202771SjkimImplemented an additional repair for predefined method return values. Attempt 
557202771Sjkimto repair unexpected NULL elements within returned Package objects. Create an 
558202771SjkimInteger of value zero, a NULL String, or a zero-length Buffer as appropriate. 
559202771SjkimACPICA BZ 818. Lin Ming, Bob Moore.
560202771Sjkim
561202771SjkimRemoved the obsolete ACPI_INTEGER data type. This type was introduced as the 
562202771Sjkimcode was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
563202771Sjkim64-bit AML integers). It is now obsolete and this change removes it from the 
564202771SjkimACPICA code base, replaced by UINT64. The original typedef has been retained 
565202771Sjkimfor now for compatibility with existing device driver code. ACPICA BZ 824.
566202771Sjkim
567202771SjkimRemoved the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
568202771Sjkimthe parse tree object.
569202771Sjkim
570202771SjkimAdded additional warning options for the gcc-4 generation. Updated the source 
571202771Sjkimaccordingly. This includes some code restructuring to eliminate unreachable 
572202771Sjkimcode, elimination of some gotos, elimination of unused return values, some 
573202771Sjkimadditional casting, and removal of redundant declarations.
574202771Sjkim
575202771SjkimExample Code and Data Size: These are the sizes for the OS-independent 
576202771Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
577202771Sjkimdebug version of the code includes the debug output trace mechanism and has a 
578202771Sjkimmuch larger code and data size.
579202771Sjkim
580202771Sjkim  Previous Release:
581202771Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
582202771Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
583202771Sjkim  Current Release:
584202771Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
585202771Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
586202771Sjkim
587202771Sjkim2) iASL Compiler/Disassembler and Tools:
588202771Sjkim
589202771SjkimNo functional changes for this release.
590202771Sjkim
591202771Sjkim----------------------------------------
592200553Sjkim14 December 2009. Summary of changes for version 20091214:
593200553Sjkim
594200553Sjkim1) ACPI CA Core Subsystem:
595200553Sjkim
596200553SjkimEnhanced automatic data type conversions for predefined name repairs. This 
597200553Sjkimchange expands the automatic repairs/conversions for predefined name return 
598200553Sjkimvalues to make Integers, Strings, and Buffers fully interchangeable. Also, a 
599200553SjkimBuffer can be converted to a Package of Integers if necessary. The nsrepair.c 
600200553Sjkimmodule was completely restructured. Lin Ming, Bob Moore.
601200553Sjkim
602200553SjkimImplemented automatic removal of null package elements during predefined name 
603200553Sjkimrepairs. This change will automatically remove embedded and trailing NULL 
604200553Sjkimpackage elements from returned package objects that are defined to contain a 
605200553Sjkimvariable number of sub-packages. The driver is then presented with a package 
606200553Sjkimwith no null elements to deal with. ACPICA BZ 819.
607200553Sjkim
608200553SjkimImplemented a repair for the predefined _FDE and _GTM names. The expected 
609200553Sjkimreturn value for both names is a Buffer of 5 DWORDs. This repair fixes two 
610200553Sjkimpossible problems (both seen in the field), where a package of integers is 
611200553Sjkimreturned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
612200553Sjkim
613200553SjkimImplemented additional module-level code support. This change will properly 
614200553Sjkimexecute module-level code that is not at the root of the namespace (under a 
615200553SjkimDevice object, etc.). Now executes the code within the current scope instead 
616200553Sjkimof the root. ACPICA BZ 762. Lin Ming.
617200553Sjkim
618200553SjkimFixed possible mutex acquisition errors when running _REG methods. Fixes a 
619200553Sjkimproblem where mutex errors can occur when running a _REG method that is in 
620200553Sjkimthe same scope as a method-defined operation region or an operation region 
621200553Sjkimunder a module-level IF block. This type of code is rare, so the problem has 
622200553Sjkimnot been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
623200553Sjkim
624200553SjkimFixed a possible memory leak during module-level code execution. An object 
625200553Sjkimcould be leaked for each block of executed module-level code if the 
626200553Sjkiminterpreter slack mode is enabled This change deletes any implicitly returned 
627200553Sjkimobject from the module-level code block. Lin Ming.
628200553Sjkim
629200553SjkimRemoved messages for successful predefined repair(s). The repair mechanism 
630200553Sjkimwas considered too wordy. Now, messages are only unconditionally emitted if 
631200553Sjkimthe return object cannot be repaired. Existing messages for successful 
632200553Sjkimrepairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
633200553Sjkim
634200553SjkimExample Code and Data Size: These are the sizes for the OS-independent 
635200553Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
636200553Sjkimdebug version of the code includes the debug output trace mechanism and has a 
637200553Sjkimmuch larger code and data size.
638200553Sjkim
639200553Sjkim  Previous Release:
640200553Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
641200553Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
642200553Sjkim  Current Release:
643200553Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
644200553Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
645200553Sjkim
646200553Sjkim2) iASL Compiler/Disassembler and Tools:
647200553Sjkim
648200553SjkimiASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
649200553Sjkimwere no longer automatically removed at the termination of the compile.
650200553Sjkim
651200553Sjkimacpiexec: Implemented the -f option to specify default region fill value. 
652200553SjkimThis option specifies the value used to initialize buffers that simulate 
653200553Sjkimoperation regions. Default value is zero. Useful for debugging problems that 
654200553Sjkimdepend on a specific initial value for a region or field.
655200553Sjkim
656200553Sjkim----------------------------------------
657199337Sjkim12 November 2009. Summary of changes for version 20091112:
658199337Sjkim
659199337Sjkim1) ACPI CA Core Subsystem:
660199337Sjkim
661199337SjkimImplemented a post-order callback to AcpiWalkNamespace. The existing 
662199337Sjkiminterface only has a pre-order callback. This change adds an additional 
663199337Sjkimparameter for a post-order callback which will be more useful for bus scans. 
664199337SjkimACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
665199337Sjkim
666199337SjkimModified the behavior of the operation region memory mapping cache for 
667199337SjkimSystemMemory. Ensure that the memory mappings created for operation regions 
668199337Sjkimdo not cross 4K page boundaries. Crossing a page boundary while mapping 
669199337Sjkimregions can cause kernel warnings on some hosts if the pages have different 
670199337Sjkimattributes. Such regions are probably BIOS bugs, and this is the workaround. 
671199337SjkimLinux BZ 14445. Lin Ming.
672199337Sjkim
673199337SjkimImplemented an automatic repair for predefined methods that must return 
674199337Sjkimsorted lists. This change will repair (by sorting) packages returned by _ALR, 
675199337Sjkim_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
676199337Sjkimand do not contain NULL package elements. Adds one new file, 
677199337Sjkimnamespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
678199337Sjkim
679199337SjkimFixed a possible fault during predefined name validation if a return Package 
680199337Sjkimobject contains NULL elements. Also adds a warning if a NULL element is 
681199337Sjkimfollowed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
682199337Sjkiminclude repair or removal of all such NULL elements where possible.
683199337Sjkim
684199337SjkimImplemented additional module-level executable AML code support. This change 
685199337Sjkimwill execute module-level code that is not at the root of the namespace 
686199337Sjkim(under a Device object, etc.) at table load time. Module-level executable AML 
687199337Sjkimcode has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
688199337Sjkim
689199337SjkimImplemented a new internal function to create Integer objects. This function 
690199337Sjkimsimplifies miscellaneous object creation code. ACPICA BZ 823.
691199337Sjkim
692199337SjkimReduced the severity of predefined repair messages, Warning to Info. Since 
693199337Sjkimthe object was successfully repaired, a warning is too severe. Reduced to an 
694199337Sjkiminfo message for now. These messages may eventually be changed to debug-only. 
695199337SjkimACPICA BZ 812.
696199337Sjkim
697199337SjkimExample Code and Data Size: These are the sizes for the OS-independent 
698199337Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
699199337Sjkimdebug version of the code includes the debug output trace mechanism and has a 
700199337Sjkimmuch larger code and data size.
701199337Sjkim
702199337Sjkim  Previous Release:
703199337Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
704199337Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
705199337Sjkim  Current Release:
706199337Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
707199337Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
708199337Sjkim
709199337Sjkim2) iASL Compiler/Disassembler and Tools:
710199337Sjkim
711199337SjkimiASL: Implemented Switch() with While(1) so that Break works correctly. This 
712199337Sjkimchange correctly implements the Switch operator with a surrounding While(1) 
713199337Sjkimso that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
714199337Sjkim
715199337SjkimiASL: Added a message if a package initializer list is shorter than package 
716199337Sjkimlength. Adds a new remark for a Package() declaration if an initializer list 
717199337Sjkimexists, but is shorter than the declared length of the package. Although 
718199337Sjkimtechnically legal, this is probably a coding error and it is seen in the 
719199337Sjkimfield. ACPICA BZ 815. Lin Ming, Bob Moore.
720199337Sjkim
721199337SjkimiASL: Fixed a problem where the compiler could fault after the maximum number 
722199337Sjkimof errors was reached (200).
723199337Sjkim
724199337Sjkimacpixtract: Fixed a possible warning for pointer cast if the compiler warning 
725199337Sjkimlevel set very high.
726199337Sjkim
727199337Sjkim----------------------------------------
728198237Sjkim13 October 2009. Summary of changes for version 20091013:
729197104Sjkim
730197104Sjkim1) ACPI CA Core Subsystem:
731197104Sjkim
732198237SjkimFixed a problem where an Operation Region _REG method could be executed more 
733198237Sjkimthan once. If a custom address space handler is installed by the host before 
734198237Sjkimthe "initialize operation regions" phase of the ACPICA initialization, any 
735198237Sjkim_REG methods for that address space could be executed twice. This change 
736198237Sjkimfixes the problem. ACPICA BZ 427. Lin Ming.
737198237Sjkim
738198237SjkimFixed a possible memory leak for the Scope() ASL operator. When the exact 
739198237Sjkiminvocation of "Scope(\)" is executed (change scope to root), one internal 
740198237Sjkimoperand object was leaked. Lin Ming.
741198237Sjkim
742198237SjkimImplemented a run-time repair for the _MAT predefined method. If the _MAT 
743198237Sjkimreturn value is defined as a Field object in the AML, and the field
744198237Sjkimsize is less than or equal to the default width of an integer (32 or 64),_MAT 
745198237Sjkimcan incorrectly return an Integer instead of a Buffer. ACPICA now 
746198237Sjkimautomatically repairs this problem. ACPICA BZ 810.
747198237Sjkim
748198237SjkimImplemented a run-time repair for the _BIF and _BIX predefined methods. The 
749198237Sjkim"OEM Information" field is often incorrectly returned as an Integer with 
750198237Sjkimvalue zero if the field is not supported by the platform. This is due to an 
751198237Sjkimambiguity in the ACPI specification. The field should always be a string. 
752198237SjkimACPICA now automatically repairs this problem by returning a NULL string 
753198237Sjkimwithin the returned Package. ACPICA BZ 807.
754198237Sjkim
755198237SjkimExample Code and Data Size: These are the sizes for the OS-independent 
756198237Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
757198237Sjkimdebug version of the code includes the debug output trace mechanism and has a 
758198237Sjkimmuch larger code and data size.
759198237Sjkim
760198237Sjkim  Previous Release:
761198237Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
762198237Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
763198237Sjkim  Current Release:
764198237Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
765198237Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
766198237Sjkim
767198237Sjkim2) iASL Compiler/Disassembler and Tools:
768198237Sjkim
769198237SjkimDisassembler: Fixed a problem where references to external symbols that 
770198237Sjkimcontained one or more parent-prefixes (carats) were not handled correctly, 
771198237Sjkimpossibly causing a fault. ACPICA BZ 806. Lin Ming.
772198237Sjkim
773198237SjkimDisassembler: Restructured the code so that all functions that handle 
774198237Sjkimexternal symbols are in a single module. One new file is added, 
775198237Sjkimcommon/dmextern.c.
776198237Sjkim
777198237SjkimAML Debugger: Added a max count argument for the Batch command (which 
778198237Sjkimexecutes multiple predefined methods within the namespace.)
779198237Sjkim
780198237SjkimiASL: Updated the compiler documentation (User Reference.) Available at 
781198237Sjkimhttp://www.acpica.org/documentation/. ACPICA BZ 750.
782198237Sjkim
783198237SjkimAcpiXtract: Updated for Lint and other formatting changes. Close all open 
784198237Sjkimfiles.
785198237Sjkim
786198237Sjkim----------------------------------------
787198237Sjkim03 September 2009. Summary of changes for version 20090903:
788198237Sjkim
789198237Sjkim1) ACPI CA Core Subsystem:
790198237Sjkim
791197104SjkimFor Windows Vista compatibility, added the automatic execution of an _INI 
792197104Sjkimmethod located at the namespace root (\_INI). This method is executed at 
793197104Sjkimtable load time. This support is in addition to the automatic execution of 
794197104Sjkim\_SB._INI. Lin Ming.
795197104Sjkim
796197104SjkimFixed a possible memory leak in the interpreter for AML package objects if 
797197104Sjkimthe package initializer list is longer than the defined size of the package. 
798197104SjkimThis apparently can only happen if the BIOS changes the package size on the 
799197104Sjkimfly (seen in a _PSS object), as ASL compilers do not allow this. The 
800197104Sjkiminterpreter will truncate the package to the defined size (and issue an error 
801197104Sjkimmessage), but previously could leave the extra objects undeleted if they were 
802197104Sjkimpre-created during the argument processing (such is the case if the package 
803197104Sjkimconsists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
804197104Sjkim
805197104SjkimFixed a problem seen when a Buffer or String is stored to itself via ASL. 
806197104SjkimThis has been reported in the field. Previously, ACPICA would zero out the 
807197104Sjkimbuffer/string. Now, the operation is treated as a noop. Provides Windows 
808197104Sjkimcompatibility. ACPICA BZ 803. Lin Ming.
809197104Sjkim
810197104SjkimRemoved an extraneous error message for ASL constructs of the form 
811197104SjkimStore(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
812197104Sjkimare seen in many BIOSs and are once again treated as NOOPs and no error is 
813197104Sjkimemitted when they are encountered. ACPICA BZ 785.
814197104Sjkim
815197104SjkimFixed an extraneous warning message if a _DSM reserved method returns a 
816197104SjkimPackage object. _DSM can return any type of object, so validation on the 
817197104Sjkimreturn type cannot be performed. ACPICA BZ 802.
818197104Sjkim
819197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
820197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
821197104Sjkimdebug version of the code includes the debug output trace mechanism and has a 
822197104Sjkimmuch larger code and data size.
823197104Sjkim
824197104Sjkim  Previous Release:
825197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
826197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
827197104Sjkim  Current Release:
828197104Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
829197104Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
830197104Sjkim
831197104Sjkim2) iASL Compiler/Disassembler and Tools:
832197104Sjkim
833197104SjkimiASL: Fixed a problem with the use of the Alias operator and Resource 
834197104SjkimTemplates. The correct alias is now constructed and no error is emitted. 
835197104SjkimACPICA BZ 738.
836197104Sjkim
837197104SjkimiASL: Implemented the -I option to specify additional search directories for 
838197104Sjkiminclude files. Allows multiple additional search paths for include files. 
839197104SjkimDirectories are searched in the order specified on the command line (after 
840197104Sjkimthe local directory is searched.) ACPICA BZ 800.
841197104Sjkim
842197104SjkimiASL: Fixed a problem where the full pathname for include files was not 
843197104Sjkimemitted for warnings/errors. This caused the IDE support to not work 
844197104Sjkimproperly. ACPICA BZ 765.
845197104Sjkim
846197104SjkimiASL: Implemented the -@ option to specify a Windows-style response file 
847197104Sjkimcontaining additional command line options. ACPICA BZ 801.
848197104Sjkim
849197104SjkimAcpiExec: Added support to load multiple AML files simultaneously (such as a 
850197104SjkimDSDT and multiple SSDTs). Also added support for wildcards within the AML 
851197104Sjkimpathname. These features allow all machine tables to be easily loaded and 
852197104Sjkimdebugged together. ACPICA BZ 804.
853197104Sjkim
854197104SjkimDisassembler: Added missing support for disassembly of HEST table Error Bank 
855197104Sjkimsubtables. 
856197104Sjkim
857197104Sjkim----------------------------------------
858197104Sjkim30 July 2009. Summary of changes for version 20090730:
859197104Sjkim
860197104SjkimThe ACPI 4.0 implementation for ACPICA is complete with this release.
861197104Sjkim
862197104Sjkim1) ACPI CA Core Subsystem:
863197104Sjkim
864197104SjkimACPI 4.0: Added header file support for all new and changed ACPI tables. 
865197104SjkimCompletely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
866197104Sjkimfor ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
867197104SjkimEINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
868197104Sjkimhave been some ACPI 4.0 changes to other existing tables. Split the large 
869197104Sjkimactbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
870197104Sjkim
871197104SjkimACPI 4.0: Implemented predefined name validation for all new names. There are 
872197104Sjkim31 new names in ACPI 4.0. The predefined validation module was split into two 
873197104Sjkimfiles. The new file is namespace/nsrepair.c. ACPICA BZ 770.
874197104Sjkim
875197104SjkimImplemented support for so-called "module-level executable code". This is 
876197104Sjkimexecutable AML code that exists outside of any control method and is intended 
877197104Sjkimto be executed at table load time. Although illegal since ACPI 2.0, this type 
878197104Sjkimof code still exists and is apparently still being created. Blocks of this 
879197104Sjkimcode are now detected and executed as intended. Currently, the code blocks 
880197104Sjkimmust exist under either an If, Else, or While construct; these are the 
881197104Sjkimtypical cases seen in the field. ACPICA BZ 762. Lin Ming.
882197104Sjkim
883197104SjkimImplemented an automatic dynamic repair for predefined names that return 
884197104Sjkimnested Package objects. This applies to predefined names that are defined to 
885197104Sjkimreturn a variable-length Package of sub-packages. If the number of sub-
886197104Sjkimpackages is one, BIOS code is occasionally seen that creates a simple single 
887197104Sjkimpackage with no sub-packages. This code attempts to fix the problem by 
888197104Sjkimwrapping a new package object around the existing package. These methods can 
889197104Sjkimbe repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
890197104Sjkim790.
891197104Sjkim
892197104SjkimFixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
893197104SjkimThe _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
894197104SjkimBZ 793.
895197104Sjkim
896197104SjkimFixed a problem with AcpiReset where the reset would silently fail if the 
897197104Sjkimregister was one of the protected I/O ports. AcpiReset now bypasses the port 
898197104Sjkimvalidation mechanism. This may eventually be driven into the AcpiRead/Write 
899197104Sjkiminterfaces.
900197104Sjkim
901197104SjkimFixed a regression related to the recent update of the AcpiRead/Write 
902197104Sjkiminterfaces. A sleep/suspend could fail if the optional PM2 Control register 
903197104Sjkimdoes not exist during an attempt to write the Bus Master Arbitration bit. 
904197104Sjkim(However, some hosts already delete the code that writes this bit, and the 
905197104Sjkimcode may in fact be obsolete at this date.) ACPICA BZ 799.
906197104Sjkim
907197104SjkimFixed a problem where AcpiTerminate could fault if inadvertently called twice 
908197104Sjkimin succession. ACPICA BZ 795.
909197104Sjkim
910197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
911197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
912197104Sjkimdebug version of the code includes the debug output trace mechanism and has a 
913197104Sjkimmuch larger code and data size.
914197104Sjkim
915197104Sjkim  Previous Release:
916197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
917197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
918197104Sjkim  Current Release:
919197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
920197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
921197104Sjkim
922197104Sjkim2) iASL Compiler/Disassembler and Tools:
923197104Sjkim
924197104SjkimACPI 4.0: Implemented disassembler support for all new ACPI tables and 
925197104Sjkimchanges to existing tables. ACPICA BZ 775.
926197104Sjkim
927197104Sjkim----------------------------------------
928197104Sjkim25 June 2009. Summary of changes for version 20090625:
929197104Sjkim
930197104SjkimThe ACPI 4.0 Specification was released on June 16 and is available at 
931197104Sjkimwww.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
932197104Sjkimcontinue for the next few releases.
933197104Sjkim
934197104Sjkim1) ACPI CA Core Subsystem:
935197104Sjkim
936197104SjkimACPI 4.0: Implemented interpreter support for the IPMI operation region 
937197104Sjkimaddress space. Includes support for bi-directional data buffers and an IPMI 
938197104Sjkimaddress space handler (to be installed by an IPMI device driver.) ACPICA BZ 
939197104Sjkim773. Lin Ming.
940197104Sjkim
941197104SjkimACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
942197104Sjkimsupport in both the header files and the disassembler.
943197104Sjkim
944197104SjkimCompleted a major update for the AcpiGetObjectInfo external interface. 
945197104SjkimChanges include:
946197104Sjkim - Support for variable, unlimited length HID, UID, and CID strings.
947197104Sjkim - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
948197104Sjkim - Call the _SxW power methods on behalf of a device object.
949197104Sjkim - Determine if a device is a PCI root bridge.
950197104Sjkim - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
951197104SjkimThese changes will require an update to all callers of this interface. See 
952197104Sjkimthe updated ACPICA Programmer Reference for details. One new source file has 
953197104Sjkimbeen added - utilities/utids.c. ACPICA BZ 368, 780.
954197104Sjkim
955197104SjkimUpdated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
956197104Sjkimtransfers. The Value parameter has been extended from 32 bits to 64 bits in 
957197104Sjkimorder to support new ACPI 4.0 tables. These changes will require an update to 
958197104Sjkimall callers of these interfaces. See the ACPICA Programmer Reference for 
959197104Sjkimdetails. ACPICA BZ 768.
960197104Sjkim
961197104SjkimFixed several problems with AcpiAttachData. The handler was not invoked when 
962197104Sjkimthe host node was deleted. The data sub-object was not automatically deleted 
963197104Sjkimwhen the host node was deleted. The interface to the handler had an unused 
964197104Sjkimparameter, this was removed. ACPICA BZ 778.
965197104Sjkim
966197104SjkimEnhanced the function that dumps ACPI table headers. All non-printable 
967197104Sjkimcharacters in the string fields are now replaced with '?' (Signature, OemId, 
968197104SjkimOemTableId, and CompilerId.) ACPI tables with non-printable characters in 
969197104Sjkimthese fields are occasionally seen in the field. ACPICA BZ 788.
970197104Sjkim
971197104SjkimFixed a problem with predefined method repair code where the code that 
972197104Sjkimattempts to repair/convert an object of incorrect type is only executed on 
973197104Sjkimthe first time the predefined method is called. The mechanism that disables 
974197104Sjkimwarnings on subsequent calls was interfering with the repair mechanism. 
975197104SjkimACPICA BZ 781.
976197104Sjkim
977197104SjkimFixed a possible memory leak in the predefined validation/repair code when a 
978197104Sjkimbuffer is automatically converted to an expected string object.
979197104Sjkim
980197104SjkimRemoved obsolete 16-bit files from the distribution and from the current git 
981197104Sjkimtree head. ACPICA BZ 776.
982197104Sjkim
983197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
984197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
985197104Sjkimdebug version of the code includes the debug output trace mechanism and has a 
986197104Sjkimmuch larger code and data size.
987197104Sjkim
988197104Sjkim  Previous Release:
989197104Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
990197104Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
991197104Sjkim  Current Release:
992197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
993197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
994197104Sjkim
995197104Sjkim2) iASL Compiler/Disassembler and Tools:
996197104Sjkim
997197104SjkimACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
998197104Sjkimoperation region keyword. ACPICA BZ 771, 772. Lin Ming.
999197104Sjkim
1000197104SjkimACPI 4.0: iASL - implemented compile-time validation support for all new 
1001197104Sjkimpredefined names and control methods (31 total). ACPICA BZ 769.
1002197104Sjkim
1003197104Sjkim----------------------------------------
1004193267Sjkim21 May 2009. Summary of changes for version 20090521:
1005193267Sjkim
1006193267Sjkim1) ACPI CA Core Subsystem:
1007193267Sjkim
1008193267SjkimDisabled the preservation of the SCI enable bit in the PM1 control register. 
1009193267SjkimThe SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
1010193267Sjkima "preserved" bit - "OSPM always preserves this bit position", section 
1011193267Sjkim4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
1012193267Sjkimbecause the bit needs to be explicitly set by the OS as a workaround. No 
1013193267Sjkimmachines fail if the bit is not preserved. Therefore, ACPICA no longer 
1014193267Sjkimattempts to preserve this bit.
1015193267Sjkim
1016193267SjkimFixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
1017193267Sjkimincorrectly formed _PRT package could cause a fault. Added validation to 
1018193267Sjkimensure that each package element is actually a sub-package.
1019193267Sjkim
1020193267SjkimImplemented a new interface to install or override a single control method, 
1021193267SjkimAcpiInstallMethod. This interface is useful when debugging in order to repair 
1022193267Sjkiman existing method or to install a missing method without having to override 
1023193267Sjkimthe entire ACPI table. See the ACPICA Programmer Reference for use and 
1024193267Sjkimexamples. Lin Ming, Bob Moore.
1025193267Sjkim
1026193267SjkimFixed several reference count issues with the DdbHandle object that is 
1027193267Sjkimcreated from a Load or LoadTable operator. Prevent premature deletion of the 
1028193267Sjkimobject. Also, mark the object as invalid once the table has been unloaded. 
1029193267SjkimThis is needed because the handle itself may not be deleted after the table 
1030193267Sjkimunload, depending on whether it has been stored in a named object by the 
1031193267Sjkimcaller. Lin Ming.
1032193267Sjkim
1033193267SjkimFixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
1034193267Sjkimmutexes of the same sync level are acquired but then not released in strict 
1035193267Sjkimopposite order, the internally maintained Current Sync Level becomes confused 
1036193267Sjkimand can cause subsequent execution errors. ACPICA BZ 471.
1037193267Sjkim
1038193267SjkimChanged the allowable release order for ASL mutex objects. The ACPI 4.0 
1039193267Sjkimspecification has been changed to make the SyncLevel for mutex objects more 
1040193267Sjkimuseful. When releasing a mutex, the SyncLevel of the mutex must now be the 
1041193267Sjkimsame as the current sync level. This makes more sense than the previous rule 
1042193267Sjkim(SyncLevel less than or equal). This change updates the code to match the 
1043193267Sjkimspecification.
1044193267Sjkim
1045193267SjkimFixed a problem with the local version of the AcpiOsPurgeCache function. The 
1046193267Sjkim(local) cache must be locked during all cache object deletions. Andrew 
1047193267SjkimBaumann.
1048193267Sjkim
1049193267SjkimUpdated the Load operator to use operation region interfaces. This replaces 
1050193267Sjkimdirect memory mapping with region access calls. Now, all region accesses go 
1051193267Sjkimthrough the installed region handler as they should.
1052193267Sjkim
1053193267SjkimSimplified and optimized the NsGetNextNode function. Reduced parameter count 
1054193267Sjkimand reduced code for this frequently used function.
1055193267Sjkim
1056193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1057193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1058193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1059193267Sjkimmuch larger code and data size.
1060193267Sjkim
1061193267Sjkim  Previous Release:
1062193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1063193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1064193267Sjkim  Current Release:
1065193267Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1066193267Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1067193267Sjkim
1068193267Sjkim2) iASL Compiler/Disassembler and Tools:
1069193267Sjkim
1070193267SjkimDisassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
1071193267Sjkimwith sub-table disassembly and handling invalid sub-tables. Attempt recovery 
1072193267Sjkimafter an invalid sub-table ID.
1073193267Sjkim
1074193267Sjkim----------------------------------------
1075193267Sjkim22 April 2009. Summary of changes for version 20090422:
1076193267Sjkim
1077193267Sjkim1) ACPI CA Core Subsystem:
1078193267Sjkim
1079193267SjkimFixed a compatibility issue with the recently released I/O port protection 
1080193267Sjkimmechanism. For windows compatibility, 1) On a port protection violation, 
1081193267Sjkimsimply ignore the request and do not return an exception (allow the control 
1082193267Sjkimmethod to continue execution.) 2) If only part of the request overlaps a 
1083193267Sjkimprotected port, read/write the individual ports that are not protected. Linux 
1084193267SjkimBZ 13036. Lin Ming
1085193267Sjkim
1086193267SjkimEnhanced the execution of the ASL/AML BreakPoint operator so that it actually 
1087193267Sjkimbreaks into the AML debugger if the debugger is present. This matches the 
1088193267SjkimACPI-defined behavior.
1089193267Sjkim
1090193267SjkimFixed several possible warnings related to the use of the configurable 
1091193267SjkimACPI_THREAD_ID. This type can now be configured as either an integer or a 
1092193267Sjkimpointer with no warnings. Also fixes several warnings in printf-like 
1093193267Sjkimstatements for the 64-bit build when the type is configured as a pointer. 
1094193267SjkimACPICA BZ 766, 767.
1095193267Sjkim
1096193267SjkimFixed a number of possible warnings when compiling with gcc 4+ (depending on 
1097193267Sjkimwarning options.) Examples include printf formats, aliasing, unused globals, 
1098193267Sjkimmissing prototypes, missing switch default statements, use of non-ANSI 
1099193267Sjkimlibrary functions, use of non-ANSI constructs. See generate/unix/Makefile for 
1100193267Sjkima list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1101193267Sjkim
1102193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1103193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1104193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1105193267Sjkimmuch larger code and data size.
1106193267Sjkim
1107193267Sjkim  Previous Release:
1108193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1109193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1110193267Sjkim  Current Release:
1111193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1112193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1113193267Sjkim
1114193267Sjkim2) iASL Compiler/Disassembler and Tools:
1115193267Sjkim
1116193267SjkimiASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
1117193267Sjkimthe 64-bit build.
1118193267Sjkim
1119193267SjkimiASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
1120193267Sjkimcorrectly digest Windows/DOS formatted files (with CR/LF).
1121193267Sjkim
1122193267SjkimiASL: Added a new option for "quiet mode" (-va) that produces only the 
1123193267Sjkimcompilation summary, not individual errors and warnings. Useful for large 
1124193267Sjkimbatch compilations.
1125193267Sjkim
1126193267SjkimAcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
1127193267Sjkimtimeout that can be used to detect hang conditions during execution of AML 
1128193267Sjkimcode (includes both internal semaphores and AML-defined mutexes and events.)
1129193267Sjkim
1130193267SjkimAdded new makefiles for the generation of acpica in a generic unix-like 
1131193267Sjkimenvironment. These makefiles are intended to generate the acpica tools and 
1132193267Sjkimutilities from the original acpica git source tree structure.
1133193267Sjkim
1134193267SjkimTest Suites: Updated and cleaned up the documentation files. Updated the 
1135193267Sjkimcopyrights to 2009, affecting all source files. Use the new version of iASL 
1136193267Sjkimwith quiet mode. Increased the number of available semaphores in the Windows 
1137193267SjkimOSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
1138193267Sjkiman alternate implementation of the semaphore timeout to allow aslts to 
1139193267Sjkimexecute fully on Cygwin.
1140193267Sjkim
1141193267Sjkim----------------------------------------
1142193267Sjkim20 March 2009. Summary of changes for version 20090320:
1143193267Sjkim
1144193267Sjkim1) ACPI CA Core Subsystem:
1145193267Sjkim
1146193267SjkimFixed a possible race condition between AcpiWalkNamespace and dynamic table 
1147193267Sjkimunloads. Added a reader/writer locking mechanism to allow multiple concurrent 
1148193267Sjkimnamespace walks (readers), but block a dynamic table unload until it can gain 
1149193267Sjkimexclusive write access to the namespace. This fixes a problem where a table 
1150193267Sjkimunload could (possibly catastrophically) delete the portion of the namespace 
1151193267Sjkimthat is currently being examined by a walk. Adds a new file, utlock.c, that 
1152193267Sjkimimplements the reader/writer lock mechanism. ACPICA BZ 749.
1153193267Sjkim
1154193267SjkimFixed a regression introduced in version 20090220 where a change to the FADT 
1155193267Sjkimhandling could cause the ACPICA subsystem to access non-existent I/O ports.
1156193267Sjkim
1157193267SjkimModified the handling of FADT register and table (FACS/DSDT) addresses. The 
1158193267SjkimFADT can contain both 32-bit and 64-bit versions of these addresses. 
1159193267SjkimPreviously, the 64-bit versions were favored, meaning that if both 32 and 64 
1160193267Sjkimversions were valid, but not equal, the 64-bit version was used. This was 
1161193267Sjkimfound to cause some machines to fail. Now, in this case, the 32-bit version 
1162193267Sjkimis used instead. This now matches the Windows behavior.
1163193267Sjkim
1164193267SjkimImplemented a new mechanism to protect certain I/O ports. Provides Microsoft 
1165193267Sjkimcompatibility and protects the standard PC I/O ports from access via AML 
1166193267Sjkimcode. Adds a new file, hwvalid.c
1167193267Sjkim
1168193267SjkimFixed a possible extraneous warning message from the FADT support. The 
1169193267Sjkimmessage warns of a 32/64 length mismatch between the legacy and GAS 
1170193267Sjkimdefinitions for a register.
1171193267Sjkim
1172193267SjkimRemoved the obsolete AcpiOsValidateAddress OSL interface. This interface is 
1173193267Sjkimmade obsolete by the port protection mechanism above. It was previously used 
1174193267Sjkimto validate the entire address range of an operation region, which could be 
1175193267Sjkimincorrect if the range included illegal ports, but fields within the 
1176193267Sjkimoperation region did not actually access those ports. Validation is now 
1177193267Sjkimperformed on a per-field basis instead of the entire region.
1178193267Sjkim
1179193267SjkimModified the handling of the PM1 Status Register ignored bit (bit 11.) 
1180193267SjkimIgnored bits must be "preserved" according to the ACPI spec. Usually, this 
1181193267Sjkimmeans a read/modify/write when writing to the register. However, for status 
1182193267Sjkimregisters, writing a one means clear the event. Writing a zero means preserve 
1183193267Sjkimthe event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
1184193267Sjkimand the ACPICA code now simply always writes a zero to the ignored bit.
1185193267Sjkim
1186193267SjkimModified the handling of ignored bits for the PM1 A/B Control Registers. As 
1187193267Sjkimper the ACPI specification, for the control registers, preserve 
1188193267Sjkim(read/modify/write) all bits that are defined as either reserved or ignored.
1189193267Sjkim
1190193267SjkimUpdated the handling of write-only bits in the PM1 A/B Control Registers. 
1191193267SjkimWhen reading the register, zero the write-only bits as per the ACPI spec. 
1192193267SjkimACPICA BZ 443. Lin Ming.
1193193267Sjkim
1194193267SjkimRemoved "Linux" from the list of supported _OSI strings. Linux no longer 
1195193267Sjkimwants to reply true to this request. The Windows strings are the only paths 
1196193267Sjkimthrough the AML that are tested and known to work properly.
1197193267Sjkim
1198193267Sjkim  Previous Release:
1199193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1200193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1201193267Sjkim  Current Release:
1202193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1203193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1204193267Sjkim
1205193267Sjkim2) iASL Compiler/Disassembler and Tools:
1206193267Sjkim
1207193267SjkimAcpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
1208193267Sjkimaetables.c
1209193267Sjkim
1210193267Sjkim----------------------------------------
1211193267Sjkim20 February 2009. Summary of changes for version 20090220:
1212193267Sjkim
1213193267Sjkim1) ACPI CA Core Subsystem:
1214193267Sjkim
1215193267SjkimOptimized the ACPI register locking. Removed locking for reads from the ACPI 
1216193267Sjkimbit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
1217193267Sjkimnot required when reading the single-bit registers. The 
1218193267SjkimAcpiGetRegisterUnlocked function is no longer needed and has been removed. 
1219193267SjkimThis will improve performance for reads on these registers. ACPICA BZ 760.
1220193267Sjkim
1221193267SjkimFixed the parameter validation for AcpiRead/Write. Now return 
1222193267SjkimAE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
1223193267Sjkimthe register has an address of zero. Previously, these cases simply returned 
1224193267SjkimAE_OK. For optional registers such as PM1B status/enable/control, the caller 
1225193267Sjkimshould check for a valid register address before calling. ACPICA BZ 748.
1226193267Sjkim
1227193267SjkimRenamed the external ACPI bit register access functions. Renamed 
1228193267SjkimAcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
1229193267Sjkimfunctions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
1230193267SjkimAlso, restructured the code for these functions by simplifying the code path 
1231193267Sjkimand condensing duplicate code to reduce code size.
1232193267Sjkim
1233193267SjkimAdded new functions to transparently handle the possibly split PM1 A/B 
1234193267Sjkimregisters. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
1235193267Sjkimnow handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
1236193267Sjkim746.
1237193267Sjkim
1238193267SjkimAdded a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
1239193267SjkimThis function writes both of the PM1 control registers (A/B). These registers 
1240193267Sjkimare different than the PM1 A/B status and enable registers in that different 
1241193267Sjkimvalues can be written to the A/B registers. Most notably, the SLP_TYP bits 
1242193267Sjkimcan be different, as per the values returned from the _Sx predefined methods.
1243193267Sjkim
1244193267SjkimRemoved an extra register write within AcpiHwClearAcpiStatus. This function 
1245193267Sjkimwas writing an optional PM1B status register twice. The existing call to the 
1246193267Sjkimlow-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
1247193267Sjkimregister. ACPICA BZ 751.
1248193267Sjkim
1249193267SjkimSplit out the PM1 Status registers from the FADT. Added new globals for these 
1250193267Sjkimregisters (A/B), similar to the way the PM1 Enable registers are handled. 
1251193267SjkimInstead of overloading the FADT Event Register blocks. This makes the code 
1252193267Sjkimclearer and less prone to error.
1253193267Sjkim
1254193267SjkimFixed the warning message for when the platform contains too many ACPI tables 
1255193267Sjkimfor the default size of the global root table data structure. The calculation 
1256193267Sjkimfor the truncation value was incorrect.
1257193267Sjkim
1258193267SjkimRemoved the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
1259193267Sjkimobsolete macro, since it is now a simple reference to ->common.type. There 
1260193267Sjkimwere about 150 invocations of the macro across 41 files. ACPICA BZ 755.
1261193267Sjkim
1262193267SjkimRemoved the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
1263193267SjkimTYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
1264193267Sjkimsimply SLEEP_TYPE. ACPICA BZ 754.
1265193267Sjkim
1266193267SjkimConditionally compile the AcpiSetFirmwareWakingVector64 function. This 
1267193267Sjkimfunction is only needed on 64-bit host operating systems and is thus not 
1268193267Sjkimincluded for 32-bit hosts.
1269193267Sjkim
1270193267SjkimDebug output: print the input and result for invocations of the _OSI reserved 
1271193267Sjkimcontrol method via the ACPI_LV_INFO debug level. Also, reduced some of the 
1272193267Sjkimverbosity of this debug level. Len Brown.
1273193267Sjkim
1274193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1275193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1276193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1277193267Sjkimmuch larger code and data size.
1278193267Sjkim
1279193267Sjkim  Previous Release:
1280193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1281193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1282193267Sjkim  Current Release:
1283193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1284193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1285193267Sjkim
1286193267Sjkim2) iASL Compiler/Disassembler and Tools:
1287193267Sjkim
1288193267SjkimDisassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
1289193267Sjkimvarious legal performance profiles.
1290193267Sjkim
1291193267Sjkim----------------------------------------
1292193267Sjkim23 January 2009. Summary of changes for version 20090123:
1293193267Sjkim
1294193267Sjkim1) ACPI CA Core Subsystem:
1295193267Sjkim
1296193267SjkimAdded the 2009 copyright to all module headers and signons. This affects 
1297193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
1298193267Sjkimthe tools/utilities.
1299193267Sjkim
1300193267SjkimImplemented a change to allow the host to override any ACPI table, including 
1301193267Sjkimdynamically loaded tables. Previously, only the DSDT could be replaced by the 
1302193267Sjkimhost. With this change, the AcpiOsTableOverride interface is called for each 
1303193267Sjkimtable found in the RSDT/XSDT during ACPICA initialization, and also whenever 
1304193267Sjkima table is dynamically loaded via the AML Load operator.
1305193267Sjkim
1306193267SjkimUpdated FADT flag definitions, especially the Boot Architecture flags.
1307193267Sjkim
1308193267SjkimDebugger: For the Find command, automatically pad the input ACPI name with 
1309193267Sjkimunderscores if the name is shorter than 4 characters. This enables a match 
1310193267Sjkimwith the actual namespace entry which is itself padded with underscores.
1311193267Sjkim
1312193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1313193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1314193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1315193267Sjkimmuch larger code and data size.
1316193267Sjkim
1317193267Sjkim  Previous Release:
1318193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1319193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1320193267Sjkim  Current Release:
1321193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1322193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1323193267Sjkim
1324193267Sjkim2) iASL Compiler/Disassembler and Tools:
1325193267Sjkim
1326193267SjkimFix build error under Bison-2.4.
1327193267Sjkim
1328193267SjkimDissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
1329193267Sjkimflags. Now decode all flags, regardless of the FADT version. Flag output 
1330193267Sjkimincludes the FADT version which first defined each flag.
1331193267Sjkim
1332193267SjkimThe iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
1333193267SjkimDSDT). Windows only.
1334193267Sjkim
1335193267Sjkim----------------------------------------
1336193267Sjkim04 December 2008. Summary of changes for version 20081204:
1337193267Sjkim
1338193267Sjkim1) ACPI CA Core Subsystem:
1339193267Sjkim
1340193267SjkimThe ACPICA Programmer Reference has been completely updated and revamped for 
1341193267Sjkimthis release. This includes updates to the external interfaces, OSL 
1342193267Sjkiminterfaces, the overview sections, and the debugger reference.
1343193267Sjkim
1344193267SjkimSeveral new ACPICA interfaces have been implemented and documented in the 
1345193267Sjkimprogrammer reference:
1346193267SjkimAcpiReset - Writes the reset value to the FADT-defined reset register.
1347193267SjkimAcpiDisableAllGpes - Disable all available GPEs.
1348193267SjkimAcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
1349193267SjkimAcpiGetGpeDevice - Get the GPE block device associated with a GPE.
1350193267SjkimAcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
1351193267SjkimAcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
1352193267SjkimAcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
1353193267Sjkim
1354193267SjkimMost of the public ACPI hardware-related interfaces have been moved to a new 
1355193267Sjkimfile, components/hardware/hwxface.c
1356193267Sjkim
1357193267SjkimEnhanced the FADT parsing and low-level ACPI register access: The ACPI 
1358193267Sjkimregister lengths within the FADT are now used, and the low level ACPI 
1359193267Sjkimregister access no longer hardcodes the ACPI register lengths. Given that 
1360193267Sjkimthere may be some risk in actually trusting the FADT register lengths, a run-
1361193267Sjkimtime option was added to fall back to the default hardcoded lengths if the 
1362193267SjkimFADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
1363193267Sjkimoption is set to true for now, and a warning is issued if a suspicious FADT 
1364193267Sjkimregister length is overridden with the default value.
1365193267Sjkim
1366193267SjkimFixed a reference count issue in NsRepairObject. This problem was introduced 
1367193267Sjkimin version 20081031 as part of a fix to repair Buffer objects within 
1368193267SjkimPackages. Lin Ming.
1369193267Sjkim
1370193267SjkimAdded semaphore support to the Linux/Unix application OS-services layer 
1371193267Sjkim(OSL). ACPICA BZ 448. Lin Ming.
1372193267Sjkim
1373193267SjkimAdded the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
1374193267Sjkimbe implemented in the OSL, or will binary semaphores be used instead.
1375193267Sjkim
1376193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1377193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1378193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1379193267Sjkimmuch larger code and data size.
1380193267Sjkim
1381193267Sjkim  Previous Release:
1382193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1383193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1384193267Sjkim  Current Release:
1385193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1386193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1387193267Sjkim
1388193267Sjkim2) iASL Compiler/Disassembler and Tools:
1389193267Sjkim
1390193267SjkimiASL: Completed the '-e' option to include additional ACPI tables in order to 
1391193267Sjkimaid with disassembly and External statement generation. ACPICA BZ 742. Lin 
1392193267SjkimMing.
1393193267Sjkim
1394193267SjkimiASL: Removed the "named object in while loop" error. The compiler cannot 
1395193267Sjkimdetermine how many times a loop will execute. ACPICA BZ 730.
1396193267Sjkim
1397193267SjkimDisassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
1398193267SjkimBZ 743.
1399193267Sjkim
1400193267SjkimDisassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
1401193267Sjkim
1402193267Sjkim----------------------------------------
1403193267Sjkim31 October 2008. Summary of changes for version 20081031:
1404193267Sjkim
1405193267Sjkim1) ACPI CA Core Subsystem:
1406193267Sjkim
1407193267SjkimRestructured the ACPICA header files into public/private. acpi.h now includes 
1408193267Sjkimonly the "public" acpica headers. All other acpica headers are "private" and 
1409193267Sjkimshould not be included by acpica users. One new file, accommon.h is used to 
1410193267Sjkiminclude the commonly used private headers for acpica code generation. Future 
1411193267Sjkimplans include moving all private headers to a new subdirectory.
1412193267Sjkim
1413193267SjkimImplemented an automatic Buffer->String return value conversion for 
1414193267Sjkimpredefined ACPI methods. For these methods (such as _BIF), added automatic 
1415193267Sjkimconversion for return objects that are required to be a String, but a Buffer 
1416193267Sjkimwas found instead. This can happen when reading string battery data from an 
1417193267Sjkimoperation region, because it used to be difficult to convert the data from 
1418193267Sjkimbuffer to string from within the ASL. Ensures that the host OS is provided 
1419193267Sjkimwith a valid null-terminated string. Linux BZ 11822.
1420193267Sjkim
1421193267SjkimUpdated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
1422193267Sjkiminto two: one for the 32-bit vector, another for the 64-bit vector. This is 
1423193267Sjkimrequired because the host OS must setup the wake much differently for each 
1424193267Sjkimvector (real vs. protected mode, etc.) and the interface itself should not be 
1425193267Sjkimdeciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
1426193267Sjkiminterface, as it served no purpose (only the firmware reads the vector, OS 
1427193267Sjkimonly writes the vector.) ACPICA BZ 731.
1428193267Sjkim
1429193267SjkimImplemented a mechanism to escape infinite AML While() loops. Added a loop 
1430193267Sjkimcounter to force exit from AML While loops if the count becomes too large. 
1431193267SjkimThis can occur in poorly written AML when the hardware does not respond 
1432193267Sjkimwithin a while loop and the loop does not implement a timeout. The maximum 
1433193267Sjkimloop count is configurable. A new exception code is returned when a loop is 
1434193267Sjkimbroken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
1435193267Sjkim
1436193267SjkimOptimized the execution of AML While loops. Previously, a control state 
1437193267Sjkimobject was allocated and freed for each execution of the loop. The 
1438193267Sjkimoptimization is to simply reuse the control state for each iteration. This 
1439193267Sjkimspeeds up the raw loop execution time by about 5%.
1440193267Sjkim
1441193267SjkimEnhanced the implicit return mechanism. For Windows compatibility, return an 
1442193267Sjkimimplicit integer of value zero for methods that contain no executable code. 
1443193267SjkimSuch methods are seen in the field as stubs (presumably), and can cause 
1444193267Sjkimdrivers to fail if they expect a return value. Lin Ming.
1445193267Sjkim
1446193267SjkimAllow multiple backslashes as root prefixes in namepaths. In a fully 
1447193267Sjkimqualified namepath, allow multiple backslash prefixes. This can happen (and 
1448193267Sjkimis seen in the field) because of the use of a double-backslash in strings 
1449193267Sjkim(since backslash is the escape character) causing confusion. ACPICA BZ 739 
1450193267SjkimLin Ming.
1451193267Sjkim
1452193267SjkimEmit a warning if two different FACS or DSDT tables are discovered in the 
1453193267SjkimFADT. Checks if there are two valid but different addresses for the FACS and 
1454193267SjkimDSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
1455193267Sjkim
1456193267SjkimConsolidated the method argument count validation code. Merged the code that 
1457193267Sjkimvalidates control method argument counts into the predefined validation 
1458193267Sjkimmodule. Eliminates possible multiple warnings for incorrect argument counts.
1459193267Sjkim
1460193267SjkimImplemented ACPICA example code. Includes code for ACPICA initialization, 
1461193267Sjkimhandler installation, and calling a control method. Available at 
1462193267Sjkimsource/tools/examples.
1463193267Sjkim
1464193267SjkimAdded a global pointer for FACS table to simplify internal FACS access. Use 
1465193267Sjkimthe global pointer instead of using AcpiGetTableByIndex for each FACS access. 
1466193267SjkimThis simplifies the code for the Global Lock and the Firmware Waking 
1467193267SjkimVector(s).
1468193267Sjkim
1469193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1470193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1471193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1472193267Sjkimmuch larger code and data size.
1473193267Sjkim
1474193267Sjkim  Previous Release:
1475193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1476193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1477193267Sjkim  Current Release:
1478193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1479193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1480193267Sjkim
1481193267Sjkim2) iASL Compiler/Disassembler and Tools:
1482193267Sjkim
1483193267SjkimiASL: Improved disassembly of external method calls. Added the -e option to 
1484193267Sjkimallow the inclusion of additional ACPI tables to help with the disassembly of 
1485193267Sjkimmethod invocations and the generation of external declarations during the 
1486193267Sjkimdisassembly. Certain external method invocations cannot be disassembled 
1487193267Sjkimproperly without the actual declaration of the method. Use the -e option to 
1488193267Sjkiminclude the table where the external method(s) are actually declared. Most 
1489193267Sjkimuseful for disassembling SSDTs that make method calls back to the master 
1490193267SjkimDSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
1491193267Sjkim-e dsdt.aml ssdt1.aml
1492193267Sjkim
1493193267SjkimiASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
1494193267Sjkimproblem where the use of an alias within a namepath would result in a not 
1495193267Sjkimfound error or cause the compiler to fault. Also now allows forward 
1496193267Sjkimreferences from the Alias operator itself. ACPICA BZ 738.
1497193267Sjkim
1498193267Sjkim----------------------------------------
1499193267Sjkim26 September 2008. Summary of changes for version 20080926:
1500193267Sjkim
1501193267Sjkim1) ACPI CA Core Subsystem:
1502193267Sjkim
1503193267SjkimDesigned and implemented a mechanism to validate predefined ACPI methods and 
1504193267Sjkimobjects. This code validates the predefined ACPI objects (objects whose names 
1505193267Sjkimstart with underscore) that appear in the namespace, at the time they are 
1506193267Sjkimevaluated. The argument count and the type of the returned object are 
1507193267Sjkimvalidated against the ACPI specification. The purpose of this validation is 
1508193267Sjkimto detect problems with the BIOS-implemented predefined ACPI objects before 
1509193267Sjkimthe results are returned to the ACPI-related drivers. Future enhancements may 
1510193267Sjkiminclude actual repair of incorrect return objects where possible. Two new 
1511193267Sjkimfiles are nspredef.c and acpredef.h.
1512193267Sjkim
1513193267SjkimFixed a fault in the AML parser if a memory allocation fails during the Op 
1514193267Sjkimcompletion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
1515193267Sjkim
1516193267SjkimFixed an issue with implicit return compatibility. This change improves the 
1517193267Sjkimimplicit return mechanism to be more compatible with the MS interpreter. Lin 
1518193267SjkimMing, ACPICA BZ 349.
1519193267Sjkim
1520193267SjkimImplemented support for zero-length buffer-to-string conversions. Allow zero 
1521193267Sjkimlength strings during interpreter buffer-to-string conversions. For example, 
1522193267Sjkimduring the ToDecimalString and ToHexString operators, as well as implicit 
1523193267Sjkimconversions. Fiodor Suietov, ACPICA BZ 585.
1524193267Sjkim
1525193267SjkimFixed two possible memory leaks in the error exit paths of 
1526193267SjkimAcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
1527193267Sjkimsimilar in that they use a stack of state objects in order to eliminate 
1528193267Sjkimrecursion. The stack must be fully unwound and deallocated if an error 
1529193267Sjkimoccurs. Lin Ming. ACPICA BZ 383.
1530193267Sjkim
1531193267SjkimRemoved the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
1532193267SjkimACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
1533193267SjkimMoore ACPICA BZ 442.
1534193267Sjkim
1535193267SjkimRemoved the obsolete version number in module headers. Removed the 
1536193267Sjkim"$Revision" number that appeared in each module header. This version number 
1537193267Sjkimwas useful under SourceSafe and CVS, but has no meaning under git. It is not 
1538193267Sjkimonly incorrect, it could also be misleading.
1539193267Sjkim
1540193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1541193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1542193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1543193267Sjkimmuch larger code and data size.
1544193267Sjkim
1545193267Sjkim  Previous Release:
1546193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1547193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1548193267Sjkim  Current Release:
1549193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1550193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1551193267Sjkim
1552193267Sjkim----------------------------------------
1553193267Sjkim29 August 2008. Summary of changes for version 20080829:
1554193267Sjkim
1555193267Sjkim1) ACPI CA Core Subsystem:
1556193267Sjkim
1557193267SjkimCompleted a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
1558193267SjkimReference. Changes include the elimination of cheating on the Object field 
1559193267Sjkimfor the DdbHandle subtype, addition of a reference class field to 
1560193267Sjkimdifferentiate the various reference types (instead of an AML opcode), and the 
1561193267Sjkimcleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
1562193267Sjkim
1563193267SjkimReduce an error to a warning for an incorrect method argument count. 
1564193267SjkimPreviously aborted with an error if too few arguments were passed to a 
1565193267Sjkimcontrol method via the external ACPICA interface. Now issue a warning instead 
1566193267Sjkimand continue. Handles the case where the method inadvertently declares too 
1567193267Sjkimmany arguments, but does not actually use the extra ones. Applies mainly to 
1568193267Sjkimthe predefined methods. Lin Ming. Linux BZ 11032.
1569193267Sjkim
1570193267SjkimDisallow the evaluation of named object types with no intrinsic value. Return 
1571193267SjkimAE_TYPE for objects that have no value and therefore evaluation is undefined: 
1572193267SjkimDevice, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
1573193267Sjkimthese types were allowed, but an exception would be generated at some point 
1574193267Sjkimduring the evaluation. Now, the error is generated up front.
1575193267Sjkim
1576193267SjkimFixed a possible memory leak in the AcpiNsGetExternalPathname function 
1577193267Sjkim(nsnames.c). Fixes a leak in the error exit path.
1578193267Sjkim
1579193267SjkimRemoved the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
1580193267Sjkimlevels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
1581193267Sjkiminterfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
1582193267SjkimACPI_LV_EVENTS.
1583193267Sjkim
1584193267SjkimRemoved obsolete and/or unused exception codes from the acexcep.h header. 
1585193267SjkimThere is the possibility that certain device drivers may be affected if they 
1586193267Sjkimuse any of these exceptions.
1587193267Sjkim
1588193267SjkimThe ACPICA documentation has been added to the public git source tree, under 
1589193267Sjkimacpica/documents. Included are the ACPICA programmer reference, the iASL 
1590193267Sjkimcompiler reference, and the changes.txt release logfile.
1591193267Sjkim
1592193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1593193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1594193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1595193267Sjkimmuch larger code and data size.
1596193267Sjkim
1597193267Sjkim  Previous Release:
1598193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1599193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1600193267Sjkim  Current Release:
1601193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1602193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1603193267Sjkim
1604193267Sjkim2) iASL Compiler/Disassembler and Tools:
1605193267Sjkim
1606193267SjkimAllow multiple argument counts for the predefined _SCP method. ACPI 3.0 
1607193267Sjkimdefines _SCP with 3 arguments. Previous versions defined it with only 1 
1608193267Sjkimargument. iASL now allows both definitions.
1609193267Sjkim
1610193267SjkimiASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
1611193267Sjkimlength subtables when disassembling ACPI tables. Also fixed a couple of 
1612193267Sjkimerrors where a full 16-bit table type field was not extracted from the input 
1613193267Sjkimproperly.
1614193267Sjkim
1615193267Sjkimacpisrc: Improve comment counting mechanism for generating source code 
1616193267Sjkimstatistics. Count first and last lines of multi-line comments as whitespace, 
1617193267Sjkimnot comment lines. Handle Linux legal header in addition to standard acpica 
1618193267Sjkimheader.
1619193267Sjkim
1620193267Sjkim----------------------------------------
1621193267Sjkim
1622193267Sjkim29 July 2008. Summary of changes for version 20080729:
1623193267Sjkim
1624193267Sjkim1) ACPI CA Core Subsystem:
1625193267Sjkim
1626193267SjkimFix a possible deadlock in the GPE dispatch. Remove call to 
1627193267SjkimAcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
1628193267Sjkimto acquire the GPE lock but can deadlock since the GPE lock is already held 
1629193267Sjkimat dispatch time. This code was introduced in version 20060831 as a response 
1630193267Sjkimto Linux BZ 6881 and has since been removed from Linux.
1631193267Sjkim
1632193267SjkimAdd a function to dereference returned reference objects. Examines the return 
1633193267Sjkimobject from a call to AcpiEvaluateObject. Any Index or RefOf references are 
1634193267Sjkimautomatically dereferenced in an attempt to return something useful (these 
1635193267Sjkimreference types cannot be converted into an external ACPI_OBJECT.) Provides 
1636193267SjkimMS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
1637193267Sjkim
1638193267Sjkimx2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
1639193267Sjkimsubtables for the MADT and one new subtable for the SRAT. Includes 
1640193267Sjkimdisassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
1641193267SjkimSpecification, June 2008.
1642193267Sjkim
1643193267SjkimAdditional error checking for pathname utilities. Add error check after all 
1644193267Sjkimcalls to AcpiNsGetPathnameLength. Add status return from 
1645193267SjkimAcpiNsBuildExternalPath and check after all calls. Add parameter validation 
1646193267Sjkimto AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
1647193267Sjkim
1648193267SjkimReturn status from the global init function AcpiUtGlobalInitialize. This is 
1649193267Sjkimused by both the kernel subsystem and the utilities such as iASL compiler. 
1650193267SjkimThe function could possibly fail when the caches are initialized. Yang Yi.
1651193267Sjkim
1652193267SjkimAdd a function to decode reference object types to strings. Created for 
1653193267Sjkimimproved error messages. 
1654193267Sjkim
1655193267SjkimImprove object conversion error messages. Better error messages during object 
1656193267Sjkimconversion from internal to the external ACPI_OBJECT. Used for external calls 
1657193267Sjkimto AcpiEvaluateObject.
1658193267Sjkim
1659193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1660193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1661193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1662193267Sjkimmuch larger code and data size.
1663193267Sjkim
1664193267Sjkim  Previous Release:
1665193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1666193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1667193267Sjkim  Current Release:
1668193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1669193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1670193267Sjkim
1671193267Sjkim2) iASL Compiler/Disassembler and Tools:
1672193267Sjkim
1673193267SjkimDebugger: fix a possible hang when evaluating non-methods. Fixes a problem 
1674193267Sjkimintroduced in version 20080701. If the object being evaluated (via execute 
1675193267Sjkimcommand) is not a method, the debugger can hang while trying to obtain non-
1676193267Sjkimexistent parameters.
1677193267Sjkim
1678193267SjkimiASL: relax error for using reserved "_T_x" identifiers. These names can 
1679193267Sjkimappear in a disassembled ASL file if they were emitted by the original 
1680193267Sjkimcompiler. Instead of issuing an error or warning and forcing the user to 
1681193267Sjkimmanually change these names, issue a remark instead.
1682193267Sjkim
1683193267SjkimiASL: error if named object created in while loop. Emit an error if any named 
1684193267Sjkimobject is created within a While loop. If allowed, this code will generate a 
1685193267Sjkimrun-time error on the second iteration of the loop when an attempt is made to 
1686193267Sjkimcreate the same named object twice. ACPICA bugzilla 730.
1687193267Sjkim
1688193267SjkimiASL: Support absolute pathnames for include files. Add support for absolute 
1689193267Sjkimpathnames within the Include operator. previously, only relative pathnames 
1690193267Sjkimwere supported.
1691193267Sjkim
1692193267SjkimiASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
1693193267SjkimThe ACPI spec requires one interrupt minimum. BZ 423
1694193267Sjkim
1695193267SjkimiASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
1696193267SjkimHandles the case for the Interrupt Resource Descriptor where
1697193267Sjkimthe ResourceSource argument is omitted but ResourceSourceIndex
1698193267Sjkimis present. Now leave room for the Index. BZ 426
1699193267Sjkim
1700193267SjkimiASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
1701193267Sjkimwhere an error message is emitted if the target does not exist. BZ 516
1702193267Sjkim
1703193267SjkimiASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
1704193267Sjkim(get ACPI tables on Windows). This was apparently broken in version 20070919.
1705193267Sjkim
1706193267SjkimAcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
1707193267Sjkimthe EOF happens immediately after the last table in the input file. Print 
1708193267Sjkimcompletion message. Previously, no message was displayed in this case.
1709193267Sjkim
1710193267Sjkim----------------------------------------
1711193267Sjkim01 July 2008. Summary of changes for version 20080701:
1712193267Sjkim
1713193267Sjkim0) Git source tree / acpica.org
1714193267Sjkim
1715193267SjkimFixed a problem where a git-clone from http would not transfer the entire 
1716193267Sjkimsource tree.
1717193267Sjkim
1718193267Sjkim1) ACPI CA Core Subsystem:
1719193267Sjkim
1720193267SjkimImplemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
1721193267Sjkimenable bit. Now performs a read-change-write of the enable register instead 
1722193267Sjkimof simply writing out the cached enable mask. This will prevent inadvertent 
1723193267Sjkimenabling of GPEs if a rogue GPE is received during initialization (before GPE 
1724193267Sjkimhandlers are installed.)
1725193267Sjkim
1726193267SjkimImplemented a copy for dynamically loaded tables. Previously, dynamically 
1727193267Sjkimloaded tables were simply mapped - but on some machines this memory is 
1728193267Sjkimcorrupted after suspend. Now copy the table to a local buffer. For the 
1729193267SjkimOpRegion case, added checksum verify. Use the table length from the table 
1730193267Sjkimheader, not the region length. For the Buffer case, use the table length 
1731193267Sjkimalso. Dennis Noordsij, Bob Moore. BZ 10734
1732193267Sjkim
1733193267SjkimFixed a problem where the same ACPI table could not be dynamically loaded and 
1734193267Sjkimunloaded more than once. Without this change, a table cannot be loaded again 
1735193267Sjkimonce it has been loaded/unloaded one time. The current mechanism does not 
1736193267Sjkimunregister a table upon an unload. During a load, if the same table is found, 
1737193267Sjkimthis no longer returns an exception. BZ 722
1738193267Sjkim
1739193267SjkimFixed a problem where the wrong descriptor length was calculated for the 
1740193267SjkimEndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
1741193267Sjkimare calculated as 12 bytes long, but the actual length in the internal 
1742193267Sjkimdescriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
1743193267Sjkimby Linn Crosetto. BZ 728
1744193267Sjkim
1745193267SjkimFixed a possible memory leak in the Unload operator. The DdbHandle returned 
1746193267Sjkimby Load() did not have its reference count decremented during unload, leading 
1747193267Sjkimto a memory leak. Lin Ming. BZ 727
1748193267Sjkim
1749193267SjkimFixed a possible memory leak when deleting thermal/processor objects. Any 
1750193267Sjkimassociated notify handlers (and objects) were not being deleted. Fiodor 
1751193267SjkimSuietov. BZ 506
1752193267Sjkim
1753193267SjkimFixed the ordering of the ASCII names in the global mutex table to match the 
1754193267Sjkimactual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
1755193267SjkimVegard Nossum. BZ 726
1756193267Sjkim
1757193267SjkimEnhanced the AcpiGetObjectInfo interface to return the number of required 
1758193267Sjkimarguments if the object is a control method. Added this call to the debugger 
1759193267Sjkimso the proper number of default arguments are passed to a method. This 
1760193267Sjkimprevents a warning when executing methods from AcpiExec.
1761193267Sjkim
1762193267SjkimAdded a check for an invalid handle in AcpiGetObjectInfo. Return 
1763193267SjkimAE_BAD_PARAMETER if input handle is invalid. BZ 474
1764193267Sjkim
1765193267SjkimFixed an extraneous warning from exconfig.c on the 64-bit build.
1766193267Sjkim
1767193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1768193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1769193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1770193267Sjkimmuch larger code and data size.
1771193267Sjkim
1772193267Sjkim  Previous Release:
1773193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1774193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1775193267Sjkim  Current Release:
1776193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1777193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1778193267Sjkim
1779193267Sjkim2) iASL Compiler/Disassembler and Tools:
1780193267Sjkim
1781193267SjkimiASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
1782193267Sjkimresource descriptor names.
1783193267Sjkim
1784193267SjkimiASL: Detect invalid ASCII characters in input (windows version). Removed the 
1785193267Sjkim"-CF" flag from the flex compile, enables correct detection of non-ASCII 
1786193267Sjkimcharacters in the input. BZ 441
1787193267Sjkim
1788193267SjkimiASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
1789193267Sjkim"result of operation not used" warning when the DDB handle returned from 
1790193267SjkimLoadTable is not used. The warning is not needed. BZ 590
1791193267Sjkim
1792193267SjkimAcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
1793193267Sjkimpass address of table to the AML. Added option to disable OpRegion simulation 
1794193267Sjkimto allow creation of an OpRegion with a real address that was passed to _CFG. 
1795193267SjkimAll of this allows testing of the Load and Unload operators from AcpiExec.
1796193267Sjkim
1797193267SjkimDebugger: update tables command for unloaded tables. Handle unloaded tables 
1798193267Sjkimand use the standard table header output routine.
1799193267Sjkim
1800193267Sjkim----------------------------------------
1801193267Sjkim09 June 2008. Summary of changes for version 20080609:
1802193267Sjkim
1803193267Sjkim1) ACPI CA Core Subsystem:
1804193267Sjkim
1805193267SjkimImplemented a workaround for reversed _PRT entries. A significant number of 
1806193267SjkimBIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
1807193267Sjkimchange dynamically detects and repairs this problem. Provides compatibility 
1808193267Sjkimwith MS ACPI. BZ 6859
1809193267Sjkim
1810193267SjkimSimplified the internal ACPI hardware interfaces to eliminate the locking 
1811193267Sjkimflag parameter from Register Read/Write. Added a new external interface, 
1812193267SjkimAcpiGetRegisterUnlocked.
1813193267Sjkim
1814193267SjkimFixed a problem where the invocation of a GPE control method could hang. This 
1815193267Sjkimwas a regression introduced in 20080514. The new method argument count 
1816193267Sjkimvalidation mechanism can enter an infinite loop when a GPE method is 
1817193267Sjkimdispatched. Problem fixed by removing the obsolete code that passed GPE block 
1818193267Sjkiminformation to the notify handler via the control method parameter pointer.
1819193267Sjkim
1820193267SjkimFixed a problem where the _SST execution status was incorrectly returned to 
1821193267Sjkimthe caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
1822193267Sjkim20080514. _SST is optional and a NOT_FOUND exception should never be 
1823193267Sjkimreturned. BZ 716
1824193267Sjkim
1825193267SjkimFixed a problem where a deleted object could be accessed from within the AML 
1826193267Sjkimparser. This was a regression introduced in version 20080123 as a fix for the 
1827193267SjkimUnload operator. Lin Ming. BZ 10669
1828193267Sjkim
1829193267SjkimCleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
1830193267Sjkimand eliminated the use of a negative index in a loop. Operands are now 
1831193267Sjkimdisplayed in the correct order, not backwards. This also fixes a regression 
1832193267Sjkimintroduced in 20080514 on 64-bit systems where the elimination of 
1833193267SjkimACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
1834193267Sjkim
1835193267SjkimFixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
1836193267Sjkimpath did not delete a locally allocated structure.
1837193267Sjkim
1838193267SjkimUpdated definitions for the DMAR and SRAT tables to synchronize with the 
1839193267Sjkimcurrent specifications. Includes disassembler support.
1840193267Sjkim
1841193267SjkimFixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
1842193267Sjkimloop termination value was used. Loop terminated on iteration early, missing 
1843193267Sjkimone mutex. Linn Crosetto
1844193267Sjkim
1845193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1846193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1847193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1848193267Sjkimmuch larger code and data size.
1849193267Sjkim
1850193267Sjkim  Previous Release:
1851193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1852193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1853193267Sjkim  Current Release:
1854193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1855193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1856193267Sjkim
1857193267Sjkim2) iASL Compiler/Disassembler and Tools:
1858193267Sjkim
1859193267SjkimDisassembler: Implemented support for EisaId() within _CID objects. Now 
1860193267Sjkimdisassemble integer _CID objects back to EisaId invocations, including 
1861193267Sjkimmultiple integers within _CID packages. Includes single-step support for 
1862193267Sjkimdebugger also.
1863193267Sjkim
1864193267SjkimDisassembler: Added support for DMAR and SRAT table definition changes.
1865193267Sjkim
1866193267Sjkim----------------------------------------
1867193267Sjkim14 May 2008. Summary of changes for version 20080514:
1868193267Sjkim
1869193267Sjkim1) ACPI CA Core Subsystem:
1870193267Sjkim
1871193267SjkimFixed a problem where GPEs were enabled too early during the ACPICA 
1872193267Sjkiminitialization. This could lead to "handler not installed" errors on some 
1873193267Sjkimmachines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
1874193267Sjkimensures that all operation regions and devices throughout the namespace have 
1875193267Sjkimbeen initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
1876193267Sjkim
1877193267SjkimImplemented a change to the enter sleep code. Moved execution of the _GTS 
1878193267Sjkimmethod to just before setting sleep enable bit. The execution was moved from 
1879193267SjkimAcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
1880193267Sjkimimmediately before the SLP_EN bit is set, as per the ACPI specification. 
1881193267SjkimLuming Yu, BZ 1653.
1882193267Sjkim
1883193267SjkimImplemented a fix to disable unknown GPEs (2nd version). Now always disable 
1884193267Sjkimthe GPE, even if ACPICA thinks that that it is already disabled. It is 
1885193267Sjkimpossible that the AML or some other code has enabled the GPE unbeknownst to 
1886193267Sjkimthe ACPICA code.
1887193267Sjkim
1888193267SjkimFixed a problem with the Field operator where zero-length fields would return 
1889193267Sjkiman AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
1890193267Sjkimfield declarations in Field(), BankField(), and IndexField(). BZ 10606.
1891193267Sjkim
1892193267SjkimImplemented a fix for the Load operator, now load the table at the namespace 
1893193267Sjkimroot. This reverts a change introduced in version 20071019. The table is now 
1894193267Sjkimloaded at the namespace root even though this goes against the ACPI 
1895193267Sjkimspecification. This provides compatibility with other ACPI implementations. 
1896193267SjkimThe ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
1897193267Sjkim
1898193267SjkimFixed a problem where ACPICA would not Load() tables with unusual signatures. 
1899193267SjkimNow ignore ACPI table signature for Load() operator. Only "SSDT" is 
1900193267Sjkimacceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
1901193267SjkimTherefore, signature validation is worthless. Apparently MS ACPI accepts such 
1902193267Sjkimsignatures, ACPICA must be compatible. BZ 10454.
1903193267Sjkim
1904193267SjkimFixed a possible negative array index in AcpiUtValidateException. Added NULL 
1905193267Sjkimfields to the exception string arrays to eliminate a -1 subtraction on the 
1906193267SjkimSubStatus field.
1907193267Sjkim
1908193267SjkimUpdated the debug tracking macros to reduce overall code and data size. 
1909193267SjkimChanged ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
1910193267Sjkiminstead of pointers to static strings. Jan Beulich and Bob Moore.
1911193267Sjkim
1912193267SjkimImplemented argument count checking in control method invocation via 
1913193267SjkimAcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
1914193267Sjkimmany. This applies only to extern programmatic control method execution, not 
1915193267Sjkimmethod-to-method calls within the AML. Lin Ming.
1916193267Sjkim
1917193267SjkimEliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
1918193267Sjkimlonger needed, especially with the removal of 16-bit support. It was replaced 
1919193267Sjkimmostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
1920193267Sjkim32/64-bit platforms is required.
1921193267Sjkim
1922193267SjkimAdded the C const qualifier for appropriate string constants -- mostly 
1923193267SjkimMODULE_NAME and printf format strings. Jan Beulich.
1924193267Sjkim
1925193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1926193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1927193267Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1928193267Sjkimmuch larger code and data size.
1929193267Sjkim
1930193267Sjkim  Previous Release:
1931193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
1932193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
1933193267Sjkim  Current Release:
1934193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1935193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1936193267Sjkim
1937193267Sjkim2) iASL Compiler/Disassembler and Tools:
1938193267Sjkim
1939193267SjkimImplemented ACPI table revision ID validation in the disassembler. Zero is 
1940193267Sjkimalways invalid. For DSDTs, the ID controls the interpreter integer width. 1 
1941193267Sjkimmeans 32-bit and this is unusual. 2 or greater is 64-bit.
1942193267Sjkim
1943193267Sjkim----------------------------------------
1944193267Sjkim21 March 2008. Summary of changes for version 20080321:
1945193267Sjkim
1946193267Sjkim1) ACPI CA Core Subsystem:
1947193267Sjkim
1948193267SjkimImplemented an additional change to the GPE support in order to suppress 
1949193267Sjkimspurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
1950193267Sjkimdisable incoming GPEs that are neither enabled nor disabled -- meaning that 
1951193267Sjkimthe GPE is unknown to the system. This should prevent future interrupt floods 
1952193267Sjkimfrom that GPE. BZ 6217 (Zhang Rui)
1953193267Sjkim
1954193267SjkimFixed a problem where NULL package elements were not returned to the 
1955193267SjkimAcpiEvaluateObject interface correctly. The element was simply ignored 
1956193267Sjkiminstead of returning a NULL ACPI_OBJECT package element, potentially causing 
1957193267Sjkima buffer overflow and/or confusing the caller who expected a fixed number of 
1958193267Sjkimelements. BZ 10132 (Lin Ming, Bob Moore)
1959193267Sjkim
1960193267SjkimFixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
1961193267SjkimQword), Field, BankField, and IndexField operators when invoked from inside 
1962193267Sjkiman executing control method. In this case, these operators created namespace 
1963193267Sjkimnodes that were incorrectly left marked as permanent nodes instead of 
1964193267Sjkimtemporary nodes. This could cause a problem if there is race condition 
1965193267Sjkimbetween an exiting control method and a running namespace walk. (Reported by 
1966193267SjkimLinn Crosetto)
1967193267Sjkim
1968193267SjkimFixed a problem where the CreateField and CreateXXXField operators would 
1969193267Sjkimincorrectly allow duplicate names (the name of the field) with no exception 
1970193267Sjkimgenerated.
1971193267Sjkim
1972193267SjkimImplemented several changes for Notify handling. Added support for new Notify 
1973193267Sjkimvalues (ACPI 2.0+) and improved the Notify debug output. Notify on 
1974193267SjkimPowerResource objects is no longer allowed, as per the ACPI specification. 
1975193267Sjkim(Bob Moore, Zhang Rui)
1976193267Sjkim
1977193267SjkimAll Reference Objects returned via the AcpiEvaluateObject interface are now 
1978193267Sjkimmarked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
1979193267SjkimNULL objects - either NULL package elements or unresolved named references.
1980193267Sjkim
1981193267SjkimFixed a problem where an extraneous debug message was produced for package 
1982193267Sjkimobjects (when debugging enabled). The message "Package List length larger 
1983193267Sjkimthan NumElements count" is now produced in the correct case, and is now an 
1984193267Sjkimerror message rather than a debug message. Added a debug message for the 
1985193267Sjkimopposite case, where NumElements is larger than the Package List (the package 
1986193267Sjkimwill be padded out with NULL elements as per the ACPI spec.)
1987193267Sjkim
1988193267SjkimImplemented several improvements for the output of the ASL "Debug" object to 
1989193267Sjkimclarify and keep all data for a given object on one output line.
1990193267Sjkim
1991193267SjkimFixed two size calculation issues with the variable-length Start Dependent 
1992193267Sjkimresource descriptor.
1993193267Sjkim
1994193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1995193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1996193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
1997193267Sjkima much larger code and data size.
1998193267Sjkim
1999193267Sjkim  Previous Release:
2000193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2001193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2002193267Sjkim  Current Release:
2003193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2004193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2005193267Sjkim
2006193267Sjkim2) iASL Compiler/Disassembler and Tools:
2007193267Sjkim
2008193267SjkimFixed a problem with the use of the Switch operator where execution of the 
2009193267Sjkimcontaining method by multiple concurrent threads could cause an 
2010193267SjkimAE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
2011193267Sjkimactual Switch opcode, it must be simulated with local named temporary 
2012193267Sjkimvariables and if/else pairs. The solution chosen was to mark any method that 
2013193267Sjkimuses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2014193267Sjkim
2015193267Sjkim----------------------------------------
2016193267Sjkim13 February 2008. Summary of changes for version 20080213:
2017193267Sjkim
2018193267Sjkim1) ACPI CA Core Subsystem:
2019193267Sjkim
2020193267SjkimImplemented another MS compatibility design change for GPE/Notify handling. 
2021193267SjkimGPEs are now cleared/enabled asynchronously to allow all pending notifies to 
2022193267Sjkimcomplete first. It is expected that the OSL will queue the enable request 
2023193267Sjkimbehind all pending notify requests (may require changes to the local host OSL 
2024193267Sjkimin AcpiOsExecute). Alexey Starikovskiy.
2025193267Sjkim
2026193267SjkimFixed a problem where buffer and package objects passed as arguments to a 
2027193267Sjkimcontrol method via the external AcpiEvaluateObject interface could cause an 
2028193267SjkimAE_AML_INTERNAL exception depending on the order and type of operators 
2029193267Sjkimexecuted by the target control method.
2030193267Sjkim
2031193267SjkimFixed a problem where resource descriptor size optimization could cause a 
2032193267Sjkimproblem when a _CRS resource template is passed to a _SRS method. The _SRS 
2033193267Sjkimresource template must use the same descriptors (with the same size) as 
2034193267Sjkimreturned from _CRS. This change affects the following resource descriptors: 
2035193267SjkimIRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2036193267Sjkim
2037193267SjkimFixed a problem where a CopyObject to RegionField, BankField, and IndexField 
2038193267Sjkimobjects did not perform an implicit conversion as it should. These types must 
2039193267Sjkimretain their initial type permanently as per the ACPI specification. However, 
2040193267Sjkima CopyObject to all other object types should not perform an implicit 
2041193267Sjkimconversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2042193267Sjkim
2043193267SjkimFixed a problem with the AcpiGetDevices interface where the mechanism to 
2044193267Sjkimmatch device CIDs did not examine the entire list of available CIDs, but 
2045193267Sjkiminstead aborted on the first non-matching CID. Andrew Patterson.
2046193267Sjkim
2047193267SjkimFixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
2048193267Sjkiminadvertently changed to return a 16-bit value instead of a 32-bit value, 
2049193267Sjkimtruncating the upper dword of a 64-bit value. This macro is only used to 
2050193267Sjkimdisplay debug output, so no incorrect calculations were made. Also, 
2051193267Sjkimreimplemented the macro so that a 64-bit shift is not performed by 
2052193267Sjkiminefficient compilers.
2053193267Sjkim
2054193267SjkimAdded missing va_end statements that should correspond with each va_start 
2055193267Sjkimstatement.
2056193267Sjkim
2057193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2058193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2059193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2060193267Sjkima much larger code and data size.
2061193267Sjkim
2062193267Sjkim  Previous Release:
2063193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2064193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2065193267Sjkim  Current Release:
2066193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2067193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2068193267Sjkim
2069193267Sjkim2) iASL Compiler/Disassembler and Tools:
2070193267Sjkim
2071193267SjkimImplemented full disassembler support for the following new ACPI tables: 
2072193267SjkimBERT, EINJ, and ERST. Implemented partial disassembler support for the 
2073193267Sjkimcomplicated HEST table. These tables support the Windows Hardware Error 
2074193267SjkimArchitecture (WHEA).
2075193267Sjkim
2076193267Sjkim----------------------------------------
2077193267Sjkim23 January 2008. Summary of changes for version 20080123:
2078193267Sjkim
2079193267Sjkim1) ACPI CA Core Subsystem:
2080193267Sjkim
2081193267SjkimAdded the 2008 copyright to all module headers and signons. This affects 
2082193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2083193267Sjkimthe tools/utilities.
2084193267Sjkim
2085193267SjkimFixed a problem with the SizeOf operator when used with Package and Buffer 
2086193267Sjkimobjects. These objects have deferred execution for some arguments, and the 
2087193267Sjkimexecution is now completed before the SizeOf is executed. This problem caused 
2088193267Sjkimunexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
2089193267Sjkim9558
2090193267Sjkim
2091193267SjkimImplemented an enhancement to the interpreter "slack mode". In the absence of 
2092193267Sjkiman explicit return or an implicitly returned object from the last executed 
2093193267Sjkimopcode, a control method will now implicitly return an integer of value 0 for 
2094193267SjkimMicrosoft compatibility. (Lin Ming) BZ 392
2095193267Sjkim
2096193267SjkimFixed a problem with the Load operator where an exception was not returned in 
2097193267Sjkimthe case where the table is already loaded. (Lin Ming) BZ 463
2098193267Sjkim
2099193267SjkimImplemented support for the use of DDBHandles as an Indexed Reference, as per 
2100193267Sjkimthe ACPI spec. (Lin Ming) BZ 486
2101193267Sjkim
2102193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
2103193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
2104193267Sjkim
2105193267SjkimFixed a problem with the LoadTable operator where the OemId and OemTableId 
2106193267Sjkiminput strings could cause unexpected failures if they were shorter than the 
2107193267Sjkimmaximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2108193267Sjkim
2109193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
2110193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
2111193267Sjkim
2112193267SjkimImplemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
2113193267SjkimIBFT, UEFI, WDAT. Disassembler support is forthcoming.
2114193267Sjkim
2115193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2116193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2117193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2118193267Sjkima much larger code and data size.
2119193267Sjkim
2120193267Sjkim  Previous Release:
2121193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2122193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2123193267Sjkim  Current Release:
2124193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2125193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2126193267Sjkim
2127193267Sjkim2) iASL Compiler/Disassembler and Tools:
2128193267Sjkim
2129193267SjkimImplemented support in the disassembler for checksum validation on incoming 
2130193267Sjkimbinary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
2131193267Sjkimheader dump at the start of the disassembly.
2132193267Sjkim
2133193267SjkimImplemented additional debugging information in the namespace listing file 
2134193267Sjkimcreated during compilation. In addition to the namespace hierarchy, the full 
2135193267Sjkimpathname to each namespace object is displayed.
2136193267Sjkim
2137193267SjkimFixed a problem with the disassembler where invalid ACPI tables could cause 
2138193267Sjkimfaults or infinite loops.
2139193267Sjkim
2140193267SjkimFixed an unexpected parse error when using the optional "parameter types" 
2141193267Sjkimlist in a control method declaration. (Lin Ming) BZ 397
2142193267Sjkim
2143193267SjkimFixed a problem where two External declarations with the same name did not 
2144193267Sjkimcause an error (Lin Ming) BZ 509
2145193267Sjkim
2146193267SjkimImplemented support for full TermArgs (adding Argx, Localx and method 
2147193267Sjkiminvocation) for the ParameterData parameter to the LoadTable operator. (Lin 
2148193267SjkimMing) BZ 583,587
2149193267Sjkim
2150193267Sjkim----------------------------------------
2151193267Sjkim19 December 2007. Summary of changes for version 20071219:
2152193267Sjkim
2153193267Sjkim1) ACPI CA Core Subsystem:
2154193267Sjkim
2155193267SjkimImplemented full support for deferred execution for the TermArg string 
2156193267Sjkimarguments for DataTableRegion. This enables forward references and full 
2157193267Sjkimoperand resolution for the three string arguments. Similar to OperationRegion 
2158193267Sjkimdeferred argument execution.) Lin Ming. BZ 430
2159193267Sjkim
2160193267SjkimImplemented full argument resolution support for the BankValue argument to 
2161193267SjkimBankField. Previously, only constants were supported, now any TermArg may be 
2162193267Sjkimused. Lin Ming BZ 387, 393
2163193267Sjkim
2164193267SjkimFixed a problem with AcpiGetDevices where the search of a branch of the 
2165193267Sjkimdevice tree could be terminated prematurely. In accordance with the ACPI 
2166193267Sjkimspecification, the search down the current branch is terminated if a device 
2167193267Sjkimis both not present and not functional (instead of just not present.) Yakui 
2168193267SjkimZhao.
2169193267Sjkim
2170193267SjkimFixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
2171193267Sjkimthe underlying AML code changed the GPE enable registers. Now, any unknown 
2172193267Sjkimincoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
2173193267Sjkiminstead of simply ignored. Rui Zhang.
2174193267Sjkim
2175193267SjkimFixed a problem with Index Fields where the Index register was incorrectly 
2176193267Sjkimlimited to a maximum of 32 bits. Now any size may be used.
2177193267Sjkim
2178193267SjkimFixed a couple memory leaks associated with "implicit return" objects when 
2179193267Sjkimthe AML Interpreter slack mode is enabled. Lin Ming BZ 349
2180193267Sjkim
2181193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2182193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2183193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2184193267Sjkima much larger code and data size.
2185193267Sjkim
2186193267Sjkim  Previous Release:
2187193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2188193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2189193267Sjkim  Current Release:
2190193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2191193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2192193267Sjkim
2193193267Sjkim----------------------------------------
2194193267Sjkim14 November 2007. Summary of changes for version 20071114:
2195193267Sjkim
2196193267Sjkim1) ACPI CA Core Subsystem:
2197193267Sjkim
2198193267SjkimImplemented event counters for each of the Fixed Events, the ACPI SCI 
2199193267Sjkim(interrupt) itself, and control methods executed. Named 
2200193267SjkimAcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
2201193267Sjkimshould be useful for debugging and statistics.
2202193267Sjkim
2203193267SjkimImplemented a new external interface, AcpiGetStatistics, to retrieve the 
2204193267Sjkimcontents of the various event counters. Returns the current values for 
2205193267SjkimAcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
2206193267SjkimAcpiMethodCount. The interface can be expanded in the future if new counters 
2207193267Sjkimare added. Device drivers should use this interface rather than access the 
2208193267Sjkimcounters directly.
2209193267Sjkim
2210193267SjkimFixed a problem with the FromBCD and ToBCD operators. With some compilers, 
2211193267Sjkimthe ShortDivide function worked incorrectly, causing problems with the BCD 
2212193267Sjkimfunctions with large input values. A truncation from 64-bit to 32-bit 
2213193267Sjkiminadvertently occurred. Internal BZ 435. Lin Ming
2214193267Sjkim
2215193267SjkimFixed a problem with Index references passed as method arguments. References 
2216193267Sjkimpassed as arguments to control methods were dereferenced immediately (before 
2217193267Sjkimcontrol was passed to the called method). The references are now correctly 
2218193267Sjkimpassed directly to the called method. BZ 5389. Lin Ming
2219193267Sjkim
2220193267SjkimFixed a problem with CopyObject used in conjunction with the Index operator. 
2221193267SjkimThe reference was incorrectly dereferenced before the copy. The reference is 
2222193267Sjkimnow correctly copied. BZ 5391. Lin Ming
2223193267Sjkim
2224193267SjkimFixed a problem with Control Method references within Package objects. These 
2225193267Sjkimreferences are now correctly generated. This completes the package 
2226193267Sjkimconstruction overhaul that began in version 20071019.
2227193267Sjkim
2228193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2229193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2230193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2231193267Sjkima much larger code and data size.
2232193267Sjkim
2233193267Sjkim  Previous Release:
2234193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2235193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2236193267Sjkim  Current Release:
2237193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2238193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2239193267Sjkim
2240193267Sjkim
2241193267Sjkim2) iASL Compiler/Disassembler and Tools:
2242193267Sjkim
2243193267SjkimThe AcpiExec utility now installs handlers for all of the predefined 
2244193267SjkimOperation Region types. New types supported are: PCI_Config, CMOS, and 
2245193267SjkimPCIBARTarget.
2246193267Sjkim
2247193267SjkimFixed a problem with the 64-bit version of AcpiExec where the extended (64-
2248193267Sjkimbit) address fields for the DSDT and FACS within the FADT were not being 
2249193267Sjkimused, causing truncation of the upper 32-bits of these addresses. Lin Ming 
2250193267Sjkimand Bob Moore
2251193267Sjkim
2252193267Sjkim----------------------------------------
2253193267Sjkim19 October 2007. Summary of changes for version 20071019:
2254193267Sjkim
2255193267Sjkim1) ACPI CA Core Subsystem:
2256193267Sjkim
2257193267SjkimFixed a problem with the Alias operator when the target of the alias is a 
2258193267Sjkimnamed ASL operator that opens a new scope -- Scope, Device, PowerResource, 
2259193267SjkimProcessor, and ThermalZone. In these cases, any children of the original 
2260193267Sjkimoperator could not be accessed via the alias, potentially causing unexpected 
2261193267SjkimAE_NOT_FOUND exceptions. (BZ 9067)
2262193267Sjkim
2263193267SjkimFixed a problem with the Package operator where all named references were 
2264193267Sjkimcreated as object references and left otherwise unresolved. According to the 
2265193267SjkimACPI specification, a Package can only contain Data Objects or references to 
2266193267Sjkimcontrol methods. The implication is that named references to Data Objects 
2267193267Sjkim(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
2268193267Sjkimimmediately upon package creation. This is the approach taken with this 
2269193267Sjkimchange. References to all other named objects (Methods, Devices, Scopes, 
2270193267Sjkimetc.) are all now properly created as reference objects. (BZ 5328)
2271193267Sjkim
2272193267SjkimReverted a change to Notify handling that was introduced in version 
2273193267Sjkim20070508. This version changed the Notify handling from asynchronous to 
2274193267Sjkimfully synchronous (Device driver Notify handling with respect to the Notify 
2275193267SjkimASL operator). It was found that this change caused more problems than it 
2276193267Sjkimsolved and was removed by most users.
2277193267Sjkim
2278193267SjkimFixed a problem with the Increment and Decrement operators where the type of 
2279193267Sjkimthe target object could be unexpectedly and incorrectly changed. (BZ 353) 
2280193267SjkimLin Ming.
2281193267Sjkim
2282193267SjkimFixed a problem with the Load and LoadTable operators where the table 
2283193267Sjkimlocation within the namespace was ignored. Instead, the table was always 
2284193267Sjkimloaded into the root or current scope. Lin Ming.
2285193267Sjkim
2286193267SjkimFixed a problem with the Load operator when loading a table from a buffer 
2287193267Sjkimobject. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
2288193267Sjkim
2289193267SjkimFixed a problem with the Debug object where a store of a DdbHandle reference 
2290193267Sjkimobject to the Debug object could cause a fault.
2291193267Sjkim
2292193267SjkimAdded a table checksum verification for the Load operator, in the case where 
2293193267Sjkimthe load is from a buffer. (BZ 578).
2294193267Sjkim
2295193267SjkimImplemented additional parameter validation for the LoadTable operator. The 
2296193267Sjkimlength of the input strings SignatureString, OemIdString, and OemTableId are 
2297193267Sjkimnow checked for maximum lengths. (BZ 582) Lin Ming.
2298193267Sjkim
2299193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2300193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2301193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2302193267Sjkima much larger code and data size.
2303193267Sjkim
2304193267Sjkim  Previous Release:
2305193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2306193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2307193267Sjkim  Current Release:
2308193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2309193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2310193267Sjkim
2311193267Sjkim
2312193267Sjkim2) iASL Compiler/Disassembler:
2313193267Sjkim
2314193267SjkimFixed a problem where if a single file was specified and the file did not 
2315193267Sjkimexist, no error message was emitted. (Introduced with wildcard support in 
2316193267Sjkimversion 20070917.)
2317193267Sjkim
2318193267Sjkim----------------------------------------
2319193267Sjkim19 September 2007. Summary of changes for version 20070919:
2320193267Sjkim
2321193267Sjkim1) ACPI CA Core Subsystem:
2322193267Sjkim
2323193267SjkimDesigned and implemented new external interfaces to install and remove 
2324193267Sjkimhandlers for ACPI table-related events. Current events that are defined are 
2325193267SjkimLOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
2326193267Sjkimthey are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
2327193267SjkimAcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2328193267Sjkim
2329193267SjkimFixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
2330193267Sjkim(acpi_serialized option on Linux) could cause some systems to hang during 
2331193267Sjkiminitialization. (Bob Moore) BZ 8171
2332193267Sjkim
2333193267SjkimFixed a problem where objects of certain types (Device, ThermalZone, 
2334193267SjkimProcessor, PowerResource) can be not found if they are declared and 
2335193267Sjkimreferenced from within the same control method (Lin Ming) BZ 341
2336193267Sjkim
2337193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2338193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2339193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2340193267Sjkima much larger code and data size.
2341193267Sjkim
2342193267Sjkim  Previous Release:
2343193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2344193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2345193267Sjkim  Current Release:
2346193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2347193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2348193267Sjkim
2349193267Sjkim
2350193267Sjkim2) iASL Compiler/Disassembler:
2351193267Sjkim
2352193267SjkimImplemented support to allow multiple files to be compiled/disassembled in a 
2353193267Sjkimsingle invocation. This includes command line wildcard support for both the 
2354193267SjkimWindows and Unix versions of the compiler. This feature simplifies the 
2355193267Sjkimdisassembly and compilation of multiple ACPI tables in a single directory.
2356193267Sjkim
2357193267Sjkim----------------------------------------
2358193267Sjkim08 May 2007. Summary of changes for version 20070508:
2359193267Sjkim
2360193267Sjkim1) ACPI CA Core Subsystem:
2361193267Sjkim
2362193267SjkimImplemented a Microsoft compatibility design change for the handling of the 
2363193267SjkimNotify AML operator. Previously, notify handlers were dispatched and 
2364193267Sjkimexecuted completely asynchronously in a deferred thread. The new design 
2365193267Sjkimstill executes the notify handlers in a different thread, but the original 
2366193267Sjkimthread that executed the Notify() now waits at a synchronization point for 
2367193267Sjkimthe notify handler to complete. Some machines depend on a synchronous Notify 
2368193267Sjkimoperator in order to operate correctly.
2369193267Sjkim
2370193267SjkimImplemented support to allow Package objects to be passed as method 
2371193267Sjkimarguments to the external AcpiEvaluateObject interface. Previously, this 
2372193267Sjkimwould return the AE_NOT_IMPLEMENTED exception. This feature had not been 
2373193267Sjkimimplemented since there were no reserved control methods that required it 
2374193267Sjkimuntil recently.
2375193267Sjkim
2376193267SjkimFixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
2377193267Sjkimcontained invalid non-zero values in reserved fields could cause later 
2378193267Sjkimfailures because these fields have meaning in later revisions of the FADT. 
2379193267SjkimFor incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
2380193267Sjkimare: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
2381193267Sjkim
2382193267SjkimFixed a problem where the Global Lock handle was not properly updated if a 
2383193267Sjkimthread that acquired the Global Lock via executing AML code then attempted 
2384193267Sjkimto acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
2385193267SjkimLiu.
2386193267Sjkim
2387193267SjkimFixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
2388193267Sjkimcould be corrupted if the interrupt being removed was at the head of the 
2389193267Sjkimlist. Reported by Linn Crosetto.
2390193267Sjkim
2391193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2392193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2393193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2394193267Sjkima much larger code and data size.
2395193267Sjkim
2396193267Sjkim  Previous Release:
2397193267Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2398193267Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2399193267Sjkim  Current Release:
2400193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2401193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2402193267Sjkim
2403193267Sjkim----------------------------------------
2404167802Sjkim20 March 2007. Summary of changes for version 20070320:
2405167802Sjkim
2406167802Sjkim1) ACPI CA Core Subsystem:
2407167802Sjkim
2408193267SjkimImplemented a change to the order of interpretation and evaluation of AML 
2409193267Sjkimoperand objects within the AML interpreter. The interpreter now evaluates 
2410193267Sjkimoperands in the order that they appear in the AML stream (and the 
2411193267Sjkimcorresponding ASL code), instead of in the reverse order (after the entire 
2412193267Sjkimoperand list has been parsed). The previous behavior caused several subtle 
2413193267Sjkimincompatibilities with the Microsoft AML interpreter as well as being 
2414193267Sjkimsomewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
2415167802Sjkim
2416193267SjkimImplemented a change to the ACPI Global Lock support. All interfaces to the 
2417193267Sjkimglobal lock now allow the same thread to acquire the lock multiple times. 
2418193267SjkimThis affects the AcpiAcquireGlobalLock external interface to the global lock 
2419193267Sjkimas well as the internal use of the global lock to support AML fields -- a 
2420193267Sjkimcontrol method that is holding the global lock can now simultaneously access 
2421193267SjkimAML fields that require global lock protection. Previously, in both cases, 
2422193267Sjkimthis would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
2423193267SjkimAcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
2424193267SjkimController. There is no change to the behavior of the AML Acquire operator, 
2425193267Sjkimas this can already be used to acquire a mutex multiple times by the same 
2426193267Sjkimthread. BZ 8066. With assistance from Alexey Starikovskiy.
2427167802Sjkim
2428193267SjkimFixed a problem where invalid objects could be referenced in the AML 
2429193267SjkimInterpreter after error conditions. During operand evaluation, ensure that 
2430193267Sjkimthe internal "Return Object" field is cleared on error and only valid 
2431193267Sjkimpointers are stored there. Caused occasional access to deleted objects that 
2432193267Sjkimresulted in "large reference count" warning messages. Valery Podrezov.
2433167802Sjkim
2434193267SjkimFixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
2435193267Sjkimdeeply nested control method invocations. BZ 7873, local BZ 487. Valery 
2436193267SjkimPodrezov.
2437167802Sjkim
2438193267SjkimFixed an internal problem with the handling of result objects on the 
2439193267Sjkiminterpreter result stack. BZ 7872. Valery Podrezov.
2440167802Sjkim
2441193267SjkimRemoved obsolete code that handled the case where AML_NAME_OP is the target 
2442193267Sjkimof a reference (Reference.Opcode). This code was no longer necessary. BZ 
2443193267Sjkim7874. Valery Podrezov.
2444167802Sjkim
2445193267SjkimRemoved obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
2446193267Sjkimremnant from the previously discontinued 16-bit support.
2447167802Sjkim
2448193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2449193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2450193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2451193267Sjkima much larger code and data size.
2452167802Sjkim
2453167802Sjkim  Previous Release:
2454167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2455167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2456167802Sjkim  Current Release:
2457167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2458167802Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2459167802Sjkim
2460167802Sjkim----------------------------------------
2461167802Sjkim26 January 2007. Summary of changes for version 20070126:
2462167802Sjkim
2463167802Sjkim1) ACPI CA Core Subsystem:
2464167802Sjkim
2465193267SjkimAdded the 2007 copyright to all module headers and signons. This affects 
2466193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2467193267Sjkimthe utilities.
2468167802Sjkim
2469193267SjkimImplemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
2470193267Sjkimduring a table load. A bad pointer was passed in the case where the DSDT is 
2471193267Sjkimoverridden, causing a fault in this case.
2472167802Sjkim
2473193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2474193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2475193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2476193267Sjkima much larger code and data size.
2477167802Sjkim
2478167802Sjkim  Previous Release:
2479167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2480167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2481167802Sjkim  Current Release:
2482167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2483167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2484167802Sjkim
2485167802Sjkim----------------------------------------
2486167802Sjkim15 December 2006. Summary of changes for version 20061215:
2487167802Sjkim
2488167802Sjkim1) ACPI CA Core Subsystem:
2489167802Sjkim
2490193267SjkimSupport for 16-bit ACPICA has been completely removed since it is no longer 
2491193267Sjkimnecessary and it clutters the code. All 16-bit macros, types, and 
2492193267Sjkimconditional compiles have been removed, cleaning up and simplifying the code 
2493193267Sjkimacross the entire subsystem. DOS support is no longer needed since the 
2494193267Sjkimbootable Linux firmware kit is now available.
2495167802Sjkim
2496193267SjkimThe handler for the Global Lock is now removed during AcpiTerminate to 
2497193267Sjkimenable a clean subsystem restart, via the implementation of the 
2498193267SjkimAcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
2499193267SjkimHP)
2500167802Sjkim
2501193267SjkimImplemented enhancements to the multithreading support within the debugger 
2502193267Sjkimto enable improved multithreading debugging and evaluation of the subsystem. 
2503167802Sjkim(Valery Podrezov)
2504167802Sjkim
2505193267SjkimDebugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
2506193267Sjkimmemory used during the execution, as well as the maximum memory consumed by 
2507193267Sjkimeach of the various object types. (Valery Podrezov)
2508167802Sjkim
2509193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2510193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2511193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2512193267Sjkima much larger code and data size.
2513193267Sjkim
2514167802Sjkim  Previous Release:
2515167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2516167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2517167802Sjkim  Current Release:
2518167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2519167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2520167802Sjkim
2521167802Sjkim
2522167802Sjkim2) iASL Compiler/Disassembler and Tools:
2523167802Sjkim
2524193267SjkimAcpiExec: Implemented a new option (-m) to display full memory use 
2525193267Sjkimstatistics upon subsystem/program termination. (Valery Podrezov)
2526167802Sjkim
2527167802Sjkim----------------------------------------
2528167802Sjkim09 November 2006. Summary of changes for version 20061109:
2529167802Sjkim
2530167802Sjkim1) ACPI CA Core Subsystem:
2531167802Sjkim
2532193267SjkimOptimized the Load ASL operator in the case where the source operand is an 
2533193267Sjkimoperation region. Simply map the operation region memory, instead of 
2534193267Sjkimperforming a bytewise read. (Region must be of type SystemMemory, see 
2535193267Sjkimbelow.)
2536167802Sjkim
2537193267SjkimFixed the Load ASL operator for the case where the source operand is a 
2538193267Sjkimregion field. A buffer object is also allowed as the source operand. BZ 480
2539167802Sjkim
2540193267SjkimFixed a problem where the Load ASL operator allowed the source operand to be 
2541193267Sjkiman operation region of any type. It is now restricted to regions of type 
2542193267SjkimSystemMemory, as per the ACPI specification. BZ 481
2543167802Sjkim
2544193267SjkimAdditional cleanup and optimizations for the new Table Manager code.
2545167802Sjkim
2546193267SjkimAcpiEnable will now fail if all of the required ACPI tables are not loaded 
2547193267Sjkim(FADT, FACS, DSDT). BZ 477
2548167802Sjkim
2549193267SjkimAdded #pragma pack(8/4) to acobject.h to ensure that the structures in this 
2550193267Sjkimheader are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
2551193267Sjkimmanually optimized to be aligned and will not work if it is byte-packed. 
2552167802Sjkim
2553193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2554193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2555193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2556193267Sjkima much larger code and data size.
2557167802Sjkim
2558167802Sjkim  Previous Release:
2559167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2560167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2561167802Sjkim  Current Release:
2562167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2563167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2564167802Sjkim
2565167802Sjkim
2566167802Sjkim2) iASL Compiler/Disassembler and Tools:
2567167802Sjkim
2568193267SjkimFixed a problem where the presence of the _OSI predefined control method 
2569193267Sjkimwithin complex expressions could cause an internal compiler error.
2570167802Sjkim
2571193267SjkimAcpiExec: Implemented full region support for multiple address spaces. 
2572193267SjkimSpaceId is now part of the REGION object. BZ 429
2573167802Sjkim
2574167802Sjkim----------------------------------------
2575167802Sjkim11 October 2006. Summary of changes for version 20061011:
2576167802Sjkim
2577167802Sjkim1) ACPI CA Core Subsystem:
2578167802Sjkim
2579193267SjkimCompleted an AML interpreter performance enhancement for control method 
2580193267Sjkimexecution. Previously a 2-pass parse/execution, control methods are now 
2581193267Sjkimcompletely parsed and executed in a single pass. This improves overall 
2582193267Sjkiminterpreter performance by ~25%, reduces code size, and reduces CPU stack 
2583193267Sjkimuse. (Valery Podrezov + interpreter changes in version 20051202 that 
2584193267Sjkimeliminated namespace loading during the pass one parse.)
2585167802Sjkim
2586193267SjkimImplemented _CID support for PCI Root Bridge detection. If the _HID does not 
2587193267Sjkimmatch the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
2588193267Sjkimobtained and also checked for an ID match.
2589167802Sjkim
2590193267SjkimImplemented additional support for the PCI _ADR execution: upsearch until a 
2591193267Sjkimdevice scope is found before executing _ADR. This allows PCI_Config 
2592193267Sjkimoperation regions to be declared locally within control methods underneath 
2593193267SjkimPCI device objects.
2594167802Sjkim
2595193267SjkimFixed a problem with a possible race condition between threads executing 
2596193267SjkimAcpiWalkNamespace and the AML interpreter. This condition was removed by 
2597193267Sjkimmodifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
2598193267Sjkimentries created during any concurrent control method execution. An 
2599193267Sjkimadditional namespace race condition is known to exist between 
2600193267SjkimAcpiWalkNamespace and the Load/Unload ASL operators and is still under 
2601193267Sjkiminvestigation.
2602167802Sjkim
2603193267SjkimRestructured the AML ParseLoop function, breaking it into several 
2604193267Sjkimsubfunctions in order to reduce CPU stack use and improve maintainability. 
2605193267Sjkim(Mikhail Kouzmich)
2606167802Sjkim
2607193267SjkimAcpiGetHandle: Fix for parameter validation to detect invalid combinations 
2608193267Sjkimof prefix handle and pathname. BZ 478
2609167802Sjkim
2610193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2611193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2612193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2613193267Sjkima much larger code and data size.
2614167802Sjkim
2615167802Sjkim  Previous Release:
2616167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2617167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2618167802Sjkim  Current Release:
2619167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2620167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2621167802Sjkim
2622167802Sjkim2) iASL Compiler/Disassembler and Tools:
2623167802Sjkim
2624193267SjkimPorted the -g option (get local ACPI tables) to the new ACPICA Table Manager 
2625193267Sjkimto restore original behavior.
2626167802Sjkim
2627167802Sjkim----------------------------------------
2628167802Sjkim27 September 2006. Summary of changes for version 20060927:
2629167802Sjkim
2630167802Sjkim1) ACPI CA Core Subsystem:
2631167802Sjkim
2632193267SjkimRemoved the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
2633193267SjkimThese functions now use a spinlock for mutual exclusion and the interrupt 
2634193267Sjkimlevel indication flag is not needed.
2635167802Sjkim
2636193267SjkimFixed a problem with the Global Lock where the lock could appear to be 
2637193267Sjkimobtained before it is actually obtained. The global lock semaphore was 
2638193267Sjkiminadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
2639193267SjkimSuietov.
2640167802Sjkim
2641193267SjkimFixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
2642193267Sjkima read from a buffer or region field. (BZ 458) Fiodor Suietov.
2643167802Sjkim
2644193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2645193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2646193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2647193267Sjkima much larger code and data size.
2648167802Sjkim
2649167802Sjkim  Previous Release:
2650167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2651167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2652167802Sjkim  Current Release:
2653167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2654167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2655167802Sjkim
2656167802Sjkim
2657167802Sjkim2) iASL Compiler/Disassembler and Tools:
2658167802Sjkim
2659193267SjkimFixed a compilation problem with the pre-defined Resource Descriptor field 
2660193267Sjkimnames where an "object does not exist" error could be incorrectly generated 
2661193267Sjkimif the parent ResourceTemplate pathname places the template within a 
2662193267Sjkimdifferent namespace scope than the current scope. (BZ 7212)
2663167802Sjkim
2664193267SjkimFixed a problem where the compiler could hang after syntax errors detected 
2665193267Sjkimin an ElseIf construct. (BZ 453)
2666167802Sjkim
2667193267SjkimFixed a problem with the AmlFilename parameter to the DefinitionBlock() 
2668193267Sjkimoperator. An incorrect output filename was produced when this parameter was 
2669193267Sjkima null string (""). Now, the original input filename is used as the AML 
2670193267Sjkimoutput filename, with an ".aml" extension.
2671167802Sjkim
2672193267SjkimImplemented a generic batch command mode for the AcpiExec utility (execute 
2673193267Sjkimany AML debugger command) (Valery Podrezov).
2674167802Sjkim
2675167802Sjkim----------------------------------------
2676167802Sjkim12 September 2006. Summary of changes for version 20060912:
2677167802Sjkim
2678167802Sjkim1) ACPI CA Core Subsystem:
2679167802Sjkim
2680193267SjkimEnhanced the implementation of the "serialized mode" of the interpreter 
2681193267Sjkim(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
2682193267Sjkimspecified, instead of creating a serialization semaphore per control method, 
2683193267Sjkimthe interpreter lock is simply no longer released before a blocking 
2684193267Sjkimoperation during control method execution. This effectively makes the AML 
2685193267SjkimInterpreter single-threaded. The overhead of a semaphore per-method is 
2686193267Sjkimeliminated.
2687167802Sjkim
2688193267SjkimFixed a regression where an error was no longer emitted if a control method 
2689193267Sjkimattempts to create 2 objects of the same name. This once again returns 
2690193267SjkimAE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
2691193267Sjkimwill dynamically serialize the control method to possible prevent future 
2692193267Sjkimerrors. (BZ 440)
2693167802Sjkim
2694193267SjkimIntegrated a fix for a problem with PCI Express HID detection in the PCI 
2695193267SjkimConfig Space setup procedure. (BZ 7145)
2696167802Sjkim
2697193267SjkimMoved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
2698193267SjkimAcpiHwInitialize function - the FADT registers are now validated when the 
2699193267Sjkimtable is loaded.
2700167802Sjkim
2701193267SjkimAdded two new warnings during FADT verification - 1) if the FADT is larger 
2702193267Sjkimthan the largest known FADT version, and 2) if there is a mismatch between a 
2703193267Sjkim32-bit block address and the 64-bit X counterpart (when both are non-zero.)
2704167802Sjkim
2705193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2706193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2707193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2708193267Sjkima much larger code and data size.
2709167802Sjkim
2710167802Sjkim  Previous Release:
2711167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2712167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2713167802Sjkim  Current Release:
2714167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2715167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2716167802Sjkim
2717167802Sjkim
2718167802Sjkim2) iASL Compiler/Disassembler and Tools:
2719167802Sjkim
2720193267SjkimFixed a problem with the implementation of the Switch() operator where the 
2721193267Sjkimtemporary variable was declared too close to the actual Switch, instead of 
2722193267Sjkimat method level. This could cause a problem if the Switch() operator is 
2723193267Sjkimwithin a while loop, causing an error on the second iteration. (BZ 460)
2724167802Sjkim
2725193267SjkimDisassembler - fix for error emitted for unknown type for target of scope 
2726193267Sjkimoperator. Now, ignore it and continue.
2727167802Sjkim
2728193267SjkimDisassembly of an FADT now verifies the input FADT and reports any errors 
2729193267Sjkimfound. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
2730167802Sjkim
2731193267SjkimDisassembly of raw data buffers with byte initialization data now prefixes 
2732193267Sjkimeach output line with the current buffer offset.
2733167802Sjkim
2734193267SjkimDisassembly of ASF! table now includes all variable-length data fields at 
2735193267Sjkimthe end of some of the subtables.
2736167802Sjkim
2737193267SjkimThe disassembler now emits a comment if a buffer appears to be a 
2738193267SjkimResourceTemplate, but cannot be disassembled as such because the EndTag does 
2739193267Sjkimnot appear at the very end of the buffer.
2740167802Sjkim
2741193267SjkimAcpiExec - Added the "-t" command line option to enable the serialized mode 
2742193267Sjkimof the AML interpreter.
2743167802Sjkim
2744167802Sjkim----------------------------------------
2745167802Sjkim31 August 2006. Summary of changes for version 20060831:
2746167802Sjkim
2747167802Sjkim1) ACPI CA Core Subsystem:
2748167802Sjkim
2749167802SjkimMiscellaneous fixes for the Table Manager:
2750193267Sjkim- Correctly initialize internal common FADT for all 64-bit "X" fields
2751167802Sjkim- Fixed a couple table mapping issues during table load
2752167802Sjkim- Fixed a couple alignment issues for IA64
2753167802Sjkim- Initialize input array to zero in AcpiInitializeTables
2754193267Sjkim- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
2755193267SjkimAcpiGetTableByIndex
2756167802Sjkim
2757193267SjkimChange for GPE support: when a "wake" GPE is received, all wake GPEs are now 
2758193267Sjkimimmediately disabled to prevent the waking GPE from firing again and to 
2759193267Sjkimprevent other wake GPEs from interrupting the wake process.
2760167802Sjkim
2761193267SjkimAdded the AcpiGpeCount global that tracks the number of processed GPEs, to 
2762193267Sjkimbe used for debugging systems with a large number of ACPI interrupts.
2763167802Sjkim
2764193267SjkimImplemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
2765193267Sjkimboth the ACPICA headers and the disassembler.
2766167802Sjkim
2767193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2768193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2769193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2770193267Sjkima much larger code and data size.
2771167802Sjkim
2772167802Sjkim  Previous Release:
2773167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2774167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2775167802Sjkim  Current Release:
2776167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2777167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2778167802Sjkim
2779167802Sjkim
2780167802Sjkim2) iASL Compiler/Disassembler and Tools:
2781167802Sjkim
2782167802SjkimDisassembler support for the DMAR ACPI table.
2783167802Sjkim
2784167802Sjkim----------------------------------------
2785167802Sjkim23 August 2006. Summary of changes for version 20060823:
2786167802Sjkim
2787167802Sjkim1) ACPI CA Core Subsystem:
2788167802Sjkim
2789193267SjkimThe Table Manager component has been completely redesigned and 
2790193267Sjkimreimplemented. The new design is much simpler, and reduces the overall code 
2791193267Sjkimand data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
2792193267Sjkimnow possible to obtain the ACPI tables very early during kernel 
2793193267Sjkiminitialization, even before dynamic memory management is initialized. 
2794193267Sjkim(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
2795167802Sjkim
2796167802SjkimObsolete ACPICA interfaces:
2797167802Sjkim
2798193267Sjkim- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
2799193267Sjkimtime).
2800167802Sjkim- AcpiLoadTable: Not needed.
2801167802Sjkim- AcpiUnloadTable: Not needed.
2802167802Sjkim
2803167802SjkimNew ACPICA interfaces:
2804167802Sjkim
2805193267Sjkim- AcpiInitializeTables: Must be called before the table manager can be used.
2806193267Sjkim- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
2807193267Sjkimallocated memory after it becomes available.
2808193267Sjkim- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
2809193267Sjkimin the RSDT/XSDT.
2810167802Sjkim
2811167802SjkimOther ACPICA changes:
2812167802Sjkim
2813193267Sjkim- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
2814193267SjkimAcpiOsUnmapMemory to free this mapping.
2815193267Sjkim- AcpiGetTable returns the actual mapped table. The mapping is managed 
2816193267Sjkiminternally and must not be deleted by the caller. Use of this interface 
2817193267Sjkimcauses no additional dynamic memory allocation.
2818193267Sjkim- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
2819193267Sjkimit appeared to be unused.
2820193267Sjkim- The interface to AcpiOsMapMemory has changed to be consistent with the 
2821193267Sjkimother allocation interfaces.
2822193267Sjkim- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
2823193267Sjkimparameters.
2824193267Sjkim- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
2825193267Sjkimbit platforms. Was previously 64 bits on all platforms.
2826193267Sjkim- The interface to the ACPI Global Lock acquire/release macros have changed 
2827193267Sjkimslightly since ACPICA no longer keeps a local copy of the FACS with a 
2828193267Sjkimconstructed pointer to the actual global lock.
2829167802Sjkim
2830167802SjkimPorting to the new table manager:
2831167802Sjkim
2832193267Sjkim- AcpiInitializeTables: Must be called once, and can be called anytime 
2833193267Sjkimduring the OS initialization process. It allows the host to specify an area 
2834193267Sjkimof memory to be used to store the internal version of the RSDT/XSDT (root 
2835193267Sjkimtable). This allows the host to access ACPI tables before memory management 
2836193267Sjkimis initialized and running.
2837193267Sjkim- AcpiReallocateRootTable: Can be called after memory management is running 
2838193267Sjkimto copy the root table to a dynamically allocated array, freeing up the 
2839193267Sjkimscratch memory specified in the call to AcpiInitializeTables.
2840193267Sjkim- AcpiSubsystemInitialize: This existing interface is independent of the 
2841193267SjkimTable Manager, and does not have to be called before the Table Manager can 
2842193267Sjkimbe used, it only must be called before the rest of ACPICA can be used.
2843193267Sjkim- ACPI Tables: Some changes have been made to the names and structure of the 
2844193267Sjkimactbl.h and actbl1.h header files and may require changes to existing code. 
2845193267SjkimFor example, bitfields have been completely removed because of their lack of 
2846193267Sjkimportability across C compilers.
2847193267Sjkim- Update interfaces to the Global Lock acquire/release macros if local 
2848193267Sjkimversions are used. (see acwin.h)
2849167802Sjkim
2850167802SjkimObsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
2851167802Sjkim
2852167802SjkimNew files: tbfind.c
2853167802Sjkim
2854193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2855193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2856193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2857193267Sjkima much larger code and data size.
2858167802Sjkim
2859167802Sjkim  Previous Release:
2860167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2861167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2862167802Sjkim  Current Release:
2863167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2864167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2865167802Sjkim
2866167802Sjkim
2867167802Sjkim2) iASL Compiler/Disassembler and Tools:
2868167802Sjkim
2869167802SjkimNo changes for this release.
2870167802Sjkim
2871167802Sjkim----------------------------------------
2872167802Sjkim21 July 2006. Summary of changes for version 20060721:
2873167802Sjkim
2874167802Sjkim1) ACPI CA Core Subsystem:
2875167802Sjkim
2876193267SjkimThe full source code for the ASL test suite used to validate the iASL 
2877193267Sjkimcompiler and the ACPICA core subsystem is being released with the ACPICA 
2878193267Sjkimsource for the first time. The source is contained in a separate package and 
2879193267Sjkimconsists of over 1100 files that exercise all ASL/AML operators. The package 
2880193267Sjkimshould appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
2881167802SjkimSuietov)
2882167802Sjkim
2883193267SjkimCompleted a new design and implementation for support of the ACPI Global 
2884193267SjkimLock. On the OS side, the global lock is now treated as a standard AML 
2885193267Sjkimmutex. Previously, multiple OS threads could "acquire" the global lock 
2886193267Sjkimsimultaneously. However, this could cause the BIOS to be starved out of the 
2887193267Sjkimlock - especially in cases such as the Embedded Controller driver where 
2888193267Sjkimthere is a tight coupling between the OS and the BIOS.
2889167802Sjkim
2890193267SjkimImplemented an optimization for the ACPI Global Lock interrupt mechanism. 
2891193267SjkimThe Global Lock interrupt handler no longer queues the execution of a 
2892193267Sjkimseparate thread to signal the global lock semaphore. Instead, the semaphore 
2893193267Sjkimis signaled directly from the interrupt handler.
2894167802Sjkim
2895193267SjkimImplemented support within the AML interpreter for package objects that 
2896193267Sjkimcontain a larger AML length (package list length) than the package element 
2897193267Sjkimcount. In this case, the length of the package is truncated to match the 
2898193267Sjkimpackage element count. Some BIOS code apparently modifies the package length 
2899193267Sjkimon the fly, and this change supports this behavior. Provides compatibility 
2900193267Sjkimwith the MS AML interpreter. (With assistance from Fiodor Suietov)
2901167802Sjkim
2902193267SjkimImplemented a temporary fix for the BankValue parameter of a Bank Field to 
2903193267Sjkimsupport all constant values, now including the Zero and One opcodes. 
2904193267SjkimEvaluation of this parameter must eventually be converted to a full TermArg 
2905193267Sjkimevaluation. A not-implemented error is now returned (temporarily) for non-
2906193267Sjkimconstant values for this parameter.
2907167802Sjkim
2908167802SjkimFixed problem reports (Fiodor Suietov) integrated:
2909193267Sjkim- Fix for premature object deletion after CopyObject on Operation Region (BZ 
2910193267Sjkim350)
2911167802Sjkim
2912193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2913193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2914193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2915193267Sjkima much larger code and data size.
2916167802Sjkim
2917167802Sjkim  Previous Release:
2918167802Sjkim    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
2919167802Sjkim    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
2920167802Sjkim  Current Release:
2921167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2922167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2923167802Sjkim
2924167802Sjkim
2925167802Sjkim2) iASL Compiler/Disassembler and Tools:
2926167802Sjkim
2927167802SjkimNo changes for this release.
2928167802Sjkim
2929167802Sjkim----------------------------------------
2930167802Sjkim07 July 2006. Summary of changes for version 20060707:
2931167802Sjkim
2932167802Sjkim1) ACPI CA Core Subsystem:
2933167802Sjkim
2934193267SjkimAdded the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
2935193267Sjkimthat do not allow the initialization of address pointers within packed 
2936193267Sjkimstructures - even though the hardware itself may support misaligned 
2937193267Sjkimtransfers. Some of the debug data structures are packed by default to 
2938193267Sjkimminimize size.
2939167802Sjkim
2940193267SjkimAdded an error message for the case where AcpiOsGetThreadId() returns zero. 
2941193267SjkimA non-zero value is required by the core ACPICA code to ensure the proper 
2942193267Sjkimoperation of AML mutexes and recursive control methods.
2943167802Sjkim
2944193267SjkimThe DSDT is now the only ACPI table that determines whether the AML 
2945193267Sjkiminterpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
2946193267Sjkimthe hooks for per-table 32/64 switching have been removed from the code. A 
2947193267Sjkimclarification to the ACPI specification is forthcoming in ACPI 3.0B.
2948167802Sjkim
2949193267SjkimFixed a possible leak of an OwnerID in the error path of 
2950193267SjkimAcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
2951193267Sjkimdeletion to a single place in AcpiTbUninstallTable to correct possible leaks 
2952193267Sjkimwhen using the AcpiTbDeleteTablesByType interface (with assistance from 
2953193267SjkimLance Ortiz.)
2954167802Sjkim
2955193267SjkimFixed a problem with Serialized control methods where the semaphore 
2956193267Sjkimassociated with the method could be over-signaled after multiple method 
2957193267Sjkiminvocations.
2958167802Sjkim
2959193267SjkimFixed two issues with the locking of the internal namespace data structure. 
2960193267SjkimBoth the Unload() operator and AcpiUnloadTable interface now lock the 
2961193267Sjkimnamespace during the namespace deletion associated with the table unload 
2962193267Sjkim(with assistance from Linn Crosetto.)
2963167802Sjkim
2964167802SjkimFixed problem reports (Valery Podrezov) integrated:
2965193267Sjkim- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
2966167802Sjkim
2967167802SjkimFixed problem reports (Fiodor Suietov) integrated:
2968167802Sjkim- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
2969193267Sjkim- On Address Space handler deletion, needless deactivation call (BZ 374)
2970193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
2971193267Sjkim- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
2972193267Sjkim(BZ 376)
2973193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
2974167802Sjkim- Minimum Length of RSDT should be validated (BZ 379)
2975193267Sjkim- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
2976193267SjkimHandler (BZ (380)
2977193267Sjkim- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
2978193267Sjkim(BZ 381)
2979167802Sjkim
2980193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2981193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2982193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2983193267Sjkima much larger code and data size.
2984167802Sjkim
2985167802Sjkim  Previous Release:
2986167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
2987167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
2988167802Sjkim  Current Release:
2989167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2990167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2991167802Sjkim
2992167802Sjkim
2993167802Sjkim2) iASL Compiler/Disassembler and Tools:
2994167802Sjkim
2995167802SjkimFixed problem reports:
2996193267SjkimCompiler segfault when ASL contains a long (>1024) String declaration (BZ 
2997193267Sjkim436)
2998167802Sjkim
2999167802Sjkim----------------------------------------
3000167802Sjkim23 June 2006. Summary of changes for version 20060623:
3001167802Sjkim
3002167802Sjkim1) ACPI CA Core Subsystem:
3003167802Sjkim
3004193267SjkimImplemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
3005193267Sjkimallows the type to be customized to the host OS for improved efficiency 
3006193267Sjkim(since a spinlock is usually a very small object.)
3007167802Sjkim
3008193267SjkimImplemented support for "ignored" bits in the ACPI registers. According to 
3009193267Sjkimthe ACPI specification, these bits should be preserved when writing the 
3010193267Sjkimregisters via a read/modify/write cycle. There are 3 bits preserved in this 
3011193267Sjkimmanner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3012167802Sjkim
3013193267SjkimImplemented the initial deployment of new OSL mutex interfaces. Since some 
3014193267Sjkimhost operating systems have separate mutex and semaphore objects, this 
3015193267Sjkimfeature was requested. The base code now uses mutexes (and the new mutex 
3016193267Sjkiminterfaces) wherever a binary semaphore was used previously. However, for 
3017193267Sjkimthe current release, the mutex interfaces are defined as macros to map them 
3018193267Sjkimto the existing semaphore interfaces. Therefore, no OSL changes are required 
3019193267Sjkimat this time. (See acpiosxf.h)
3020167802Sjkim
3021193267SjkimFixed several problems with the support for the control method SyncLevel 
3022193267Sjkimparameter. The SyncLevel now works according to the ACPI specification and 
3023193267Sjkimin concert with the Mutex SyncLevel parameter, since the current SyncLevel 
3024193267Sjkimis a property of the executing thread. Mutual exclusion for control methods 
3025193267Sjkimis now implemented with a mutex instead of a semaphore.
3026167802Sjkim
3027193267SjkimFixed three instances of the use of the C shift operator in the bitfield 
3028193267Sjkimsupport code (exfldio.c) to avoid the use of a shift value larger than the 
3029193267Sjkimtarget data width. The behavior of C compilers is undefined in this case and 
3030193267Sjkimcan cause unpredictable results, and therefore the case must be detected and 
3031193267Sjkimavoided. (Fiodor Suietov)
3032167802Sjkim
3033193267SjkimAdded an info message whenever an SSDT or OEM table is loaded dynamically 
3034193267Sjkimvia the Load() or LoadTable() ASL operators. This should improve debugging 
3035193267Sjkimcapability since it will show exactly what tables have been loaded (beyond 
3036193267Sjkimthe tables present in the RSDT/XSDT.)
3037167802Sjkim
3038193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3039193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3040193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3041193267Sjkima much larger code and data size.
3042167802Sjkim
3043167802Sjkim  Previous Release:
3044167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3045167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3046167802Sjkim  Current Release:
3047167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3048167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3049167802Sjkim
3050167802Sjkim
3051167802Sjkim2) iASL Compiler/Disassembler and Tools:
3052167802Sjkim
3053167802SjkimNo changes for this release.
3054167802Sjkim
3055167802Sjkim----------------------------------------
3056167802Sjkim08 June 2006. Summary of changes for version 20060608:
3057167802Sjkim
3058167802Sjkim1) ACPI CA Core Subsystem:
3059167802Sjkim
3060193267SjkimConverted the locking mutex used for the ACPI hardware to a spinlock. This 
3061193267Sjkimchange should eliminate all problems caused by attempting to acquire a 
3062193267Sjkimsemaphore at interrupt level, and it means that all ACPICA external 
3063193267Sjkiminterfaces that directly access the ACPI hardware can be safely called from 
3064193267Sjkiminterrupt level. OSL code that implements the semaphore interfaces should be 
3065193267Sjkimable to eliminate any workarounds for being called at interrupt level.
3066167802Sjkim
3067193267SjkimFixed a regression introduced in 20060526 where the ACPI device 
3068193267Sjkiminitialization could be prematurely aborted with an AE_NOT_FOUND if a device 
3069193267Sjkimdid not have an optional _INI method.
3070167802Sjkim
3071193267SjkimFixed an IndexField issue where a write to the Data Register should be 
3072193267Sjkimlimited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
3073193267SjkimFiodor Suietov)
3074167802Sjkim
3075167802SjkimFixed problem reports (Valery Podrezov) integrated:
3076193267Sjkim- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3077167802Sjkim
3078167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3079193267Sjkim- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3080167802Sjkim
3081193267SjkimRemoved four global mutexes that were obsolete and were no longer being 
3082193267Sjkimused.
3083167802Sjkim
3084193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3085193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3086193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3087193267Sjkima much larger code and data size.
3088167802Sjkim
3089167802Sjkim  Previous Release:
3090167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3091167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3092167802Sjkim  Current Release:
3093167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3094167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3095167802Sjkim
3096167802Sjkim
3097167802Sjkim2) iASL Compiler/Disassembler and Tools:
3098167802Sjkim
3099193267SjkimFixed a fault when using -g option (get tables from registry) on Windows 
3100193267Sjkimmachines.
3101167802Sjkim
3102167802SjkimFixed problem reports integrated:
3103193267Sjkim- Generate error if CreateField NumBits parameter is zero. (BZ 405)
3104193267Sjkim- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
3105193267SjkimSuietov)
3106167802Sjkim- Global table revision override (-r) is ignored (BZ 413)
3107167802Sjkim
3108167802Sjkim----------------------------------------
3109167802Sjkim26 May 2006. Summary of changes for version 20060526:
3110167802Sjkim
3111167802Sjkim1) ACPI CA Core Subsystem:
3112167802Sjkim
3113193267SjkimRestructured, flattened, and simplified the internal interfaces for 
3114193267Sjkimnamespace object evaluation - resulting in smaller code, less CPU stack use, 
3115193267Sjkimand fewer interfaces. (With assistance from Mikhail Kouzmich)
3116167802Sjkim
3117193267SjkimFixed a problem with the CopyObject operator where the first parameter was 
3118193267Sjkimnot typed correctly for the parser, interpreter, compiler, and disassembler. 
3119193267SjkimCaused various errors and unexpected behavior.
3120167802Sjkim
3121193267SjkimFixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
3122193267Sjkimproduced incorrect results with some C compilers. Since the behavior of C 
3123193267Sjkimcompilers when the shift value is larger than the datatype width is 
3124193267Sjkimapparently not well defined, the interpreter now detects this condition and 
3125193267Sjkimsimply returns zero as expected in all such cases. (BZ 395)
3126167802Sjkim
3127167802SjkimFixed problem reports (Valery Podrezov) integrated:
3128193267Sjkim- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3129193267Sjkim- Allow interpreter to handle nested method declarations (BZ 5361)
3130167802Sjkim
3131167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3132193267Sjkim- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3133193267Sjkim- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3134193267Sjkim- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3135193267Sjkim- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3136167802Sjkim- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3137193267Sjkim- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3138167802Sjkim- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3139167802Sjkim- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3140193267Sjkim- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3141193267Sjkim- Status of the Global Initialization Handler call not used (BZ 366)
3142193267Sjkim- Incorrect object parameter to Global Initialization Handler (BZ 367)
3143167802Sjkim
3144193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3145193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3146193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3147193267Sjkima much larger code and data size.
3148167802Sjkim
3149167802Sjkim  Previous Release:
3150167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3151167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3152167802Sjkim  Current Release:
3153167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3154167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3155167802Sjkim
3156167802Sjkim
3157167802Sjkim2) iASL Compiler/Disassembler and Tools:
3158167802Sjkim
3159193267SjkimModified the parser to allow the names IO, DMA, and IRQ to be used as 
3160193267Sjkimnamespace identifiers with no collision with existing resource descriptor 
3161193267Sjkimmacro names. This provides compatibility with other ASL compilers and is 
3162193267Sjkimmost useful for disassembly/recompilation of existing tables without parse 
3163167802Sjkimerrors. (With assistance from Thomas Renninger)
3164167802Sjkim
3165193267SjkimDisassembler: fixed an incorrect disassembly problem with the 
3166193267SjkimDataTableRegion and CopyObject operators. Fixed a possible fault during 
3167193267Sjkimdisassembly of some Alias operators.
3168167802Sjkim
3169167802Sjkim----------------------------------------
3170167802Sjkim12 May 2006. Summary of changes for version 20060512:
3171167802Sjkim
3172167802Sjkim1) ACPI CA Core Subsystem:
3173167802Sjkim
3174193267SjkimReplaced the AcpiOsQueueForExecution interface with a new interface named 
3175193267SjkimAcpiOsExecute. The major difference is that the new interface does not have 
3176193267Sjkima Priority parameter, this appeared to be useless and has been replaced by a 
3177193267SjkimType parameter. The Type tells the host what type of execution is being 
3178193267Sjkimrequested, such as global lock handler, notify handler, GPE handler, etc. 
3179193267SjkimThis allows the host to queue and execute the request as appropriate for the 
3180193267Sjkimrequest type, possibly using different work queues and different priorities 
3181193267Sjkimfor the various request types. This enables fixes for multithreading 
3182193267Sjkimdeadlock problems such as BZ #5534, and will require changes to all existing 
3183193267SjkimOS interface layers. (Alexey Starikovskiy and Bob Moore)
3184167802Sjkim
3185193267SjkimFixed a possible memory leak associated with the support for the so-called 
3186193267Sjkim"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
3187193267SjkimSuietov)
3188167802Sjkim
3189193267SjkimFixed a problem with the Load() operator where a table load from an 
3190193267Sjkimoperation region could overwrite an internal table buffer by up to 7 bytes 
3191193267Sjkimand cause alignment faults on IPF systems. (With assistance from Luming Yu)
3192167802Sjkim
3193193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3194193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3195193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3196193267Sjkima much larger code and data size.
3197167802Sjkim
3198167802Sjkim  Previous Release:
3199167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3200167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3201167802Sjkim  Current Release:
3202167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3203167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3204167802Sjkim
3205167802Sjkim
3206167802Sjkim
3207167802Sjkim2) iASL Compiler/Disassembler and Tools:
3208167802Sjkim
3209193267SjkimDisassembler: Implemented support to cross reference the internal namespace 
3210193267Sjkimand automatically generate ASL External() statements for symbols not defined 
3211193267Sjkimwithin the current table being disassembled. This will simplify the 
3212193267Sjkimdisassembly and recompilation of interdependent tables such as SSDTs since 
3213193267Sjkimthese statements will no longer have to be added manually.
3214167802Sjkim
3215193267SjkimDisassembler: Implemented experimental support to automatically detect 
3216193267Sjkiminvocations of external control methods and generate appropriate External() 
3217193267Sjkimstatements. This is problematic because the AML cannot be correctly parsed 
3218193267Sjkimuntil the number of arguments for each control method is known. Currently, 
3219193267Sjkimstandalone method invocations and invocations as the source operand of a 
3220193267SjkimStore() statement are supported.
3221167802Sjkim
3222193267SjkimDisassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
3223193267SjkimLLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
3224193267SjkimLNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
3225193267Sjkimmore readable and likely closer to the original ASL source.
3226167802Sjkim
3227167802Sjkim----------------------------------------
3228167802Sjkim21 April 2006. Summary of changes for version 20060421:
3229167802Sjkim
3230167802Sjkim1) ACPI CA Core Subsystem:
3231167802Sjkim
3232193267SjkimRemoved a device initialization optimization introduced in 20051216 where 
3233193267Sjkimthe _STA method was not run unless an _INI was also present for the same 
3234193267Sjkimdevice. This optimization could cause problems because it could allow _INI 
3235193267Sjkimmethods to be run within a not-present device subtree. (If a not-present 
3236193267Sjkimdevice had no _INI, _STA would not be run, the not-present status would not 
3237193267Sjkimbe discovered, and the children of the device would be incorrectly 
3238167802Sjkimtraversed.)
3239167802Sjkim
3240193267SjkimImplemented a new _STA optimization where namespace subtrees that do not 
3241193267Sjkimcontain _INI are identified and ignored during device initialization. 
3242193267SjkimSelectively running _STA can significantly improve boot time on large 
3243193267Sjkimmachines (with assistance from Len Brown.)
3244167802Sjkim
3245193267SjkimImplemented support for the device initialization case where the returned 
3246193267Sjkim_STA flags indicate a device not-present but functioning. In this case, _INI 
3247193267Sjkimis not run, but the device children are examined for presence, as per the 
3248193267SjkimACPI specification.
3249167802Sjkim
3250193267SjkimImplemented an additional change to the IndexField support in order to 
3251193267Sjkimconform to MS behavior. The value written to the Index Register is not 
3252193267Sjkimsimply a byte offset, it is a byte offset in units of the access width of 
3253193267Sjkimthe parent Index Field. (Fiodor Suietov)
3254167802Sjkim
3255193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateAddress. This 
3256193267Sjkiminterface is called during the creation of all AML operation regions, and 
3257193267Sjkimallows the host OS to exert control over what addresses it will allow the 
3258193267SjkimAML code to access. Operation Regions whose addresses are disallowed will 
3259193267Sjkimcause a runtime exception when they are actually accessed (will not affect 
3260193267Sjkimor abort table loading.) See oswinxf or osunixxf for an example 
3261167802Sjkimimplementation.
3262167802Sjkim
3263193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateInterface. This 
3264193267Sjkiminterface allows the host OS to match the various "optional" 
3265193267Sjkiminterface/behavior strings for the _OSI predefined control method as 
3266193267Sjkimappropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
3267193267Sjkimfor an example implementation.
3268167802Sjkim
3269193267SjkimRestructured and corrected various problems in the exception handling code 
3270193267Sjkimpaths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
3271193267Sjkim(with assistance from Takayoshi Kochi.)
3272167802Sjkim
3273193267SjkimModified the Linux source converter to ignore quoted string literals while 
3274193267Sjkimconverting identifiers from mixed to lower case. This will correct problems 
3275193267Sjkimwith the disassembler and other areas where such strings must not be 
3276193267Sjkimmodified.
3277167802Sjkim
3278193267SjkimThe ACPI_FUNCTION_* macros no longer require quotes around the function 
3279193267Sjkimname. This allows the Linux source converter to convert the names, now that 
3280193267Sjkimthe converter ignores quoted strings.
3281167802Sjkim
3282193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3283193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3284193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3285193267Sjkima much larger code and data size.
3286193267Sjkim
3287167802Sjkim  Previous Release:
3288167802Sjkim
3289167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3290167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3291167802Sjkim  Current Release:
3292167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3293167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3294167802Sjkim
3295167802Sjkim
3296167802Sjkim2) iASL Compiler/Disassembler and Tools:
3297167802Sjkim
3298193267SjkimImplemented 3 new warnings for iASL, and implemented multiple warning levels 
3299193267Sjkim(w2 flag).
3300167802Sjkim
3301193267Sjkim1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
3302193267SjkimWAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
3303193267Sjkimcheck for the possible timeout, a warning is issued.
3304167802Sjkim
3305193267Sjkim2) Useless operators: If an ASL operator does not specify an optional target 
3306193267Sjkimoperand and it also does not use the function return value from the 
3307193267Sjkimoperator, a warning is issued since the operator effectively does nothing.
3308167802Sjkim
3309193267Sjkim3) Unreferenced objects: If a namespace object is created, but never 
3310193267Sjkimreferenced, a warning is issued. This is a warning level 2 since there are 
3311193267Sjkimcases where this is ok, such as when a secondary table is loaded that uses 
3312193267Sjkimthe unreferenced objects. Even so, care is taken to only flag objects that 
3313193267Sjkimdon't look like they will ever be used. For example, the reserved methods 
3314193267Sjkim(starting with an underscore) are usually not referenced because it is 
3315193267Sjkimexpected that the OS will invoke them.
3316167802Sjkim
3317167802Sjkim----------------------------------------
3318167802Sjkim31 March 2006. Summary of changes for version 20060331:
3319167802Sjkim
3320167802Sjkim1) ACPI CA Core Subsystem:
3321167802Sjkim
3322193267SjkimImplemented header file support for the following additional ACPI tables: 
3323193267SjkimASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
3324193267Sjkimall current and known ACPI tables are now defined in the ACPICA headers and 
3325193267Sjkimare available for use by device drivers and other software.
3326167802Sjkim
3327193267SjkimImplemented support to allow tables that contain ACPI names with invalid 
3328193267Sjkimcharacters to be loaded. Previously, this would cause the table load to 
3329193267Sjkimfail, but since there are several known cases of such tables on existing 
3330193267Sjkimmachines, this change was made to enable ACPI support for them. Also, this 
3331193267Sjkimmatches the behavior of the Microsoft ACPI implementation.
3332167802Sjkim
3333193267SjkimFixed a couple regressions introduced during the memory optimization in the 
3334193267Sjkim20060317 release. The namespace node definition required additional 
3335193267Sjkimreorganization and an internal datatype that had been changed to 8-bit was 
3336193267Sjkimrestored to 32-bit. (Valery Podrezov)
3337167802Sjkim
3338193267SjkimFixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
3339193267Sjkimcould be passed through to AcpiOsReleaseObject which is unexpected. Such 
3340193267Sjkimnull pointers are now trapped and ignored, matching the behavior of the 
3341193267Sjkimprevious implementation before the deployment of AcpiOsReleaseObject.
3342167802Sjkim(Valery Podrezov, Fiodor Suietov)
3343167802Sjkim
3344193267SjkimFixed a memory mapping leak during the deletion of a SystemMemory operation 
3345193267Sjkimregion where a cached memory mapping was not deleted. This became a 
3346193267Sjkimnoticeable problem for operation regions that are defined within frequently 
3347193267Sjkimused control methods. (Dana Meyers)
3348167802Sjkim
3349193267SjkimReorganized the ACPI table header files into two main files: one for the 
3350193267SjkimACPI tables consumed by the ACPICA core, and another for the miscellaneous 
3351193267SjkimACPI tables that are consumed by the drivers and other software. The various 
3352193267SjkimFADT definitions were merged into one common section and three different 
3353193267Sjkimtables (ACPI 1.0, 1.0+, and 2.0)
3354167802Sjkim
3355193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3356193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3357193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3358193267Sjkima much larger code and data size.
3359167802Sjkim
3360167802Sjkim  Previous Release:
3361167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3362167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3363167802Sjkim  Current Release:
3364167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3365167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3366167802Sjkim
3367167802Sjkim
3368167802Sjkim2) iASL Compiler/Disassembler and Tools:
3369167802Sjkim
3370193267SjkimDisassembler: Implemented support to decode and format all non-AML ACPI 
3371193267Sjkimtables (tables other than DSDTs and SSDTs.) This includes the new tables 
3372193267Sjkimadded to the ACPICA headers, therefore all current and known ACPI tables are 
3373193267Sjkimsupported.
3374167802Sjkim
3375193267SjkimDisassembler: The change to allow ACPI names with invalid characters also 
3376193267Sjkimenables the disassembly of such tables. Invalid characters within names are 
3377193267Sjkimchanged to '*' to make the name printable; the iASL compiler will still 
3378193267Sjkimgenerate an error for such names, however, since this is an invalid ACPI 
3379193267Sjkimcharacter.
3380167802Sjkim
3381193267SjkimImplemented an option for AcpiXtract (-a) to extract all tables found in the 
3382193267Sjkiminput file. The default invocation extracts only the DSDTs and SSDTs.
3383167802Sjkim
3384193267SjkimFixed a couple of gcc generation issues for iASL and AcpiExec and added a 
3385193267Sjkimmakefile for the AcpiXtract utility.
3386167802Sjkim
3387167802Sjkim----------------------------------------
3388167802Sjkim17 March 2006. Summary of changes for version 20060317:
3389167802Sjkim
3390167802Sjkim1) ACPI CA Core Subsystem:
3391167802Sjkim
3392193267SjkimImplemented the use of a cache object for all internal namespace nodes. 
3393193267SjkimSince there are about 1000 static nodes in a typical system, this will 
3394193267Sjkimdecrease memory use for cache implementations that minimize per-allocation 
3395193267Sjkimoverhead (such as a slab allocator.)
3396167802Sjkim
3397193267SjkimRemoved the reference count mechanism for internal namespace nodes, since it 
3398193267Sjkimwas deemed unnecessary. This reduces the size of each namespace node by 
3399193267Sjkimabout 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
3400193267Sjkimand 32 bytes for the 64-bit case.
3401167802Sjkim
3402193267SjkimOptimized several internal data structures to reduce object size on 64-bit 
3403193267Sjkimplatforms by packing data within the 64-bit alignment. This includes the 
3404193267Sjkimfrequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
3405193267Sjkiminstances corresponding to the namespace objects.
3406167802Sjkim
3407193267SjkimAdded two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
3408193267Sjkimand "Windows 2006".
3409167802Sjkim
3410193267SjkimSplit the allocation tracking mechanism out to a separate file, from 
3411193267Sjkimutalloc.c to uttrack.c. This mechanism appears to be only useful for 
3412193267Sjkimapplication-level code. Kernels may wish to not include uttrack.c in 
3413193267Sjkimdistributions.
3414167802Sjkim
3415193267SjkimRemoved all remnants of the obsolete ACPI_REPORT_* macros and the associated 
3416193267Sjkimcode. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
3417193267Sjkimmacros.)
3418167802Sjkim
3419193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3420193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3421193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3422193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3423193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3424193267Sjkimcompiler options used during generation.
3425167802Sjkim
3426167802Sjkim  Previous Release:
3427167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3428167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3429167802Sjkim  Current Release:
3430167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3431167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3432167802Sjkim
3433167802Sjkim
3434167802Sjkim2) iASL Compiler/Disassembler and Tools:
3435167802Sjkim
3436193267SjkimImplemented an ANSI C version of the acpixtract utility. This version will 
3437193267Sjkimautomatically extract the DSDT and all SSDTs from the input acpidump text 
3438193267Sjkimfile and dump the binary output to separate files. It can also display a 
3439193267Sjkimsummary of the input file including the headers for each table found and 
3440193267Sjkimwill extract any single ACPI table, with any signature. (See 
3441167802Sjkimsource/tools/acpixtract)
3442167802Sjkim
3443167802Sjkim----------------------------------------
3444167802Sjkim10 March 2006. Summary of changes for version 20060310:
3445167802Sjkim
3446167802Sjkim1) ACPI CA Core Subsystem:
3447167802Sjkim
3448193267SjkimTagged all external interfaces to the subsystem with the new 
3449193267SjkimACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
3450193267Sjkimkernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
3451193267Sjkimmacro. The default definition is NULL.
3452167802Sjkim
3453193267SjkimAdded the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
3454193267SjkimThis allows the host to define this as necessary to simplify kernel 
3455193267Sjkimintegration. The default definition is ACPI_NATIVE_UINT.
3456167802Sjkim
3457193267SjkimFixed two interpreter problems related to error processing, the deletion of 
3458193267Sjkimobjects, and placing invalid pointers onto the internal operator result 
3459193267Sjkimstack. BZ 6028, 6151 (Valery Podrezov)
3460167802Sjkim
3461193267SjkimIncreased the reference count threshold where a warning is emitted for large 
3462193267Sjkimreference counts in order to eliminate unnecessary warnings on systems with 
3463193267Sjkimlarge namespaces (especially 64-bit.) Increased the value from 0x400 to 
3464193267Sjkim0x800.
3465167802Sjkim
3466193267SjkimDue to universal disagreement as to the meaning of the 'c' in the calloc() 
3467193267Sjkimfunction, the ACPI_MEM_CALLOCATE macro has been renamed to 
3468193267SjkimACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
3469193267SjkimACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
3470193267SjkimACPI_FREE.
3471167802Sjkim
3472193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3473193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3474193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3475193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3476193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3477193267Sjkimcompiler options used during generation.
3478167802Sjkim
3479167802Sjkim  Previous Release:
3480167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3481167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3482167802Sjkim  Current Release:
3483167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3484167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3485167802Sjkim
3486167802Sjkim
3487167802Sjkim2) iASL Compiler/Disassembler:
3488167802Sjkim
3489193267SjkimDisassembler: implemented support for symbolic resource descriptor 
3490193267Sjkimreferences. If a CreateXxxxField operator references a fixed offset within a 
3491193267Sjkimresource descriptor, a name is assigned to the descriptor and the offset is 
3492193267Sjkimtranslated to the appropriate resource tag and pathname. The addition of 
3493193267Sjkimthis support brings the disassembled code very close to the original ASL 
3494193267Sjkimsource code and helps eliminate run-time errors when the disassembled code 
3495193267Sjkimis modified (and recompiled) in such a way as to invalidate the original 
3496193267Sjkimfixed offsets.
3497167802Sjkim
3498193267SjkimImplemented support for a Descriptor Name as the last parameter to the ASL 
3499193267SjkimRegister() macro. This parameter was inadvertently left out of the ACPI 
3500193267Sjkimspecification, and will be added for ACPI 3.0b.
3501167802Sjkim
3502193267SjkimFixed a problem where the use of the "_OSI" string (versus the full path 
3503193267Sjkim"\_OSI") caused an internal compiler error. ("No back ptr to op")
3504167802Sjkim
3505193267SjkimFixed a problem with the error message that occurs when an invalid string is 
3506193267Sjkimused for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
3507193267SjkimThe correct message is now displayed.
3508167802Sjkim
3509167802Sjkim----------------------------------------
3510167802Sjkim17 February 2006. Summary of changes for version 20060217:
3511167802Sjkim
3512167802Sjkim1) ACPI CA Core Subsystem:
3513167802Sjkim
3514193267SjkimImplemented a change to the IndexField support to match the behavior of the 
3515193267SjkimMicrosoft AML interpreter. The value written to the Index register is now a 
3516193267Sjkimbyte offset, no longer an index based upon the width of the Data register. 
3517193267SjkimThis should fix IndexField problems seen on some machines where the Data 
3518193267Sjkimregister is not exactly one byte wide. The ACPI specification will be 
3519193267Sjkimclarified on this point.
3520167802Sjkim
3521193267SjkimFixed a problem where several resource descriptor types could overrun the 
3522193267Sjkiminternal descriptor buffer due to size miscalculation: VendorShort, 
3523193267SjkimVendorLong, and Interrupt. This was noticed on IA64 machines, but could 
3524193267Sjkimaffect all platforms.
3525167802Sjkim
3526193267SjkimFixed a problem where individual resource descriptors were misaligned within 
3527193267Sjkimthe internal buffer, causing alignment faults on IA64 platforms.
3528167802Sjkim
3529193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3530193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3531193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3532193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3533193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3534193267Sjkimcompiler options used during generation.
3535167802Sjkim
3536167802Sjkim  Previous Release:
3537167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3538167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3539167802Sjkim  Current Release:
3540167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3541167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3542167802Sjkim
3543167802Sjkim
3544167802Sjkim2) iASL Compiler/Disassembler:
3545167802Sjkim
3546193267SjkimImplemented support for new reserved names: _WDG and _WED are Microsoft 
3547193267Sjkimextensions for Windows Instrumentation Management, _TDL is a new ACPI-
3548193267Sjkimdefined method (Throttling Depth Limit.)
3549167802Sjkim
3550193267SjkimFixed a problem where a zero-length VendorShort or VendorLong resource 
3551193267Sjkimdescriptor was incorrectly emitted as a descriptor of length one.
3552167802Sjkim
3553167802Sjkim----------------------------------------
3554167802Sjkim10 February 2006. Summary of changes for version 20060210:
3555167802Sjkim
3556167802Sjkim1) ACPI CA Core Subsystem:
3557167802Sjkim
3558193267SjkimRemoved a couple of extraneous ACPI_ERROR messages that appeared during 
3559193267Sjkimnormal execution. These became apparent after the conversion from 
3560193267SjkimACPI_DEBUG_PRINT.
3561167802Sjkim
3562193267SjkimFixed a problem where the CreateField operator could hang if the BitIndex or 
3563193267SjkimNumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
3564167802Sjkim
3565193267SjkimFixed a problem where a DeRefOf operation on a buffer object incorrectly 
3566193267Sjkimfailed with an exception. This also fixes a couple of related RefOf and 
3567193267SjkimDeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
3568167802Sjkim
3569193267SjkimFixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
3570193267SjkimAE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
3571193267Sjkim5480)
3572167802Sjkim
3573193267SjkimImplemented a memory cleanup at the end of the execution of each iteration 
3574193267Sjkimof an AML While() loop, preventing the accumulation of outstanding objects. 
3575193267Sjkim(Valery Podrezov, BZ 5427)
3576167802Sjkim
3577193267SjkimEliminated a chunk of duplicate code in the object resolution code. (Valery 
3578193267SjkimPodrezov, BZ 5336)
3579167802Sjkim
3580167802SjkimFixed several warnings during the 64-bit code generation.
3581167802Sjkim
3582193267SjkimThe AcpiSrc source code conversion tool now inserts one line of whitespace 
3583193267Sjkimafter an if() statement that is followed immediately by a comment, improving 
3584193267Sjkimreadability of the Linux code.
3585167802Sjkim
3586193267SjkimCode and Data Size: The current and previous library sizes for the core 
3587193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3588193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3589193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3590193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3591193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3592193267Sjkimof the compiler and the compiler options used during generation.
3593167802Sjkim
3594167802Sjkim  Previous Release:
3595167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3596167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3597167802Sjkim  Current Release:
3598167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3599167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3600167802Sjkim
3601167802Sjkim
3602167802Sjkim2) iASL Compiler/Disassembler:
3603167802Sjkim
3604193267SjkimFixed a problem with the disassembly of a BankField operator with a complex 
3605193267Sjkimexpression for the BankValue parameter.
3606167802Sjkim
3607167802Sjkim----------------------------------------
3608167802Sjkim27 January 2006. Summary of changes for version 20060127:
3609167802Sjkim
3610167802Sjkim1) ACPI CA Core Subsystem:
3611167802Sjkim
3612193267SjkimImplemented support in the Resource Manager to allow unresolved namestring 
3613193267Sjkimreferences within resource package objects for the _PRT method. This support 
3614193267Sjkimis in addition to the previously implemented unresolved reference support 
3615193267Sjkimwithin the AML parser. If the interpreter slack mode is enabled, these 
3616193267Sjkimunresolved references will be passed through to the caller as a NULL package 
3617167802Sjkimentry.
3618167802Sjkim
3619193267SjkimImplemented and deployed new macros and functions for error and warning 
3620193267Sjkimmessages across the subsystem. These macros are simpler and generate less 
3621193267Sjkimcode than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
3622193267SjkimACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
3623193267Sjkimmacros remain defined to allow ACPI drivers time to migrate to the new 
3624193267Sjkimmacros.
3625167802Sjkim
3626193267SjkimImplemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
3627193267SjkimAcquire/Release Lock OSL interfaces.
3628167802Sjkim
3629193267SjkimFixed a problem where Alias ASL operators are sometimes not correctly 
3630193267Sjkimresolved, in both the interpreter and the iASL compiler.
3631167802Sjkim
3632193267SjkimFixed several problems with the implementation of the ConcatenateResTemplate 
3633193267SjkimASL operator. As per the ACPI specification, zero length buffers are now 
3634193267Sjkimtreated as a single EndTag. One-length buffers always cause a fatal 
3635193267Sjkimexception. Non-zero length buffers that do not end with a full 2-byte EndTag 
3636167802Sjkimcause a fatal exception.
3637167802Sjkim
3638193267SjkimFixed a possible structure overwrite in the AcpiGetObjectInfo external 
3639193267Sjkiminterface. (With assistance from Thomas Renninger)
3640167802Sjkim
3641193267SjkimCode and Data Size: The current and previous library sizes for the core 
3642193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3643193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3644193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3645193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3646193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3647193267Sjkimof the compiler and the compiler options used during generation.
3648167802Sjkim
3649167802Sjkim  Previous Release:
3650167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3651167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3652167802Sjkim  Current Release:
3653167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3654167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3655167802Sjkim
3656167802Sjkim
3657167802Sjkim2) iASL Compiler/Disassembler:
3658167802Sjkim
3659193267SjkimFixed an internal error that was generated for any forward references to ASL 
3660193267SjkimAlias objects.
3661167802Sjkim
3662167802Sjkim----------------------------------------
3663167802Sjkim13 January 2006. Summary of changes for version 20060113:
3664167802Sjkim
3665167802Sjkim1) ACPI CA Core Subsystem:
3666167802Sjkim
3667193267SjkimAdded 2006 copyright to all module headers and signons. This affects 
3668193267Sjkimvirtually every file in the ACPICA core subsystem, iASL compiler, and the 
3669193267Sjkimutilities.
3670193267Sjkim 
3671193267SjkimEnhanced the ACPICA error reporting in order to simplify user migration to 
3672193267Sjkimthe non-debug version of ACPICA. Replaced all instances of the 
3673193267SjkimACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
3674193267Sjkimlevels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
3675193267Sjkimrespectively. This preserves all error and warning messages in the non-debug 
3676193267Sjkimversion of the ACPICA code (this has been referred to as the "debug lite" 
3677193267Sjkimoption.) Over 200 cases were converted to create a total of over 380 
3678193267Sjkimerror/warning messages across the ACPICA code. This increases the code and 
3679193267Sjkimdata size of the default non-debug version of the code somewhat (about 13K), 
3680193267Sjkimbut all error/warning reporting may be disabled if desired (and code 
3681193267Sjkimeliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
3682193267Sjkimconfiguration option. The size of the debug version of ACPICA remains about 
3683193267Sjkimthe same.
3684167802Sjkim
3685193267SjkimFixed a memory leak within the AML Debugger "Set" command. One object was 
3686193267Sjkimnot properly deleted for every successful invocation of the command.
3687167802Sjkim
3688193267SjkimCode and Data Size: The current and previous library sizes for the core 
3689193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3690193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3691193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3692193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3693193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3694193267Sjkimof the compiler and the compiler options used during generation.
3695167802Sjkim
3696167802Sjkim  Previous Release:
3697167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3698167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3699167802Sjkim  Current Release:
3700167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3701167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3702167802Sjkim
3703167802Sjkim
3704167802Sjkim2) iASL Compiler/Disassembler:
3705167802Sjkim
3706193267SjkimThe compiler now officially supports the ACPI 3.0a specification that was 
3707193267Sjkimreleased on December 30, 2005. (Specification is available at www.acpi.info)
3708167802Sjkim
3709167802Sjkim----------------------------------------
3710167802Sjkim16 December 2005. Summary of changes for version 20051216:
3711167802Sjkim
3712167802Sjkim1) ACPI CA Core Subsystem:
3713167802Sjkim
3714193267SjkimImplemented optional support to allow unresolved names within ASL Package 
3715193267Sjkimobjects. A null object is inserted in the package when a named reference 
3716193267Sjkimcannot be located in the current namespace. Enabled via the interpreter 
3717193267Sjkimslack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
3718193267Sjkimthat contain such code.
3719167802Sjkim
3720193267SjkimImplemented an optimization to the initialization sequence that can improve 
3721193267Sjkimboot time. During ACPI device initialization, the _STA method is now run if 
3722193267Sjkimand only if the _INI method exists. The _STA method is used to determine if 
3723193267Sjkimthe device is present; An _INI can only be run if _STA returns present, but 
3724193267Sjkimit is a waste of time to run the _STA method if the _INI does not exist. 
3725167802Sjkim(Prototype and assistance from Dong Wei)
3726167802Sjkim
3727193267SjkimImplemented use of the C99 uintptr_t for the pointer casting macros if it is 
3728193267Sjkimavailable in the current compiler. Otherwise, the default (void *) cast is 
3729193267Sjkimused as before.
3730167802Sjkim
3731193267SjkimFixed some possible memory leaks found within the execution path of the 
3732193267SjkimBreak, Continue, If, and CreateField operators. (Valery Podrezov)
3733167802Sjkim
3734193267SjkimFixed a problem introduced in the 20051202 release where an exception is 
3735193267Sjkimgenerated during method execution if a control method attempts to declare 
3736193267Sjkimanother method.
3737167802Sjkim
3738193267SjkimMoved resource descriptor string constants that are used by both the AML 
3739193267Sjkimdisassembler and AML debugger to the common utilities directory so that 
3740193267Sjkimthese components are independent.
3741167802Sjkim
3742193267SjkimImplemented support in the AcpiExec utility (-e switch) to globally ignore 
3743193267Sjkimexceptions during control method execution (method is not aborted.)
3744167802Sjkim
3745193267SjkimAdded the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
3746193267Sjkimgeneration.
3747167802Sjkim
3748193267SjkimCode and Data Size: The current and previous library sizes for the core 
3749193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3750193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3751193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3752193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3753193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3754193267Sjkimof the compiler and the compiler options used during generation.
3755167802Sjkim
3756167802Sjkim  Previous Release:
3757167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3758167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3759167802Sjkim  Current Release:
3760167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3761167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3762167802Sjkim
3763167802Sjkim
3764167802Sjkim2) iASL Compiler/Disassembler:
3765167802Sjkim
3766193267SjkimFixed a problem where a CPU stack overflow fault could occur if a recursive 
3767193267Sjkimmethod call was made from within a Return statement.
3768167802Sjkim
3769167802Sjkim----------------------------------------
3770167802Sjkim02 December 2005. Summary of changes for version 20051202:
3771167802Sjkim
3772167802Sjkim1) ACPI CA Core Subsystem:
3773167802Sjkim
3774193267SjkimModified the parsing of control methods to no longer create namespace 
3775193267Sjkimobjects during the first pass of the parse. Objects are now created only 
3776193267Sjkimduring the execute phase, at the moment the namespace creation operator is 
3777193267Sjkimencountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
3778193267Sjkimshould eliminate ALREADY_EXISTS exceptions seen on some machines where 
3779193267Sjkimreentrant control methods are protected by an AML mutex. The mutex will now 
3780193267Sjkimcorrectly block multiple threads from attempting to create the same object 
3781193267Sjkimmore than once.
3782167802Sjkim
3783193267SjkimIncreased the number of available Owner Ids for namespace object tracking 
3784193267Sjkimfrom 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
3785193267Sjkimsome machines with a large number of ACPI tables (either static or dynamic).
3786167802Sjkim
3787193267SjkimFixed a problem with the AcpiExec utility where a fault could occur when the 
3788193267Sjkim-b switch (batch mode) is used.
3789167802Sjkim
3790193267SjkimEnhanced the namespace dump routine to output the owner ID for each 
3791193267Sjkimnamespace object.
3792167802Sjkim
3793193267SjkimCode and Data Size: The current and previous library sizes for the core 
3794193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3795193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3796193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3797193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3798193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3799193267Sjkimof the compiler and the compiler options used during generation.
3800167802Sjkim
3801167802Sjkim  Previous Release:
3802167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3803167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3804167802Sjkim  Current Release:
3805167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3806167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3807167802Sjkim
3808167802Sjkim
3809167802Sjkim2) iASL Compiler/Disassembler:
3810167802Sjkim
3811193267SjkimFixed a parse error during compilation of certain Switch/Case constructs. To 
3812193267Sjkimsimplify the parse, the grammar now allows for multiple Default statements 
3813193267Sjkimand this error is now detected and flagged during the analysis phase.
3814167802Sjkim
3815193267SjkimDisassembler: The disassembly now includes the contents of the original 
3816193267Sjkimtable header within a comment at the start of the file. This includes the 
3817193267Sjkimname and version of the original ASL compiler.
3818167802Sjkim
3819167802Sjkim----------------------------------------
3820167802Sjkim17 November 2005. Summary of changes for version 20051117:
3821167802Sjkim
3822167802Sjkim1) ACPI CA Core Subsystem:
3823167802Sjkim
3824193267SjkimFixed a problem in the AML parser where the method thread count could be 
3825193267Sjkimdecremented below zero if any errors occurred during the method parse phase. 
3826193267SjkimThis should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
3827193267SjkimThis also fixed a related regression with the mechanism that detects and 
3828193267Sjkimcorrects methods that cannot properly handle reentrancy (related to the 
3829193267Sjkimdeployment of the new OwnerId mechanism.)
3830167802Sjkim
3831193267SjkimEliminated the pre-parsing of control methods (to detect errors) during 
3832193267Sjkimtable load. Related to the problem above, this was causing unwind issues if 
3833193267Sjkimany errors occurred during the parse, and it seemed to be overkill. A table 
3834193267Sjkimload should not be aborted if there are problems with any single control 
3835193267Sjkimmethod, thus rendering this feature rather pointless.
3836167802Sjkim
3837193267SjkimFixed a problem with the new table-driven resource manager where an internal 
3838193267Sjkimbuffer overflow could occur for small resource templates.
3839167802Sjkim
3840193267SjkimImplemented a new external interface, AcpiGetVendorResource. This interface 
3841193267Sjkimwill find and return a vendor-defined resource descriptor within a _CRS or 
3842193267Sjkim_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
3843167802Sjkim
3844193267SjkimRemoved the length limit (200) on string objects as per the upcoming ACPI 
3845193267Sjkim3.0A specification. This affects the following areas of the interpreter: 1) 
3846193267Sjkimany implicit conversion of a Buffer to a String, 2) a String object result 
3847193267Sjkimof the ASL Concatentate operator, 3) the String object result of the ASL 
3848193267SjkimToString operator.
3849167802Sjkim
3850193267SjkimFixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
3851193267Sjkimon a semaphore object would incorrectly timeout. This allows the 
3852193267Sjkimmultithreading features of the AcpiExec utility to work properly under 
3853193267SjkimWindows.
3854167802Sjkim
3855193267SjkimUpdated the Linux makefiles for the iASL compiler and AcpiExec to include 
3856193267Sjkimthe recently added file named "utresrc.c".
3857167802Sjkim
3858193267SjkimCode and Data Size: The current and previous library sizes for the core 
3859193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3860193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3861193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3862193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3863193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3864193267Sjkimof the compiler and the compiler options used during generation.
3865167802Sjkim
3866167802Sjkim  Previous Release:
3867167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3868167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3869167802Sjkim  Current Release:
3870167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3871167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3872167802Sjkim
3873167802Sjkim
3874167802Sjkim2) iASL Compiler/Disassembler:
3875167802Sjkim
3876193267SjkimRemoved the limit (200) on string objects as per the upcoming ACPI 3.0A 
3877193267Sjkimspecification. For the iASL compiler, this means that string literals within 
3878193267Sjkimthe source ASL can be of any length. 
3879167802Sjkim
3880193267SjkimEnhanced the listing output to dump the AML code for resource descriptors 
3881193267Sjkimimmediately after the ASL code for each descriptor, instead of in a block at 
3882193267Sjkimthe end of the entire resource template.
3883167802Sjkim
3884193267SjkimEnhanced the compiler debug output to dump the entire original parse tree 
3885193267Sjkimconstructed during the parse phase, before any transforms are applied to the 
3886193267Sjkimtree. The transformed tree is dumped also.
3887167802Sjkim
3888167802Sjkim----------------------------------------
3889167802Sjkim02 November 2005. Summary of changes for version 20051102:
3890167802Sjkim
3891167802Sjkim1) ACPI CA Core Subsystem:
3892167802Sjkim
3893193267SjkimModified the subsystem initialization sequence to improve GPE support. The 
3894193267SjkimGPE initialization has been split into two parts in order to defer execution 
3895193267Sjkimof the _PRW methods (Power Resources for Wake) until after the hardware is 
3896193267Sjkimfully initialized and the SCI handler is installed. This allows the _PRW 
3897193267Sjkimmethods to access fields protected by the Global Lock. This will fix systems 
3898193267Sjkimwhere a NO_GLOBAL_LOCK exception has been seen during initialization.
3899167802Sjkim
3900193267SjkimConverted the ACPI internal object disassemble and display code within the 
3901193267SjkimAML debugger to fully table-driven operation, reducing code size and 
3902193267Sjkimincreasing maintainability.
3903167802Sjkim
3904193267SjkimFixed a regression with the ConcatenateResTemplate() ASL operator introduced 
3905193267Sjkimin the 20051021 release.
3906167802Sjkim
3907193267SjkimImplemented support for "local" internal ACPI object types within the 
3908193267Sjkimdebugger "Object" command and the AcpiWalkNamespace external interfaces. 
3909193267SjkimThese local types include RegionFields, BankFields, IndexFields, Alias, and 
3910193267Sjkimreference objects.
3911167802Sjkim
3912193267SjkimMoved common AML resource handling code into a new file, "utresrc.c". This 
3913193267Sjkimcode is shared by both the Resource Manager and the AML Debugger.
3914167802Sjkim
3915193267SjkimCode and Data Size: The current and previous library sizes for the core 
3916193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3917193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3918193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3919193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3920193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3921193267Sjkimof the compiler and the compiler options used during generation.
3922167802Sjkim
3923167802Sjkim  Previous Release:
3924167802Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3925167802Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3926167802Sjkim  Current Release:
3927167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3928167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3929167802Sjkim
3930167802Sjkim
3931167802Sjkim2) iASL Compiler/Disassembler:
3932167802Sjkim
3933193267SjkimFixed a problem with very large initializer lists (more than 4000 elements) 
3934193267Sjkimfor both Buffer and Package objects where the parse stack could overflow.
3935167802Sjkim
3936193267SjkimEnhanced the pre-compile source code scan for non-ASCII characters to ignore 
3937193267Sjkimcharacters within comment fields. The scan is now always performed and is no 
3938193267Sjkimlonger optional, detecting invalid characters within a source file 
3939193267Sjkimimmediately rather than during the parse phase or later.
3940167802Sjkim
3941193267SjkimEnhanced the ASL grammar definition to force early reductions on all list-
3942193267Sjkimstyle grammar elements so that the overall parse stack usage is greatly 
3943193267Sjkimreduced. This should improve performance and reduce the possibility of parse 
3944193267Sjkimstack overflow.
3945167802Sjkim
3946193267SjkimEliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
3947193267Sjkimwith the addition of a %expected statement, the compiler generates from 
3948193267Sjkimsource with no warnings.
3949167802Sjkim
3950193267SjkimFixed a possible segment fault in the disassembler if the input filename 
3951193267Sjkimdoes not contain a "dot" extension (Thomas Renninger).
3952167802Sjkim
3953167802Sjkim----------------------------------------
3954151937Sjkim21 October 2005. Summary of changes for version 20051021:
3955151937Sjkim
3956151937Sjkim1) ACPI CA Core Subsystem:
3957151937Sjkim
3958193267SjkimImplemented support for the EM64T and other x86-64 processors. This 
3959193267Sjkimessentially entails recognizing that these processors support non-aligned 
3960193267Sjkimmemory transfers. Previously, all 64-bit processors were assumed to lack 
3961193267Sjkimhardware support for non-aligned transfers.
3962151937Sjkim
3963193267SjkimCompleted conversion of the Resource Manager to nearly full table-driven 
3964193267Sjkimoperation. Specifically, the resource conversion code (convert AML to 
3965193267Sjkiminternal format and the reverse) and the debug code to dump internal 
3966193267Sjkimresource descriptors are fully table-driven, reducing code and data size and 
3967193267Sjkimimproving maintainability.
3968151937Sjkim
3969193267SjkimThe OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
3970193267Sjkimon 64-bit processors instead of a fixed 32-bit word. (With assistance from 
3971193267SjkimAlexey Starikovskiy)
3972151937Sjkim
3973193267SjkimImplemented support within the resource conversion code for the Type-
3974193267SjkimSpecific byte within the various ACPI 3.0 *WordSpace macros.
3975151937Sjkim
3976193267SjkimFixed some issues within the resource conversion code for the type-specific 
3977193267Sjkimflags for both Memory and I/O address resource descriptors. For Memory, 
3978193267Sjkimimplemented support for the MTP and TTP flags. For I/O, split the TRS and 
3979193267SjkimTTP flags into two separate fields.
3980151937Sjkim
3981193267SjkimCode and Data Size: The current and previous library sizes for the core 
3982193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
3983193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3984193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
3985193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
3986193267Sjkimand data size. Note that these values will vary depending on the efficiency 
3987193267Sjkimof the compiler and the compiler options used during generation.
3988151937Sjkim
3989151937Sjkim  Previous Release:
3990151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
3991151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
3992151937Sjkim  Current Release:
3993151937Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3994151937Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3995151937Sjkim
3996151937Sjkim
3997167802Sjkim
3998151937Sjkim2) iASL Compiler/Disassembler:
3999151937Sjkim
4000193267SjkimRelaxed a compiler restriction that disallowed a ResourceIndex byte if the 
4001193267Sjkimcorresponding ResourceSource string was not also present in a resource 
4002193267Sjkimdescriptor declaration. This restriction caused problems with existing 
4003193267SjkimAML/ASL code that includes the Index byte without the string. When such AML 
4004193267Sjkimwas disassembled, it could not be compiled without modification. Further, 
4005193267Sjkimthe modified code created a resource template with a different size than the 
4006193267Sjkimoriginal, breaking code that used fixed offsets into the resource template 
4007193267Sjkimbuffer.
4008151937Sjkim
4009193267SjkimRemoved a recent feature of the disassembler to ignore a lone ResourceIndex 
4010193267Sjkimbyte. This byte is now emitted if present so that the exact AML can be 
4011193267Sjkimreproduced when the disassembled code is recompiled.
4012151937Sjkim
4013193267SjkimImproved comments and text alignment for the resource descriptor code 
4014193267Sjkimemitted by the disassembler.
4015151937Sjkim
4016193267SjkimImplemented disassembler support for the ACPI 3.0 AccessSize field within a 
4017193267SjkimRegister() resource descriptor.
4018151937Sjkim
4019151937Sjkim----------------------------------------
4020151937Sjkim30 September 2005. Summary of changes for version 20050930:
4021151937Sjkim
4022151937Sjkim1) ACPI CA Core Subsystem:
4023151937Sjkim
4024193267SjkimCompleted a major overhaul of the Resource Manager code - specifically, 
4025193267Sjkimoptimizations in the area of the AML/internal resource conversion code. The 
4026193267Sjkimcode has been optimized to simplify and eliminate duplicated code, CPU stack 
4027193267Sjkimuse has been decreased by optimizing function parameters and local 
4028193267Sjkimvariables, and naming conventions across the manager have been standardized 
4029193267Sjkimfor clarity and ease of maintenance (this includes function, parameter, 
4030193267Sjkimvariable, and struct/typedef names.) The update may force changes in some 
4031193267Sjkimdriver code, depending on how resources are handled by the host OS.
4032151937Sjkim
4033193267SjkimAll Resource Manager dispatch and information tables have been moved to a 
4034193267Sjkimsingle location for clarity and ease of maintenance. One new file was 
4035193267Sjkimcreated, named "rsinfo.c".
4036151937Sjkim
4037193267SjkimThe ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
4038193267Sjkimguarantee that the argument is not evaluated twice, making them less prone 
4039193267Sjkimto macro side-effects. However, since there exists the possibility of 
4040193267Sjkimadditional stack use if a particular compiler cannot optimize them (such as 
4041193267Sjkimin the debug generation case), the original macros are optionally available.  
4042193267SjkimNote that some invocations of the return_VALUE macro may now cause size 
4043193267Sjkimmismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
4044193267Sjkimeliminate these. (From Randy Dunlap)
4045151937Sjkim
4046193267SjkimImplemented a new mechanism to enable debug tracing for individual control 
4047193267Sjkimmethods. A new external interface, AcpiDebugTrace, is provided to enable 
4048193267Sjkimthis mechanism. The intent is to allow the host OS to easily enable and 
4049193267Sjkimdisable tracing for problematic control methods. This interface can be 
4050193267Sjkimeasily exposed to a user or debugger interface if desired. See the file 
4051151937Sjkimpsxface.c for details.
4052151937Sjkim
4053193267SjkimAcpiUtCallocate will now return a valid pointer if a length of zero is 
4054193267Sjkimspecified - a length of one is used and a warning is issued. This matches 
4055193267Sjkimthe behavior of AcpiUtAllocate.
4056151937Sjkim
4057193267SjkimCode and Data Size: The current and previous library sizes for the core 
4058193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4059193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4060193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4061193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4062193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4063193267Sjkimof the compiler and the compiler options used during generation.
4064151937Sjkim
4065151937Sjkim  Previous Release:
4066151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4067151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4068151937Sjkim  Current Release:
4069151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4070151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4071151937Sjkim
4072151937Sjkim
4073151937Sjkim2) iASL Compiler/Disassembler:
4074151937Sjkim
4075193267SjkimA remark is issued if the effective compile-time length of a package or 
4076193267Sjkimbuffer is zero. Previously, this was a warning.
4077151937Sjkim
4078151937Sjkim----------------------------------------
4079151937Sjkim16 September 2005. Summary of changes for version 20050916:
4080151937Sjkim
4081151937Sjkim1) ACPI CA Core Subsystem:
4082151937Sjkim
4083193267SjkimFixed a problem within the Resource Manager where support for the Generic 
4084193267SjkimRegister descriptor was not fully implemented. This descriptor is now fully 
4085193267Sjkimrecognized, parsed, disassembled, and displayed.
4086151937Sjkim
4087193267SjkimCompletely restructured the Resource Manager code to utilize table-driven 
4088193267Sjkimdispatch and lookup, eliminating many of the large switch() statements. This 
4089193267Sjkimreduces overall subsystem code size and code complexity. Affects the 
4090193267Sjkimresource parsing and construction, disassembly, and debug dump output.
4091151937Sjkim
4092193267SjkimCleaned up and restructured the debug dump output for all resource 
4093193267Sjkimdescriptors. Improved readability of the output and reduced code size.
4094151937Sjkim
4095193267SjkimFixed a problem where changes to internal data structures caused the 
4096193267Sjkimoptional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4097151937Sjkim
4098193267SjkimCode and Data Size: The current and previous library sizes for the core 
4099193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4100193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4101193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4102193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4103193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4104193267Sjkimof the compiler and the compiler options used during generation.
4105151937Sjkim
4106151937Sjkim  Previous Release:
4107151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4108151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4109151937Sjkim  Current Release:
4110151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4111151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4112151937Sjkim
4113151937Sjkim
4114151937Sjkim2) iASL Compiler/Disassembler:
4115151937Sjkim
4116193267SjkimUpdated the disassembler to automatically insert an EndDependentFn() macro 
4117193267Sjkiminto the ASL stream if this macro is missing in the original AML code, 
4118193267Sjkimsimplifying compilation of the resulting ASL module.
4119151937Sjkim
4120193267SjkimFixed a problem in the disassembler where a disassembled ResourceSource 
4121193267Sjkimstring (within a large resource descriptor) was not surrounded by quotes and 
4122193267Sjkimnot followed by a comma, causing errors when the resulting ASL module was 
4123193267Sjkimcompiled. Also, escape sequences within a ResourceSource string are now 
4124193267Sjkimhandled correctly (especially "\\")
4125151937Sjkim
4126151937Sjkim----------------------------------------
4127151937Sjkim02 September 2005. Summary of changes for version 20050902:
4128151937Sjkim
4129151937Sjkim1) ACPI CA Core Subsystem:
4130151937Sjkim
4131193267SjkimFixed a problem with the internal Owner ID allocation and deallocation 
4132193267Sjkimmechanisms for control method execution and recursive method invocation. 
4133193267SjkimThis should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
4134193267Sjkimmessages seen on some systems. Recursive method invocation depth is 
4135193267Sjkimcurrently limited to 255. (Alexey Starikovskiy)
4136151937Sjkim
4137193267SjkimCompletely eliminated all vestiges of support for the "module-level 
4138193267Sjkimexecutable code" until this support is fully implemented and debugged. This 
4139193267Sjkimshould eliminate the NO_RETURN_VALUE exceptions seen during table load on 
4140193267Sjkimsome systems that invoke this support.
4141151937Sjkim
4142193267SjkimFixed a problem within the resource manager code where the transaction flags 
4143193267Sjkimfor a 64-bit address descriptor were handled incorrectly in the type-
4144193267Sjkimspecific flag byte.
4145151937Sjkim
4146193267SjkimConsolidated duplicate code within the address descriptor resource manager 
4147193267Sjkimcode, reducing overall subsystem code size.
4148151937Sjkim
4149193267SjkimFixed a fault when using the AML debugger "disassemble" command to 
4150193267Sjkimdisassemble individual control methods.
4151151937Sjkim
4152193267SjkimRemoved references to the "release_current" directory within the Unix 
4153193267Sjkimrelease package.
4154151937Sjkim
4155193267SjkimCode and Data Size: The current and previous core subsystem library sizes 
4156193267Sjkimare shown below. These are the code and data sizes for the acpica.lib 
4157193267Sjkimproduced by the Microsoft Visual C++ 6.0 compiler. These values do not 
4158193267Sjkiminclude any ACPI driver or OSPM code. The debug version of the code includes 
4159193267Sjkimthe debug output trace mechanism and has a much larger code and data size. 
4160193267SjkimNote that these values will vary depending on the efficiency of the compiler 
4161193267Sjkimand the compiler options used during generation.
4162151937Sjkim
4163151937Sjkim  Previous Release:
4164151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4165151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4166151937Sjkim  Current Release:
4167151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4168151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4169151937Sjkim
4170151937Sjkim
4171151937Sjkim2) iASL Compiler/Disassembler:
4172151937Sjkim
4173193267SjkimImplemented an error check for illegal duplicate values in the interrupt and 
4174193267Sjkimdma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
4175193267SjkimInterrupt().
4176151937Sjkim
4177193267SjkimImplemented error checking for the Irq() and IrqNoFlags() macros to detect 
4178193267Sjkimtoo many values in the interrupt list (16 max) and invalid values in the 
4179193267Sjkimlist (range 0 - 15)
4180151937Sjkim
4181193267SjkimThe maximum length string literal within an ASL file is now restricted to 
4182193267Sjkim200 characters as per the ACPI specification.
4183151937Sjkim
4184193267SjkimFixed a fault when using the -ln option (generate namespace listing).
4185151937Sjkim
4186193267SjkimImplemented an error check to determine if a DescriptorName within a 
4187193267Sjkimresource descriptor has already been used within the current scope.
4188151937Sjkim
4189151937Sjkim----------------------------------------
4190151937Sjkim15 August 2005.  Summary of changes for version 20050815:
4191193267Sjkim 
4192151937Sjkim1) ACPI CA Core Subsystem:
4193193267Sjkim 
4194193267SjkimImplemented a full bytewise compare to determine if a table load request is 
4195193267Sjkimattempting to load a duplicate table. The compare is performed if the table 
4196193267Sjkimsignatures and table lengths match. This will allow different tables with 
4197193267Sjkimthe same OEM Table ID and revision to be loaded - probably against the ACPI 
4198193267Sjkimspecification, but discovered in the field nonetheless.
4199193267Sjkim 
4200193267SjkimAdded the changes.txt logfile to each of the zipped release packages.
4201193267Sjkim 
4202193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4203193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4204193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4205193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4206193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4207193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4208193267Sjkimthe compiler options used during generation.
4209193267Sjkim 
4210151937Sjkim  Previous Release:
4211151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4212151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4213151937Sjkim  Current Release:
4214151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4215151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4216193267Sjkim 
4217193267Sjkim 
4218151937Sjkim2) iASL Compiler/Disassembler:
4219193267Sjkim 
4220193267SjkimFixed a problem where incorrect AML code could be generated for Package 
4221193267Sjkimobjects if optimization is disabled (via the -oa switch).
4222193267Sjkim 
4223193267SjkimFixed a problem with where incorrect AML code is generated for variable-
4224193267Sjkimlength packages when the package length is not specified and the number of 
4225193267Sjkiminitializer values is greater than 255.
4226193267Sjkim 
4227151937Sjkim
4228151937Sjkim----------------------------------------
4229151937Sjkim29 July 2005.  Summary of changes for version 20050729:
4230151937Sjkim
4231151937Sjkim1) ACPI CA Core Subsystem:
4232151937Sjkim
4233193267SjkimImplemented support to ignore an attempt to install/load a particular ACPI 
4234193267Sjkimtable more than once. Apparently there exists BIOS code that repeatedly 
4235193267Sjkimattempts to load the same SSDT upon certain events. With assistance from 
4236193267SjkimVenkatesh Pallipadi.
4237151937Sjkim
4238193267SjkimRestructured the main interface to the AML parser in order to correctly 
4239193267Sjkimhandle all exceptional conditions. This will prevent leakage of the OwnerId 
4240193267Sjkimresource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
4241193267Sjkimmachines. With assistance from Alexey Starikovskiy.
4242151937Sjkim
4243193267SjkimSupport for "module level code" has been disabled in this version due to a 
4244193267Sjkimnumber of issues that have appeared on various machines. The support can be 
4245193267Sjkimenabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
4246193267Sjkimcompilation. When the issues are fully resolved, the code will be enabled by 
4247151937Sjkimdefault again.
4248151937Sjkim
4249193267SjkimModified the internal functions for debug print support to define the 
4250193267SjkimFunctionName parameter as a (const char *) for compatibility with compiler 
4251193267Sjkimbuilt-in macros such as __FUNCTION__, etc.
4252151937Sjkim
4253151937SjkimLinted the entire ACPICA source tree for both 32-bit and 64-bit.
4254151937Sjkim
4255193267SjkimImplemented support to display an object count summary for the AML Debugger 
4256193267Sjkimcommands Object and Methods.
4257151937Sjkim
4258193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4259193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4260193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4261193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4262193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4263193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4264193267Sjkimthe compiler options used during generation.
4265151937Sjkim
4266151937Sjkim  Previous Release:
4267151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4268151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4269151937Sjkim  Current Release:
4270151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4271151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4272151937Sjkim
4273151937Sjkim
4274151937Sjkim2) iASL Compiler/Disassembler:
4275151937Sjkim
4276193267SjkimFixed a regression that appeared in the 20050708 version of the compiler 
4277193267Sjkimwhere an error message was inadvertently emitted for invocations of the _OSI 
4278193267Sjkimreserved control method.
4279151937Sjkim
4280151937Sjkim----------------------------------------
4281151937Sjkim08 July 2005.  Summary of changes for version 20050708:
4282151937Sjkim
4283151937Sjkim1) ACPI CA Core Subsystem:
4284151937Sjkim
4285193267SjkimThe use of the CPU stack in the debug version of the subsystem has been 
4286193267Sjkimconsiderably reduced. Previously, a debug structure was declared in every 
4287193267Sjkimfunction that used the debug macros. This structure has been removed in 
4288193267Sjkimfavor of declaring the individual elements as parameters to the debug 
4289193267Sjkimfunctions. This reduces the cumulative stack use during nested execution of 
4290193267SjkimACPI function calls at the cost of a small increase in the code size of the 
4291193267Sjkimdebug version of the subsystem. With assistance from Alexey Starikovskiy and 
4292193267SjkimLen Brown.
4293151937Sjkim
4294193267SjkimAdded the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
4295193267Sjkimheaders to define a macro that will return the current function name at 
4296193267Sjkimruntime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
4297193267Sjkimthe debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
4298193267Sjkimcompiler-dependent header, the function name is saved on the CPU stack (one 
4299193267Sjkimpointer per function.) This mechanism is used because apparently there 
4300193267Sjkimexists no standard ANSI-C defined macro that that returns the function name.
4301151937Sjkim
4302193267SjkimRedesigned and reimplemented the "Owner ID" mechanism used to track 
4303193267Sjkimnamespace objects created/deleted by ACPI tables and control method 
4304193267Sjkimexecution. A bitmap is now used to allocate and free the IDs, thus solving 
4305193267Sjkimthe wraparound problem present in the previous implementation. The size of 
4306193267Sjkimthe namespace node descriptor was reduced by 2 bytes as a result (Alexey 
4307151937SjkimStarikovskiy).
4308151937Sjkim
4309193267SjkimRemoved the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
4310193267Sjkimflag definitions within the headers for the predefined ACPI tables. These 
4311193267Sjkimhave been replaced by UINT8_BIT in order to increase the code portability of 
4312193267Sjkimthe subsystem. If the use of UINT8 remains a problem, we may be forced to 
4313193267Sjkimeliminate bitfields entirely because of a lack of portability.
4314151937Sjkim
4315193267SjkimEnhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
4316193267Sjkimis a frequently used function and this improvement increases the performance 
4317193267Sjkimof the entire subsystem (Alexey Starikovskiy).
4318151937Sjkim
4319193267SjkimFixed several possible memory leaks and the inverse - premature object 
4320193267Sjkimdeletion (Alexey Starikovskiy).
4321151937Sjkim
4322193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4323193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4324193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4325193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4326193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4327193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4328193267Sjkimthe compiler options used during generation.
4329151937Sjkim
4330151937Sjkim  Previous Release:
4331151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4332151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4333151937Sjkim  Current Release:
4334151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4335151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4336151937Sjkim
4337151937Sjkim----------------------------------------
4338151937Sjkim24 June 2005.  Summary of changes for version 20050624:
4339151937Sjkim
4340151937Sjkim1) ACPI CA Core Subsystem:
4341151937Sjkim
4342193267SjkimModified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
4343193267Sjkimthe host-defined cache object. This allows the OSL implementation to define 
4344193267Sjkimand type this object in any manner desired, simplifying the OSL 
4345193267Sjkimimplementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
4346193267SjkimLinux, and should be defined in the OS-specific header file for other 
4347193267Sjkimoperating systems as required.
4348151937Sjkim
4349193267SjkimChanged the interface to AcpiOsAcquireObject to directly return the 
4350193267Sjkimrequested object as the function return (instead of ACPI_STATUS.) This 
4351193267Sjkimchange was made for performance reasons, since this is the purpose of the 
4352193267Sjkiminterface in the first place. AcpiOsAcquireObject is now similar to the 
4353193267SjkimAcpiOsAllocate interface.
4354151937Sjkim
4355193267SjkimImplemented a new AML debugger command named Businfo. This command displays 
4356193267Sjkiminformation about all devices that have an associate _PRT object. The _ADR, 
4357193267Sjkim_HID, _UID, and _CID are displayed for these devices.
4358151937Sjkim
4359193267SjkimModified the initialization sequence in AcpiInitializeSubsystem to call the 
4360193267SjkimOSL interface AcpiOslInitialize first, before any local initialization. This 
4361193267Sjkimchange was required because the global initialization now calls OSL 
4362193267Sjkiminterfaces.
4363151937Sjkim
4364193267SjkimEnhanced the Dump command to display the entire contents of Package objects 
4365193267Sjkim(including all sub-objects and their values.) 
4366151937Sjkim
4367193267SjkimRestructured the code base to split some files because of size and/or 
4368193267Sjkimbecause the code logically belonged in a separate file. New files are listed 
4369193267Sjkimbelow. All makefiles and project files included in the ACPI CA release have 
4370193267Sjkimbeen updated.
4371151937Sjkim    utilities/utcache.c           /* Local cache interfaces */
4372151937Sjkim    utilities/utmutex.c           /* Local mutex support */
4373151937Sjkim    utilities/utstate.c           /* State object support */
4374151937Sjkim    interpreter/parser/psloop.c   /* Main AML parse loop */
4375151937Sjkim
4376193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4377193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4378193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4379193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4380193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4381193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4382193267Sjkimthe compiler options used during generation.
4383151937Sjkim
4384151937Sjkim  Previous Release:
4385151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4386151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4387151937Sjkim  Current Release:
4388151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4389151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4390151937Sjkim
4391151937Sjkim
4392151937Sjkim2) iASL Compiler/Disassembler:
4393151937Sjkim
4394193267SjkimFixed a regression introduced in version 20050513 where the use of a Package 
4395193267Sjkimobject within a Case() statement caused a compile time exception. The 
4396193267Sjkimoriginal behavior has been restored (a Match() operator is emitted.)
4397151937Sjkim
4398151937Sjkim----------------------------------------
4399151937Sjkim17 June 2005.  Summary of changes for version 20050617:
4400151937Sjkim
4401151937Sjkim1) ACPI CA Core Subsystem:
4402151937Sjkim
4403193267SjkimMoved the object cache operations into the OS interface layer (OSL) to allow 
4404193267Sjkimthe host OS to handle these operations if desired (for example, the Linux 
4405193267SjkimOSL will invoke the slab allocator). This support is optional; the compile 
4406193267Sjkimtime define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
4407193267Sjkimcode in the ACPI CA core. The new OSL interfaces are shown below. See 
4408193267Sjkimutalloc.c for an example implementation, and acpiosxf.h for the exact 
4409193267Sjkiminterface definitions. With assistance from Alexey Starikovskiy.
4410151937Sjkim    AcpiOsCreateCache
4411151937Sjkim    AcpiOsDeleteCache
4412151937Sjkim    AcpiOsPurgeCache
4413151937Sjkim    AcpiOsAcquireObject
4414151937Sjkim    AcpiOsReleaseObject
4415151937Sjkim
4416193267SjkimModified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
4417193267Sjkimand restore a flags parameter. This fits better with many OS lock models. 
4418193267SjkimNote: the current execution state (interrupt handler or not) is no longer 
4419193267Sjkimpassed to these interfaces. If necessary, the OSL must determine this state 
4420193267Sjkimby itself, a simple and fast operation. With assistance from Alexey 
4421151937SjkimStarikovskiy.
4422151937Sjkim
4423193267SjkimFixed a problem in the ACPI table handling where a valid XSDT was assumed 
4424193267Sjkimpresent if the revision of the RSDP was 2 or greater. According to the ACPI 
4425193267Sjkimspecification, the XSDT is optional in all cases, and the table manager 
4426193267Sjkimtherefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
4427193267SjkimOtherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
4428193267Sjkimonly the RSDT.
4429151937Sjkim
4430193267SjkimFixed an interpreter problem with the Mid() operator in the case of an input 
4431193267Sjkimstring where the resulting output string is of zero length. It now correctly 
4432193267Sjkimreturns a valid, null terminated string object instead of a string object 
4433193267Sjkimwith a null pointer.
4434151937Sjkim
4435193267SjkimFixed a problem with the control method argument handling to allow a store 
4436193267Sjkimto an Arg object that already contains an object of type Device. The Device 
4437193267Sjkimobject is now correctly overwritten. Previously, an error was returned.
4438151937Sjkim
4439167802Sjkim
4440193267SjkimEnhanced the debugger Find command to emit object values in addition to the 
4441193267Sjkimfound object pathnames. The output format is the same as the dump namespace 
4442193267Sjkimcommand.
4443151937Sjkim
4444193267SjkimEnhanced the debugger Set command. It now has the ability to set the value 
4445193267Sjkimof any Named integer object in the namespace (Previously, only method locals 
4446193267Sjkimand args could be set.)
4447151937Sjkim
4448193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4449193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4450193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4451193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4452193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4453193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4454193267Sjkimthe compiler options used during generation.
4455151937Sjkim
4456151937Sjkim  Previous Release:
4457151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4458151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4459151937Sjkim  Current Release:
4460151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4461151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4462151937Sjkim
4463151937Sjkim
4464151937Sjkim2) iASL Compiler/Disassembler:
4465151937Sjkim
4466193267SjkimFixed a regression in the disassembler where if/else/while constructs were 
4467193267Sjkimoutput incorrectly. This problem was introduced in the previous release 
4468193267Sjkim(20050526). This problem also affected the single-step disassembly in the 
4469193267Sjkimdebugger.
4470151937Sjkim
4471193267SjkimFixed a problem where compiling the reserved _OSI method would randomly (but 
4472193267Sjkimrarely) produce compile errors.
4473151937Sjkim
4474193267SjkimEnhanced the disassembler to emit compilable code in the face of incorrect 
4475193267SjkimAML resource descriptors. If the optional ResourceSourceIndex is present, 
4476193267Sjkimbut the ResourceSource is not, do not emit the ResourceSourceIndex in the 
4477193267Sjkimdisassembly. Otherwise, the resulting code cannot be compiled without 
4478193267Sjkimerrors.
4479151937Sjkim
4480151937Sjkim----------------------------------------
4481151937Sjkim26 May 2005.  Summary of changes for version 20050526:
4482151937Sjkim
4483151937Sjkim1) ACPI CA Core Subsystem:
4484151937Sjkim
4485193267SjkimImplemented support to execute Type 1 and Type 2 AML opcodes appearing at 
4486193267Sjkimthe module level (not within a control method.) These opcodes are executed 
4487193267Sjkimexactly once at the time the table is loaded. This type of code was legal up 
4488193267Sjkimuntil the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
4489193267Sjkimorder to provide backwards compatibility with earlier BIOS implementations. 
4490193267SjkimThis eliminates the "Encountered executable code at module level" warning 
4491193267Sjkimthat was previously generated upon detection of such code.
4492151937Sjkim
4493193267SjkimFixed a problem in the interpreter where an AE_NOT_FOUND exception could 
4494193267Sjkiminadvertently be generated during the lookup of namespace objects in the 
4495193267Sjkimsecond pass parse of ACPI tables and control methods. It appears that this 
4496193267Sjkimproblem could occur during the resolution of forward references to namespace 
4497193267Sjkimobjects.
4498151937Sjkim
4499193267SjkimAdded the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
4500193267Sjkimcorresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
4501193267Sjkimallows the deadlock detection debug code to be compiled out in the normal 
4502193267Sjkimcase, improving mutex performance (and overall subsystem performance) 
4503193267Sjkimconsiderably.
4504151937Sjkim
4505193267SjkimImplemented a handful of miscellaneous fixes for possible memory leaks on 
4506193267Sjkimerror conditions and error handling control paths. These fixes were 
4507193267Sjkimsuggested by FreeBSD and the Coverity Prevent source code analysis tool.
4508151937Sjkim
4509193267SjkimAdded a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
4510193267Sjkimto prevent a fault in this error case.
4511151937Sjkim
4512193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4513193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4514193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4515193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4516193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4517193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4518193267Sjkimthe compiler options used during generation.
4519151937Sjkim
4520151937Sjkim  Previous Release:
4521151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4522151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4523151937Sjkim  Current Release:
4524151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4525151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4526151937Sjkim
4527151937Sjkim
4528151937Sjkim2) iASL Compiler/Disassembler:
4529151937Sjkim
4530193267SjkimImplemented support to allow Type 1 and Type 2 ASL operators to appear at 
4531193267Sjkimthe module level (not within a control method.) These operators will be 
4532193267Sjkimexecuted once at the time the table is loaded. This type of code was legal 
4533193267Sjkimup until the release of ACPI 2.0B (2002) and is now supported by the iASL 
4534193267Sjkimcompiler in order to provide backwards compatibility with earlier BIOS ASL 
4535193267Sjkimcode.
4536151937Sjkim
4537193267SjkimThe ACPI integer width (specified via the table revision ID or the -r 
4538193267Sjkimoverride, 32 or 64 bits) is now used internally during compile-time constant 
4539193267Sjkimfolding to ensure that constants are truncated to 32 bits if necessary. 
4540193267SjkimPreviously, the revision ID value was only emitted in the AML table header.
4541151937Sjkim
4542193267SjkimAn error message is now generated for the Mutex and Method operators if the 
4543193267SjkimSyncLevel parameter is outside the legal range of 0 through 15.
4544151937Sjkim
4545193267SjkimFixed a problem with the Method operator ParameterTypes list handling (ACPI 
4546193267Sjkim3.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
4547193267SjkimThe actual underlying implementation of method argument typechecking is 
4548193267Sjkimstill under development, however.
4549151937Sjkim
4550151937Sjkim----------------------------------------
4551151937Sjkim13 May 2005.  Summary of changes for version 20050513:
4552151937Sjkim
4553151937Sjkim1) ACPI CA Core Subsystem:
4554151937Sjkim
4555193267SjkimImplemented support for PCI Express root bridges -- added support for device 
4556193267SjkimPNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
4557151937Sjkim
4558193267SjkimThe interpreter now automatically truncates incoming 64-bit constants to 32 
4559193267Sjkimbits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
4560193267Sjkimalso affects the iASL compiler constant folding. (Note: as per below, the 
4561193267SjkimiASL compiler no longer allows 64-bit constants within 32-bit tables.)
4562151937Sjkim
4563193267SjkimFixed a problem where string and buffer objects with "static" pointers 
4564193267Sjkim(pointers to initialization data within an ACPI table) were not handled 
4565193267Sjkimconsistently. The internal object copy operation now always copies the data 
4566193267Sjkimto a newly allocated buffer, regardless of whether the source object is 
4567193267Sjkimstatic or not.
4568151937Sjkim
4569193267SjkimFixed a problem with the FromBCD operator where an implicit result 
4570193267Sjkimconversion was improperly performed while storing the result to the target 
4571193267Sjkimoperand. Since this is an "explicit conversion" operator, the implicit 
4572193267Sjkimconversion should never be performed on the output.
4573151937Sjkim
4574193267SjkimFixed a problem with the CopyObject operator where a copy to an existing 
4575193267Sjkimnamed object did not always completely overwrite the existing object stored 
4576193267Sjkimat name. Specifically, a buffer-to-buffer copy did not delete the existing 
4577193267Sjkimbuffer.
4578151937Sjkim
4579193267SjkimReplaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
4580193267Sjkimstructs for consistency.
4581151937Sjkim
4582193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4583193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4584193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4585193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4586193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4587193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4588193267Sjkimthe compiler options used during generation.
4589151937Sjkim
4590151937Sjkim  Previous Release:
4591151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4592151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4593151937Sjkim  Current Release: (Same sizes)
4594151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4595151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4596151937Sjkim
4597151937Sjkim
4598151937Sjkim2) iASL Compiler/Disassembler:
4599151937Sjkim
4600193267SjkimThe compiler now emits a warning if an attempt is made to generate a 64-bit 
4601193267Sjkiminteger constant from within a 32-bit ACPI table (Revision < 2). The integer 
4602193267Sjkimis truncated to 32 bits.
4603151937Sjkim
4604193267SjkimFixed a problem with large package objects: if the static length of the 
4605193267Sjkimpackage is greater than 255, the "variable length package" opcode is 
4606193267Sjkimemitted. Previously, this caused an error. This requires an update to the 
4607193267SjkimACPI spec, since it currently (incorrectly) states that packages larger than 
4608193267Sjkim255 elements are not allowed.
4609151937Sjkim
4610193267SjkimThe disassembler now correctly handles variable length packages and packages 
4611193267Sjkimlarger than 255 elements.
4612151937Sjkim
4613151937Sjkim----------------------------------------
4614151937Sjkim08 April 2005.  Summary of changes for version 20050408:
4615151937Sjkim
4616151937Sjkim1) ACPI CA Core Subsystem:
4617151937Sjkim
4618193267SjkimFixed three cases in the interpreter where an "index" argument to an ASL 
4619193267Sjkimfunction was still (internally) 32 bits instead of the required 64 bits. 
4620193267SjkimThis was the Index argument to the Index, Mid, and Match operators.
4621151937Sjkim
4622193267SjkimThe "strupr" function is now permanently local (AcpiUtStrupr), since this is 
4623193267Sjkimnot a POSIX-defined function and not present in most kernel-level C 
4624193267Sjkimlibraries. All references to the C library strupr function have been removed 
4625193267Sjkimfrom the headers.
4626151937Sjkim
4627193267SjkimCompleted the deployment of static functions/prototypes. All prototypes with 
4628193267Sjkimthe static attribute have been moved from the headers to the owning C file.
4629151937Sjkim
4630193267SjkimImplemented an extract option (-e) for the AcpiBin utility (AML binary 
4631193267Sjkimutility). This option allows the utility to extract individual ACPI tables 
4632193267Sjkimfrom the output of AcpiDmp. It provides the same functionality of the 
4633193267Sjkimacpixtract.pl perl script without the worry of setting the correct perl 
4634193267Sjkimoptions. AcpiBin runs on Windows and has not yet been generated/validated in 
4635193267Sjkimthe Linux/Unix environment (but should be soon).
4636193267Sjkim 
4637193267SjkimUpdated and fixed the table dump option for AcpiBin (-d). This option 
4638193267Sjkimconverts a single ACPI table to a hex/ascii file, similar to the output of 
4639193267SjkimAcpiDmp.
4640151937Sjkim
4641193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4642193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4643193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4644193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4645193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4646193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4647193267Sjkimthe compiler options used during generation.
4648151937Sjkim
4649151937Sjkim  Previous Release:
4650151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4651151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4652151937Sjkim  Current Release:
4653151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4654151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4655151937Sjkim
4656151937Sjkim
4657151937Sjkim2) iASL Compiler/Disassembler:
4658151937Sjkim
4659193267SjkimDisassembler fix: Added a check to ensure that the table length found in the 
4660193267SjkimACPI table header within the input file is not longer than the actual input 
4661193267Sjkimfile size. This indicates some kind of file or table corruption.
4662151937Sjkim
4663151937Sjkim----------------------------------------
4664151937Sjkim29 March 2005.  Summary of changes for version 20050329:
4665151937Sjkim
4666151937Sjkim1) ACPI CA Core Subsystem:
4667151937Sjkim
4668193267SjkimAn error is now generated if an attempt is made to create a Buffer Field of 
4669193267Sjkimlength zero (A CreateField with a length operand of zero.)
4670151937Sjkim
4671193267SjkimThe interpreter now issues a warning whenever executable code at the module 
4672193267Sjkimlevel is detected during ACPI table load. This will give some idea of the 
4673193267Sjkimprevalence of this type of code.
4674151937Sjkim
4675193267SjkimImplemented support for references to named objects (other than control 
4676193267Sjkimmethods) within package objects.
4677151937Sjkim
4678193267SjkimEnhanced package object output for the debug object. Package objects are now 
4679193267Sjkimcompletely dumped, showing all elements.
4680151937Sjkim
4681193267SjkimEnhanced miscellaneous object output for the debug object. Any object can 
4682193267Sjkimnow be written to the debug object (for example, a device object can be 
4683193267Sjkimwritten, and the type of the object will be displayed.)
4684151937Sjkim
4685193267SjkimThe "static" qualifier has been added to all local functions across both the 
4686193267Sjkimcore subsystem and the iASL compiler.
4687151937Sjkim
4688193267SjkimThe number of "long" lines (> 80 chars) within the source has been 
4689193267Sjkimsignificantly reduced, by about 1/3.
4690151937Sjkim
4691193267SjkimCleaned up all header files to ensure that all CA/iASL functions are 
4692193267Sjkimprototyped (even static functions) and the formatting is consistent.
4693151937Sjkim
4694151937SjkimTwo new header files have been added, acopcode.h and acnames.h.
4695151937Sjkim
4696151937SjkimRemoved several obsolete functions that were no longer used.
4697151937Sjkim
4698193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4699193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4700193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4701193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4702193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4703193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4704193267Sjkimthe compiler options used during generation.
4705151937Sjkim
4706151937Sjkim  Previous Release:
4707151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4708151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4709151937Sjkim  Current Release:
4710151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4711151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4712151937Sjkim
4713151937Sjkim
4714167802Sjkim
4715151937Sjkim2) iASL Compiler/Disassembler:
4716151937Sjkim
4717193267SjkimFixed a problem with the resource descriptor generation/support. For the 
4718193267SjkimResourceSourceIndex and the ResourceSource fields, both must be present, or 
4719193267Sjkimboth must be not present - can't have one without the other.
4720151937Sjkim
4721193267SjkimThe compiler now returns non-zero from the main procedure if any errors have 
4722193267Sjkimoccurred during the compilation.
4723151937Sjkim
4724151937Sjkim
4725151937Sjkim----------------------------------------
4726151937Sjkim09 March 2005.  Summary of changes for version 20050309:
4727151937Sjkim
4728151937Sjkim1) ACPI CA Core Subsystem:
4729151937Sjkim
4730193267SjkimThe string-to-buffer implicit conversion code has been modified again after 
4731193267Sjkima change to the ACPI specification.  In order to match the behavior of the 
4732193267Sjkimother major ACPI implementation, the target buffer is no longer truncated if 
4733193267Sjkimthe source string is smaller than an existing target buffer. This change 
4734193267Sjkimrequires an update to the ACPI spec, and should eliminate the recent 
4735151937SjkimAE_AML_BUFFER_LIMIT issues.
4736151937Sjkim
4737193267SjkimThe "implicit return" support was rewritten to a new algorithm that solves 
4738193267Sjkimthe general case. Rather than attempt to determine when a method is about to 
4739193267Sjkimexit, the result of every ASL operator is saved momentarily until the very 
4740193267Sjkimnext ASL operator is executed. Therefore, no matter how the method exits, 
4741193267Sjkimthere will always be a saved implicit return value. This feature is only 
4742193267Sjkimenabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
4743193267SjkimAE_AML_NO_RETURN_VALUE errors when enabled.
4744151937Sjkim
4745193267SjkimImplemented implicit conversion support for the predicate (operand) of the 
4746193267SjkimIf, Else, and While operators. String and Buffer arguments are automatically 
4747193267Sjkimconverted to Integers.
4748151937Sjkim
4749193267SjkimChanged the string-to-integer conversion behavior to match the new ACPI 
4750193267Sjkimerrata: "If no integer object exists, a new integer is created. The ASCII 
4751193267Sjkimstring is interpreted as a hexadecimal constant. Each string character is 
4752193267Sjkiminterpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
4753193267Sjkimwith the first character as the most significant digit, and ending with the 
4754193267Sjkimfirst non-hexadecimal character or end-of-string." This means that the first 
4755193267Sjkimnon-hex character terminates the conversion and this is the code that was 
4756193267Sjkimchanged.
4757151937Sjkim
4758193267SjkimFixed a problem where the ObjectType operator would fail (fault) when used 
4759193267Sjkimon an Index of a Package which pointed to a null package element. The 
4760193267Sjkimoperator now properly returns zero (Uninitialized) in this case.
4761151937Sjkim
4762193267SjkimFixed a problem where the While operator used excessive memory by not 
4763193267Sjkimproperly popping the result stack during execution. There was no memory leak 
4764193267Sjkimafter execution, however. (Code provided by Valery Podrezov.)
4765151937Sjkim
4766193267SjkimFixed a problem where references to control methods within Package objects 
4767193267Sjkimcaused the method to be invoked, instead of producing a reference object 
4768193267Sjkimpointing to the method.
4769151937Sjkim
4770193267SjkimRestructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
4771193267Sjkimimprove performance and reduce code size. (Code provided by Alexey 
4772193267SjkimStarikovskiy.)
4773151937Sjkim
4774193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4775193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4776193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4777193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4778193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4779193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4780193267Sjkimthe compiler options used during generation.
4781151937Sjkim
4782151937Sjkim  Previous Release:
4783151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4784151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4785151937Sjkim  Current Release:
4786151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4787151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4788151937Sjkim
4789151937Sjkim
4790151937Sjkim2) iASL Compiler/Disassembler:
4791151937Sjkim
4792193267SjkimFixed a problem with the Return operator with no arguments. Since the AML 
4793193267Sjkimgrammar for the byte encoding requires an operand for the Return opcode, the 
4794193267Sjkimcompiler now emits a Return(Zero) for this case.  An ACPI specification 
4795193267Sjkimupdate has been written for this case.
4796151937Sjkim
4797193267SjkimFor tables other than the DSDT, namepath optimization is automatically 
4798193267Sjkimdisabled. This is because SSDTs can be loaded anywhere in the namespace, the 
4799193267Sjkimcompiler has no knowledge of where, and thus cannot optimize namepaths.
4800151937Sjkim
4801193267SjkimAdded "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
4802193267Sjkiminadvertently omitted from the ACPI specification, and will require an 
4803193267Sjkimupdate to the spec.
4804151937Sjkim
4805193267SjkimThe source file scan for ASCII characters is now optional (-a). This change 
4806193267Sjkimwas made because some vendors place non-ascii characters within comments. 
4807193267SjkimHowever, the scan is simply a brute-force byte compare to ensure all 
4808193267Sjkimcharacters in the file are in the range 0x00 to 0x7F.
4809151937Sjkim
4810193267SjkimFixed a problem with the CondRefOf operator where the compiler was 
4811193267Sjkiminappropriately checking for the existence of the target. Since the point of 
4812193267Sjkimthe operator is to check for the existence of the target at run-time, the 
4813193267Sjkimcompiler no longer checks for the target existence.
4814151937Sjkim
4815193267SjkimFixed a problem where errors generated from the internal AML interpreter 
4816193267Sjkimduring constant folding were not handled properly, causing a fault.
4817151937Sjkim
4818193267SjkimFixed a problem with overly aggressive range checking for the Stall 
4819193267Sjkimoperator. The valid range (max 255) is now only checked if the operand is of 
4820193267Sjkimtype Integer. All other operand types cannot be statically checked.
4821151937Sjkim
4822193267SjkimFixed a problem where control method references within the RefOf, DeRefOf, 
4823193267Sjkimand ObjectType operators were not treated properly. They are now treated as 
4824193267Sjkimactual references, not method invocations.
4825151937Sjkim
4826193267SjkimFixed and enhanced the "list namespace" option (-ln). This option was broken 
4827193267Sjkima number of releases ago.
4828151937Sjkim
4829193267SjkimImproved error handling for the Field, IndexField, and BankField operators. 
4830193267SjkimThe compiler now cleanly reports and recovers from errors in the field 
4831193267Sjkimcomponent (FieldUnit) list.
4832151937Sjkim
4833193267SjkimFixed a disassembler problem where the optional ResourceDescriptor fields 
4834193267SjkimTRS and TTP were not always handled correctly.
4835151937Sjkim
4836151937SjkimDisassembler - Comments in output now use "//" instead of "/*"
4837151937Sjkim
4838151937Sjkim----------------------------------------
4839151937Sjkim28 February 2005.  Summary of changes for version 20050228:
4840151937Sjkim
4841151937Sjkim1) ACPI CA Core Subsystem:
4842151937Sjkim
4843193267SjkimFixed a problem where the result of an Index() operator (an object 
4844193267Sjkimreference) must increment the reference count on the target object for the 
4845193267Sjkimlife of the object reference.
4846151937Sjkim
4847193267SjkimImplemented AML Interpreter and Debugger support for the new ACPI 3.0 
4848193267SjkimExtended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
4849193267Sjkimresource descriptors.
4850151937Sjkim
4851193267SjkimImplemented support in the _OSI method for the ACPI 3.0 "Extended Address 
4852193267SjkimSpace Descriptor" string, indicating interpreter support for the descriptors 
4853193267Sjkimabove.
4854151937Sjkim
4855151937SjkimImplemented header support for the new ACPI 3.0 FADT flag bits.
4856151937Sjkim
4857193267SjkimImplemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
4858193267Sjkimstatus/enable registers.
4859151937Sjkim
4860193267SjkimUpdated header support for the MADT processor local Apic struct and MADT 
4861193267Sjkimplatform interrupt source struct for new ACPI 3.0 fields.
4862151937Sjkim
4863151937SjkimImplemented header support for the SRAT and SLIT ACPI tables.
4864151937Sjkim
4865193267SjkimImplemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
4866193267Sjkimat runtime.
4867151937Sjkim
4868193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4869193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4870193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4871193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4872193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4873193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4874193267Sjkimthe compiler options used during generation.
4875151937Sjkim
4876151937Sjkim  Previous Release:
4877151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4878151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4879151937Sjkim  Current Release:
4880151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4881151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4882151937Sjkim
4883151937Sjkim
4884151937Sjkim2) iASL Compiler/Disassembler:
4885151937Sjkim
4886193267SjkimFixed a problem with the internal 64-bit String-to-integer conversion with 
4887193267Sjkimstrings less than two characters long.
4888151937Sjkim
4889193267SjkimFixed a problem with constant folding where the result of the Index() 
4890193267Sjkimoperator can not be considered a constant. This means that Index() cannot be 
4891193267Sjkima type3 opcode and this will require an update to the ACPI specification.
4892151937Sjkim
4893193267SjkimDisassembler: Implemented support for the TTP, MTP, and TRS resource 
4894193267Sjkimdescriptor fields. These fields were inadvertently ignored and not output in 
4895193267Sjkimthe disassembly of the resource descriptor.
4896151937Sjkim
4897151937Sjkim
4898151937Sjkim ----------------------------------------
4899151937Sjkim11 February 2005.  Summary of changes for version 20050211:
4900151937Sjkim
4901151937Sjkim1) ACPI CA Core Subsystem:
4902151937Sjkim
4903193267SjkimImplemented ACPI 3.0 support for implicit conversion within the Match() 
4904193267Sjkimoperator. MatchObjects can now be of type integer, buffer, or string instead 
4905193267Sjkimof just type integer.  Package elements are implicitly converted to the type 
4906193267Sjkimof the MatchObject. This change aligns the behavior of Match() with the 
4907193267Sjkimbehavior of the other logical operators (LLess(), etc.) It also requires an 
4908193267Sjkimerrata change to the ACPI specification as this support was intended for 
4909193267SjkimACPI 3.0, but was inadvertently omitted.
4910151937Sjkim
4911193267SjkimFixed a problem with the internal implicit "to buffer" conversion. Strings 
4912193267Sjkimthat are converted to buffers will cause buffer truncation if the string is 
4913193267Sjkimsmaller than the target buffer. Integers that are converted to buffers will 
4914193267Sjkimnot cause buffer truncation, only zero extension (both as per the ACPI 
4915193267Sjkimspec.) The problem was introduced when code was added to truncate the 
4916193267Sjkimbuffer, but this should not be performed in all cases, only the string case.
4917151937Sjkim
4918193267SjkimFixed a problem with the Buffer and Package operators where the interpreter 
4919193267Sjkimwould get confused if two such operators were used as operands to an ASL 
4920193267Sjkimoperator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
4921193267Sjkimstack was not being popped after the execution of these operators, resulting 
4922193267Sjkimin an AE_NO_RETURN_VALUE exception.
4923151937Sjkim
4924193267SjkimFixed a problem with constructs of the form Store(Index(...),...). The 
4925193267Sjkimreference object returned from Index was inadvertently resolved to an actual 
4926193267Sjkimvalue. This problem was introduced in version 20050114 when the behavior of 
4927193267SjkimStore() was modified to restrict the object types that can be used as the 
4928151937Sjkimsource operand (to match the ACPI specification.)
4929151937Sjkim
4930193267SjkimReduced excessive stack use within the AcpiGetObjectInfo procedure.
4931151937Sjkim
4932193267SjkimAdded a fix to aclinux.h to allow generation of AcpiExec on Linux.
4933151937Sjkim
4934193267SjkimUpdated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
4935151937Sjkim
4936193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4937193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4938193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4939193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4940193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4941193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4942193267Sjkimthe compiler options used during generation.
4943151937Sjkim
4944151937Sjkim  Previous Release:
4945151937Sjkim    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
4946151937Sjkim    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
4947151937Sjkim  Current Release:
4948151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4949151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4950151937Sjkim
4951151937Sjkim
4952151937Sjkim2) iASL Compiler/Disassembler:
4953151937Sjkim
4954193267SjkimFixed a code generation problem in the constant folding optimization code 
4955193267Sjkimwhere incorrect code was generated if a constant was reduced to a buffer 
4956193267Sjkimobject (i.e., a reduced type 5 opcode.)
4957151937Sjkim
4958193267SjkimFixed a typechecking problem for the ToBuffer operator. Caused by an 
4959193267Sjkimincorrect return type in the internal opcode information table.
4960151937Sjkim
4961151937Sjkim----------------------------------------
4962151937Sjkim25 January 2005.  Summary of changes for version 20050125:
4963151937Sjkim
4964151937Sjkim1) ACPI CA Core Subsystem:
4965151937Sjkim
4966193267SjkimFixed a recently introduced problem with the Global Lock where the 
4967193267Sjkimunderlying semaphore was not created.  This problem was introduced in 
4968193267Sjkimversion 20050114, and caused an AE_AML_NO_OPERAND exception during an 
4969193267SjkimAcquire() operation on _GL.
4970151937Sjkim
4971193267SjkimThe local object cache is now optional, and is disabled by default. Both 
4972193267SjkimAcpiExec and the iASL compiler enable the cache because they run in user 
4973193267Sjkimmode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
4974193267Sjkimto enable the local cache.
4975151937Sjkim
4976193267SjkimFixed an issue in the internal function AcpiUtEvaluateObject concerning the 
4977193267Sjkimoptional "implicit return" support where an error was returned if no return 
4978193267Sjkimobject was expected, but one was implicitly returned. AE_OK is now returned 
4979193267Sjkimin this case and the implicitly returned object is deleted. 
4980193267SjkimAcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
4981193267Sjkimmethods such as _STA and _INI where the return type is known up front.
4982151937Sjkim
4983193267SjkimFixed a few issues with the internal convert-to-integer code. It now returns 
4984193267Sjkiman error if an attempt is made to convert a null string, a string of only 
4985193267Sjkimblanks/tabs, or a zero-length buffer. This affects both implicit conversion 
4986193267Sjkimand explicit conversion via the ToInteger() operator.
4987151937Sjkim
4988193267SjkimThe internal debug code in AcpiUtAcquireMutex has been commented out. It is 
4989193267Sjkimnot needed for normal operation and should increase the performance of the 
4990193267Sjkimentire subsystem. The code remains in case it is needed for debug purposes 
4991193267Sjkimagain.
4992151937Sjkim
4993193267SjkimThe AcpiExec source and makefile are included in the Unix/Linux package for 
4994193267Sjkimthe first time.
4995151937Sjkim
4996193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4997193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4998193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4999193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5000193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5001193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5002193267Sjkimthe compiler options used during generation.
5003151937Sjkim
5004151937Sjkim  Previous Release:
5005151937Sjkim    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5006151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5007151937Sjkim  Current Release:
5008151937Sjkim    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5009151937Sjkim    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5010151937Sjkim
5011151937Sjkim2) iASL Compiler/Disassembler:
5012151937Sjkim
5013193267SjkimSwitch/Case support: A warning is now issued if the type of the Switch value 
5014193267Sjkimcannot be determined at compile time. For example, Switch(Arg0) will 
5015193267Sjkimgenerate the warning, and the type is assumed to be an integer. As per the 
5016193267SjkimACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
5017193267Sjkimwarning.
5018151937Sjkim
5019193267SjkimSwitch/Case support: Implemented support for buffer and string objects as 
5020193267Sjkimthe switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
5021193267Sjkimbuffers and strings.
5022151937Sjkim
5023193267SjkimSwitch/Case support: The emitted code for the LEqual() comparisons now uses 
5024193267Sjkimthe switch value as the first operand, not the second. The case value is now 
5025193267Sjkimthe second operand, and this allows the case value to be implicitly 
5026193267Sjkimconverted to the type of the switch value, not the other way around.
5027151937Sjkim
5028193267SjkimSwitch/Case support: Temporary variables are now emitted immediately within 
5029193267Sjkimthe control method, not at the global level. This means that there are now 
5030193267Sjkim36 temps available per-method, not 36 temps per-module as was the case with 
5031193267Sjkimthe earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5032151937Sjkim
5033151937Sjkim----------------------------------------
5034151937Sjkim14 January 2005.  Summary of changes for version 20050114:
5035151937Sjkim
5036193267SjkimAdded 2005 copyright to all module headers.  This affects every module in 
5037193267Sjkimthe core subsystem, iASL compiler, and the utilities.
5038151937Sjkim
5039151937Sjkim1) ACPI CA Core Subsystem:
5040151937Sjkim
5041193267SjkimFixed an issue with the String-to-Buffer conversion code where the string 
5042193267Sjkimnull terminator was not included in the buffer after conversion, but there 
5043193267Sjkimis existing ASL that assumes the string null terminator is included. This is 
5044193267Sjkimthe root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
5045193267Sjkimintroduced in the previous version when the code was updated to correctly 
5046193267Sjkimset the converted buffer size as per the ACPI specification. The ACPI spec 
5047193267Sjkimis ambiguous and will be updated to specify that the null terminator must be 
5048193267Sjkimincluded in the converted buffer. This also affects the ToBuffer() ASL 
5049193267Sjkimoperator.
5050151937Sjkim
5051193267SjkimFixed a problem with the Mid() ASL/AML operator where it did not work 
5052193267Sjkimcorrectly on Buffer objects. Newly created sub-buffers were not being marked 
5053193267Sjkimas initialized.
5054151937Sjkim
5055167802Sjkim
5056193267SjkimFixed a problem in AcpiTbFindTable where incorrect string compares were 
5057193267Sjkimperformed on the OemId and OemTableId table header fields.  These fields are 
5058193267Sjkimnot null terminated, so strncmp is now used instead of strcmp.
5059151937Sjkim
5060193267SjkimImplemented a restriction on the Store() ASL/AML operator to align the 
5061193267Sjkimbehavior with the ACPI specification.  Previously, any object could be used 
5062193267Sjkimas the source operand.  Now, the only objects that may be used are Integers, 
5063193267SjkimBuffers, Strings, Packages, Object References, and DDB Handles.  If 
5064193267Sjkimnecessary, the original behavior can be restored by enabling the 
5065151937SjkimEnableInterpreterSlack flag.
5066151937Sjkim
5067193267SjkimEnhanced the optional "implicit return" support to allow an implicit return 
5068193267Sjkimvalue from methods that are invoked externally via the AcpiEvaluateObject 
5069193267Sjkiminterface.  This enables implicit returns from the _STA and _INI methods, 
5070193267Sjkimfor example.
5071151937Sjkim
5072193267SjkimChanged the Revision() ASL/AML operator to return the current version of the 
5073193267SjkimAML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
5074193267Sjkimthe supported ACPI version (This is the function of the _REV method).
5075151937Sjkim
5076193267SjkimUpdated the _REV predefined method to return the currently supported version 
5077193267Sjkimof ACPI, now 3.
5078151937Sjkim
5079151937SjkimImplemented batch mode option for the AcpiExec utility (-b).
5080151937Sjkim
5081193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5082193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5083193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5084193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5085193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5086193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5087193267Sjkimthe compiler options used during generation.
5088151937Sjkim
5089151937Sjkim  Previous Release:
5090151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5091151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5092151937Sjkim  Current Release:
5093151937Sjkim    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5094151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5095151937Sjkim
5096151937Sjkim----------------------------------------
5097151937Sjkim10 December 2004.  Summary of changes for version 20041210:
5098151937Sjkim
5099193267SjkimACPI 3.0 support is nearing completion in both the iASL compiler and the 
5100193267SjkimACPI CA core subsystem.
5101151937Sjkim
5102151937Sjkim1) ACPI CA Core Subsystem:
5103151937Sjkim
5104193267SjkimFixed a problem in the ToDecimalString operator where the resulting string 
5105193267Sjkimlength was incorrectly calculated. The length is now calculated exactly, 
5106193267Sjkimeliminating incorrect AE_STRING_LIMIT exceptions.
5107151937Sjkim
5108193267SjkimFixed a problem in the ToHexString operator to allow a maximum 200 character 
5109193267Sjkimstring to be produced.
5110151937Sjkim
5111193267SjkimFixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
5112193267Sjkimroutine where the length of the resulting buffer was not truncated to the 
5113193267Sjkimnew size (if the target buffer already existed).
5114151937Sjkim
5115193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5116193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5117193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5118193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5119193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5120193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5121193267Sjkimthe compiler options used during generation.
5122151937Sjkim
5123151937Sjkim  Previous Release:
5124151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5125151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5126151937Sjkim  Current Release:
5127151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5128151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5129151937Sjkim
5130151937Sjkim
5131151937Sjkim2) iASL Compiler/Disassembler:
5132151937Sjkim
5133193267SjkimImplemented the new ACPI 3.0 resource template macros - DWordSpace, 
5134193267SjkimExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
5135193267SjkimIncludes support in the disassembler.
5136151937Sjkim
5137193267SjkimImplemented support for the new (ACPI 3.0) parameter to the Register macro, 
5138193267SjkimAccessSize.
5139151937Sjkim
5140193267SjkimFixed a problem where the _HE resource name for the Interrupt macro was 
5141193267Sjkimreferencing bit 0 instead of bit 1.
5142151937Sjkim
5143193267SjkimImplemented check for maximum 255 interrupts in the Interrupt macro.
5144151937Sjkim
5145193267SjkimFixed a problem with the predefined resource descriptor names where 
5146193267Sjkimincorrect AML code was generated if the offset within the resource buffer 
5147193267Sjkimwas 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
5148193267Sjkimbut did not update the surrounding package lengths.
5149151937Sjkim
5150193267SjkimChanges to the Dma macro:  All channels within the channel list must be in 
5151193267Sjkimthe range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
5152193267Sjkimoptional (default is BusMaster).
5153151937Sjkim
5154193267SjkimImplemented check for maximum 7 data bytes for the VendorShort macro.
5155151937Sjkim
5156193267SjkimThe ReadWrite parameter is now optional for the Memory32 and similar macros.
5157151937Sjkim
5158151937Sjkim----------------------------------------
5159151937Sjkim03 December 2004.  Summary of changes for version 20041203:
5160151937Sjkim
5161151937Sjkim1) ACPI CA Core Subsystem:
5162151937Sjkim
5163193267SjkimThe low-level field insertion/extraction code (exfldio) has been completely 
5164193267Sjkimrewritten to eliminate unnecessary complexity, bugs, and boundary 
5165193267Sjkimconditions.
5166151937Sjkim
5167193267SjkimFixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
5168193267Sjkimoperators where the input operand could be inadvertently deleted if no 
5169193267Sjkimconversion was necessary (e.g., if the input to ToInteger was an Integer 
5170193267Sjkimobject.)
5171151937Sjkim
5172193267SjkimFixed a problem with the ToDecimalString and ToHexString where an incorrect 
5173193267Sjkimexception code was returned if the resulting string would be > 200 chars.  
5174193267SjkimAE_STRING_LIMIT is now returned.
5175151937Sjkim
5176193267SjkimFixed a problem with the Concatenate operator where AE_OK was always 
5177193267Sjkimreturned, even if the operation failed.
5178151937Sjkim
5179193267SjkimFixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
5180193267Sjkimsemaphores to be allocated.
5181151937Sjkim
5182193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5183193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5184193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5185193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5186193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5187193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5188193267Sjkimthe compiler options used during generation.
5189151937Sjkim
5190151937Sjkim  Previous Release:
5191151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5192151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5193151937Sjkim  Current Release:
5194151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5195151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5196151937Sjkim
5197151937Sjkim
5198151937Sjkim2) iASL Compiler/Disassembler:
5199151937Sjkim
5200193267SjkimFixed typechecking for the ObjectType and SizeOf operators.  Problem was 
5201193267Sjkimrecently introduced in 20041119.
5202151937Sjkim
5203193267SjkimFixed a problem with the ToUUID macro where the upper nybble of each buffer 
5204193267Sjkimbyte was inadvertently set to zero.
5205151937Sjkim
5206151937Sjkim----------------------------------------
5207138287Smarks19 November 2004.  Summary of changes for version 20041119:
5208138287Smarks
5209138287Smarks1) ACPI CA Core Subsystem:
5210138287Smarks
5211193267SjkimFixed a problem in the internal ConvertToInteger routine where new integers 
5212193267Sjkimwere not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
5213193267Sjkimbuffers and strings to integers.
5214138287Smarks
5215193267SjkimImplemented support to store a value to an Index() on a String object. This 
5216193267Sjkimis an ACPI 2.0 feature that had not yet been implemented.
5217138287Smarks
5218193267SjkimImplemented new behavior for storing objects to individual package elements 
5219193267Sjkim(via the Index() operator). The previous behavior was to invoke the implicit 
5220193267Sjkimconversion rules if an object was already present at the index.  The new 
5221193267Sjkimbehavior is to simply delete any existing object and directly store the new 
5222193267Sjkimobject. Although the ACPI specification seems unclear on this subject, other 
5223193267SjkimACPI implementations behave in this manner.  (This is the root of the 
5224193267SjkimAE_BAD_HEX_CONSTANT issue.)
5225138287Smarks
5226193267SjkimModified the RSDP memory scan mechanism to support the extended checksum for 
5227193267SjkimACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
5228193267SjkimRSDP signature is found with a valid checksum.
5229138287Smarks
5230193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5231193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5232193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5233193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5234193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5235193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5236193267Sjkimthe compiler options used during generation.
5237138287Smarks
5238151937Sjkim  Previous Release:
5239151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5240151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5241151937Sjkim  Current Release:
5242151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5243151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5244138287Smarks
5245138287Smarks
5246138287Smarks2) iASL Compiler/Disassembler:
5247138287Smarks
5248138287SmarksFixed a missing semicolon in the aslcompiler.y file.
5249138287Smarks
5250138287Smarks----------------------------------------
5251138287Smarks05 November 2004.  Summary of changes for version 20041105:
5252138287Smarks
5253138287Smarks1) ACPI CA Core Subsystem:
5254138287Smarks
5255193267SjkimImplemented support for FADT revision 2.  This was an interim table (between 
5256193267SjkimACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
5257138287Smarks
5258193267SjkimImplemented optional support to allow uninitialized LocalX and ArgX 
5259193267Sjkimvariables in a control method.  The variables are initialized to an Integer 
5260193267Sjkimobject with a value of zero.  This support is enabled by setting the 
5261193267SjkimAcpiGbl_EnableInterpreterSlack flag to TRUE.
5262138287Smarks
5263193267SjkimImplemented support for Integer objects for the SizeOf operator.  Either 4 
5264193267Sjkimor 8 is returned, depending on the current integer size (32-bit or 64-bit, 
5265193267Sjkimdepending on the parent table revision).
5266138287Smarks
5267193267SjkimFixed a problem in the implementation of the SizeOf and ObjectType operators 
5268193267Sjkimwhere the operand was resolved to a value too early, causing incorrect 
5269193267Sjkimreturn values for some objects.
5270138287Smarks
5271138287SmarksFixed some possible memory leaks during exceptional conditions.
5272138287Smarks
5273193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5274193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5275193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5276193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5277193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5278193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5279193267Sjkimthe compiler options used during generation.
5280138287Smarks
5281138287Smarks  Previous Release:
5282138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5283138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5284138287Smarks  Current Release:
5285138287Smarks    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5286138287Smarks    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5287138287Smarks
5288138287Smarks
5289138287Smarks2) iASL Compiler/Disassembler:
5290138287Smarks
5291138287SmarksImplemented support for all ACPI 3.0 reserved names and methods.
5292138287Smarks
5293193267SjkimImplemented all ACPI 3.0 grammar elements in the front-end, including 
5294193267Sjkimsupport for semicolons.
5295138287Smarks
5296138287SmarksImplemented the ACPI 3.0 Function() and ToUUID() macros
5297138287Smarks
5298193267SjkimFixed a problem in the disassembler where a Scope() operator would not be 
5299193267Sjkimemitted properly if the target of the scope was in another table.
5300138287Smarks
5301138287Smarks----------------------------------------
5302138287Smarks15 October 2004.  Summary of changes for version 20041015:
5303138287Smarks
5304193267SjkimNote:  ACPI CA is currently undergoing an in-depth and complete formal 
5305193267Sjkimevaluation to test/verify the following areas. Other suggestions are 
5306193267Sjkimwelcome. This will result in an increase in the frequency of releases and 
5307193267Sjkimthe number of bug fixes in the next few months.
5308138287Smarks  - Functional tests for all ASL/AML operators
5309138287Smarks  - All implicit/explicit type conversions
5310138287Smarks  - Bit fields and operation regions
5311138287Smarks  - 64-bit math support and 32-bit-only "truncated" math support
5312138287Smarks  - Exceptional conditions, both compiler and interpreter
5313138287Smarks  - Dynamic object deletion and memory leaks
5314138287Smarks  - ACPI 3.0 support when implemented
5315138287Smarks  - External interfaces to the ACPI subsystem
5316138287Smarks
5317138287Smarks
5318138287Smarks1) ACPI CA Core Subsystem:
5319138287Smarks
5320193267SjkimFixed two alignment issues on 64-bit platforms - within debug statements in 
5321193267SjkimAcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
5322193267Sjkimfield within the non-aligned ACPI generic address structure.
5323138287Smarks
5324193267SjkimFixed a problem in the Increment and Decrement operators where incorrect 
5325193267Sjkimoperand resolution could result in the inadvertent modification of the 
5326193267Sjkimoriginal integer when the integer is passed into another method as an 
5327193267Sjkimargument and the arg is then incremented/decremented.
5328138287Smarks
5329193267SjkimFixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
5330193267SjkimBCD number were truncated during conversion.
5331138287Smarks
5332193267SjkimFixed a problem in the ToDecimal operator where the length of the resulting 
5333193267Sjkimstring could be set incorrectly too long if the input operand was a Buffer 
5334193267Sjkimobject.
5335138287Smarks
5336193267SjkimFixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
5337193267Sjkimwithin a buffer would prematurely terminate a compare between buffer 
5338193267Sjkimobjects.
5339138287Smarks
5340193267SjkimAdded a check for string overflow (>200 characters as per the ACPI 
5341193267Sjkimspecification) during the Concatenate operator with two string operands.
5342138287Smarks
5343193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5344193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5345193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5346193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5347193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5348193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5349193267Sjkimthe compiler options used during generation.
5350138287Smarks
5351138287Smarks  Previous Release:
5352138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5353138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5354138287Smarks  Current Release:
5355138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5356138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5357138287Smarks
5358138287Smarks
5359167802Sjkim
5360138287Smarks2) iASL Compiler/Disassembler:
5361138287Smarks
5362193267SjkimAllow the use of the ObjectType operator on uninitialized Locals and Args 
5363193267Sjkim(returns 0 as per the ACPI specification).
5364138287Smarks
5365193267SjkimFixed a problem where the compiler would fault if there was a syntax error 
5366193267Sjkimin the FieldName of all of the various CreateXXXField operators.
5367138287Smarks
5368193267SjkimDisallow the use of lower case letters within the EISAID macro, as per the 
5369193267SjkimACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
5370193267SjkimU is an uppercase letter and N is a hex digit.
5371138287Smarks
5372138287Smarks
5373138287Smarks----------------------------------------
5374138287Smarks06 October 2004.  Summary of changes for version 20041006:
5375138287Smarks
5376138287Smarks1) ACPI CA Core Subsystem:
5377138287Smarks
5378193267SjkimImplemented support for the ACPI 3.0 Timer operator. This ASL function 
5379193267Sjkimimplements a 64-bit timer with 100 nanosecond granularity.
5380138287Smarks
5381193267SjkimDefined a new OSL interface, AcpiOsGetTimer. This interface is used to 
5382193267Sjkimimplement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
5383193267Sjkimthe timer with the best clock available. Also, it keeps the core subsystem 
5384193267Sjkimout of the clock handling business, since the host OS (usually) performs 
5385193267Sjkimthis function.
5386138287Smarks
5387193267SjkimFixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
5388193267Sjkimfunctions use a 64-bit address which is part of the packed ACPI Generic 
5389193267SjkimAddress Structure. Since the structure is non-aligned, the alignment macros 
5390193267Sjkimare now used to extract the address to a local variable before use.
5391138287Smarks
5392193267SjkimFixed a problem where the ToInteger operator assumed all input strings were 
5393193267Sjkimhexadecimal. The operator now handles both decimal strings and hex strings 
5394193267Sjkim(prefixed with "0x").
5395138287Smarks
5396193267SjkimFixed a problem where the string length in the string object created as a 
5397193267Sjkimresult of the internal ConvertToString procedure could be incorrect. This 
5398193267Sjkimpotentially affected all implicit conversions and also the ToDecimalString 
5399193267Sjkimand ToHexString operators.
5400138287Smarks
5401193267SjkimFixed two problems in the ToString operator. If the length parameter was 
5402193267Sjkimzero, an incorrect string object was created and the value of the input 
5403193267Sjkimlength parameter was inadvertently changed from zero to Ones.
5404138287Smarks
5405193267SjkimFixed a problem where the optional ResourceSource string in the ExtendedIRQ 
5406193267Sjkimresource macro was ignored.
5407138287Smarks
5408193267SjkimSimplified the interfaces to the internal division functions, reducing code 
5409193267Sjkimsize and complexity.
5410138287Smarks
5411193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5412193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5413193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5414193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5415193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5416193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5417193267Sjkimthe compiler options used during generation.
5418138287Smarks
5419138287Smarks  Previous Release:
5420138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5421138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5422138287Smarks  Current Release:
5423138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5424138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5425138287Smarks
5426138287Smarks
5427138287Smarks2) iASL Compiler/Disassembler:
5428138287Smarks
5429138287SmarksImplemented support for the ACPI 3.0 Timer operator.
5430138287Smarks
5431193267SjkimFixed a problem where the Default() operator was inadvertently ignored in a 
5432193267SjkimSwitch/Case block.  This was a problem in the translation of the Switch 
5433193267Sjkimstatement to If...Else pairs.
5434138287Smarks
5435193267SjkimAdded support to allow a standalone Return operator, with no parentheses (or 
5436193267Sjkimoperands).
5437138287Smarks
5438193267SjkimFixed a problem with code generation for the ElseIf operator where the 
5439193267Sjkimtranslated Else...If parse tree was improperly constructed leading to the 
5440193267Sjkimloss of some code.
5441138287Smarks
5442138287Smarks----------------------------------------
5443138287Smarks22 September 2004.  Summary of changes for version 20040922:
5444138287Smarks
5445138287Smarks1) ACPI CA Core Subsystem:
5446138287Smarks
5447193267SjkimFixed a problem with the implementation of the LNot() operator where "Ones" 
5448193267Sjkimwas not returned for the TRUE case. Changed the code to return Ones instead 
5449193267Sjkimof (!Arg) which was usually 1. This change affects iASL constant folding for 
5450193267Sjkimthis operator also.
5451138287Smarks
5452193267SjkimFixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
5453193267Sjkiminitialized properly -- Now zero the entire buffer in this case where the 
5454193267Sjkimbuffer already exists.
5455138287Smarks
5456193267SjkimChanged the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
5457193267SjkimMilliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
5458193267Sjkimrelated code considerably. This will require changes/updates to all OS 
5459193267Sjkiminterface layers (OSLs.)
5460138287Smarks
5461193267SjkimImplemented a new external interface, AcpiInstallExceptionHandler, to allow 
5462193267Sjkima system exception handler to be installed. This handler is invoked upon any 
5463193267Sjkimrun-time exception that occurs during control method execution.
5464138287Smarks
5465193267SjkimAdded support for the DSDT in AcpiTbFindTable. This allows the 
5466138287SmarksDataTableRegion() operator to access the local copy of the DSDT.
5467138287Smarks
5468193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5469193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5470193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5471193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5472193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5473193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5474193267Sjkimthe compiler options used during generation.
5475138287Smarks
5476138287Smarks  Previous Release:
5477138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5478138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5479138287Smarks  Current Release:
5480138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5481138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5482138287Smarks
5483138287Smarks
5484138287Smarks2) iASL Compiler/Disassembler:
5485138287Smarks
5486193267SjkimFixed a problem with constant folding and the LNot operator. LNot was 
5487193267Sjkimreturning 1 in the TRUE case, not Ones as per the ACPI specification. This 
5488193267Sjkimcould result in the generation of an incorrect folded/reduced constant.
5489138287Smarks
5490193267SjkimEnd-Of-File is now allowed within a "//"-style comment.  A parse error no 
5491193267Sjkimlonger occurs if such a comment is at the very end of the input ASL source 
5492193267Sjkimfile.
5493138287Smarks
5494193267SjkimImplemented the "-r" option to override the Revision in the table header. 
5495193267SjkimThe initial use of this option will be to simplify the evaluation of the AML 
5496193267Sjkiminterpreter by allowing a single ASL source module to be compiled for either 
5497193267Sjkim32-bit or 64-bit integers.
5498138287Smarks
5499138287Smarks
5500138287Smarks----------------------------------------
5501138287Smarks27 August 2004.  Summary of changes for version 20040827:
5502138287Smarks
5503138287Smarks1) ACPI CA Core Subsystem:
5504138287Smarks
5505193267Sjkim- Implemented support for implicit object conversion in the non-numeric 
5506193267Sjkimlogical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
5507193267SjkimLNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
5508193267Sjkimthe second operand is implicitly converted on the fly to match the type of 
5509193267Sjkimthe first operand.  For example:
5510138287Smarks
5511138287Smarks    LEqual (Source1, Source2)
5512138287Smarks
5513193267SjkimSource1 and Source2 must each evaluate to an integer, a string, or a buffer. 
5514193267SjkimThe data type of Source1 dictates the required type of Source2. Source2 is 
5515193267Sjkimimplicitly converted if necessary to match the type of Source1.
5516138287Smarks
5517193267Sjkim- Updated and corrected the behavior of the string conversion support.  The 
5518193267Sjkimrules concerning conversion of buffers to strings (according to the ACPI 
5519193267Sjkimspecification) are as follows:
5520138287Smarks
5521193267SjkimToDecimalString - explicit byte-wise conversion of buffer to string of 
5522193267Sjkimdecimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
5523193267Sjkimconversion of buffer to string of hex values (0-FF) separated by commas. 
5524193267SjkimToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
5525193267Sjkimcopy with no transform except NULL terminated. Any other implicit buffer-to-
5526193267Sjkimstring conversion - byte-wise conversion of buffer to string of hex values 
5527193267Sjkim(0-FF) separated by spaces.
5528138287Smarks
5529138287Smarks- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
5530138287Smarks
5531193267Sjkim- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
5532193267Sjkimone byte too short in the case of a node in the root scope.  This could 
5533193267Sjkimcause a fault during debug output.
5534138287Smarks
5535193267Sjkim- Code and Data Size: Current and previous core subsystem library sizes are 
5536193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5537193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5538193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5539193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5540193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5541193267Sjkimthe compiler options used during generation.
5542138287Smarks
5543138287Smarks  Previous Release:
5544138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5545138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5546138287Smarks  Current Release:
5547138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5548138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5549138287Smarks
5550138287Smarks
5551138287Smarks2) iASL Compiler/Disassembler:
5552138287Smarks
5553138287Smarks- Fixed a Linux generation error.
5554138287Smarks
5555138287Smarks
5556138287Smarks----------------------------------------
5557138287Smarks16 August 2004.  Summary of changes for version 20040816:
5558138287Smarks
5559138287Smarks1) ACPI CA Core Subsystem:
5560138287Smarks
5561193267SjkimDesigned and implemented support within the AML interpreter for the so-
5562193267Sjkimcalled "implicit return".  This support returns the result of the last ASL 
5563193267Sjkimoperation within a control method, in the absence of an explicit Return() 
5564193267Sjkimoperator.  A few machines depend on this behavior, even though it is not 
5565193267Sjkimexplicitly supported by the ASL language.  It is optional support that can 
5566193267Sjkimbe enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
5567138287Smarks
5568193267SjkimRemoved support for the PCI_Config address space from the internal low level 
5569193267Sjkimhardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
5570193267Sjkimsupport was not used internally, and would not work correctly anyway because 
5571193267Sjkimthe PCI bus number and segment number were not supported.  There are 
5572193267Sjkimseparate interfaces for PCI configuration space access because of the unique 
5573138287Smarksinterface.
5574138287Smarks
5575193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5576193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5577193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5578193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5579193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5580193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5581193267Sjkimthe compiler options used during generation.
5582138287Smarks
5583138287Smarks  Previous Release:
5584138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5585138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5586138287Smarks  Current Release:
5587138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5588138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5589138287Smarks
5590138287Smarks
5591138287Smarks2) iASL Compiler/Disassembler:
5592138287Smarks
5593193267SjkimFixed a problem where constants in ASL expressions at the root level (not 
5594193267Sjkimwithin a control method) could be inadvertently truncated during code 
5595193267Sjkimgeneration.  This problem was introduced in the 20040715 release.
5596138287Smarks
5597138287Smarks
5598138287Smarks----------------------------------------
5599138287Smarks15 July 2004.  Summary of changes for version 20040715:
5600138287Smarks
5601138287Smarks1) ACPI CA Core Subsystem:
5602138287Smarks
5603193267SjkimRestructured the internal HW GPE interfaces to pass/track the current state 
5604193267Sjkimof interrupts (enabled/disabled) in order to avoid possible deadlock and 
5605193267Sjkimincrease flexibility of the interfaces.
5606138287Smarks
5607193267SjkimImplemented a "lexicographical compare" for String and Buffer objects within 
5608193267Sjkimthe logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
5609193267Sjkimas per further clarification to the ACPI specification.  Behavior is similar 
5610193267Sjkimto C library "strcmp".
5611138287Smarks
5612193267SjkimCompleted a major reduction in CPU stack use for the AcpiGetFirmwareTable 
5613193267Sjkimexternal function.  In the 32-bit non-debug case, the stack use has been 
5614193267Sjkimreduced from 168 bytes to 32 bytes.
5615138287Smarks
5616193267SjkimDeployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
5617193267Sjkimwhose purpose is to allow the AML interpreter to forgive certain bad AML 
5618193267Sjkimconstructs.  Default setting is FALSE.
5619138287Smarks
5620193267SjkimImplemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
5621193267Sjkimsupport code.  If enabled, it allows field access to go beyond the end of a 
5622193267Sjkimregion definition if the field is within the region length rounded up to the 
5623193267Sjkimnext access width boundary (a common coding error.)
5624138287Smarks
5625193267SjkimRenamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
5626193267SjkimACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
5627193267Sjkimsymbols are lowercased by the latest version of the AcpiSrc tool.
5628138287Smarks
5629193267SjkimThe prototypes for the PCI interfaces in acpiosxf.h have been updated to 
5630193267Sjkimrename "Register" to simply "Reg" to prevent certain compilers from 
5631193267Sjkimcomplaining.
5632138287Smarks
5633193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5634193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5635193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5636193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5637193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5638193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5639193267Sjkimthe compiler options used during generation.
5640138287Smarks
5641138287Smarks  Previous Release:
5642138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5643138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5644138287Smarks  Current Release:
5645138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5646138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5647138287Smarks
5648138287Smarks
5649138287Smarks2) iASL Compiler/Disassembler:
5650138287Smarks
5651193267SjkimImplemented full support for Package objects within the Case() operator.  
5652193267SjkimNote: The Break() operator is currently not supported within Case blocks 
5653193267Sjkim(TermLists) as there is some question about backward compatibility with ACPI 
5654193267Sjkim1.0 interpreters.
5655138287Smarks
5656167802Sjkim
5657193267SjkimFixed a problem where complex terms were not supported properly within the 
5658193267SjkimSwitch() operator.
5659138287Smarks
5660193267SjkimEliminated extraneous warning for compiler-emitted reserved names of the 
5661193267Sjkimform "_T_x".  (Used in Switch/Case operators.)
5662138287Smarks
5663193267SjkimEliminated optimization messages for "_T_x" objects and small constants 
5664193267Sjkimwithin the DefinitionBlock operator.
5665138287Smarks
5666138287Smarks
5667138287Smarks----------------------------------------
5668138287Smarks15 June 2004.  Summary of changes for version 20040615:
5669138287Smarks
5670138287Smarks1) ACPI CA Core Subsystem:
5671138287Smarks
5672193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
5673193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5674193267SjkimLLessEqual.
5675138287Smarks
5676193267SjkimAll directory names in the entire source package are lower case, as they 
5677193267Sjkimwere in earlier releases.
5678138287Smarks
5679193267SjkimImplemented "Disassemble" command in the AML debugger that will disassemble 
5680193267Sjkima single control method.
5681138287Smarks
5682193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5683193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5684193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5685193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5686193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5687193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5688193267Sjkimthe compiler options used during generation.
5689138287Smarks
5690138287Smarks  Previous Release:
5691138287Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5692138287Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5693167802Sjkim
5694138287Smarks  Current Release:
5695138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5696138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5697138287Smarks
5698138287Smarks
5699138287Smarks2) iASL Compiler/Disassembler:
5700138287Smarks
5701193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
5702193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5703193267SjkimLLessEqual.
5704138287Smarks
5705193267SjkimAll directory names in the entire source package are lower case, as they 
5706193267Sjkimwere in earlier releases.
5707138287Smarks
5708193267SjkimFixed a fault when using the -g or -d<nofilename> options if the FADT was 
5709193267Sjkimnot found.
5710138287Smarks
5711193267SjkimFixed an issue with the Windows version of the compiler where later versions 
5712193267Sjkimof Windows place the FADT in the registry under the name "FADT" and not 
5713193267Sjkim"FACP" as earlier versions did.  This applies when using the -g or -
5714193267Sjkimd<nofilename> options.  The compiler now looks for both strings as 
5715193267Sjkimnecessary.
5716138287Smarks
5717193267SjkimFixed a problem with compiler namepath optimization where a namepath within 
5718193267Sjkimthe Scope() operator could not be optimized if the namepath was a subpath of 
5719193267Sjkimthe current scope path.
5720138287Smarks
5721138287Smarks----------------------------------------
5722131440Smarks27 May 2004.  Summary of changes for version 20040527:
5723131440Smarks
5724131440Smarks1) ACPI CA Core Subsystem:
5725131440Smarks
5726193267SjkimCompleted a new design and implementation for EBDA (Extended BIOS Data Area) 
5727193267Sjkimsupport in the RSDP scan code.  The original code improperly scanned for the 
5728193267SjkimEBDA by simply scanning from memory location 0 to 0x400.  The correct method 
5729193267Sjkimis to first obtain the EBDA pointer from within the BIOS data area, then 
5730193267Sjkimscan 1K of memory starting at the EBDA pointer.  There appear to be few if 
5731131440Smarksany machines that place the RSDP in the EBDA, however.
5732131440Smarks
5733193267SjkimIntegrated a fix for a possible fault during evaluation of BufferField 
5734193267Sjkimarguments.  Obsolete code that was causing the problem was removed.
5735131440Smarks
5736193267SjkimFound and fixed a problem in the Field Support Code where data could be 
5737193267Sjkimcorrupted on a bit field read that starts on an aligned boundary but does 
5738193267Sjkimnot end on an aligned boundary.  Merged the read/write "datum length" 
5739193267Sjkimcalculation code into a common procedure.
5740131440Smarks
5741131440SmarksRolled in a couple of changes to the FreeBSD-specific header.
5742131440Smarks
5743167802Sjkim
5744193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5745193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5746193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5747193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5748193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5749193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5750193267Sjkimthe compiler options used during generation.
5751131440Smarks
5752131440Smarks  Previous Release:
5753131440Smarks    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5754131440Smarks    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5755131440Smarks  Current Release:
5756131440Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5757131440Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5758131440Smarks
5759131440Smarks
5760131440Smarks2) iASL Compiler/Disassembler:
5761131440Smarks
5762193267SjkimFixed a generation warning produced by some overly-verbose compilers for a 
5763193267Sjkim64-bit constant.
5764131440Smarks
5765131440Smarks----------------------------------------
5766129684Snjl14 May 2004.  Summary of changes for version 20040514:
5767129684Snjl
5768129684Snjl1) ACPI CA Core Subsystem:
5769129684Snjl
5770193267SjkimFixed a problem where hardware GPE enable bits sometimes not set properly 
5771193267Sjkimduring and after GPE method execution.  Result of 04/27 changes.
5772129684Snjl
5773129684SnjlRemoved extra "clear all GPEs" when sleeping/waking.
5774129684Snjl
5775193267SjkimRemoved AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
5776193267SjkimAcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
5777193267Sjkimthe new AcpiEv* calls as appropriate.
5778129684Snjl
5779193267SjkimACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
5780193267Sjkimnow "Microsoft Windows NT" for maximum compatibility.  However this can be 
5781193267Sjkimchanged by modifying the acconfig.h file.
5782129684Snjl
5783193267SjkimAllow a single invocation of AcpiInstallNotifyHandler for a handler that 
5784193267Sjkimtraps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
5785129684Snjl
5786193267SjkimRun _INI methods on ThermalZone objects.  This is against the ACPI 
5787193267Sjkimspecification, but there is apparently ASL code in the field that has these 
5788193267Sjkim_INI methods, and apparently "other" AML interpreters execute them.
5789129684Snjl
5790193267SjkimPerformed a full 16/32/64 bit lint that resulted in some small changes.
5791129684Snjl
5792193267SjkimAdded a sleep simulation command to the AML debugger to test sleep code. 
5793129684Snjl
5794193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5795193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5796193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5797193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5798193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5799193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5800193267Sjkimthe compiler options used during generation.
5801129684Snjl
5802129684Snjl  Previous Release:
5803129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5804129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5805129684Snjl  Current Release:
5806129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5807129684Snjl    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5808129684Snjl
5809129684Snjl----------------------------------------
5810129684Snjl27 April 2004.  Summary of changes for version 20040427:
5811129684Snjl
5812129684Snjl1) ACPI CA Core Subsystem:
5813129684Snjl
5814193267SjkimCompleted a major overhaul of the GPE handling within ACPI CA.  There are 
5815193267Sjkimnow three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
5816193267SjkimThe only GPEs allowed to be combination wake/run are for button-style 
5817193267Sjkimdevices such as a control-method power button, control-method sleep button, 
5818193267Sjkimor a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
5819193267Sjkimreferenced by any _PRW methods are marked for "runtime" and hardware 
5820193267Sjkimenabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
5821193267Sjkim(and disabled at runtime).  However, at sleep time, only those GPEs that 
5822193267Sjkimhave been specifically enabled for wake via the AcpiEnableGpe interface will 
5823193267Sjkimactually be hardware enabled.
5824129684Snjl
5825193267SjkimA new external interface has been added, AcpiSetGpeType(), that is meant to 
5826193267Sjkimbe used by device drivers to force a GPE to a particular type.  It will be 
5827193267Sjkimespecially useful for the drivers for the button devices mentioned above.
5828129684Snjl
5829193267SjkimCompleted restructuring of the ACPI CA initialization sequence so that 
5830193267Sjkimdefault operation region handlers are installed before GPEs are initialized 
5831193267Sjkimand the _PRW methods are executed.  This will prevent errors when the _PRW 
5832193267Sjkimmethods attempt to access system memory or I/O space.
5833129684Snjl
5834193267SjkimGPE enable/disable no longer reads the GPE enable register.  We now keep the 
5835193267Sjkimenable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
5836193267Sjkimthus no longer depend on the hardware to maintain these bits.
5837129684Snjl
5838193267SjkimAlways clear the wake status and fixed/GPE status bits before sleep, even 
5839193267Sjkimfor state S5.
5840129684Snjl
5841193267SjkimImproved the AML debugger output for displaying the GPE blocks and their 
5842193267Sjkimcurrent status.
5843129684Snjl
5844193267SjkimAdded new strings for the _OSI method, of the form "Windows 2001 SPx" where 
5845193267Sjkimx = 0,1,2,3,4.
5846129684Snjl
5847193267SjkimFixed a problem where the physical address was incorrectly calculated when 
5848193267Sjkimthe Load() operator was used to directly load from an Operation Region (vs. 
5849193267Sjkimloading from a Field object.)  Also added check for minimum table length for 
5850193267Sjkimthis case.
5851129684Snjl
5852193267SjkimFix for multiple mutex acquisition.  Restore original thread SyncLevel on 
5853193267Sjkimmutex release.
5854129684Snjl
5855193267SjkimAdded ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
5856129684Snjlconsistency with the other fields returned.
5857129684Snjl
5858193267SjkimShrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
5859193267Sjkimstructure for each GPE in the system, so the size of this structure is 
5860193267Sjkimimportant.
5861129684Snjl
5862193267SjkimCPU stack requirement reduction:  Cleaned up the method execution and object 
5863193267Sjkimevaluation paths so that now a parameter structure is passed, instead of 
5864193267Sjkimcopying the various method parameters over and over again.
5865129684Snjl
5866193267SjkimIn evregion.c:  Correctly exit and reenter the interpreter region if and 
5867193267Sjkimonly if dispatching an operation region request to a user-installed handler.  
5868193267SjkimDo not exit/reenter when dispatching to a default handler (e.g., default 
5869193267Sjkimsystem memory or I/O handlers)
5870129684Snjl
5871129684Snjl
5872193267SjkimNotes for updating drivers for the new GPE support.  The following changes 
5873193267Sjkimmust be made to ACPI-related device drivers that are attached to one or more 
5874193267SjkimGPEs: (This information will be added to the ACPI CA Programmer Reference.)
5875129684Snjl
5876193267Sjkim1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
5877193267Sjkimexplicitly call AcpiEnableGpe.
5878193267Sjkim2) There is a new interface called AcpiSetGpeType. This should be called 
5879193267Sjkimbefore enabling the GPE.  Also, this interface will automatically disable 
5880193267Sjkimthe GPE if it is currently enabled.
5881129684Snjl3) AcpiEnableGpe no longer supports a GPE type flag.
5882129684Snjl
5883129684SnjlSpecific drivers that must be changed:
5884129684Snjl1) EC driver:
5885193267Sjkim    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
5886129684SnjlAeGpeHandler, NULL);
5887129684Snjl    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
5888129684Snjl    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
5889129684Snjl
5890129684Snjl2) Button Drivers (Power, Lid, Sleep):
5891129684SnjlRun _PRW method under parent device
5892129684SnjlIf _PRW exists: /* This is a control-method button */
5893129684Snjl    Extract GPE number and possibly GpeDevice
5894129684Snjl    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
5895129684Snjl    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
5896129684Snjl
5897193267SjkimFor all other devices that have _PRWs, we automatically set the GPE type to 
5898193267SjkimACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
5899193267Sjkimmust be done on a selective basis, usually requiring some kind of user app 
5900193267Sjkimto allow the user to pick the wake devices.
5901129684Snjl
5902129684Snjl
5903193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5904193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5905193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5906193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5907193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5908193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5909193267Sjkimthe compiler options used during generation.
5910129684Snjl
5911129684Snjl  Previous Release:
5912129684Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5913129684Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5914129684Snjl  Current Release:
5915167802Sjkim
5916129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5917129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5918129684Snjl
5919129684Snjl
5920129684Snjl
5921129684Snjl----------------------------------------
5922128212Snjl02 April 2004.  Summary of changes for version 20040402:
5923128212Snjl
5924128212Snjl1) ACPI CA Core Subsystem:
5925128212Snjl
5926193267SjkimFixed an interpreter problem where an indirect store through an ArgX 
5927193267Sjkimparameter was incorrectly applying the "implicit conversion rules" during 
5928193267Sjkimthe store.  From the ACPI specification: "If the target is a method local or 
5929193267Sjkimargument (LocalX or ArgX), no conversion is performed and the result is 
5930193267Sjkimstored directly to the target".  The new behavior is to disable implicit 
5931193267Sjkimconversion during ALL stores to an ArgX.
5932128212Snjl
5933193267SjkimChanged the behavior of the _PRW method scan to ignore any and all errors 
5934193267Sjkimreturned by a given _PRW.  This prevents the scan from aborting from the 
5935193267Sjkimfailure of any single _PRW.
5936128212Snjl
5937193267SjkimMoved the runtime configuration parameters from the global init procedure to 
5938193267Sjkimstatic variables in acglobal.h.  This will allow the host to override the 
5939193267Sjkimdefault values easily.
5940128212Snjl
5941193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5942193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5943193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5944193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5945193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5946193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5947193267Sjkimthe compiler options used during generation.
5948128212Snjl
5949128212Snjl  Previous Release:
5950128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
5951128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
5952128212Snjl  Current Release:
5953128212Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5954128212Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5955128212Snjl
5956128212Snjl
5957128212Snjl2) iASL Compiler/Disassembler:
5958128212Snjl
5959193267SjkimiASL now fully disassembles SSDTs.  However, External() statements are not 
5960193267Sjkimgenerated automatically for unresolved symbols at this time.  This is a 
5961193267Sjkimplanned feature for future implementation.
5962128212Snjl
5963193267SjkimFixed a scoping problem in the disassembler that occurs when the type of the 
5964193267Sjkimtarget of a Scope() operator is overridden.  This problem caused an 
5965193267Sjkimincorrectly nested internal namespace to be constructed.
5966128212Snjl
5967193267SjkimAny warnings or errors that are emitted during disassembly are now commented 
5968193267Sjkimout automatically so that the resulting file can be recompiled without any 
5969193267Sjkimhand editing.
5970128212Snjl
5971128212Snjl----------------------------------------
5972128212Snjl26 March 2004.  Summary of changes for version 20040326:
5973128212Snjl
5974128212Snjl1) ACPI CA Core Subsystem:
5975128212Snjl
5976193267SjkimImplemented support for "wake" GPEs via interaction between GPEs and the 
5977193267Sjkim_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
5978193267Sjkimidentified as a WAKE GPE and by default will no longer be enabled at 
5979193267Sjkimruntime.  Previously, we were blindly enabling all GPEs with a corresponding 
5980193267Sjkim_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
5981193267Sjkimbelieve this has been the cause of thousands of "spurious" GPEs on some 
5982128212Snjlsystems.
5983128212Snjl
5984193267SjkimThis new GPE behavior is can be reverted to the original behavior (enable 
5985193267SjkimALL GPEs at runtime) via a runtime flag.
5986128212Snjl
5987193267SjkimFixed a problem where aliased control methods could not access objects 
5988193267Sjkimproperly.  The proper scope within the namespace was not initialized 
5989193267Sjkim(transferred to the target of the aliased method) before executing the 
5990193267Sjkimtarget method.
5991128212Snjl
5992193267SjkimFixed a potential race condition on internal object deletion on the return 
5993193267Sjkimobject in AcpiEvaluateObject. 
5994128212Snjl
5995193267SjkimIntegrated a fix for resource descriptors where both _MEM and _MTP were 
5996193267Sjkimbeing extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
5997193267Sjkimwide, 0x0F instead of 0x03.)
5998128212Snjl
5999193267SjkimAdded a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
6000193267Sjkimfault in some cases.
6001128212Snjl
6002128212SnjlUpdated Notify() values for debug statements in evmisc.c
6003128212Snjl
6004193267SjkimReturn proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6005128212Snjl
6006193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6007193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6008193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6009193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6010193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6011193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6012193267Sjkimthe compiler options used during generation.
6013128212Snjl
6014128212Snjl  Previous Release:
6015167802Sjkim
6016128212Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6017128212Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6018128212Snjl  Current Release:
6019128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6020128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6021128212Snjl
6022128212Snjl----------------------------------------
6023127175Snjl11 March 2004.  Summary of changes for version 20040311:
6024127175Snjl
6025127175Snjl1) ACPI CA Core Subsystem:
6026127175Snjl
6027193267SjkimFixed a problem where errors occurring during the parse phase of control 
6028193267Sjkimmethod execution did not abort cleanly.  For example, objects created and 
6029193267Sjkiminstalled in the namespace were not deleted.  This caused all subsequent 
6030193267Sjkiminvocations of the method to return the AE_ALREADY_EXISTS exception.
6031127175Snjl
6032193267SjkimImplemented a mechanism to force a control method to "Serialized" execution 
6033193267Sjkimif the method attempts to create namespace objects. (The root of the 
6034193267SjkimAE_ALREADY_EXISTS problem.)
6035127175Snjl
6036193267SjkimImplemented support for the predefined _OSI "internal" control method.  
6037193267SjkimInitial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
6038193267Sjkim"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
6039193267SjkimThis feature will allow "other" operating systems to execute the fully 
6040193267Sjkimtested, "Windows" code path through the ASL code
6041127175Snjl
6042193267SjkimGlobal Lock Support:  Now allows multiple acquires and releases with any 
6043193267Sjkiminternal thread.  Removed concept of "owning thread" for this special mutex.
6044127175Snjl
6045193267SjkimFixed two functions that were inappropriately declaring large objects on the 
6046193267SjkimCPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
6047193267Sjkimmethod execution considerably.
6048127175Snjl
6049193267SjkimFixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
6050193267SjkimS4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6051127175Snjl
6052193267SjkimFixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
6053193267Sjkimdefined on the machine.
6054127175Snjl
6055193267SjkimImplemented two runtime options:  One to force all control method execution 
6056193267Sjkimto "Serialized" to mimic Windows behavior, another to disable _OSI support 
6057193267Sjkimif it causes problems on a given machine.
6058127175Snjl
6059193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6060193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6061193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6062193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6063193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6064193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6065193267Sjkimthe compiler options used during generation.
6066127175Snjl
6067127175Snjl  Previous Release:
6068127175Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6069127175Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6070127175Snjl  Current Release:
6071127175Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6072127175Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6073127175Snjl
6074127175Snjl2) iASL Compiler/Disassembler:
6075127175Snjl
6076193267SjkimFixed an array size problem for FreeBSD that would cause the compiler to 
6077193267Sjkimfault.
6078127175Snjl
6079127175Snjl----------------------------------------
6080126372Snjl20 February 2004.  Summary of changes for version 20040220:
6081126372Snjl
6082167802Sjkim
6083126372Snjl1) ACPI CA Core Subsystem:
6084126372Snjl
6085193267SjkimImplemented execution of _SxD methods for Device objects in the 
6086126372SnjlGetObjectInfo interface.
6087126372Snjl
6088126372SnjlFixed calls to _SST method to pass the correct arguments.
6089126372Snjl
6090126372SnjlAdded a call to _SST on wake to restore to "working" state.
6091126372Snjl
6092193267SjkimCheck for End-Of-Buffer failure case in the WalkResources interface.
6093126372Snjl
6094193267SjkimIntegrated fix for 64-bit alignment issue in acglobal.h by moving two 
6095193267Sjkimstructures to the beginning of the file.
6096126372Snjl
6097126372SnjlAfter wake, clear GPE status register(s) before enabling GPEs.
6098126372Snjl
6099193267SjkimAfter wake, clear/enable power button.  (Perhaps we should clear/enable all 
6100193267Sjkimfixed events upon wake.)
6101126372Snjl
6102126372SnjlFixed a couple of possible memory leaks in the Namespace manager.
6103126372Snjl
6104126372SnjlIntegrated latest acnetbsd.h file.
6105126372Snjl
6106126372Snjl----------------------------------------
6107126372Snjl11 February 2004.  Summary of changes for version 20040211:
6108126372Snjl
6109167802Sjkim
6110126372Snjl1) ACPI CA Core Subsystem:
6111126372Snjl
6112193267SjkimCompleted investigation and implementation of the call-by-reference 
6113193267Sjkimmechanism for control method arguments.
6114126372Snjl
6115193267SjkimFixed a problem where a store of an object into an indexed package could 
6116193267Sjkimfail if the store occurs within a different method than the method that 
6117193267Sjkimcreated the package.
6118126372Snjl
6119193267SjkimFixed a problem where the ToDecimal operator could return incorrect results.
6120126372Snjl
6121193267SjkimFixed a problem where the CopyObject operator could fail on some of the more 
6122193267Sjkimobscure objects (e.g., Reference objects.)
6123126372Snjl
6124193267SjkimImproved the output of the Debug object to display buffer, package, and 
6125193267Sjkimindex objects.
6126126372Snjl
6127193267SjkimFixed a problem where constructs of the form "RefOf (ArgX)" did not return 
6128193267Sjkimthe expected result.
6129126372Snjl
6130193267SjkimAdded permanent ACPI_REPORT_ERROR macros for all instances of the 
6131126372SnjlACPI_AML_INTERNAL exception.
6132126372Snjl
6133126372SnjlIntegrated latest version of acfreebsd.h
6134126372Snjl
6135126372Snjl----------------------------------------
6136126372Snjl16 January 2004.  Summary of changes for version 20040116:
6137126372Snjl
6138193267SjkimThe purpose of this release is primarily to update the copyright years in 
6139193267Sjkimeach module, thus causing a huge number of diffs.  There are a few small 
6140193267Sjkimfunctional changes, however.
6141126372Snjl
6142126372Snjl1) ACPI CA Core Subsystem:
6143126372Snjl
6144193267SjkimImproved error messages when there is a problem finding one or more of the 
6145193267Sjkimrequired base ACPI tables
6146126372Snjl
6147126372SnjlReintroduced the definition of APIC_HEADER in actbl.h
6148126372Snjl
6149126372SnjlChanged definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6150126372Snjl
6151126372SnjlRemoved extraneous reference to NewObj in dsmthdat.c
6152126372Snjl
6153126372Snjl2) iASL compiler
6154126372Snjl
6155193267SjkimFixed a problem introduced in December that disabled the correct disassembly 
6156193267Sjkimof Resource Templates
6157126372Snjl
6158126372Snjl
6159126372Snjl----------------------------------------
6160126372Snjl03 December 2003.  Summary of changes for version 20031203:
6161126372Snjl
6162126372Snjl1) ACPI CA Core Subsystem:
6163126372Snjl
6164126372SnjlChanged the initialization of Operation Regions during subsystem
6165126372Snjlinit to perform two entire walks of the ACPI namespace; The first
6166126372Snjlto initialize the regions themselves, the second to execute the
6167126372Snjl_REG methods.  This fixed some interdependencies across _REG
6168126372Snjlmethods found on some machines.
6169126372Snjl
6170126372SnjlFixed a problem where a Store(Local0, Local1) could simply update
6171126372Snjlthe object reference count, and not create a new copy of the
6172126372Snjlobject if the Local1 is uninitialized.
6173126372Snjl
6174126372SnjlImplemented support for the _SST reserved method during sleep
6175126372Snjltransitions.
6176126372Snjl
6177126372SnjlImplemented support to clear the SLP_TYP and SLP_EN bits when
6178126372Snjlwaking up, this is apparently required by some machines.
6179126372Snjl
6180193267SjkimWhen sleeping, clear the wake status only if SleepState is not S5.
6181126372Snjl
6182126372SnjlFixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6183126372Snjlpointer arithmetic advanced a string pointer too far.
6184126372Snjl
6185126372SnjlFixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6186126372Snjlcould be returned if the requested table has not been loaded.
6187126372Snjl
6188193267SjkimWithin the support for IRQ resources, restructured the handling of
6189126372Snjlthe active and edge/level bits.
6190126372Snjl
6191126372SnjlFixed a few problems in AcpiPsxExecute() where memory could be
6192126372Snjlleaked under certain error conditions.
6193126372Snjl
6194126372SnjlImproved error messages for the cases where the ACPI mode could
6195126372Snjlnot be entered.
6196126372Snjl
6197126372SnjlCode and Data Size: Current and previous core subsystem library
6198126372Snjlsizes are shown below.  These are the code and data sizes for the
6199126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6200126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6201126372Snjldebug version of the code includes the debug output trace
6202126372Snjlmechanism and has a much larger code and data size.  Note that
6203193267Sjkimthese values will vary depending on the efficiency of the compiler
6204126372Snjland the compiler options used during generation.
6205126372Snjl
6206126372Snjl  Previous Release (20031029):
6207126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6208126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6209126372Snjl  Current Release:
6210126372Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6211126372Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6212126372Snjl
6213126372Snjl2) iASL Compiler/Disassembler:
6214126372Snjl
6215126372SnjlImplemented a fix for the iASL disassembler where a bad index was
6216126372Snjlgenerated.  This was most noticeable on 64-bit platforms
6217126372Snjl
6218126372Snjl
6219126372Snjl----------------------------------------
6220126372Snjl29 October 2003.  Summary of changes for version 20031029:
6221126372Snjl
6222126372Snjl1) ACPI CA Core Subsystem:
6223126372Snjl
6224167802Sjkim
6225126372SnjlFixed a problem where a level-triggered GPE with an associated
6226126372Snjl_Lxx control method was incorrectly cleared twice.
6227126372Snjl
6228126372SnjlFixed a problem with the Field support code where an access can
6229126372Snjloccur beyond the end-of-region if the field is non-aligned but
6230126372Snjlextends to the very end of the parent region (resulted in an
6231126372SnjlAE_AML_REGION_LIMIT exception.)
6232126372Snjl
6233126372SnjlFixed a problem with ACPI Fixed Events where an RT Clock handler
6234193267Sjkimwould not get invoked on an RTC event.  The RTC event bitmasks for
6235126372Snjlthe PM1 registers were not being initialized properly.
6236126372Snjl
6237126372SnjlImplemented support for executing _STA and _INI methods for
6238126372SnjlProcessor objects.  Although this is currently not part of the
6239193267SjkimACPI specification, there is existing ASL code that depends on the
6240126372Snjlinit-time execution of these methods.
6241126372Snjl
6242126372SnjlImplemented and deployed a GetDescriptorName function to decode
6243126372Snjlthe various types of internal descriptors.  Guards against null
6244126372Snjldescriptors during debug output also.
6245126372Snjl
6246126372SnjlImplemented and deployed a GetNodeName function to extract the 4-
6247193267Sjkimcharacter namespace node name.  This function simplifies the debug
6248193267Sjkimand error output, as well as guarding against null pointers during
6249126372Snjloutput.
6250126372Snjl
6251126372SnjlImplemented and deployed the ACPI_FORMAT_UINT64 helper macro to
6252126372Snjlsimplify the debug and error output of 64-bit integers.  This
6253126372Snjlmacro replaces the HIDWORD and LODWORD macros for dumping these
6254126372Snjlintegers.
6255126372Snjl
6256126372SnjlUpdated the implementation of the Stall() operator to only call
6257126372SnjlAcpiOsStall(), and also return an error if the operand is larger
6258126372Snjlthan 255.  This preserves the required behavior of not
6259126372Snjlrelinquishing the processor, as would happen if AcpiOsSleep() was
6260126372Snjlcalled for "long stalls".
6261126372Snjl
6262126372SnjlConstructs of the form "Store(LocalX,LocalX)" where LocalX is not
6263126372Snjlinitialized are now treated as NOOPs.
6264126372Snjl
6265126372SnjlCleaned up a handful of warnings during 64-bit generation.
6266126372Snjl
6267126372SnjlFixed a reported error where and incorrect GPE number was passed
6268126372Snjlto the GPE dispatch handler.  This value is only used for error
6269193267Sjkimoutput, however.  Used this opportunity to clean up and streamline
6270126372Snjlthe GPE dispatch code.
6271126372Snjl
6272126372SnjlCode and Data Size: Current and previous core subsystem library
6273126372Snjlsizes are shown below.  These are the code and data sizes for the
6274126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6275126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6276167802Sjkim
6277126372Snjldebug version of the code includes the debug output trace
6278126372Snjlmechanism and has a much larger code and data size.  Note that
6279193267Sjkimthese values will vary depending on the efficiency of the compiler
6280126372Snjland the compiler options used during generation.
6281126372Snjl
6282126372Snjl  Previous Release (20031002):
6283126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6284126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6285126372Snjl  Current Release:
6286126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6287126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6288126372Snjl
6289126372Snjl
6290126372Snjl2) iASL Compiler/Disassembler:
6291126372Snjl
6292193267SjkimUpdated the iASL compiler to return an error if the operand to the
6293126372SnjlStall() operator is larger than 255.
6294126372Snjl
6295126372Snjl
6296126372Snjl----------------------------------------
6297126372Snjl02 October 2003.  Summary of changes for version 20031002:
6298126372Snjl
6299126372Snjl
6300126372Snjl1) ACPI CA Core Subsystem:
6301126372Snjl
6302126372SnjlFixed a problem with Index Fields where the index was not
6303126372Snjlincremented for fields that require multiple writes to the
6304126372Snjlindex/data registers (Fields that are wider than the data
6305126372Snjlregister.)
6306126372Snjl
6307126372SnjlFixed a problem with all Field objects where a write could go
6308126372Snjlbeyond the end-of-field if the field was larger than the access
6309193267Sjkimgranularity and therefore required multiple writes to complete the
6310126372Snjlrequest.  An extra write beyond the end of the field could happen
6311126372Snjlinadvertently.
6312126372Snjl
6313126372SnjlFixed a problem with Index Fields where a BUFFER_OVERFLOW error
6314126372Snjlwould incorrectly be returned if the width of the Data Register
6315126372Snjlwas larger than the specified field access width.
6316126372Snjl
6317126372SnjlCompleted fixes for LoadTable() and Unload() and verified their
6318126372Snjloperation.  Implemented full support for the "DdbHandle" object
6319126372Snjlthroughout the ACPI CA subsystem.
6320126372Snjl
6321126372SnjlImplemented full support for the MADT and ECDT tables in the ACPI
6322126372SnjlCA header files.  Even though these tables are not directly
6323126372Snjlconsumed by ACPI CA, the header definitions are useful for ACPI
6324126372Snjldevice drivers.
6325126372Snjl
6326126372SnjlIntegrated resource descriptor fixes posted to the Linux ACPI
6327126372Snjllist.  This included checks for minimum descriptor length, and
6328126372Snjlsupport for trailing NULL strings within descriptors that have
6329126372Snjloptional string elements.
6330126372Snjl
6331126372SnjlCode and Data Size: Current and previous core subsystem library
6332126372Snjlsizes are shown below.  These are the code and data sizes for the
6333126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6334126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6335126372Snjldebug version of the code includes the debug output trace
6336126372Snjlmechanism and has a much larger code and data size.  Note that
6337193267Sjkimthese values will vary depending on the efficiency of the compiler
6338126372Snjland the compiler options used during generation.
6339126372Snjl
6340126372Snjl  Previous Release (20030918):
6341126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6342126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6343126372Snjl  Current Release:
6344126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6345126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6346126372Snjl
6347126372Snjl
6348126372Snjl2) iASL Compiler:
6349126372Snjl
6350126372SnjlImplemented detection of non-ASCII characters within the input
6351126372Snjlsource ASL file.  This catches attempts to compile binary (AML)
6352126372Snjlfiles early in the compile, with an informative error message.
6353126372Snjl
6354126372SnjlFixed a problem where the disassembler would fault if the output
6355193267Sjkimfilename could not be generated or if the output file could not be
6356126372Snjlopened.
6357126372Snjl
6358126372Snjl----------------------------------------
6359126372Snjl18 September 2003.  Summary of changes for version 20030918:
6360126372Snjl
6361126372Snjl
6362126372Snjl1) ACPI CA Core Subsystem:
6363126372Snjl
6364126372SnjlFound and fixed a longstanding problem with the late execution of
6365126372Snjlthe various deferred AML opcodes (such as Operation Regions,
6366126372SnjlBuffer Fields, Buffers, and Packages).  If the name string
6367126372Snjlspecified for the name of the new object placed the object in a
6368126372Snjlscope other than the current scope, the initialization/execution
6369126372Snjlof the opcode failed.  The solution to this problem was to
6370126372Snjlimplement a mechanism where the late execution of such opcodes
6371126372Snjldoes not attempt to lookup/create the name a second time in an
6372126372Snjlincorrect scope.  This fixes the "region size computed
6373126372Snjlincorrectly" problem.
6374126372Snjl
6375193267SjkimFixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
6376126372SnjlGlobal Lock AE_BAD_PARAMETER error.
6377126372Snjl
6378126372SnjlFixed several 64-bit issues with prototypes, casting and data
6379126372Snjltypes.
6380126372Snjl
6381126372SnjlRemoved duplicate prototype from acdisasm.h
6382126372Snjl
6383126372SnjlFixed an issue involving EC Operation Region Detach (Shaohua Li)
6384126372Snjl
6385126372SnjlCode and Data Size: Current and previous core subsystem library
6386126372Snjlsizes are shown below.  These are the code and data sizes for the
6387126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6388126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6389126372Snjldebug version of the code includes the debug output trace
6390126372Snjlmechanism and has a much larger code and data size.  Note that
6391193267Sjkimthese values will vary depending on the efficiency of the compiler
6392126372Snjland the compiler options used during generation.
6393126372Snjl
6394126372Snjl  Previous Release:
6395167802Sjkim
6396126372Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6397126372Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6398126372Snjl  Current Release:
6399126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6400126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6401126372Snjl
6402126372Snjl
6403126372Snjl2) Linux:
6404126372Snjl
6405126372SnjlFixed the AcpiOsSleep implementation in osunixxf.c to pass the
6406126372Snjlcorrect sleep time in seconds.
6407126372Snjl
6408126372Snjl----------------------------------------
6409126372Snjl14 July 2003.  Summary of changes for version 20030619:
6410126372Snjl
6411126372Snjl1) ACPI CA Core Subsystem:
6412126372Snjl
6413126372SnjlParse SSDTs in order discovered, as opposed to reverse order
6414126372Snjl(Hrvoje Habjanic)
6415126372Snjl
6416126372SnjlFixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
6417126372SnjlKlausner,
6418126372Snjl   Nate Lawson)
6419126372Snjl
6420126372Snjl
6421126372Snjl2) Linux:
6422126372Snjl
6423126372SnjlDynamically allocate SDT list (suggested by Andi Kleen)
6424126372Snjl
6425126372Snjlproc function return value cleanups (Andi Kleen)
6426126372Snjl
6427126372SnjlCorrectly handle NMI watchdog during long stalls (Andrew Morton)
6428126372Snjl
6429126372SnjlMake it so acpismp=force works (reported by Andrew Morton)
6430126372Snjl
6431126372Snjl
6432126372Snjl----------------------------------------
6433117521Snjl19 June 2003.  Summary of changes for version 20030619:
6434117521Snjl
6435117521Snjl1) ACPI CA Core Subsystem:
6436117521Snjl
6437193267SjkimFix To/FromBCD, eliminating the need for an arch-specific #define.
6438117521Snjl
6439117521SnjlDo not acquire a semaphore in the S5 shutdown path.
6440117521Snjl
6441117521SnjlFix ex_digits_needed for 0. (Takayoshi Kochi)
6442117521Snjl
6443117521SnjlFix sleep/stall code reversal. (Andi Kleen)
6444117521Snjl
6445117521SnjlRevert a change having to do with control method calling
6446117521Snjlsemantics.
6447117521Snjl
6448117521Snjl2) Linux:
6449117521Snjl
6450117521Snjlacpiphp update (Takayoshi Kochi)
6451117521Snjl
6452117521SnjlExport acpi_disabled for sonypi (Stelian Pop)
6453117521Snjl
6454117521SnjlMention acpismp=force in config help
6455117521Snjl
6456117521SnjlRe-add acpitable.c and acpismp=force. This improves backwards
6457167802Sjkim
6458193267Sjkimcompatibility and also cleans up the code to a significant degree.
6459117521Snjl
6460117521SnjlAdd ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
6461117521Snjl
6462117521Snjl----------------------------------------
6463117521Snjl22 May 2003.  Summary of changes for version 20030522:
6464117521Snjl
6465117521Snjl1) ACPI CA Core Subsystem:
6466117521Snjl
6467117521SnjlFound and fixed a reported problem where an AE_NOT_FOUND error
6468117521Snjloccurred occasionally during _BST evaluation.  This turned out to
6469117521Snjlbe an Owner ID allocation issue where a called method did not get
6470193267Sjkima new ID assigned to it.  Eventually, (after 64k calls), the Owner
6471193267SjkimID UINT16 would wraparound so that the ID would be the same as the
6472126372Snjlcaller's and the called method would delete the caller's
6473117521Snjlnamespace.
6474117521Snjl
6475117521SnjlImplemented extended error reporting for control methods that are
6476117521Snjlaborted due to a run-time exception.  Output includes the exact
6477193267SjkimAML instruction that caused the method abort, a dump of the method
6478126372Snjllocals and arguments at the time of the abort, and a trace of all
6479126372Snjlnested control method calls.
6480117521Snjl
6481117521SnjlModified the interpreter to allow the creation of buffers of zero
6482117521Snjllength from the AML code. Implemented new code to ensure that no
6483117521Snjlattempt is made to actually allocate a memory buffer (of length
6484193267Sjkimzero) - instead, a simple buffer object with a NULL buffer pointer
6485126372Snjland length zero is created.  A warning is no longer issued when
6486126372Snjlthe AML attempts to create a zero-length buffer.
6487117521Snjl
6488117521SnjlImplemented a workaround for the "leading asterisk issue" in
6489117521Snjl_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
6490117521Snjlasterisk is automatically removed if present in any HID, UID, or
6491117521SnjlCID strings.  The iASL compiler will still flag this asterisk as
6492117521Snjlan error, however.
6493117521Snjl
6494193267SjkimImplemented full support for _CID methods that return a package of
6495193267Sjkimmultiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
6496126372Snjlnow additionally returns a device _CID list if present.  This
6497126372Snjlrequired a change to the external interface in order to pass an
6498126372SnjlACPI_BUFFER object as a parameter since the _CID list is of
6499117521Snjlvariable length.
6500117521Snjl
6501117521SnjlFixed a problem with the new AE_SAME_HANDLER exception where
6502117521Snjlhandler initialization code did not know about this exception.
6503117521Snjl
6504117521SnjlCode and Data Size: Current and previous core subsystem library
6505117521Snjlsizes are shown below.  These are the code and data sizes for the
6506117521Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6507117521Snjlthese values do not include any ACPI driver or OSPM code.  The
6508117521Snjldebug version of the code includes the debug output trace
6509117521Snjlmechanism and has a much larger code and data size.  Note that
6510193267Sjkimthese values will vary depending on the efficiency of the compiler
6511126372Snjland the compiler options used during generation.
6512117521Snjl
6513117521Snjl  Previous Release (20030509):
6514117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6515117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6516117521Snjl  Current Release:
6517117521Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6518117521Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6519117521Snjl
6520117521Snjl
6521117521Snjl2) Linux:
6522117521Snjl
6523117521SnjlFixed a bug in which we would reinitialize the ACPI interrupt
6524193267Sjkimafter it was already working, thus disabling all ACPI and the IRQs
6525126372Snjlfor any other device sharing the interrupt. (Thanks to Stian
6526117521SnjlJordet)
6527117521Snjl
6528117521SnjlToshiba driver update (John Belmonte)
6529117521Snjl
6530117521SnjlReturn only 0 or 1 for our interrupt handler status (Andrew
6531117521SnjlMorton)
6532117521Snjl
6533117521Snjl
6534117521Snjl3) iASL Compiler:
6535117521Snjl
6536117521SnjlFixed a reported problem where multiple (nested) ElseIf()
6537117521Snjlstatements were not handled correctly by the compiler, resulting
6538117521Snjlin incorrect warnings and incorrect AML code.  This was a problem
6539117521Snjlin both the ASL parser and the code generator.
6540117521Snjl
6541117521Snjl
6542117521Snjl4) Documentation:
6543117521Snjl
6544193267SjkimAdded changes to existing interfaces, new exception codes, and new
6545126372Snjltext concerning reference count object management versus garbage
6546126372Snjlcollection.
6547117521Snjl
6548117521Snjl----------------------------------------
6549117521Snjl09 May 2003.  Summary of changes for version 20030509.
6550117521Snjl
6551117521Snjl
6552117521Snjl1) ACPI CA Core Subsystem:
6553117521Snjl
6554117521SnjlChanged the subsystem initialization sequence to hold off
6555193267Sjkiminstallation of address space handlers until the hardware has been
6556193267Sjkiminitialized and the system has entered ACPI mode.  This is because
6557126372Snjlthe installation of space handlers can cause _REG methods to be
6558193267Sjkimrun.  Previously, the _REG methods could potentially be run before
6559126372SnjlACPI mode was enabled.
6560117521Snjl
6561193267SjkimFixed some memory leak issues related to address space handler and
6562126372Snjlnotify handler installation.  There were some problems with the
6563126372Snjlreference count mechanism caused by the fact that the handler
6564117521Snjlobjects are shared across several namespace objects.
6565117521Snjl
6566117521SnjlFixed a reported problem where reference counts within the
6567117521Snjlnamespace were not properly updated when named objects created by
6568117521Snjlmethod execution were deleted.
6569117521Snjl
6570117521SnjlFixed a reported problem where multiple SSDTs caused a deletion
6571117521Snjlissue during subsystem termination.  Restructured the table data
6572117521Snjlstructures to simplify the linked lists and the related code.
6573117521Snjl
6574117521SnjlFixed a problem where the table ID associated with secondary
6575193267Sjkimtables (SSDTs) was not being propagated into the namespace objects
6576126372Snjlcreated by those tables.  This would only present a problem for
6577126372Snjltables that are unloaded at run-time, however.
6578117521Snjl
6579117521SnjlUpdated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
6580117521Snjltype as the length parameter (instead of UINT32).
6581117521Snjl
6582117521SnjlSolved a long-standing problem where an ALREADY_EXISTS error
6583117521Snjlappears on various systems.  This problem could happen when there
6584117521Snjlare multiple PCI_Config operation regions under a single PCI root
6585117521Snjlbus.  This doesn't happen very frequently, but there are some
6586117521Snjlsystems that do this in the ASL.
6587117521Snjl
6588117521SnjlFixed a reported problem where the internal DeleteNode function
6589117521Snjlwas incorrectly handling the case where a namespace node was the
6590117521Snjlfirst in the parent's child list, and had additional peers (not
6591117521Snjlthe only child, but first in the list of children.)
6592117521Snjl
6593193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6594126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6595126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6596126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6597126372Snjlversion of the code includes the debug output trace mechanism and
6598193267Sjkimhas a much larger code and data size.  Note that these values will
6599126372Snjlvary depending on the efficiency of the compiler and the compiler
6600126372Snjloptions used during generation.
6601117521Snjl
6602117521Snjl  Previous Release
6603117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6604117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6605117521Snjl  Current Release:
6606117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6607117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6608117521Snjl
6609117521Snjl
6610117521Snjl2) Linux:
6611117521Snjl
6612117521SnjlAllow ":" in OS override string (Ducrot Bruno)
6613117521Snjl
6614117521SnjlKobject fix (Greg KH)
6615117521Snjl
6616117521Snjl
6617117521Snjl3 iASL Compiler/Disassembler:
6618117521Snjl
6619117521SnjlFixed a problem in the generation of the C source code files (AML
6620117521Snjlis emitted in C source statements for BIOS inclusion) where the
6621193267SjkimAscii dump that appears within a C comment at the end of each line
6622126372Snjlcould cause a compile time error if the AML sequence happens to
6623126372Snjlhave an open comment or close comment sequence embedded.
6624117521Snjl
6625117521Snjl
6626117521Snjl----------------------------------------
6627117521Snjl24 April 2003.  Summary of changes for version 20030424.
6628117521Snjl
6629117521Snjl
6630117521Snjl1) ACPI CA Core Subsystem:
6631117521Snjl
6632117521SnjlSupport for big-endian systems has been implemented.  Most of the
6633193267Sjkimsupport has been invisibly added behind big-endian versions of the
6634126372SnjlACPI_MOVE_* macros.
6635117521Snjl
6636117521SnjlFixed a problem in AcpiHwDisableGpeBlock() and
6637117521SnjlAcpiHwClearGpeBlock() where an incorrect offset was passed to the
6638117521Snjllow level hardware write routine.  The offset parameter was
6639193267Sjkimactually eliminated from the low level read/write routines because
6640126372Snjlthey had become obsolete.
6641117521Snjl
6642117521SnjlFixed a problem where a handler object was deleted twice during
6643117521Snjlthe removal of a fixed event handler.
6644117521Snjl
6645117521Snjl
6646117521Snjl2) Linux:
6647117521Snjl
6648117521SnjlA fix for SMP systems with link devices was contributed by
6649167802Sjkim
6650117521SnjlCompaq's Dan Zink.
6651117521Snjl
6652117521Snjl(2.5) Return whether we handled the interrupt in our IRQ handler.
6653193267Sjkim(Linux ISRs no longer return void, so we can propagate the handler
6654126372Snjlreturn value from the ACPI CA core back to the OS.)
6655117521Snjl
6656117521Snjl
6657167802Sjkim
6658117521Snjl3) Documentation:
6659117521Snjl
6660117521SnjlThe ACPI CA Programmer Reference has been updated to reflect new
6661117521Snjlinterfaces and changes to existing interfaces.
6662117521Snjl
6663117521Snjl----------------------------------------
6664117521Snjl28 March 2003.  Summary of changes for version 20030328.
6665117521Snjl
6666117521Snjl1) ACPI CA Core Subsystem:
6667117521Snjl
6668117521SnjlThe GPE Block Device support has been completed.  New interfaces
6669117521Snjlare AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
6670117521Snjlinterfaces (enable, disable, clear, getstatus) have been split
6671117521Snjlinto separate interfaces for Fixed Events and General Purpose
6672117521SnjlEvents (GPEs) in order to support GPE Block Devices properly.
6673117521Snjl
6674117521SnjlFixed a problem where the error message "Failed to acquire
6675117521Snjlsemaphore" would appear during operations on the embedded
6676117521Snjlcontroller (EC).
6677117521Snjl
6678193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6679126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6680126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6681126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6682126372Snjlversion of the code includes the debug output trace mechanism and
6683193267Sjkimhas a much larger code and data size.  Note that these values will
6684126372Snjlvary depending on the efficiency of the compiler and the compiler
6685126372Snjloptions used during generation.
6686117521Snjl
6687117521Snjl  Previous Release
6688117521Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6689117521Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6690117521Snjl  Current Release:
6691117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6692117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6693117521Snjl
6694117521Snjl
6695117521Snjl----------------------------------------
6696114237Snjl28 February 2003.  Summary of changes for version 20030228.
6697114237Snjl
6698114237Snjl
6699114237Snjl1) ACPI CA Core Subsystem:
6700114237Snjl
6701114237SnjlThe GPE handling and dispatch code has been completely overhauled
6702114237Snjlin preparation for support of GPE Block Devices (ID ACPI0006).
6703114237SnjlThis affects internal data structures and code only; there should
6704114237Snjlbe no differences visible externally.  One new file has been
6705114237Snjladded, evgpeblk.c
6706114237Snjl
6707114237SnjlThe FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
6708114237Snjlfields that are used to determine the GPE block lengths.  The
6709114237SnjlREGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
6710193267Sjkimstructures are ignored.  This is per the ACPI specification but it
6711126372Snjlisn't very clear.  The full 256 Block 0/1 GPEs are now supported
6712193267Sjkim(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
6713114237Snjl
6714114237SnjlIn the SCI interrupt handler, removed the read of the PM1_CONTROL
6715114237Snjlregister to look at the SCI_EN bit.  On some machines, this read
6716114237Snjlcauses an SMI event and greatly slows down SCI events.  (This may
6717114237Snjlin fact be the cause of slow battery status response on some
6718114237Snjlsystems.)
6719114237Snjl
6720193267SjkimFixed a problem where a store of a NULL string to a package object
6721126372Snjlcould cause the premature deletion of the object.  This was seen
6722126372Snjlduring execution of the battery _BIF method on some systems,
6723126372Snjlresulting in no battery data being returned.
6724114237Snjl
6725114237SnjlAdded AcpiWalkResources interface to simplify parsing of resource
6726114237Snjllists.
6727114237Snjl
6728193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6729126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6730126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6731126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6732126372Snjlversion of the code includes the debug output trace mechanism and
6733193267Sjkimhas a much larger code and data size.  Note that these values will
6734126372Snjlvary depending on the efficiency of the compiler and the compiler
6735126372Snjloptions used during generation.
6736114237Snjl
6737114237Snjl  Previous Release
6738114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6739114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6740114237Snjl  Current Release:
6741114237Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6742114237Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6743114237Snjl
6744114237Snjl
6745114237Snjl2) Linux
6746114237Snjl
6747114237SnjlS3 fixes (Ole Rohne)
6748114237Snjl
6749114237SnjlUpdate ACPI PHP driver with to use new acpi_walk_resource API
6750114237Snjl(Bjorn Helgaas)
6751114237Snjl
6752114237SnjlAdd S4BIOS support (Pavel Machek)
6753114237Snjl
6754114237SnjlMap in entire table before performing checksum (John Stultz)
6755114237Snjl
6756193267SjkimExpand the mem= cmdline to allow the specification of reserved and
6757126372SnjlACPI DATA blocks (Pavel Machek)
6758114237Snjl
6759114237SnjlNever use ACPI on VISWS
6760114237Snjl
6761114237SnjlFix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
6762114237Snjl
6763114237SnjlRevert a change that allowed P_BLK lengths to be 4 or 5. This is
6764114237Snjlcausing us to think that some systems support C2 when they really
6765114237Snjldon't.
6766114237Snjl
6767114237SnjlDo not count processor objects for non-present CPUs (Thanks to
6768114237SnjlDominik Brodowski)
6769114237Snjl
6770114237Snjl
6771114237Snjl3) iASL Compiler:
6772114237Snjl
6773114237SnjlFixed a problem where ASL include files could not be found and
6774114237Snjlopened.
6775114237Snjl
6776114237SnjlAdded support for the _PDC reserved name.
6777114237Snjl
6778114237Snjl
6779117521Snjl----------------------------------------
6780114237Snjl22 January 2003.  Summary of changes for version 20030122.
6781114237Snjl
6782114237Snjl
6783114237Snjl1) ACPI CA Core Subsystem:
6784114237Snjl
6785114237SnjlAdded a check for constructs of the form:  Store (Local0, Local0)
6786114237Snjlwhere Local0 is not initialized.  Apparently, some BIOS
6787193267Sjkimprogrammers believe that this is a NOOP.  Since this store doesn't
6788126372Snjldo anything anyway, the new prototype behavior will ignore this
6789126372Snjlerror.  This is a case where we can relax the strict checking in
6790126372Snjlthe interpreter in the name of compatibility.
6791114237Snjl
6792114237Snjl
6793114237Snjl2) Linux
6794114237Snjl
6795114237SnjlThe AcpiSrc Source Conversion Utility has been released with the
6796114237SnjlLinux package for the first time.  This is the utility that is
6797193267Sjkimused to convert the ACPI CA base source code to the Linux version.
6798114237Snjl
6799114237Snjl(Both) Handle P_BLK lengths shorter than 6 more gracefully
6800114237Snjl
6801114237Snjl(Both) Move more headers to include/acpi, and delete an unused
6802114237Snjlheader.
6803114237Snjl
6804114237Snjl(Both) Move drivers/acpi/include directory to include/acpi
6805114237Snjl
6806114237Snjl(Both) Boot functions don't use cmdline, so don't pass it around
6807114237Snjl
6808114237Snjl(Both) Remove include of unused header (Adrian Bunk)
6809114237Snjl
6810114237Snjl(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
6811114237Snjlthe
6812193267Sjkimformer now also includes the latter, acpiphp.h only needs the one,
6813126372Snjlnow.
6814114237Snjl
6815193267Sjkim(2.5) Make it possible to select method of bios restoring after S3
6816114237Snjlresume. [=> no more ugly ifdefs] (Pavel Machek)
6817114237Snjl
6818114237Snjl(2.5) Make proc write interfaces work (Pavel Machek)
6819114237Snjl
6820114237Snjl(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
6821114237Snjl
6822114237Snjl(2.5) Break out ACPI Perf code into its own module, under cpufreq
6823114237Snjl(Dominik Brodowski)
6824114237Snjl
6825114237Snjl(2.4) S4BIOS support (Ducrot Bruno)
6826114237Snjl
6827114237Snjl(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
6828114237SnjlVisinoni)
6829114237Snjl
6830114237Snjl
6831114237Snjl3) iASL Compiler:
6832114237Snjl
6833114237SnjlAdded support to disassemble SSDT and PSDTs.
6834114237Snjl
6835114237SnjlImplemented support to obtain SSDTs from the Windows registry if
6836114237Snjlavailable.
6837114237Snjl
6838114237Snjl
6839102550Siwasaki----------------------------------------
6840114237Snjl09 January 2003.  Summary of changes for version 20030109.
6841114237Snjl
6842114237Snjl1) ACPI CA Core Subsystem:
6843114237Snjl
6844114237SnjlChanged the behavior of the internal Buffer-to-String conversion
6845193267Sjkimfunction.  The current ACPI specification states that the contents
6846126372Snjlof the buffer are "converted to a string of two-character
6847126372Snjlhexadecimal numbers, each separated by a space".  Unfortunately,
6848193267Sjkimthis definition is not backwards compatible with existing ACPI 1.0
6849193267Sjkimimplementations (although the behavior was not defined in the ACPI
6850126372Snjl1.0 specification).  The new behavior simply copies data from the
6851193267Sjkimbuffer to the string until a null character is found or the end of
6852126372Snjlthe buffer is reached.  The new String object is always null
6853126372Snjlterminated.  This problem was seen during the generation of _BIF
6854126372Snjlbattery data where incorrect strings were returned for battery
6855126372Snjltype, etc.  This will also require an errata to the ACPI
6856126372Snjlspecification.
6857114237Snjl
6858114237SnjlRenamed all instances of NATIVE_UINT and NATIVE_INT to
6859114237SnjlACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
6860114237Snjl
6861114237SnjlCopyright in all module headers (both Linux and non-Linux) has be
6862114237Snjlupdated to 2003.
6863114237Snjl
6864193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6865126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6866126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6867126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6868126372Snjlversion of the code includes the debug output trace mechanism and
6869193267Sjkimhas a much larger code and data size.  Note that these values will
6870126372Snjlvary depending on the efficiency of the compiler and the compiler
6871126372Snjloptions used during generation.
6872114237Snjl
6873114237Snjl  Previous Release
6874114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6875114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6876114237Snjl  Current Release:
6877114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6878114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6879114237Snjl
6880114237Snjl
6881114237Snjl2) Linux
6882114237Snjl
6883114237SnjlFixed an oops on module insertion/removal (Matthew Tippett)
6884114237Snjl
6885114237Snjl(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
6886114237Snjl
6887114237Snjl(2.5) Replace pr_debug (Randy Dunlap)
6888114237Snjl
6889114237Snjl(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
6890114237Snjl
6891114237Snjl(Both) Eliminate spawning of thread from timer callback, in favor
6892114237Snjlof schedule_work()
6893114237Snjl
6894114237Snjl(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
6895114237Snjl
6896114237Snjl(Both) Added define for Fixed Function HW region (Matthew Wilcox)
6897114237Snjl
6898114237Snjl(Both) Add missing statics to button.c (Pavel Machek)
6899114237Snjl
6900114237SnjlSeveral changes have been made to the source code translation
6901114237Snjlutility that generates the Linux Code in order to make the code
6902114237Snjlmore "Linux-like":
6903114237Snjl
6904114237SnjlAll typedefs on structs and unions have been removed in keeping
6905114237Snjlwith the Linux coding style.
6906114237Snjl
6907114237SnjlRemoved the non-Linux SourceSafe module revision number from each
6908114237Snjlmodule header.
6909114237Snjl
6910114237SnjlCompleted major overhaul of symbols to be lowercased for linux.
6911114237SnjlDoubled the number of symbols that are lowercased.
6912114237Snjl
6913114237SnjlFixed a problem where identifiers within procedure headers and
6914114237Snjlwithin quotes were not fully lower cased (they were left with a
6915114237Snjlstarting capital.)
6916114237Snjl
6917114237SnjlSome C macros whose only purpose is to allow the generation of 16-
6918114237Snjlbit code are now completely removed in the Linux code, increasing
6919114237Snjlreadability and maintainability.
6920114237Snjl
6921114237Snjl----------------------------------------
6922114237Snjl
6923114237Snjl12 December 2002.  Summary of changes for version 20021212.
6924114237Snjl
6925114237Snjl
6926114237Snjl1) ACPI CA Core Subsystem:
6927114237Snjl
6928114237SnjlFixed a problem where the creation of a zero-length AML Buffer
6929114237Snjlwould cause a fault.
6930114237Snjl
6931193267SjkimFixed a problem where a Buffer object that pointed to a static AML
6932126372Snjlbuffer (in an ACPI table) could inadvertently be deleted, causing
6933126372Snjlmemory corruption.
6934114237Snjl
6935114237SnjlFixed a problem where a user buffer (passed in to the external
6936114237SnjlACPI CA interfaces) could be overwritten if the buffer was too
6937114237Snjlsmall to complete the operation, causing memory corruption.
6938114237Snjl
6939114237SnjlFixed a problem in the Buffer-to-String conversion code where a
6940114237Snjlstring of length one was always returned, regardless of the size
6941114237Snjlof the input Buffer object.
6942114237Snjl
6943114237SnjlRemoved the NATIVE_CHAR data type across the entire source due to
6944114237Snjllack of need and lack of consistent use.
6945114237Snjl
6946193267SjkimCode and Data Size: Current core subsystem library sizes are shown
6947126372Snjlbelow.  These are the code and data sizes for the acpica.lib
6948126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
6949126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
6950126372Snjlversion of the code includes the debug output trace mechanism and
6951193267Sjkimhas a much larger code and data size.  Note that these values will
6952126372Snjlvary depending on the efficiency of the compiler and the compiler
6953126372Snjloptions used during generation.
6954114237Snjl
6955114237Snjl  Previous Release
6956114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
6957114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
6958114237Snjl  Current Release:
6959114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6960114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6961114237Snjl
6962114237Snjl
6963114237Snjl----------------------------------------
6964114237Snjl05 December 2002.  Summary of changes for version 20021205.
6965114237Snjl
6966114237Snjl1) ACPI CA Core Subsystem:
6967114237Snjl
6968114237SnjlFixed a problem where a store to a String or Buffer object could
6969114237Snjlcause corruption of the DSDT if the object type being stored was
6970114237Snjlthe same as the target object type and the length of the object
6971114237Snjlbeing stored was equal to or smaller than the original (existing)
6972114237Snjltarget object.  This was seen to cause corruption of battery _BIF
6973114237Snjlbuffers if the _BIF method modified the buffer on the fly.
6974114237Snjl
6975193267SjkimFixed a problem where an internal error was generated if a control
6976126372Snjlmethod invocation was used in an OperationRegion, Buffer, or
6977126372SnjlPackage declaration.  This was caused by the deferred parsing of
6978126372Snjlthe control method and thus the deferred creation of the internal
6979126372Snjlmethod object.  The solution to this problem was to create the
6980126372Snjlinternal method object at the moment the method is encountered in
6981126372Snjlthe first pass - so that subsequent references to the method will
6982126372Snjlable to obtain the required parameter count and thus properly
6983126372Snjlparse the method invocation.  This problem presented itself as an
6984126372SnjlAE_AML_INTERNAL during the pass 1 parse phase during table load.
6985114237Snjl
6986114237SnjlFixed a problem where the internal String object copy routine did
6987193267Sjkimnot always allocate sufficient memory for the target String object
6988126372Snjland caused memory corruption.  This problem was seen to cause
6989126372Snjl"Allocation already present in list!" errors as memory allocation
6990126372Snjlbecame corrupted.
6991114237Snjl
6992193267SjkimImplemented a new function for the evaluation of namespace objects
6993126372Snjlthat allows the specification of the allowable return object
6994126372Snjltypes.  This simplifies a lot of code that checks for a return
6995126372Snjlobject of one or more specific objects returned from the
6996114237Snjlevaluation (such as _STA, etc.)  This may become and external
6997114237Snjlfunction if it would be useful to ACPI-related drivers.
6998114237Snjl
6999114237SnjlCompleted another round of prefixing #defines with "ACPI_" for
7000114237Snjlclarity.
7001114237Snjl
7002114237SnjlCompleted additional code restructuring to allow more modular
7003114237Snjllinking for iASL compiler and AcpiExec.  Several files were split
7004114237Snjlcreating new files.  New files:  nsparse.c dsinit.c evgpe.c
7005114237Snjl
7006114237SnjlImplemented an abort mechanism to terminate an executing control
7007193267Sjkimmethod via the AML debugger.  This feature is useful for debugging
7008126372Snjlcontrol methods that depend (wait) for specific hardware
7009126372Snjlresponses.
7010114237Snjl
7011193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7012126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7013126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7014126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7015126372Snjlversion of the code includes the debug output trace mechanism and
7016193267Sjkimhas a much larger code and data size.  Note that these values will
7017126372Snjlvary depending on the efficiency of the compiler and the compiler
7018126372Snjloptions used during generation.
7019114237Snjl
7020114237Snjl  Previous Release
7021114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7022114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7023114237Snjl  Current Release:
7024114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7025114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7026114237Snjl
7027114237Snjl
7028114237Snjl2) iASL Compiler/Disassembler
7029114237Snjl
7030114237SnjlFixed a compiler code generation problem for "Interrupt" Resource
7031114237SnjlDescriptors.  If specified in the ASL, the optional "Resource
7032114237SnjlSource Index" and "Resource Source" fields were not inserted into
7033114237Snjlthe correct location within the AML resource descriptor, creating
7034114237Snjlan invalid descriptor.
7035114237Snjl
7036193267SjkimFixed a disassembler problem for "Interrupt" resource descriptors.
7037126372SnjlThe optional "Resource Source Index" and "Resource Source" fields
7038126372Snjlwere ignored.
7039114237Snjl
7040114237Snjl
7041114237Snjl----------------------------------------
7042114237Snjl22 November 2002.  Summary of changes for version 20021122.
7043114237Snjl
7044114237Snjl
7045114237Snjl1) ACPI CA Core Subsystem:
7046114237Snjl
7047114237SnjlFixed a reported problem where an object stored to a Method Local
7048114237Snjlor Arg was not copied to a new object during the store - the
7049114237Snjlobject pointer was simply copied to the Local/Arg.  This caused
7050114237Snjlall subsequent operations on the Local/Arg to also affect the
7051114237Snjloriginal source of the store operation.
7052114237Snjl
7053114237SnjlFixed a problem where a store operation to a Method Local or Arg
7054114237Snjlwas not completed properly if the Local/Arg contained a reference
7055114237Snjl(from RefOf) to a named field.  The general-purpose store-to-
7056114237Snjlnamespace-node code is now used so that this case is handled
7057114237Snjlautomatically.
7058114237Snjl
7059193267SjkimFixed a problem where the internal object copy routine would cause
7060126372Snjla protection fault if the object being copied was a Package and
7061126372Snjlcontained either 1) a NULL package element or 2) a nested sub-
7062114237Snjlpackage.
7063114237Snjl
7064114237SnjlFixed a problem with the GPE initialization that resulted from an
7065114237Snjlambiguity in the ACPI specification.  One section of the
7066114237Snjlspecification states that both the address and length of the GPE
7067193267Sjkimblock must be zero if the block is not supported.  Another section
7068126372Snjlimplies that only the address need be zero if the block is not
7069193267Sjkimsupported.  The code has been changed so that both the address and
7070126372Snjlthe length must be non-zero to indicate a valid GPE block (i.e.,
7071126372Snjlif either the address or the length is zero, the GPE block is
7072126372Snjlinvalid.)
7073114237Snjl
7074193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7075126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7076126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7077126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7078126372Snjlversion of the code includes the debug output trace mechanism and
7079193267Sjkimhas a much larger code and data size.  Note that these values will
7080126372Snjlvary depending on the efficiency of the compiler and the compiler
7081126372Snjloptions used during generation.
7082114237Snjl
7083114237Snjl  Previous Release
7084114237Snjl    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7085114237Snjl    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7086114237Snjl  Current Release:
7087114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7088114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7089114237Snjl
7090114237Snjl
7091114237Snjl2) Linux
7092114237Snjl
7093114237SnjlCleaned up EC driver. Exported an external EC read/write
7094114237Snjlinterface. By going through this, other drivers (most notably
7095114237Snjlsonypi) will be able to serialize access to the EC.
7096114237Snjl
7097114237Snjl
7098114237Snjl3) iASL Compiler/Disassembler
7099114237Snjl
7100114237SnjlImplemented support to optionally generate include files for both
7101114237SnjlASM and C (the -i switch).  This simplifies BIOS development by
7102114237Snjlautomatically creating include files that contain external
7103114237Snjldeclarations for the symbols that are created within the
7104167802Sjkim
7105114237Snjl(optionally generated) ASM and C AML source files.
7106114237Snjl
7107114237Snjl
7108114237Snjl----------------------------------------
7109107325Siwasaki15 November 2002.  Summary of changes for version 20021115.
7110104470Siwasaki
7111107325Siwasaki1) ACPI CA Core Subsystem:
7112107325Siwasaki
7113114237SnjlFixed a memory leak problem where an error during resolution of
7114167802Sjkim
7115114237Snjlmethod arguments during a method invocation from another method
7116114237Snjlfailed to cleanup properly by deleting all successfully resolved
7117114237Snjlargument objects.
7118107325Siwasaki
7119114237SnjlFixed a problem where the target of the Index() operator was not
7120114237Snjlcorrectly constructed if the source object was a package.  This
7121114237Snjlproblem has not been detected because the use of a target operand
7122114237Snjlwith Index() is very rare.
7123107325Siwasaki
7124107325SiwasakiFixed a problem with the Index() operator where an attempt was
7125107325Siwasakimade to delete the operand objects twice.
7126107325Siwasaki
7127107325SiwasakiFixed a problem where an attempt was made to delete an operand
7128114237Snjltwice during execution of the CondRefOf() operator if the target
7129114237Snjldid not exist.
7130107325Siwasaki
7131114237SnjlImplemented the first of perhaps several internal create object
7132193267Sjkimfunctions that create and initialize a specific object type.  This
7133126372Snjlconsolidates duplicated code wherever the object is created, thus
7134126372Snjlshrinking the size of the subsystem.
7135107325Siwasaki
7136114237SnjlImplemented improved debug/error messages for errors that occur
7137114237Snjlduring nested method invocations.  All executing method pathnames
7138193267Sjkimare displayed (with the error) as the call stack is unwound - thus
7139126372Snjlsimplifying debug.
7140107325Siwasaki
7141107325SiwasakiFixed a problem introduced in the 10/02 release that caused
7142114237Snjlpremature deletion of a buffer object if a buffer was used as an
7143114237SnjlASL operand where an integer operand is required (Thus causing an
7144193267Sjkimimplicit object conversion from Buffer to Integer.)  The change in
7145126372Snjlthe 10/02 release was attempting to fix a memory leak (albeit
7146114237Snjlincorrectly.)
7147107325Siwasaki
7148193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7149126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7150126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7151126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7152126372Snjlversion of the code includes the debug output trace mechanism and
7153193267Sjkimhas a much larger code and data size.  Note that these values will
7154126372Snjlvary depending on the efficiency of the compiler and the compiler
7155126372Snjloptions used during generation.
7156107325Siwasaki
7157107325Siwasaki  Previous Release
7158107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7159107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7160107325Siwasaki  Current Release:
7161107325Siwasaki    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7162107325Siwasaki    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7163107325Siwasaki
7164107325Siwasaki
7165107325Siwasaki2) Linux
7166107325Siwasaki
7167114237SnjlChanged the implementation of the ACPI semaphores to use down()
7168114237Snjlinstead of down_interruptable().  It is important that the
7169114237Snjlexecution of ACPI control methods not be interrupted by signals.
7170114237SnjlMethods must run to completion, or the system may be left in an
7171114237Snjlunknown/unstable state.
7172107325Siwasaki
7173193267SjkimFixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7174126372Snjl(Shawn Starr)
7175107325Siwasaki
7176107325Siwasaki
7177107325Siwasaki3) iASL Compiler/Disassembler
7178107325Siwasaki
7179107325Siwasaki
7180114237SnjlChanged the default location of output files.  All output files
7181114237Snjlare now placed in the current directory by default instead of in
7182114237Snjlthe directory of the source file.  This change may affect some
7183114237Snjlexisting makefiles, but it brings the behavior of the compiler in
7184114237Snjlline with other similar tools.  The location of the output files
7185114237Snjlcan be overridden with the -p command line switch.
7186107325Siwasaki
7187114237Snjl
7188107325Siwasaki----------------------------------------
7189107325Siwasaki11 November 2002.  Summary of changes for version 20021111.
7190107325Siwasaki
7191107325Siwasaki
7192114237Snjl0) ACPI Specification 2.0B is released and is now available at:
7193114237Snjlhttp://www.acpi.info/index.html
7194107325Siwasaki
7195107325Siwasaki
7196107325Siwasaki1) ACPI CA Core Subsystem:
7197107325Siwasaki
7198107325SiwasakiImplemented support for the ACPI 2.0 SMBus Operation Regions.
7199114237SnjlThis includes the early detection and handoff of the request to
7200114237Snjlthe SMBus region handler (avoiding all of the complex field
7201107325Siwasakisupport code), and support for the bidirectional return packet
7202107325Siwasakifrom an SMBus write operation.  This paves the way for the
7203107325Siwasakidevelopment of SMBus drivers in each host operating system.
7204107325Siwasaki
7205107325SiwasakiFixed a problem where the semaphore WAIT_FOREVER constant was
7206107325Siwasakidefined as 32 bits, but must be 16 bits according to the ACPI
7207107325Siwasakispecification.  This had the side effect of causing ASL
7208107325SiwasakiMutex/Event timeouts even though the ASL code requested a wait
7209107325Siwasakiforever.  Changed all internal references to the ACPI timeout
7210193267Sjkimparameter to 16 bits to prevent future problems.  Changed the name
7211126372Snjlof WAIT_FOREVER to ACPI_WAIT_FOREVER.
7212107325Siwasaki
7213193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7214126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7215126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7216126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7217126372Snjlversion of the code includes the debug output trace mechanism and
7218193267Sjkimhas a much larger code and data size.  Note that these values will
7219126372Snjlvary depending on the efficiency of the compiler and the compiler
7220126372Snjloptions used during generation.
7221107325Siwasaki
7222107325Siwasaki  Previous Release
7223107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7224107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7225107325Siwasaki  Current Release:
7226107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7227107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7228107325Siwasaki
7229107325Siwasaki
7230107325Siwasaki2) Linux
7231107325Siwasaki
7232107325SiwasakiModule loading/unloading fixes (John Cagle)
7233107325Siwasaki
7234107325Siwasaki
7235107325Siwasaki3) iASL Compiler/Disassembler
7236107325Siwasaki
7237107325SiwasakiAdded support for the SMBBlockProcessCall keyword (ACPI 2.0)
7238107325Siwasaki
7239107325SiwasakiImplemented support for the disassembly of all SMBus protocol
7240107325Siwasakikeywords (SMBQuick, SMBWord, etc.)
7241107325Siwasaki
7242107325Siwasaki----------------------------------------
7243107325Siwasaki01 November 2002.  Summary of changes for version 20021101.
7244107325Siwasaki
7245107325Siwasaki
7246107325Siwasaki1) ACPI CA Core Subsystem:
7247107325Siwasaki
7248193267SjkimFixed a problem where platforms that have a GPE1 block but no GPE0
7249126372Snjlblock were not handled correctly.  This resulted in a "GPE
7250114237Snjloverlap" error message.  GPE0 is no longer required.
7251107325Siwasaki
7252107325SiwasakiRemoved code added in the previous release that inserted nodes
7253114237Snjlinto the namespace in alphabetical order.  This caused some side-
7254114237Snjleffects on various machines.  The root cause of the problem is
7255114237Snjlstill under investigation since in theory, the internal ordering
7256114237Snjlof the namespace nodes should not matter.
7257107325Siwasaki
7258107325Siwasaki
7259114237SnjlEnhanced error reporting for the case where a named object is not
7260114237Snjlfound during control method execution.  The full ACPI namepath
7261114237Snjl(name reference) of the object that was not found is displayed in
7262114237Snjlthis case.
7263107325Siwasaki
7264193267SjkimNote: as a result of the overhaul of the namespace object types in
7265126372Snjlthe previous release, the namespace nodes for the predefined
7266114237Snjlscopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
7267114237Snjlinstead of ACPI_TYPE_ANY.  This simplifies the namespace
7268114237Snjlmanagement code but may affect code that walks the namespace tree
7269114237Snjllooking for specific object types.
7270114237Snjl
7271193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7272126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7273126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7274126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7275126372Snjlversion of the code includes the debug output trace mechanism and
7276193267Sjkimhas a much larger code and data size.  Note that these values will
7277126372Snjlvary depending on the efficiency of the compiler and the compiler
7278126372Snjloptions used during generation.
7279107325Siwasaki
7280107325Siwasaki  Previous Release
7281107325Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7282107325Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7283107325Siwasaki  Current Release:
7284107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7285107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7286107325Siwasaki
7287107325Siwasaki
7288107325Siwasaki2) Linux
7289107325Siwasaki
7290107325SiwasakiFixed a problem introduced in the previous release where the
7291193267SjkimProcessor and Thermal objects were not recognized and installed in
7292193267Sjkim/proc.  This was related to the scope type change described above.
7293107325Siwasaki
7294107325Siwasaki
7295107325Siwasaki3) iASL Compiler/Disassembler
7296107325Siwasaki
7297114237SnjlImplemented the -g option to get all of the required ACPI tables
7298114237Snjlfrom the registry and save them to files (Windows version of the
7299193267Sjkimcompiler only.)  The required tables are the FADT, FACS, and DSDT.
7300107325Siwasaki
7301114237SnjlAdded ACPI table checksum validation during table disassembly in
7302114237Snjlorder to catch corrupted tables.
7303107325Siwasaki
7304107325Siwasaki
7305107325Siwasaki----------------------------------------
7306107325Siwasaki22 October 2002.  Summary of changes for version 20021022.
7307107325Siwasaki
7308107325Siwasaki1) ACPI CA Core Subsystem:
7309107325Siwasaki
7310114237SnjlImplemented a restriction on the Scope operator that the target
7311114237Snjlmust already exist in the namespace at the time the operator is
7312114237Snjlencountered (during table load or method execution).  In other
7313114237Snjlwords, forward references are not allowed and Scope() cannot
7314114237Snjlcreate a new object. This changes the previous behavior where the
7315193267Sjkiminterpreter would create the name if not found.  This new behavior
7316126372Snjlcorrectly enables the search-to-root algorithm during namespace
7317126372Snjllookup of the target name.  Because of this upsearch, this fixes
7318126372Snjlthe known Compaq _SB_.OKEC problem and makes both the AML
7319126372Snjlinterpreter and iASL compiler compatible with other ACPI
7320114237Snjlimplementations.
7321107325Siwasaki
7322114237SnjlCompleted a major overhaul of the internal ACPI object types for
7323114237Snjlthe ACPI Namespace and the associated operand objects.  Many of
7324114237Snjlthese types had become obsolete with the introduction of the two-
7325114237Snjlpass namespace load.  This cleanup simplifies the code and makes
7326114237Snjlthe entire namespace load mechanism much clearer and easier to
7327114237Snjlunderstand.
7328107325Siwasaki
7329114237SnjlImproved debug output for tracking scope opening/closing to help
7330114237Snjldiagnose scoping issues.  The old scope name as well as the new
7331114237Snjlscope name are displayed.  Also improved error messages for
7332114237Snjlproblems with ASL Mutex objects and error messages for GPE
7333114237Snjlproblems.
7334107325Siwasaki
7335107325SiwasakiCleaned up the namespace dump code, removed obsolete code.
7336107325Siwasaki
7337114237SnjlAll string output (for all namespace/object dumps) now uses the
7338193267Sjkimcommon ACPI string output procedure which handles escapes properly
7339126372Snjland does not emit non-printable characters.
7340107325Siwasaki
7341107325SiwasakiFixed some issues with constants in the 64-bit version of the
7342107325Siwasakilocal C library (utclib.c)
7343107325Siwasaki
7344107325Siwasaki
7345107325Siwasaki2) Linux
7346107325Siwasaki
7347107325SiwasakiEC Driver:  No longer attempts to acquire the Global Lock at
7348107325Siwasakiinterrupt level.
7349107325Siwasaki
7350107325Siwasaki
7351107325Siwasaki3) iASL Compiler/Disassembler
7352107325Siwasaki
7353193267SjkimImplemented ACPI 2.0B grammar change that disallows all Type 1 and
7354126372Snjl2 opcodes outside of a control method.  This means that the
7355114237Snjl"executable" operators (versus the "namespace" operators) cannot
7356193267Sjkimbe used at the table level; they can only be used within a control
7357126372Snjlmethod.
7358107325Siwasaki
7359107325SiwasakiImplemented the restriction on the Scope() operator where the
7360107325Siwasakitarget must already exist in the namespace at the time the
7361114237Snjloperator is encountered (during ASL compilation). In other words,
7362193267Sjkimforward references are not allowed and Scope() cannot create a new
7363126372Snjlobject.  This makes the iASL compiler compatible with other ACPI
7364193267Sjkimimplementations and makes the Scope() implementation adhere to the
7365126372SnjlACPI specification.
7366107325Siwasaki
7367193267SjkimFixed a problem where namepath optimization for the Alias operator
7368193267Sjkimwas optimizing the wrong path (of the two namepaths.)  This caused
7369126372Snjla "Missing alias link" error message.
7370107325Siwasaki
7371114237SnjlFixed a problem where an "unknown reserved name" warning could be
7372114237Snjlincorrectly generated for names like "_SB" when the trailing
7373114237Snjlunderscore is not used in the original ASL.
7374107325Siwasaki
7375107325SiwasakiFixed a problem where the reserved name check did not handle
7376114237SnjlNamePaths with multiple NameSegs correctly.  The first nameseg of
7377114237Snjlthe NamePath was examined instead of the last NameSeg.
7378107325Siwasaki
7379107325Siwasaki
7380107325Siwasaki----------------------------------------
7381107325Siwasaki
7382104470Siwasaki02 October 2002.  Summary of changes for this release.
7383104470Siwasaki
7384104470Siwasaki
7385104470Siwasaki1) ACPI CA Core Subsystem version 20021002:
7386104470Siwasaki
7387104470SiwasakiFixed a problem where a store/copy of a string to an existing
7388193267Sjkimstring did not always set the string length properly in the String
7389126372Snjlobject.
7390104470Siwasaki
7391104470SiwasakiFixed a reported problem with the ToString operator where the
7392193267Sjkimbehavior was identical to the ToHexString operator instead of just
7393126372Snjlsimply converting a raw buffer to a string data type.
7394104470Siwasaki
7395104470SiwasakiFixed a problem where CopyObject and the other "explicit"
7396193267Sjkimconversion operators were not updating the internal namespace node
7397126372Snjltype as part of the store operation.
7398104470Siwasaki
7399104470SiwasakiFixed a memory leak during implicit source operand conversion
7400193267Sjkimwhere the original object was not deleted if it was converted to a
7401126372Snjlnew object of a different type.
7402104470Siwasaki
7403193267SjkimEnhanced error messages for all problems associated with namespace
7404193267Sjkimlookups.  Common procedure generates and prints the lookup name as
7405126372Snjlwell as the formatted status.
7406104470Siwasaki
7407104470SiwasakiCompleted implementation of a new design for the Alias support
7408193267Sjkimwithin the namespace.  The existing design did not handle the case
7409193267Sjkimwhere a new object was assigned to one of the two names due to the
7410193267Sjkimuse of an explicit conversion operator, resulting in the two names
7411126372Snjlpointing to two different objects.  The new design simply points
7412126372Snjlthe Alias name to the original name node - not to the object.
7413193267SjkimThis results in a level of indirection that must be handled in the
7414126372Snjlname resolution mechanism.
7415104470Siwasaki
7416193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7417126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7418126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7419126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7420126372Snjlversion of the code includes the debug output trace mechanism and
7421193267Sjkimhas a larger code and data size.  Note that these values will vary
7422126372Snjldepending on the efficiency of the compiler and the compiler
7423126372Snjloptions used during generation.
7424104470Siwasaki
7425104470Siwasaki  Previous Release
7426104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7427104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7428104470Siwasaki  Current Release:
7429104470Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7430104470Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7431104470Siwasaki
7432104470Siwasaki
7433104470Siwasaki2) Linux
7434104470Siwasaki
7435104470SiwasakiInitialize thermal driver's timer before it is used. (Knut
7436104470SiwasakiNeumann)
7437104470Siwasaki
7438104470SiwasakiAllow handling negative celsius values. (Kochi Takayoshi)
7439104470Siwasaki
7440114237SnjlFix thermal management and make trip points. R/W (Pavel Machek)
7441104470Siwasaki
7442104470SiwasakiFix /proc/acpi/sleep. (P. Christeas)
7443104470Siwasaki
7444104470SiwasakiIA64 fixes. (David Mosberger)
7445104470Siwasaki
7446104470SiwasakiFix reversed logic in blacklist code. (Sergio Monteiro Basto)
7447104470Siwasaki
7448104470SiwasakiReplace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
7449104470SiwasakiBrodowski)
7450104470Siwasaki
7451104470Siwasaki
7452104470Siwasaki3) iASL Compiler/Disassembler
7453104470Siwasaki
7454104470SiwasakiClarified some warning/error messages.
7455104470Siwasaki
7456104470Siwasaki
7457104470Siwasaki----------------------------------------
7458104470Siwasaki18 September 2002.  Summary of changes for this release.
7459104470Siwasaki
7460104470Siwasaki
7461104470Siwasaki1) ACPI CA Core Subsystem version 20020918:
7462104470Siwasaki
7463114237SnjlFixed a reported problem with reference chaining (via the Index()
7464193267Sjkimand RefOf() operators) in the ObjectType() and SizeOf() operators.
7465126372SnjlThe definition of these operators includes the dereferencing of
7466126372Snjlall chained references to return information on the base object.
7467104470Siwasaki
7468104470SiwasakiFixed a problem with stores to indexed package elements - the
7469104470Siwasakiexisting code would not complete the store if an "implicit
7470114237Snjlconversion" was not performed.  In other words, if the existing
7471114237Snjlobject (package element) was to be replaced completely, the code
7472114237Snjldidn't handle this case.
7473104470Siwasaki
7474104470SiwasakiRelaxed typechecking on the ASL "Scope" operator to allow the
7475104470Siwasakitarget name to refer to an object of type Integer, String, or
7476104470SiwasakiBuffer, in addition to the scoping object types (Device,
7477104470Siwasakipredefined Scopes, Processor, PowerResource, and ThermalZone.)
7478114237SnjlThis allows existing AML code that has workarounds for a bug in
7479193267SjkimWindows to function properly.  A warning is issued, however.  This
7480126372Snjlaffects both the AML interpreter and the iASL compiler. Below is
7481126372Snjlan example of this type of ASL code:
7482104470Siwasaki
7483104470Siwasaki      Name(DEB,0x00)
7484104470Siwasaki      Scope(DEB)
7485104470Siwasaki      {
7486104470Siwasaki
7487114237SnjlFixed some reported problems with 64-bit integer support in the
7488114237Snjllocal implementation of C library functions (clib.c)
7489104470Siwasaki
7490104470Siwasaki
7491104470Siwasaki2) Linux
7492104470Siwasaki
7493104470SiwasakiUse ACPI fix map region instead of IOAPIC region, since it is
7494104470Siwasakiundefined in non-SMP.
7495104470Siwasaki
7496114237SnjlEnsure that the SCI has the proper polarity and trigger, even on
7497114237Snjlsystems that do not have an interrupt override entry in the MADT.
7498104470Siwasaki
7499104470Siwasaki2.5 big driver reorganization (Pat Mochel)
7500104470Siwasaki
7501104470SiwasakiUse early table mapping code from acpitable.c (Andi Kleen)
7502104470Siwasaki
7503104470SiwasakiNew blacklist entries (Andi Kleen)
7504104470Siwasaki
7505114237SnjlBlacklist improvements. Split blacklist code out into a separate
7506114237Snjlfile. Move checking the blacklist to very early. Previously, we
7507114237Snjlwould use ACPI tables, and then halfway through init, check the
7508114237Snjlblacklist -- too late. Now, it's early enough to completely fall-
7509114237Snjlback to non-ACPI.
7510104470Siwasaki
7511104470Siwasaki
7512104470Siwasaki3) iASL Compiler/Disassembler version 20020918:
7513104470Siwasaki
7514114237SnjlFixed a problem where the typechecking code didn't know that an
7515114237Snjlalias could point to a method.  In other words, aliases were not
7516114237Snjlbeing dereferenced during typechecking.
7517104470Siwasaki
7518104470Siwasaki
7519104470Siwasaki----------------------------------------
7520104470Siwasaki29 August 2002.  Summary of changes for this release.
7521104470Siwasaki
7522104470Siwasaki1) ACPI CA Core Subsystem Version 20020829:
7523104470Siwasaki
7524114237SnjlIf the target of a Scope() operator already exists, it must be an
7525114237Snjlobject type that actually opens a scope -- such as a Device,
7526193267SjkimMethod, Scope, etc.  This is a fatal runtime error.  Similar error
7527126372Snjlcheck has been added to the iASL compiler also.
7528104470Siwasaki
7529114237SnjlTightened up the namespace load to disallow multiple names in the
7530114237Snjlsame scope.  This previously was allowed if both objects were of
7531114237Snjlthe same type.  (i.e., a lookup was the same as entering a new
7532114237Snjlname).
7533104470Siwasaki
7534104470Siwasaki
7535104470Siwasaki2) Linux
7536104470Siwasaki
7537104470SiwasakiEnsure that the ACPI interrupt has the proper trigger and
7538104470Siwasakipolarity.
7539104470Siwasaki
7540104470Siwasakilocal_irq_disable is extraneous. (Matthew Wilcox)
7541104470Siwasaki
7542104470SiwasakiMake "acpi=off" actually do what it says, and not use the ACPI
7543104470Siwasakiinterpreter *or* the tables.
7544104470Siwasaki
7545193267SjkimAdded arch-neutral support for parsing SLIT and SRAT tables (Kochi
7546126372SnjlTakayoshi)
7547104470Siwasaki
7548104470Siwasaki
7549104470Siwasaki3) iASL Compiler/Disassembler  Version 20020829:
7550104470Siwasaki
7551104470SiwasakiImplemented namepath optimization for name declarations.  For
7552104470Siwasakiexample, a declaration like "Method (\_SB_.ABCD)" would get
7553104470Siwasakioptimized to "Method (ABCD)" if the declaration is within the
7554104470Siwasaki\_SB_ scope.  This optimization is in addition to the named
7555104470Siwasakireference path optimization first released in the previous
7556114237Snjlversion. This would seem to complete all possible optimizations
7557114237Snjlfor namepaths within the ASL/AML.
7558104470Siwasaki
7559114237SnjlIf the target of a Scope() operator already exists, it must be an
7560114237Snjlobject type that actually opens a scope -- such as a Device,
7561114237SnjlMethod, Scope, etc.
7562104470Siwasaki
7563114237SnjlImplemented a check and warning for unreachable code in the same
7564114237Snjlblock below a Return() statement.
7565104470Siwasaki
7566114237SnjlFixed a problem where the listing file was not generated if the
7567114237Snjlcompiler aborted if the maximum error count was exceeded (200).
7568104470Siwasaki
7569193267SjkimFixed a problem where the typechecking of method return values was
7570126372Snjlbroken.  This includes the check for a return value when the
7571114237Snjlmethod is invoked as a TermArg (a return value is expected.)
7572104470Siwasaki
7573104470SiwasakiFixed a reported problem where EOF conditions during a quoted
7574104470Siwasakistring or comment caused a fault.
7575104470Siwasaki
7576104470Siwasaki
7577104470Siwasaki----------------------------------------
7578102550Siwasaki15 August 2002.  Summary of changes for this release.
7579102550Siwasaki
7580102550Siwasaki1) ACPI CA Core Subsystem Version 20020815:
7581102550Siwasaki
7582114237SnjlFixed a reported problem where a Store to a method argument that
7583193267Sjkimcontains a reference did not perform the indirect store correctly.
7584126372SnjlThis problem was created during the conversion to the new
7585126372Snjlreference object model - the indirect store to a method argument
7586126372Snjlcode was not updated to reflect the new model.
7587102550Siwasaki
7588114237SnjlReworked the ACPI mode change code to better conform to ACPI 2.0,
7589193267Sjkimhandle corner cases, and improve code legibility (Kochi Takayoshi)
7590102550Siwasaki
7591102550SiwasakiFixed a problem with the pathname parsing for the carat (^)
7592114237Snjlprefix.  The heavy use of the carat operator by the new namepath
7593193267Sjkimoptimization in the iASL compiler uncovered a problem with the AML
7594126372Snjlinterpreter handling of this prefix.  In the case where one or
7595126372Snjlmore carats precede a single nameseg, the nameseg was treated as
7596126372Snjlstandalone and the search rule (to root) was inadvertently
7597114237Snjlapplied.  This could cause both the iASL compiler and the
7598114237Snjlinterpreter to find the wrong object or to miss the error that
7599114237Snjlshould occur if the object does not exist at that exact pathname.
7600102550Siwasaki
7601114237SnjlFound and fixed the problem where the HP Pavilion DSDT would not
7602193267Sjkimload.  This was a relatively minor tweak to the table loading code
7603126372Snjl(a problem caused by the unexpected encounter with a method
7604193267Sjkiminvocation not within a control method), but it does not solve the
7605126372Snjloverall issue of the execution of AML code at the table level.
7606126372SnjlThis investigation is still ongoing.
7607102550Siwasaki
7608193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7609126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7610126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7611126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7612126372Snjlversion of the code includes the debug output trace mechanism and
7613193267Sjkimhas a larger code and data size.  Note that these values will vary
7614126372Snjldepending on the efficiency of the compiler and the compiler
7615126372Snjloptions used during generation.
7616102550Siwasaki
7617102550Siwasaki  Previous Release
7618104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7619104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7620102550Siwasaki  Current Release:
7621104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7622104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7623102550Siwasaki
7624102550Siwasaki
7625102550Siwasaki2) Linux
7626102550Siwasaki
7627102550SiwasakiRemove redundant slab.h include (Brad Hards)
7628102550Siwasaki
7629102550SiwasakiFix several bugs in thermal.c (Herbert Nachtnebel)
7630102550Siwasaki
7631102550SiwasakiMake CONFIG_ACPI_BOOT work properly (Pavel Machek)
7632102550Siwasaki
7633104470SiwasakiChange acpi_system_suspend to use updated irq functions (Pavel
7634104470SiwasakiMachek)
7635102550Siwasaki
7636102550SiwasakiExport acpi_get_firmware_table (Matthew Wilcox)
7637102550Siwasaki
7638102550SiwasakiUse proper root proc entry for ACPI (Kochi Takayoshi)
7639102550Siwasaki
7640102550SiwasakiFix early-boot table parsing (Bjorn Helgaas)
7641102550Siwasaki
7642102550Siwasaki
7643102550Siwasaki3) iASL Compiler/Disassembler
7644102550Siwasaki
7645114237SnjlReworked the compiler options to make them more consistent and to
7646114237Snjluse two-letter options where appropriate.  We were running out of
7647114237Snjlsensible letters.   This may break some makefiles, so check the
7648114237Snjlcurrent options list by invoking the compiler with no parameters.
7649102550Siwasaki
7650102550SiwasakiCompleted the design and implementation of the ASL namepath
7651114237Snjloptimization option for the compiler.  This option optimizes all
7652114237Snjlreferences to named objects to the shortest possible path.  The
7653193267Sjkimfirst attempt tries to utilize a single nameseg (4 characters) and
7654126372Snjlthe "search-to-root" algorithm used by the interpreter.  If that
7655126372Snjlcannot be used (because either the name is not in the search path
7656126372Snjlor there is a conflict with another object with the same name),
7657126372Snjlthe pathname is optimized using the carat prefix (usually a
7658126372Snjlshorter string than specifying the entire path from the root.)
7659102550Siwasaki
7660114237SnjlImplemented support to obtain the DSDT from the Windows registry
7661114237Snjl(when the disassembly option is specified with no input file).
7662114237SnjlAdded this code as the implementation for AcpiOsTableOverride in
7663114237Snjlthe Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
7664114237Snjlutility) to scan memory for the DSDT to the AcpiOsTableOverride
7665114237Snjlfunction in the DOS OSL to make the disassembler truly OS
7666114237Snjlindependent.
7667102550Siwasaki
7668114237SnjlImplemented a new option to disassemble and compile in one step.
7669114237SnjlWhen used without an input filename, this option will grab the
7670193267SjkimDSDT from the local machine, disassemble it, and compile it in one
7671126372Snjlstep.
7672102550Siwasaki
7673114237SnjlAdded a warning message for invalid escapes (a backslash followed
7674114237Snjlby any character other than the allowable escapes).  This catches
7675114237Snjlthe quoted string error "\_SB_" (which should be "\\_SB_" ).
7676167802Sjkim
7677193267SjkimAlso, there are numerous instances in the ACPI specification where
7678126372Snjlthis error occurs.
7679102550Siwasaki
7680104470SiwasakiAdded a compiler option to disable all optimizations.  This is
7681114237Snjlbasically the "compatibility mode" because by using this option,
7682114237Snjlthe AML code will come out exactly the same as other ASL
7683114237Snjlcompilers.
7684102550Siwasaki
7685114237SnjlAdded error messages for incorrectly ordered dependent resource
7686114237Snjlfunctions.  This includes: missing EndDependentFn macro at end of
7687114237Snjldependent resource list, nested dependent function macros (both
7688114237Snjlstart and end), and missing StartDependentFn macro.  These are
7689114237Snjlcommon errors that should be caught at compile time.
7690102550Siwasaki
7691114237SnjlImplemented _OSI support for the disassembler and compiler.  _OSI
7692114237Snjlmust be included in the namespace for proper disassembly (because
7693114237Snjlthe disassembler must know the number of arguments.)
7694102550Siwasaki
7695104470SiwasakiAdded an "optimization" message type that is optional (off by
7696114237Snjldefault).  This message is used for all optimizations - including
7697193267Sjkimconstant folding, integer optimization, and namepath optimization.
7698102550Siwasaki
7699102550Siwasaki----------------------------------------
7700102550Siwasaki25 July 2002.  Summary of changes for this release.
7701102550Siwasaki
7702102550Siwasaki
7703102550Siwasaki1) ACPI CA Core Subsystem Version 20020725:
7704102550Siwasaki
7705114237SnjlThe AML Disassembler has been enhanced to produce compilable ASL
7706193267Sjkimcode and has been integrated into the iASL compiler (see below) as
7707126372Snjlwell as the single-step disassembly for the AML debugger and the
7708126372Snjldisassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
7709126372Snjlresource templates and macros are fully supported.  The
7710114237Snjldisassembler has been tested on over 30 different AML files,
7711114237Snjlproducing identical AML when the resulting disassembled ASL file
7712114237Snjlis recompiled with the same ASL compiler.
7713102550Siwasaki
7714114237SnjlModified the Resource Manager to allow zero interrupts and zero
7715114237Snjldma channels during the GetCurrentResources call.  This was
7716114237Snjlcausing problems on some platforms.
7717102550Siwasaki
7718114237SnjlAdded the AcpiOsRedirectOutput interface to the OSL to simplify
7719114237Snjloutput redirection for the AcpiOsPrintf and AcpiOsVprintf
7720114237Snjlinterfaces.
7721102550Siwasaki
7722193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7723126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7724126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7725126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7726126372Snjlversion of the code includes the debug output trace mechanism and
7727193267Sjkimhas a larger code and data size.  Note that these values will vary
7728126372Snjldepending on the efficiency of the compiler and the compiler
7729126372Snjloptions used during generation.
7730102550Siwasaki
7731102550Siwasaki  Previous Release
7732104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7733104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7734102550Siwasaki  Current Release:
7735104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7736104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7737102550Siwasaki
7738102550Siwasaki
7739102550Siwasaki2) Linux
7740102550Siwasaki
7741102550SiwasakiFixed a panic in the EC driver (Dominik Brodowski)
7742102550Siwasaki
7743114237SnjlImplemented checksum of the R/XSDT itself during Linux table scan
7744114237Snjl(Richard Schaal)
7745102550Siwasaki
7746102550Siwasaki
7747102550Siwasaki3) iASL compiler
7748102550Siwasaki
7749114237SnjlThe AML disassembler is integrated into the compiler.  The "-d"
7750114237Snjloption invokes the disassembler  to completely disassemble an
7751114237Snjlinput AML file, producing as output a text ASL file with the
7752114237Snjlextension ".dsl" (to avoid name collisions with existing .asl
7753114237Snjlsource files.)  A future enhancement will allow the disassembler
7754114237Snjlto obtain the BIOS DSDT from the registry under Windows.
7755102550Siwasaki
7756102550SiwasakiFixed a problem with the VendorShort and VendorLong resource
7757102550Siwasakidescriptors where an invalid AML sequence was created.
7758102550Siwasaki
7759114237SnjlImplemented a fix for BufferData term in the ASL parser.  It was
7760114237Snjlinadvertently defined twice, allowing invalid syntax to pass and
7761114237Snjlcausing reduction conflicts.
7762102550Siwasaki
7763104470SiwasakiFixed a problem where the Ones opcode could get converted to a
7764193267Sjkimvalue of zero if "Ones" was used where a byte, word or dword value
7765126372Snjlwas expected.  The 64-bit value is now truncated to the correct
7766126372Snjlsize with the correct value.
7767102550Siwasaki
7768102550Siwasaki
7769167802Sjkim
7770102550Siwasaki----------------------------------------
7771102550Siwasaki02 July 2002.  Summary of changes for this release.
7772102550Siwasaki
7773102550Siwasaki
7774102550Siwasaki1) ACPI CA Core Subsystem Version 20020702:
7775102550Siwasaki
7776114237SnjlThe Table Manager code has been restructured to add several new
7777114237Snjlfeatures.  Tables that are not required by the core subsystem
7778114237Snjl(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
7779193267Sjkimvalidated in any way and are returned from AcpiGetFirmwareTable if
7780126372Snjlrequested.  The AcpiOsTableOverride interface is now called for
7781126372Snjleach table that is loaded by the subsystem in order to allow the
7782126372Snjlhost to override any table it chooses.  Previously, only the DSDT
7783126372Snjlcould be overridden.  Added one new files, tbrsdt.c and
7784114237Snjltbgetall.c.
7785102550Siwasaki
7786193267SjkimFixed a problem with the conversion of internal package objects to
7787126372Snjlexternal objects (when a package is returned from a control
7788114237Snjlmethod.)  The return buffer length was set to zero instead of the
7789114237Snjlproper length of the package object.
7790102550Siwasaki
7791104470SiwasakiFixed a reported problem with the use of the RefOf and DeRefOf
7792114237Snjloperators when passing reference arguments to control methods.  A
7793114237Snjlnew type of Reference object is used internally for references
7794114237Snjlproduced by the RefOf operator.
7795102550Siwasaki
7796193267SjkimAdded additional error messages in the Resource Manager to explain
7797126372SnjlAE_BAD_DATA errors when they occur during resource parsing.
7798102550Siwasaki
7799104470SiwasakiSplit the AcpiEnableSubsystem into two primitives to enable a
7800193267Sjkimfiner granularity initialization sequence.  These two calls should
7801126372Snjlbe called in this order: AcpiEnableSubsystem (flags),
7802114237SnjlAcpiInitializeObjects (flags).  The flags parameter remains the
7803114237Snjlsame.
7804102550Siwasaki
7805102550Siwasaki
7806102550Siwasaki2) Linux
7807102550Siwasaki
7808114237SnjlUpdated the ACPI utilities module to understand the new style of
7809193267Sjkimfully resolved package objects that are now returned from the core
7810126372Snjlsubsystem.  This eliminates errors of the form:
7811102550Siwasaki
7812102550Siwasaki    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
7813102550Siwasaki    acpi_utils-0430 [145] acpi_evaluate_reference:
7814102550Siwasaki        Invalid element in package (not a device reference)
7815102550Siwasaki
7816102550SiwasakiThe method evaluation utility uses the new buffer allocation
7817102550Siwasakischeme instead of calling AcpiEvaluate Object twice.
7818102550Siwasaki
7819102550SiwasakiAdded support for ECDT. This allows the use of the Embedded
7820167802Sjkim
7821114237SnjlController before the namespace has been fully initialized, which
7822114237Snjlis necessary for ACPI 2.0 support, and for some laptops to
7823114237Snjlinitialize properly. (Laptops using ECDT are still rare, so only
7824114237Snjllimited testing was performed of the added functionality.)
7825102550Siwasaki
7826102550SiwasakiFixed memory leaks in the EC driver.
7827102550Siwasaki
7828102550SiwasakiEliminated a brittle code structure in acpi_bus_init().
7829102550Siwasaki
7830114237SnjlEliminated the acpi_evaluate() helper function in utils.c. It is
7831114237Snjlno longer needed since acpi_evaluate_object can optionally
7832104470Siwasakiallocate memory for the return object.
7833102550Siwasaki
7834193267SjkimImplemented fix for keyboard hang when getting battery readings on
7835126372Snjlsome systems (Stephen White)
7836102550Siwasaki
7837102550SiwasakiPCI IRQ routing update (Dominik Brodowski)
7838102550Siwasaki
7839114237SnjlFix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
7840114237Snjlsupport
7841102550Siwasaki
7842102550Siwasaki----------------------------------------
7843102550Siwasaki11 June 2002.  Summary of changes for this release.
7844102550Siwasaki
7845102550Siwasaki
7846102550Siwasaki1) ACPI CA Core Subsystem Version 20020611:
7847102550Siwasaki
7848104470SiwasakiFixed a reported problem where constants such as Zero and One
7849114237Snjlappearing within _PRT packages were not handled correctly within
7850114237Snjlthe resource manager code.  Originally reported against the ASL
7851114237Snjlcompiler because the code generator now optimizes integers to
7852193267Sjkimtheir minimal AML representation (i.e. AML constants if possible.)
7853126372SnjlThe _PRT code now handles all AML constant opcodes correctly
7854126372Snjl(Zero, One, Ones, Revision).
7855102550Siwasaki
7856102550SiwasakiFixed a problem with the Concatenate operator in the AML
7857193267Sjkiminterpreter where a buffer result object was incorrectly marked as
7858126372Snjlnot fully evaluated, causing a run-time error of AE_AML_INTERNAL.
7859102550Siwasaki
7860104470SiwasakiAll package sub-objects are now fully resolved before they are
7861114237Snjlreturned from the external ACPI interfaces.  This means that name
7862114237Snjlstrings are resolved to object handles, and constant operators
7863114237Snjl(Zero, One, Ones, Revision) are resolved to Integers.
7864102550Siwasaki
7865102550SiwasakiImplemented immediate resolution of the AML Constant opcodes
7866104470Siwasaki(Zero, One, Ones, Revision) to Integer objects upon detection
7867104470Siwasakiwithin the AML stream. This has simplified and reduced the
7868104470Siwasakigenerated code size of the subsystem by eliminating about 10
7869104470Siwasakiswitch statements for these constants (which previously were
7870193267Sjkimcontained in Reference objects.)  The complicating issues are that
7871126372Snjlthe Zero opcode is used as a "placeholder" for unspecified
7872193267Sjkimoptional target operands and stores to constants are defined to be
7873126372Snjlno-ops.
7874102550Siwasaki
7875193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7876126372Snjlbelow. These are the code and data sizes for the acpica.lib
7877114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7878114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7879114237Snjlversion of the code includes the debug output trace mechanism and
7880193267Sjkimhas a larger code and data size.  Note that these values will vary
7881126372Snjldepending on the efficiency of the compiler and the compiler
7882114237Snjloptions used during generation.
7883102550Siwasaki
7884102550Siwasaki  Previous Release
7885104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7886104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7887102550Siwasaki  Current Release:
7888104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7889104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7890102550Siwasaki
7891102550Siwasaki
7892102550Siwasaki2) Linux
7893102550Siwasaki
7894167802Sjkim
7895104470SiwasakiAdded preliminary support for obtaining _TRA data for PCI root
7896104470Siwasakibridges (Bjorn Helgaas).
7897102550Siwasaki
7898102550Siwasaki
7899102550Siwasaki3) iASL Compiler Version X2046:
7900102550Siwasaki
7901193267SjkimFixed a problem where the "_DDN" reserved name was defined to be a
7902126372Snjlcontrol method with one argument.  There are no arguments, and
7903114237Snjl_DDN does not have to be a control method.
7904102550Siwasaki
7905114237SnjlFixed a problem with the Linux version of the compiler where the
7906114237Snjlsource lines printed with error messages were the wrong lines.
7907114237SnjlThis turned out to be the "LF versus CR/LF" difference between
7908114237SnjlWindows and Unix.  This appears to be the longstanding issue
7909114237Snjlconcerning listing output and error messages.
7910102550Siwasaki
7911114237SnjlFixed a problem with the Linux version of compiler where opcode
7912114237Snjlnames within error messages were wrong.  This was caused by a
7913114237Snjlslight difference in the output of the Flex tool on Linux versus
7914114237SnjlWindows.
7915102550Siwasaki
7916193267SjkimFixed a problem with the Linux compiler where the hex output files
7917126372Snjlcontained some garbage data caused by an internal buffer overrun.
7918102550Siwasaki
7919102550Siwasaki
7920102550Siwasaki----------------------------------------
7921102550Siwasaki17 May 2002.  Summary of changes for this release.
7922102550Siwasaki
7923102550Siwasaki
7924102550Siwasaki1) ACPI CA Core Subsystem Version 20020517:
7925102550Siwasaki
7926102550SiwasakiImplemented a workaround to an BIOS bug discovered on the HP
7927104470SiwasakiOmniBook where the FADT revision number and the table size are
7928193267Sjkiminconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
7929126372Snjlbehavior is to fallback to using only the ACPI 1.0 fields of the
7930126372SnjlFADT if the table is too small to be a ACPI 2.0 table as claimed
7931126372Snjlby the revision number.  Although this is a BIOS bug, this is a
7932126372Snjlcase where the workaround is simple enough and with no side
7933126372Snjleffects, so it seemed prudent to add it.  A warning message is
7934126372Snjlissued, however.
7935102550Siwasaki
7936193267SjkimImplemented minimum size checks for the fixed-length ACPI tables -
7937126372Snjl- the FADT and FACS, as well as consistency checks between the
7938114237Snjlrevision number and the table size.
7939102550Siwasaki
7940114237SnjlFixed a reported problem in the table override support where the
7941114237Snjlnew table pointer was incorrectly treated as a physical address
7942114237Snjlinstead of a logical address.
7943102550Siwasaki
7944114237SnjlEliminated the use of the AE_AML_ERROR exception and replaced it
7945114237Snjlwith more descriptive codes.
7946102550Siwasaki
7947193267SjkimFixed a problem where an exception would occur if an ASL Field was
7948126372Snjldefined with no named Field Units underneath it (used by some
7949114237Snjlindex fields).
7950102550Siwasaki
7951193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7952126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7953126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7954126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7955126372Snjlversion of the code includes the debug output trace mechanism and
7956193267Sjkimhas a larger code and data size.  Note that these values will vary
7957126372Snjldepending on the efficiency of the compiler and the compiler
7958126372Snjloptions used during generation.
7959102550Siwasaki
7960102550Siwasaki  Previous Release
7961104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
7962104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
7963102550Siwasaki  Current Release:
7964104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7965104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7966102550Siwasaki
7967102550Siwasaki
7968102550Siwasaki
7969102550Siwasaki2) Linux
7970102550Siwasaki
7971114237SnjlMuch work done on ACPI init (MADT and PCI IRQ routing support).
7972114237Snjl(Paul D. and Dominik Brodowski)
7973102550Siwasaki
7974102550SiwasakiFix PCI IRQ-related panic on boot (Sam Revitch)
7975102550Siwasaki
7976102550SiwasakiSet BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
7977102550Siwasaki
7978102550SiwasakiFix "MHz" typo (Dominik Brodowski)
7979102550Siwasaki
7980102550SiwasakiFix RTC year 2000 issue (Dominik Brodowski)
7981102550Siwasaki
7982102550SiwasakiPreclude multiple button proc entries (Eric Brunet)
7983102550Siwasaki
7984102550SiwasakiMoved arch-specific code out of include/platform/aclinux.h
7985102550Siwasaki
7986102550Siwasaki3) iASL Compiler Version X2044:
7987102550Siwasaki
7988193267SjkimImplemented error checking for the string used in the EISAID macro
7989193267Sjkim(Usually used in the definition of the _HID object.)  The code now
7990126372Snjlstrictly enforces the PnP format - exactly 7 characters, 3
7991126372Snjluppercase letters and 4 hex digits.
7992102550Siwasaki
7993102550SiwasakiIf a raw string is used in the definition of the _HID object
7994102550Siwasaki(instead of the EISAID macro), the string must contain all
7995114237Snjlalphanumeric characters (e.g., "*PNP0011" is not allowed because
7996114237Snjlof the asterisk.)
7997102550Siwasaki
7998114237SnjlImplemented checking for invalid use of ACPI reserved names for
7999114237Snjlmost of the name creation operators (Name, Device, Event, Mutex,
8000114237SnjlOperationRegion, PowerResource, Processor, and ThermalZone.)
8001114237SnjlPreviously, this check was only performed for control methods.
8002102550Siwasaki
8003114237SnjlImplemented an additional check on the Name operator to emit an
8004114237Snjlerror if a reserved name that must be implemented in ASL as a
8005114237Snjlcontrol method is used.  We know that a reserved name must be a
8006114237Snjlmethod if it is defined with input arguments.
8007102550Siwasaki
8008193267SjkimThe warning emitted when a namespace object reference is not found
8009126372Snjlduring the cross reference phase has been changed into an error.
8010193267SjkimThe "External" directive should be used for names defined in other
8011126372Snjlmodules.
8012102550Siwasaki
8013102550Siwasaki
8014102550Siwasaki4) Tools and Utilities
8015102550Siwasaki
8016114237SnjlThe 16-bit tools (adump16 and aexec16) have been regenerated and
8017114237Snjltested.
8018102550Siwasaki
8019193267SjkimFixed a problem with the output of both acpidump and adump16 where
8020126372Snjlthe indentation of closing parentheses and brackets was not
8021167802Sjkim
8022114237Snjlaligned properly with the parent block.
8023102550Siwasaki
8024102550Siwasaki
8025102550Siwasaki----------------------------------------
8026102550Siwasaki03 May 2002.  Summary of changes for this release.
8027102550Siwasaki
8028102550Siwasaki
8029102550Siwasaki1) ACPI CA Core Subsystem Version 20020503:
8030102550Siwasaki
8031114237SnjlAdded support a new OSL interface that allows the host operating
8032167802Sjkim
8033114237Snjlsystem software to override the DSDT found in the firmware -
8034193267SjkimAcpiOsTableOverride.  With this interface, the OSL can examine the
8035126372Snjlversion of the firmware DSDT and replace it with a different one
8036126372Snjlif desired.
8037102550Siwasaki
8038114237SnjlAdded new external interfaces for accessing ACPI registers from
8039114237Snjldevice drivers and other system software - AcpiGetRegister and
8040114237SnjlAcpiSetRegister.  This was simply an externalization of the
8041114237Snjlexisting AcpiHwBitRegister interfaces.
8042102550Siwasaki
8043104470SiwasakiFixed a regression introduced in the previous build where the
8044104470SiwasakiASL/AML CreateField operator always returned an error,
8045102550Siwasaki"destination must be a NS Node".
8046102550Siwasaki
8047114237SnjlExtended the maximum time (before failure) to successfully enable
8048114237SnjlACPI mode to 3 seconds.
8049102550Siwasaki
8050193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8051126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8052126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8053126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8054126372Snjlversion of the code includes the debug output trace mechanism and
8055193267Sjkimhas a larger code and data size.  Note that these values will vary
8056126372Snjldepending on the efficiency of the compiler and the compiler
8057126372Snjloptions used during generation.
8058102550Siwasaki
8059102550Siwasaki  Previous Release
8060104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8061104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8062102550Siwasaki  Current Release:
8063104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8064104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8065102550Siwasaki
8066102550Siwasaki
8067102550Siwasaki2) Linux
8068102550Siwasaki
8069104470SiwasakiEnhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8070193267Sjkimfree. While 3 out of 4 of our in-house systems work fine, the last
8071126372Snjlone still hangs when testing the LAPIC timer.
8072102550Siwasaki
8073114237SnjlRenamed many files in 2.5 kernel release to omit "acpi_" from the
8074114237Snjlname.
8075102550Siwasaki
8076102550SiwasakiAdded warning on boot for Presario 711FR.
8077102550Siwasaki
8078102550SiwasakiSleep improvements (Pavel Machek)
8079102550Siwasaki
8080102550SiwasakiACPI can now be built without CONFIG_PCI enabled.
8081102550Siwasaki
8082102550SiwasakiIA64: Fixed memory map functions (JI Lee)
8083102550Siwasaki
8084102550Siwasaki
8085102550Siwasaki3) iASL Compiler Version X2043:
8086102550Siwasaki
8087114237SnjlAdded support to allow the compiler to be integrated into the MS
8088114237SnjlVC++ development environment for one-button compilation of single
8089114237Snjlfiles or entire projects -- with error-to-source-line mapping.
8090102550Siwasaki
8091104470SiwasakiImplemented support for compile-time constant folding for the
8092104470SiwasakiType3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8093104470Siwasakispecification.  This allows the ASL writer to use expressions
8094104470Siwasakiinstead of Integer/Buffer/String constants in terms that must
8095114237Snjlevaluate to constants at compile time and will also simplify the
8096114237Snjlemitted AML in any such sub-expressions that can be folded
8097104470Siwasaki(evaluated at compile-time.)  This increases the size of the
8098104470Siwasakicompiler significantly because a portion of the ACPI CA AML
8099104470Siwasakiinterpreter is included within the compiler in order to pre-
8100104470Siwasakievaluate constant expressions.
8101102550Siwasaki
8102114237Snjl
8103102550SiwasakiFixed a problem with the "Unicode" ASL macro that caused the
8104114237Snjlcompiler to fault.  (This macro is used in conjunction with the
8105114237Snjl_STR reserved name.)
8106102550Siwasaki
8107114237SnjlImplemented an AML opcode optimization to use the Zero, One, and
8108114237SnjlOnes opcodes where possible to further reduce the size of integer
8109114237Snjlconstants and thus reduce the overall size of the generated AML
8110114237Snjlcode.
8111102550Siwasaki
8112193267SjkimImplemented error checking for new reserved terms for ACPI version
8113126372Snjl2.0A.
8114102550Siwasaki
8115104470SiwasakiImplemented the -qr option to display the current list of ACPI
8116104470Siwasakireserved names known to the compiler.
8117102550Siwasaki
8118104470SiwasakiImplemented the -qc option to display the current list of ASL
8119104470Siwasakioperators that are allowed within constant expressions and can
8120193267Sjkimtherefore be folded at compile time if the operands are constants.
8121102550Siwasaki
8122102550Siwasaki
8123102550Siwasaki4) Documentation
8124102550Siwasaki
8125193267SjkimUpdated the Programmer's Reference for new interfaces, data types,
8126126372Snjland memory allocation model options.
8127102550Siwasaki
8128114237SnjlUpdated the iASL Compiler User Reference to apply new format and
8129114237Snjladd information about new features and options.
8130102550Siwasaki
8131102550Siwasaki----------------------------------------
8132102550Siwasaki19 April 2002.  Summary of changes for this release.
8133102550Siwasaki
8134102550Siwasaki1) ACPI CA Core Subsystem Version 20020419:
8135102550Siwasaki
8136114237SnjlThe source code base for the Core Subsystem has been completely
8137114237Snjlcleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8138114237Snjlversions.  The Lint option files used are included in the
8139114237Snjl/acpi/generate/lint directory.
8140102550Siwasaki
8141102550SiwasakiImplemented enhanced status/error checking across the entire
8142114237SnjlHardware manager subsystem.  Any hardware errors (reported from
8143114237Snjlthe OSL) are now bubbled up and will abort a running control
8144114237Snjlmethod.
8145102550Siwasaki
8146167802Sjkim
8147114237SnjlFixed a problem where the per-ACPI-table integer width (32 or 64)
8148114237Snjlwas stored only with control method nodes, causing a fault when
8149114237Snjlnon-control method code was executed during table loading.  The
8150114237Snjlsolution implemented uses a global variable to indicate table
8151114237Snjlwidth across the entire ACPI subsystem.  Therefore, ACPI CA does
8152114237Snjlnot support mixed integer widths across different ACPI tables
8153114237Snjl(DSDT, SSDT).
8154102550Siwasaki
8155114237SnjlFixed a problem where NULL extended fields (X fields) in an ACPI
8156114237Snjl2.0 ACPI FADT caused the table load to fail.  Although the
8157114237Snjlexisting ACPI specification is a bit fuzzy on this topic, the new
8158114237Snjlbehavior is to fall back on a ACPI 1.0 field if the corresponding
8159193267SjkimACPI 2.0 X field is zero (even though the table revision indicates
8160193267Sjkima full ACPI 2.0 table.)  The ACPI specification will be updated to
8161126372Snjlclarify this issue.
8162102550Siwasaki
8163104470SiwasakiFixed a problem with the SystemMemory operation region handler
8164104470Siwasakiwhere memory was always accessed byte-wise even if the AML-
8165104470Siwasakispecified access width was larger than a byte.  This caused
8166104470Siwasakiproblems on systems with memory-mapped I/O.  Memory is now
8167193267Sjkimaccessed with the width specified.  On systems that do not support
8168193267Sjkimnon-aligned transfers, a check is made to guarantee proper address
8169126372Snjlalignment before proceeding in order to avoid an AML-caused
8170126372Snjlalignment fault within the kernel.
8171102550Siwasaki
8172102550Siwasaki
8173114237SnjlFixed a problem with the ExtendedIrq resource where only one byte
8174114237Snjlof the 4-byte Irq field was extracted.
8175102550Siwasaki
8176114237SnjlFixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8177114237Snjlfunction was out of date and required a rewrite.
8178114237Snjl
8179193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8180126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8181126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8182126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8183126372Snjlversion of the code includes the debug output trace mechanism and
8184193267Sjkimhas a larger code and data size.  Note that these values will vary
8185126372Snjldepending on the efficiency of the compiler and the compiler
8186126372Snjloptions used during generation.
8187102550Siwasaki
8188102550Siwasaki  Previous Release
8189104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8190104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8191102550Siwasaki  Current Release:
8192104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8193104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8194102550Siwasaki
8195102550Siwasaki
8196102550Siwasaki2) Linux
8197102550Siwasaki
8198102550SiwasakiPCI IRQ routing fixes (Dominik Brodowski)
8199102550Siwasaki
8200102550Siwasaki
8201102550Siwasaki3) iASL Compiler Version X2042:
8202102550Siwasaki
8203104470SiwasakiImplemented an additional compile-time error check for a field
8204104470Siwasakiunit whose size + minimum access width would cause a run-time
8205114237Snjlaccess beyond the end-of-region.  Previously, only the field size
8206114237Snjlitself was checked.
8207102550Siwasaki
8208104470SiwasakiThe Core subsystem and iASL compiler now share a common parse
8209104470Siwasakiobject in preparation for compile-time evaluation of the type
8210104470Siwasaki3/4/5 ASL operators.
8211102550Siwasaki
8212102550Siwasaki
8213102550Siwasaki----------------------------------------
8214102550SiwasakiSummary of changes for this release: 03_29_02
8215102550Siwasaki
8216102550Siwasaki1) ACPI CA Core Subsystem Version 20020329:
8217102550Siwasaki
8218104470SiwasakiImplemented support for late evaluation of TermArg operands to
8219193267SjkimBuffer and Package objects.  This allows complex expressions to be
8220126372Snjlused in the declarations of these object types.
8221102550Siwasaki
8222193267SjkimFixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
8223126372Snjl1.0, if the field was larger than 32 bits, it was returned as a
8224126372Snjlbuffer - otherwise it was returned as an integer.  In ACPI 2.0,
8225193267Sjkimthe field is returned as a buffer only if the field is larger than
8226126372Snjl64 bits.  The TableRevision is now considered when making this
8227126372Snjlconversion to avoid incompatibility with existing ASL code.
8228102550Siwasaki
8229104470SiwasakiImplemented logical addressing for AcpiOsGetRootPointer.  This
8230114237Snjlallows an RSDP with either a logical or physical address.  With
8231114237Snjlthis support, the host OS can now override all ACPI tables with
8232114237Snjlone logical RSDP.  Includes implementation of  "typed" pointer
8233114237Snjlsupport to allow a common data type for both physical and logical
8234114237Snjlpointers internally.  This required a change to the
8235114237SnjlAcpiOsGetRootPointer interface.
8236102550Siwasaki
8237193267SjkimImplemented the use of ACPI 2.0 Generic Address Structures for all
8238193267SjkimGPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
8239126372Snjlmapped I/O for these ACPI features.
8240102550Siwasaki
8241102550SiwasakiInitialization now ignores not only non-required tables (All
8242114237Snjltables other than the FADT, FACS, DSDT, and SSDTs), but also does
8243114237Snjlnot validate the table headers of unrecognized tables.
8244102550Siwasaki
8245102550SiwasakiFixed a problem where a notify handler could only be
8246102550Siwasakiinstalled/removed on an object of type Device.  All "notify"
8247167802Sjkim
8248102550Siwasakiobjects are now supported -- Devices, Processor, Power, and
8249102550SiwasakiThermal.
8250102550Siwasaki
8251114237SnjlRemoved most verbosity from the ACPI_DB_INFO debug level.  Only
8252193267Sjkimcritical information is returned when this debug level is enabled.
8253102550Siwasaki
8254193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8255126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8256126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8257126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8258126372Snjlversion of the code includes the debug output trace mechanism and
8259193267Sjkimhas a larger code and data size.  Note that these values will vary
8260126372Snjldepending on the efficiency of the compiler and the compiler
8261126372Snjloptions used during generation.
8262102550Siwasaki
8263102550Siwasaki  Previous Release
8264104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8265104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8266102550Siwasaki  Current Release:
8267104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8268104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8269102550Siwasaki
8270102550Siwasaki
8271102550Siwasaki2) Linux:
8272102550Siwasaki
8273114237SnjlThe processor driver (acpi_processor.c) now fully supports ACPI
8274114237Snjl2.0-based processor performance control (e.g. Intel(R)
8275114237SnjlSpeedStep(TM) technology) Note that older laptops that only have
8276114237Snjlthe Intel "applet" interface are not supported through this.  The
8277114237Snjl'limit' and 'performance' interface (/proc) are fully functional.
8278114237Snjl[Note that basic policy for controlling performance state
8279114237Snjltransitions will be included in the next version of ospmd.]  The
8280114237Snjlidle handler was modified to more aggressively use C2, and PIIX4
8281114237Snjlerrata handling underwent a complete overhaul (big thanks to
8282114237SnjlDominik Brodowski).
8283102550Siwasaki
8284114237SnjlAdded support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
8285114237Snjlbased devices in the ACPI namespace are now dynamically bound
8286114237Snjl(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
8287114237SnjlThis allows, among other things, ACPI to resolve bus numbers for
8288114237Snjlsubordinate PCI bridges.
8289102550Siwasaki
8290104470SiwasakiEnhanced PCI IRQ routing to get the proper bus number for _PRT
8291104470Siwasakientries defined underneath PCI bridges.
8292102550Siwasaki
8293104470SiwasakiAdded IBM 600E to bad bios list due to invalid _ADR value for
8294104470SiwasakiPIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
8295102550Siwasaki
8296114237SnjlIn the process of adding full MADT support (e.g. IOAPIC) for IA32
8297114237Snjl(acpi.c, mpparse.c) -- stay tuned.
8298102550Siwasaki
8299102550SiwasakiAdded back visual differentiation between fixed-feature and
8300114237Snjlcontrol-method buttons in dmesg.  Buttons are also subtyped (e.g.
8301114237Snjlbutton/power/PWRF) to simplify button identification.
8302102550Siwasaki
8303114237SnjlWe no longer use -Wno-unused when compiling debug. Please ignore
8304114237Snjlany "_THIS_MODULE defined but not used" messages.
8305102550Siwasaki
8306102550SiwasakiCan now shut down the system using "magic sysrq" key.
8307102550Siwasaki
8308102550Siwasaki
8309102550Siwasaki3) iASL Compiler version 2041:
8310102550Siwasaki
8311104470SiwasakiFixed a problem where conversion errors for hex/octal/decimal
8312104470Siwasakiconstants were not reported.
8313102550Siwasaki
8314193267SjkimImplemented a fix for the General Register template Address field.
8315126372SnjlThis field was 8 bits when it should be 64.
8316102550Siwasaki
8317193267SjkimFixed a problem where errors/warnings were no longer being emitted
8318126372Snjlwithin the listing output file.
8319102550Siwasaki
8320114237SnjlImplemented the ACPI 2.0A restriction on ACPI Table Signatures to
8321114237Snjlexactly 4 characters, alphanumeric only.
8322102550Siwasaki
8323102550Siwasaki
8324102550Siwasaki
8325102550Siwasaki
8326102550Siwasaki----------------------------------------
8327102550SiwasakiSummary of changes for this release: 03_08_02
8328102550Siwasaki
8329102550Siwasaki
8330102550Siwasaki1) ACPI CA Core Subsystem Version 20020308:
8331102550Siwasaki
8332114237SnjlFixed a problem with AML Fields where the use of the "AccessAny"
8333193267Sjkimkeyword could cause an interpreter error due to attempting to read
8334126372Snjlor write beyond the end of the parent Operation Region.
8335102550Siwasaki
8336193267SjkimFixed a problem in the SystemMemory Operation Region handler where
8337126372Snjlan attempt was made to map memory beyond the end of the region.
8338126372SnjlThis was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
8339126372Snjlerrors on some Linux systems.
8340102550Siwasaki
8341114237SnjlFixed a problem where the interpreter/namespace "search to root"
8342114237Snjlalgorithm was not functioning for some object types.  Relaxed the
8343114237Snjlinternal restriction on the search to allow upsearches for all
8344114237Snjlexternal object types as well as most internal types.
8345102550Siwasaki
8346102550Siwasaki
8347102550Siwasaki2) Linux:
8348102550Siwasaki
8349193267SjkimWe now use safe_halt() macro versus individual calls to sti | hlt.
8350102550Siwasaki
8351193267SjkimWriting to the processor limit interface should now work. "echo 1"
8352126372Snjlwill increase the limit, 2 will decrease, and 0 will reset to the
8353167802Sjkim
8354126372Snjldefault.
8355102550Siwasaki
8356102550Siwasaki
8357102550Siwasaki3) ASL compiler:
8358102550Siwasaki
8359102550SiwasakiFixed segfault on Linux version.
8360102550Siwasaki
8361102550Siwasaki
8362102550Siwasaki----------------------------------------
8363102550SiwasakiSummary of changes for this release: 02_25_02
8364102550Siwasaki
8365102550Siwasaki1) ACPI CA Core Subsystem:
8366102550Siwasaki
8367102550Siwasaki
8368102550SiwasakiFixed a problem where the GPE bit masks were not initialized
8369102550Siwasakiproperly, causing erratic GPE behavior.
8370102550Siwasaki
8371193267SjkimImplemented limited support for multiple calling conventions.  The
8372126372Snjlcode can be generated with either the VPL (variable parameter
8373114237Snjllist, or "C") convention, or the FPL (fixed parameter list, or
8374114237Snjl"Pascal") convention.  The core subsystem is about 3.4% smaller
8375114237Snjlwhen generated with FPL.
8376102550Siwasaki
8377102550Siwasaki
8378102550Siwasaki2) Linux
8379102550Siwasaki
8380114237SnjlRe-add some /proc/acpi/event functionality that was lost during
8381114237Snjlthe rewrite
8382102550Siwasaki
8383193267SjkimResolved issue with /proc events for fixed-feature buttons showing
8384126372Snjlup as the system device.
8385102550Siwasaki
8386193267SjkimFixed checks on C2/C3 latencies to be inclusive of maximum values.
8387102550Siwasaki
8388114237SnjlReplaced AE_ERRORs in acpi_osl.c with more specific error codes.
8389102550Siwasaki
8390114237SnjlChanged ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
8391102550Siwasaki
8392104470SiwasakiFixed limit interface & usage to fix bugs with passive cooling
8393104470Siwasakihysterisis.
8394102550Siwasaki
8395102550SiwasakiRestructured PRT support.
8396102550Siwasaki
8397102550Siwasaki
8398102550Siwasaki----------------------------------------
8399102550SiwasakiSummary of changes for this label: 02_14_02
8400102550Siwasaki
8401102550Siwasaki
8402102550Siwasaki1) ACPI CA Core Subsystem:
8403102550Siwasaki
8404114237SnjlImplemented support in AcpiLoadTable to allow loading of FACS and
8405114237SnjlFADT tables.
8406102550Siwasaki
8407114237SnjlSuport for the now-obsolete interim 0.71 64-bit ACPI tables has
8408193267Sjkimbeen removed.  All 64-bit platforms should be migrated to the ACPI
8409193267Sjkim2.0 tables.  The actbl71.h header has been removed from the source
8410126372Snjltree.
8411102550Siwasaki
8412114237SnjlAll C macros defined within the subsystem have been prefixed with
8413114237Snjl"ACPI_" to avoid collision with other system include files.
8414102550Siwasaki
8415193267SjkimRemoved the return value for the two AcpiOsPrint interfaces, since
8416126372Snjlit is never used and causes lint warnings for ignoring the return
8417126372Snjlvalue.
8418102550Siwasaki
8419104470SiwasakiAdded error checking to all internal mutex acquire and release
8420104470Siwasakicalls.  Although a failure from one of these interfaces is
8421104470Siwasakiprobably a fatal system error, these checks will cause the
8422114237Snjlimmediate abort of the currently executing method or interface.
8423102550Siwasaki
8424114237SnjlFixed a problem where the AcpiSetCurrentResources interface could
8425193267Sjkimfault.  This was a side effect of the deployment of the new memory
8426126372Snjlallocation model.
8427102550Siwasaki
8428193267SjkimFixed a couple of problems with the Global Lock support introduced
8429193267Sjkimin the last major build.  The "common" (1.0/2.0) internal FACS was
8430126372Snjlbeing overwritten with the FACS signature and clobbering the
8431126372SnjlGlobal Lock pointer.  Also, the actual firmware FACS was being
8432126372Snjlunmapped after construction of the "common" FACS, preventing
8433126372Snjlaccess to the actual Global Lock field within it.  The "common"
8434126372Snjlinternal FACS is no longer installed as an actual ACPI table; it
8435126372Snjlis used simply as a global.
8436102550Siwasaki
8437193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8438126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8439126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8440126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8441126372Snjlversion of the code includes the debug output trace mechanism and
8442193267Sjkimhas a larger code and data size.  Note that these values will vary
8443126372Snjldepending on the efficiency of the compiler and the compiler
8444126372Snjloptions used during generation.
8445102550Siwasaki
8446102550Siwasaki  Previous Release (02_07_01)
8447104470Siwasaki    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8448104470Siwasaki    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8449102550Siwasaki  Current Release:
8450104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8451104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8452102550Siwasaki
8453102550Siwasaki
8454102550Siwasaki2) Linux
8455102550Siwasaki
8456102550SiwasakiUpdated Linux-specific code for core macro and OSL interface
8457102550Siwasakichanges described above.
8458102550Siwasaki
8459114237SnjlImproved /proc/acpi/event. It now can be opened only once and has
8460114237Snjlproper poll functionality.
8461102550Siwasaki
8462102550SiwasakiFixed and restructured power management (acpi_bus).
8463102550Siwasaki
8464193267SjkimOnly create /proc "view by type" when devices of that class exist.
8465102550Siwasaki
8466104470SiwasakiFixed "charging/discharging" bug (and others) in acpi_battery.
8467102550Siwasaki
8468102550SiwasakiImproved thermal zone code.
8469102550Siwasaki
8470102550Siwasaki
8471102550Siwasaki3) ASL Compiler, version X2039:
8472102550Siwasaki
8473114237Snjl
8474114237SnjlImplemented the new compiler restriction on ASL String hex/octal
8475193267Sjkimescapes to non-null, ASCII values.  An error results if an invalid
8476126372Snjlvalue is used.  (This will require an ACPI 2.0 specification
8477126372Snjlchange.)
8478102550Siwasaki
8479193267SjkimAML object labels that are output to the optional C and ASM source
8480126372Snjlare now prefixed with both the ACPI table signature and table ID
8481126372Snjlto help guarantee uniqueness within a large BIOS project.
8482102550Siwasaki
8483102550Siwasaki
8484102550Siwasaki----------------------------------------
8485102550SiwasakiSummary of changes for this label: 02_01_02
8486102550Siwasaki
8487102550Siwasaki1) ACPI CA Core Subsystem:
8488102550Siwasaki
8489114237SnjlACPI 2.0 support is complete in the entire Core Subsystem and the
8490114237SnjlASL compiler. All new ACPI 2.0 operators are implemented and all
8491114237Snjlother changes for ACPI 2.0 support are complete.  With
8492193267Sjkimsimultaneous code and data optimizations throughout the subsystem,
8493126372SnjlACPI 2.0 support has been implemented with almost no additional
8494126372Snjlcost in terms of code and data size.
8495102550Siwasaki
8496114237SnjlImplemented a new mechanism for allocation of return buffers.  If
8497114237Snjlthe buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
8498114237Snjlbe allocated on behalf of the caller.  Consolidated all return
8499114237Snjlbuffer validation and allocation to a common procedure.  Return
8500193267Sjkimbuffers will be allocated via the primary OSL allocation interface
8501193267Sjkimsince it appears that a separate pool is not needed by most users.
8502126372SnjlIf a separate pool is required for these buffers, the caller can
8503126372Snjlstill use the original mechanism and pre-allocate the buffer(s).
8504102550Siwasaki
8505102550SiwasakiImplemented support for string operands within the DerefOf
8506102550Siwasakioperator.
8507102550Siwasaki
8508114237SnjlRestructured the Hardware and Event managers to be table driven,
8509114237Snjlsimplifying the source code and reducing the amount of generated
8510114237Snjlcode.
8511102550Siwasaki
8512102550SiwasakiSplit the common read/write low-level ACPI register bitfield
8513104470Siwasakiprocedure into a separate read and write, simplifying the code
8514104470Siwasakiconsiderably.
8515102550Siwasaki
8516114237SnjlObsoleted the AcpiOsCallocate OSL interface.  This interface was
8517114237Snjlused only a handful of times and didn't have enough critical mass
8518193267Sjkimfor a separate interface.  Replaced with a common calloc procedure
8519126372Snjlin the core.
8520102550Siwasaki
8521104470SiwasakiFixed a reported problem with the GPE number mapping mechanism
8522104470Siwasakithat allows GPE1 numbers to be non-contiguous with GPE0.
8523114237SnjlReorganized the GPE information and shrunk a large array that was
8524114237Snjloriginally large enough to hold info for all possible GPEs (256)
8525114237Snjlto simply large enough to hold all GPEs up to the largest GPE
8526114237Snjlnumber on the machine.
8527102550Siwasaki
8528114237SnjlFixed a reported problem with resource structure alignment on 64-
8529114237Snjlbit platforms.
8530102550Siwasaki
8531102550SiwasakiChanged the AcpiEnableEvent and AcpiDisableEvent external
8532102550Siwasakiinterfaces to not require any flags for the common case of
8533102550Siwasakienabling/disabling a GPE.
8534102550Siwasaki
8535104470SiwasakiImplemented support to allow a "Notify" on a Processor object.
8536102550Siwasaki
8537114237SnjlMost TBDs in comments within the source code have been resolved
8538114237Snjland eliminated.
8539102550Siwasaki
8540167802Sjkim
8541102550SiwasakiFixed a problem in the interpreter where a standalone parent
8542102550Siwasakiprefix (^) was not handled correctly in the interpreter and
8543102550Siwasakidebugger.
8544102550Siwasaki
8545102550SiwasakiRemoved obsolete and unnecessary GPE save/restore code.
8546102550Siwasaki
8547193267SjkimImplemented Field support in the ASL Load operator.  This allows a
8548126372Snjltable to be loaded from a named field, in addition to loading a
8549114237Snjltable directly from an Operation Region.
8550102550Siwasaki
8551193267SjkimImplemented timeout and handle support in the external Global Lock
8552126372Snjlinterfaces.
8553102550Siwasaki
8554114237SnjlFixed a problem in the AcpiDump utility where pathnames were no
8555193267Sjkimlonger being generated correctly during the dump of named objects.
8556102550Siwasaki
8557102550SiwasakiModified the AML debugger to give a full display of if/while
8558102550Siwasakipredicates instead of just one AML opcode at a time.  (The
8559193267Sjkimpredicate can have several nested ASL statements.)  The old method
8560126372Snjlwas confusing during single stepping.
8561102550Siwasaki
8562193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8563126372Snjlbelow. These are the code and data sizes for the acpica.lib
8564114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8565114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8566114237Snjlversion of the code includes the debug output trace mechanism and
8567193267Sjkimhas a larger code and data size.  Note that these values will vary
8568126372Snjldepending on the efficiency of the compiler and the compiler
8569114237Snjloptions used during generation.
8570102550Siwasaki
8571102550Siwasaki  Previous Release (12_18_01)
8572114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8573114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8574102550Siwasaki   Current Release:
8575114237Snjl     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8576114237Snjl     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8577102550Siwasaki
8578102550Siwasaki2) Linux
8579102550Siwasaki
8580104470Siwasaki Implemented fix for PIIX reverse throttling errata (Processor
8581104470Siwasakidriver)
8582102550Siwasaki
8583102550SiwasakiAdded new Limit interface (Processor and Thermal drivers)
8584102550Siwasaki
8585102550SiwasakiNew thermal policy (Thermal driver)
8586102550Siwasaki
8587102550SiwasakiMany updates to /proc
8588102550Siwasaki
8589102550SiwasakiBattery "low" event support (Battery driver)
8590102550Siwasaki
8591104470SiwasakiSupports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
8592102550Siwasaki
8593104470SiwasakiIA32 - IA64 initialization unification, no longer experimental
8594102550Siwasaki
8595102550SiwasakiMenuconfig options redesigned
8596102550Siwasaki
8597102550Siwasaki3) ASL Compiler, version X2037:
8598102550Siwasaki
8599193267SjkimImplemented several new output features to simplify integration of
8600126372SnjlAML code into  firmware: 1) Output the AML in C source code with
8601193267Sjkimlabels for each named ASL object.  The    original ASL source code
8602193267Sjkimis interleaved as C comments. 2) Output the AML in ASM source code
8603126372Snjlwith labels and interleaved ASL    source. 3) Output the AML in
8604126372Snjlraw hex table form, in either C or ASM.
8605102550Siwasaki
8606102550SiwasakiImplemented support for optional string parameters to the
8607102550SiwasakiLoadTable operator.
8608102550Siwasaki
8609104470SiwasakiCompleted support for embedded escape sequences within string
8610114237Snjlliterals.  The compiler now supports all single character escapes
8611114237Snjlas well as the Octal and Hex escapes.  Note: the insertion of a
8612114237Snjlnull byte into a string literal (via the hex/octal escape) causes
8613114237Snjlthe string to be immediately terminated.  A warning is issued.
8614102550Siwasaki
8615104470SiwasakiFixed a problem where incorrect AML was generated for the case
8616104470Siwasakiwhere an ASL namepath consists of a single parent prefix (
8617102550Siwasaki
8618102550Siwasaki) with no trailing name segments.
8619102550Siwasaki
8620102550SiwasakiThe compiler has been successfully generated with a 64-bit C
8621102550Siwasakicompiler.
8622102550Siwasaki
8623102550Siwasaki
8624102550Siwasaki
8625102550Siwasaki
8626102550Siwasaki----------------------------------------
8627102550SiwasakiSummary of changes for this label: 12_18_01
8628102550Siwasaki
8629102550Siwasaki1) Linux
8630102550Siwasaki
8631114237SnjlEnhanced blacklist with reason and severity fields. Any table's
8632114237Snjlsignature may now be used to identify a blacklisted system.
8633102550Siwasaki
8634114237SnjlCall _PIC control method to inform the firmware which interrupt
8635114237Snjlmodel the OS is using. Turn on any disabled link devices.
8636102550Siwasaki
8637102550SiwasakiCleaned up busmgr /proc error handling (Andreas Dilger)
8638102550Siwasaki
8639102550Siwasaki 2) ACPI CA Core Subsystem:
8640102550Siwasaki
8641193267SjkimImplemented ACPI 2.0 semantics for the "Break" operator (Exit from
8642126372Snjlwhile loop)
8643102550Siwasaki
8644102550SiwasakiCompleted implementation of the ACPI 2.0 "Continue",
8645102550Siwasaki"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
8646193267Sjkimoperators.  All new ACPI 2.0 operators are now implemented in both
8647193267Sjkimthe ASL compiler and the AML interpreter.  The only remaining ACPI
8648126372Snjl2.0 task is support for the String data type in the DerefOf
8649193267Sjkimoperator.  Fixed a problem with AcquireMutex where the status code
8650126372Snjlwas lost if the caller had to actually wait for the mutex.
8651102550Siwasaki
8652104470SiwasakiIncreased the maximum ASL Field size from 64K bits to 4G bits.
8653102550Siwasaki
8654193267SjkimCompleted implementation of the external Global Lock interfaces --
8655126372SnjlAcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
8656126372SnjlHandler parameters were added.
8657102550Siwasaki
8658102550SiwasakiCompleted another pass at removing warnings and issues when
8659114237Snjlcompiling with 64-bit compilers.  The code now compiles cleanly
8660114237Snjlwith the Intel 64-bit C/C++ compiler.  Most notably, the pointer
8661114237Snjladd and subtract (diff) macros have changed considerably.
8662102550Siwasaki
8663167802Sjkim
8664114237SnjlCreated and deployed a new ACPI_SIZE type that is 64-bits wide on
8665114237Snjl64-bit platforms, 32-bits on all others.  This type is used
8666193267Sjkimwherever memory allocation and/or the C sizeof() operator is used,
8667126372Snjland affects the OSL memory allocation interfaces AcpiOsAllocate
8668126372Snjland AcpiOsCallocate.
8669102550Siwasaki
8670102550SiwasakiImplemented sticky user breakpoints in the AML debugger.
8671102550Siwasaki
8672193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8673126372Snjlbelow. These are the code and data sizes for the acpica.lib
8674114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8675114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8676114237Snjlversion of the code includes the debug output trace mechanism and
8677114237Snjlhas a larger code and data size. Note that these values will vary
8678114237Snjldepending on the efficiency of the compiler and the compiler
8679114237Snjloptions used during generation.
8680102550Siwasaki
8681102550Siwasaki  Previous Release (12_05_01)
8682114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8683114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8684102550Siwasaki   Current Release:
8685114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8686114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8687102550Siwasaki
8688102550Siwasaki 3) ASL Compiler, version X2034:
8689102550Siwasaki
8690114237SnjlNow checks for (and generates an error if detected) the use of a
8691114237SnjlBreak or Continue statement without an enclosing While statement.
8692102550Siwasaki
8693167802Sjkim
8694102550SiwasakiSuccessfully generated the compiler with the Intel 64-bit C
8695102550Siwasakicompiler.
8696102550Siwasaki
8697102550Siwasaki ----------------------------------------
8698102550SiwasakiSummary of changes for this label: 12_05_01
8699102550Siwasaki
8700102550Siwasaki 1) ACPI CA Core Subsystem:
8701102550Siwasaki
8702102550SiwasakiThe ACPI 2.0 CopyObject operator is fully implemented.  This
8703104470Siwasakioperator creates a new copy of an object (and is also used to
8704193267Sjkimbypass the "implicit conversion" mechanism of the Store operator.)
8705102550Siwasaki
8706102550SiwasakiThe ACPI 2.0 semantics for the SizeOf operator are fully
8707102550Siwasakiimplemented.  The change is that performing a SizeOf on a
8708114237Snjlreference object causes an automatic dereference of the object to
8709114237Snjltha actual value before the size is evaluated. This behavior was
8710114237Snjlundefined in ACPI 1.0.
8711102550Siwasaki
8712114237SnjlThe ACPI 2.0 semantics for the Extended IRQ resource descriptor
8713114237Snjlhave been implemented.  The interrupt polarity and mode are now
8714114237Snjlindependently set.
8715102550Siwasaki
8716114237SnjlFixed a problem where ASL Constants (Zero, One, Ones, Revision)
8717114237Snjlappearing in Package objects were not properly converted to
8718114237Snjlintegers when the internal Package was converted to an external
8719114237Snjlobject (via the AcpiEvaluateObject interface.)
8720102550Siwasaki
8721114237SnjlFixed a problem with the namespace object deletion mechanism for
8722114237Snjlobjects created by control methods.  There were two parts to this
8723193267Sjkimproblem: 1) Objects created during the initialization phase method
8724193267Sjkimparse were not being deleted, and 2) The object owner ID mechanism
8725126372Snjlto track objects was broken.
8726102550Siwasaki
8727114237SnjlFixed a problem where the use of the ASL Scope operator within a
8728114237Snjlcontrol method would result in an invalid opcode exception.
8729102550Siwasaki
8730114237SnjlFixed a problem introduced in the previous label where the buffer
8731114237Snjllength required for the _PRT structure was not being returned
8732114237Snjlcorrectly.
8733102550Siwasaki
8734193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8735126372Snjlbelow. These are the code and data sizes for the acpica.lib
8736114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8737114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8738114237Snjlversion of the code includes the debug output trace mechanism and
8739193267Sjkimhas a larger code and data size.  Note that these values will vary
8740126372Snjldepending on the efficiency of the compiler and the compiler
8741114237Snjloptions used during generation.
8742102550Siwasaki
8743102550Siwasaki  Previous Release (11_20_01)
8744114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8745114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8746102550Siwasaki
8747102550Siwasaki  Current Release:
8748114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8749114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8750102550Siwasaki
8751102550Siwasaki 2) Linux:
8752102550Siwasaki
8753102550SiwasakiUpdated all files to apply cleanly against 2.4.16.
8754102550Siwasaki
8755104470SiwasakiAdded basic PCI Interrupt Routing Table (PRT) support for IA32
8756114237Snjl(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
8757114237Snjlversion supports both static and dyanmic PRT entries, but dynamic
8758114237Snjlentries are treated as if they were static (not yet
8759114237Snjlreconfigurable).  Architecture- specific code to use this data is
8760114237Snjlabsent on IA32 but should be available shortly.
8761102550Siwasaki
8762114237SnjlChanged the initialization sequence to start the ACPI interpreter
8763114237Snjl(acpi_init) prior to initialization of the PCI driver (pci_init)
8764114237Snjlin init/main.c.  This ordering is required to support PRT and
8765114237Snjlfacilitate other (future) enhancement.  A side effect is that the
8766193267SjkimACPI bus driver and certain device drivers can no longer be loaded
8767126372Snjlas modules.
8768102550Siwasaki
8769104470SiwasakiModified the 'make menuconfig' options to allow PCI Interrupt
8770104470SiwasakiRouting support to be included without the ACPI Bus and other
8771104470Siwasakidevice drivers.
8772102550Siwasaki
8773102550Siwasaki 3) ASL Compiler, version X2033:
8774102550Siwasaki
8775102550SiwasakiFixed some issues with the use of the new CopyObject and
8776102550SiwasakiDataTableRegion operators.  Both are fully functional.
8777102550Siwasaki
8778102550Siwasaki ----------------------------------------
8779102550SiwasakiSummary of changes for this label: 11_20_01
8780102550Siwasaki
8781102550Siwasaki 20 November 2001.  Summary of changes for this release.
8782102550Siwasaki
8783102550Siwasaki 1) ACPI CA Core Subsystem:
8784102550Siwasaki
8785104470SiwasakiUpdated Index support to match ACPI 2.0 semantics.  Storing a
8786193267SjkimInteger, String, or Buffer to an Index of a Buffer will store only
8787126372Snjlthe least-significant byte of the source to the Indexed buffer
8788126372Snjlbyte.  Multiple writes are not performed.
8789102550Siwasaki
8790104470SiwasakiFixed a problem where the access type used in an AccessAs ASL
8791104470Siwasakioperator was not recorded correctly into the field object.
8792102550Siwasaki
8793102550SiwasakiFixed a problem where ASL Event objects were created in a
8794114237Snjlsignalled state. Events are now created in an unsignalled state.
8795102550Siwasaki
8796114237SnjlThe internal object cache is now purged after table loading and
8797114237Snjlinitialization to reduce the use of dynamic kernel memory -- on
8798114237Snjlthe assumption that object use is greatest during the parse phase
8799193267Sjkimof the entire table (versus the run-time use of individual control
8800126372Snjlmethods.)
8801102550Siwasaki
8802102550SiwasakiACPI 2.0 variable-length packages are now fully operational.
8803102550Siwasaki
8804193267SjkimCode and Data Size: Code and Data optimizations have permitted new
8805126372Snjlfeature development with an actual reduction in the library size.
8806126372SnjlCurrent core subsystem library sizes are shown below.  These are
8807126372Snjlthe code and data sizes for the acpica.lib produced by the
8808193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
8809126372Snjlany ACPI driver or OSPM code.  The debug version of the code
8810126372Snjlincludes the debug output trace mechanism and has a larger code
8811126372Snjland data size.  Note that these values will vary depending on the
8812126372Snjlefficiency of the compiler and the compiler options used during
8813126372Snjlgeneration.
8814102550Siwasaki
8815102550Siwasaki  Previous Release (11_09_01):
8816114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8817114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8818102550Siwasaki
8819102550Siwasaki  Current Release:
8820114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8821114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8822102550Siwasaki
8823102550Siwasaki 2) Linux:
8824102550Siwasaki
8825114237SnjlEnhanced the ACPI boot-time initialization code to allow the use
8826114237Snjlof Local APIC tables for processor enumeration on IA-32, and to
8827114237Snjlpave the way for a fully MPS-free boot (on SMP systems) in the
8828114237Snjlnear future.  This functionality replaces
8829114237Snjlarch/i386/kernel/acpitables.c, which was introduced in an earlier
8830114237Snjl2.4.15-preX release.  To enable this feature you must add
8831114237Snjl"acpi_boot=on" to the kernel command line -- see the help entry
8832193267Sjkimfor CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
8833126372Snjlthe works...
8834102550Siwasaki
8835114237SnjlRestructured the configuration options to allow boot-time table
8836114237Snjlparsing support without inclusion of the ACPI Interpreter (and
8837114237Snjlother) code.
8838102550Siwasaki
8839193267SjkimNOTE: This release does not include fixes for the reported events,
8840126372Snjlpower-down, and thermal passive cooling issues (coming soon).
8841102550Siwasaki
8842102550Siwasaki 3) ASL Compiler:
8843102550Siwasaki
8844114237SnjlAdded additional typechecking for Fields within restricted access
8845114237SnjlOperation Regions.  All fields within EC and CMOS regions must be
8846114237Snjldeclared with ByteAcc. All fields withing SMBus regions must be
8847114237Snjldeclared with the BufferAcc access type.
8848102550Siwasaki
8849114237SnjlFixed a problem where the listing file output of control methods
8850114237Snjlno longer interleaved the actual AML code with the ASL source
8851114237Snjlcode.
8852102550Siwasaki
8853102550Siwasaki
8854102550Siwasaki
8855167802Sjkim
8856102550Siwasaki----------------------------------------
8857102550SiwasakiSummary of changes for this label: 11_09_01
8858102550Siwasaki
8859102550Siwasaki1) ACPI CA Core Subsystem:
8860102550Siwasaki
8861114237SnjlImplemented ACPI 2.0-defined support for writes to fields with a
8862193267SjkimBuffer, String, or Integer source operand that is smaller than the
8863126372Snjltarget field. In these cases, the source operand is zero-extended
8864126372Snjlto fill the target field.
8865102550Siwasaki
8866104470SiwasakiFixed a problem where a Field starting bit offset (within the
8867104470Siwasakiparent operation region) was calculated incorrectly if the
8868167802Sjkim
8869104470Siwasakialignment of the field differed from the access width.  This
8870114237Snjlaffected CreateWordField, CreateDwordField, CreateQwordField, and
8871114237Snjlpossibly other fields that use the "AccessAny" keyword.
8872102550Siwasaki
8873114237SnjlFixed a problem introduced in the 11_02_01 release where indirect
8874114237Snjlstores through method arguments did not operate correctly.
8875102550Siwasaki
8876102550Siwasaki2) Linux:
8877102550Siwasaki
8878102550SiwasakiImplemented boot-time ACPI table parsing support
8879114237Snjl(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
8880114237Snjlfacilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
8881114237Snjllegacy BIOS interfaces (e.g. MPS) for the configuration of system
8882193267Sjkimprocessors, memory, and interrupts during setup_arch().  Note that
8883126372Snjlthis patch does not include the required architecture-specific
8884126372Snjlchanges required to apply this information -- subsequent patches
8885126372Snjlwill be posted for both IA32 and IA64 to achieve this.
8886102550Siwasaki
8887114237SnjlAdded low-level sleep support for IA32 platforms, courtesy of Pat
8888114237SnjlMochel. This allows IA32 systems to transition to/from various
8889114237Snjlsleeping states (e.g. S1, S3), although the lack of a centralized
8890114237Snjldriver model and power-manageable drivers will prevent its
8891114237Snjl(successful) use on most systems.
8892102550Siwasaki
8893114237SnjlRevamped the ACPI 'menuconfig' layout: created new "ACPI Support"
8894193267Sjkimsubmenu, unified IA32 and IA64 options, added new "Boot using ACPI
8895126372Snjltables" option, etc.
8896102550Siwasaki
8897114237SnjlIncreased the default timeout for the EC driver from 1ms to 10ms
8898114237Snjl(1000 cycles of 10us) to try to address AE_TIME errors during EC
8899114237Snjltransactions.
8900102550Siwasaki
8901102550Siwasaki ----------------------------------------
8902102550SiwasakiSummary of changes for this label: 11_02_01
8903102550Siwasaki
8904102550Siwasaki1) ACPI CA Core Subsystem:
8905102550Siwasaki
8906102550SiwasakiACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
8907102550Siwasaki(QWordAcc keyword). All ACPI 2.0 64-bit support is now
8908102550Siwasakiimplemented.
8909102550Siwasaki
8910114237SnjlOSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
8911114237Snjlchanges to support ACPI 2.0 Qword field access.  Read/Write
8912193267SjkimPciConfiguration(), Read/Write Memory(), and Read/Write Port() now
8913126372Snjlaccept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
8914193267Sjkimthe value parameter for the address space handler interface is now
8915193267Sjkiman ACPI_INTEGER.  OSL implementations of these interfaces must now
8916126372Snjlhandle the case where the Width parameter is 64.
8917102550Siwasaki
8918104470SiwasakiIndex Fields: Fixed a problem where unaligned bit assembly and
8919104470Siwasakidisassembly for IndexFields was not supported correctly.
8920102550Siwasaki
8921102550SiwasakiIndex and Bank Fields:  Nested Index and Bank Fields are now
8922104470Siwasakisupported. During field access, a check is performed to ensure
8923114237Snjlthat the value written to an Index or Bank register is not out of
8924114237Snjlthe range of the register.  The Index (or Bank) register is
8925114237Snjlwritten before each access to the field data. Future support will
8926114237Snjlinclude allowing individual IndexFields to be wider than the
8927114237SnjlDataRegister width.
8928102550Siwasaki
8929114237SnjlFields: Fixed a problem where the AML interpreter was incorrectly
8930114237Snjlattempting to write beyond the end of a Field/OpRegion.  This was
8931114237Snjla boundary case that occurred when a DWORD field was written to a
8932114237SnjlBYTE access OpRegion, forcing multiple writes and causing the
8933114237Snjlinterpreter to write one datum too many.
8934102550Siwasaki
8935102550SiwasakiFields: Fixed a problem with Field/OpRegion access where the
8936114237Snjlstarting bit address of a field was incorrectly calculated if the
8937114237Snjlcurrent access type was wider than a byte (WordAcc, DwordAcc, or
8938114237SnjlQwordAcc).
8939102550Siwasaki
8940104470SiwasakiFields: Fixed a problem where forward references to individual
8941193267SjkimFieldUnits (individual Field names within a Field definition) were
8942126372Snjlnot resolved during the AML table load.
8943102550Siwasaki
8944104470SiwasakiFields: Fixed a problem where forward references from a Field
8945104470Siwasakidefinition to the parent Operation Region definition were not
8946104470Siwasakiresolved during the AML table load.
8947104470Siwasaki
8948114237SnjlFields: Duplicate FieldUnit names within a scope are now detected
8949114237Snjlduring AML table load.
8950102550Siwasaki
8951193267SjkimAcpi Interfaces: Fixed a problem where the AcpiGetName() interface
8952126372Snjlreturned an incorrect name for the root node.
8953102550Siwasaki
8954193267SjkimCode and Data Size: Code and Data optimizations have permitted new
8955126372Snjlfeature development with an actual reduction in the library size.
8956126372SnjlCurrent core subsystem library sizes are shown below.  These are
8957126372Snjlthe code and data sizes for the acpica.lib produced by the
8958193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
8959126372Snjlany ACPI driver or OSPM code.  The debug version of the code
8960126372Snjlincludes the debug output trace mechanism and has a larger code
8961126372Snjland data size.  Note that these values will vary depending on the
8962126372Snjlefficiency of the compiler and the compiler options used during
8963126372Snjlgeneration.
8964102550Siwasaki
8965102550Siwasaki  Previous Release (10_18_01):
8966114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
8967114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
8968102550Siwasaki
8969102550Siwasaki  Current Release:
8970114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8971114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8972102550Siwasaki
8973102550Siwasaki 2) Linux:
8974102550Siwasaki
8975102550SiwasakiImproved /proc processor output (Pavel Machek) Re-added
8976102550SiwasakiMODULE_LICENSE("GPL") to all modules.
8977102550Siwasaki
8978102550Siwasaki 3) ASL Compiler version X2030:
8979102550Siwasaki
8980104470SiwasakiDuplicate FieldUnit names within a scope are now detected and
8981104470Siwasakiflagged as errors.
8982102550Siwasaki
8983102550Siwasaki 4) Documentation:
8984102550Siwasaki
8985104470SiwasakiProgrammer Reference updated to reflect OSL and address space
8986104470Siwasakihandler interface changes described above.
8987102550Siwasaki
8988102550Siwasaki----------------------------------------
8989102550SiwasakiSummary of changes for this label: 10_18_01
8990102550Siwasaki
8991102550SiwasakiACPI CA Core Subsystem:
8992102550Siwasaki
8993193267SjkimFixed a problem with the internal object reference count mechanism
8994126372Snjlthat occasionally caused premature object deletion. This resolves
8995126372Snjlall of the outstanding problem reports where an object is deleted
8996193267Sjkimin the middle of an interpreter evaluation.  Although this problem
8997126372Snjlonly showed up in rather obscure cases, the solution to the
8998126372Snjlproblem involved an adjustment of all reference counts involving
8999126372Snjlobjects attached to namespace nodes.
9000102550Siwasaki
9001102550SiwasakiFixed a problem with Field support in the interpreter where
9002114237Snjlwriting to an aligned field whose length is an exact multiple (2
9003193267Sjkimor greater) of the field access granularity would cause an attempt
9004126372Snjlto write beyond the end of the field.
9005102550Siwasaki
9006102550SiwasakiThe top level AML opcode execution functions within the
9007102550Siwasakiinterpreter have been renamed with a more meaningful and
9008102550Siwasakiconsistent naming convention.  The modules exmonad.c and
9009102550Siwasakiexdyadic.c were eliminated.  New modules are exoparg1.c,
9010102550Siwasakiexoparg2.c, exoparg3.c, and exoparg6.c.
9011102550Siwasaki
9012114237SnjlSupport for the ACPI 2.0 "Mid" ASL operator has been implemented.
9013102550Siwasaki
9014114237SnjlFixed a problem where the AML debugger was causing some internal
9015114237Snjlobjects to not be deleted during subsystem termination.
9016102550Siwasaki
9017104470SiwasakiFixed a problem with the external AcpiEvaluateObject interface
9018104470Siwasakiwhere the subsystem would fault if the named object to be
9019104470Siwasakievaluated refered to a constant such as Zero, Ones, etc.
9020102550Siwasaki
9021102550SiwasakiFixed a problem with IndexFields and BankFields where the
9022114237Snjlsubsystem would fault if the index, data, or bank registers were
9023114237Snjlnot defined in the same scope as the field itself.
9024102550Siwasaki
9025104470SiwasakiAdded printf format string checking for compilers that support
9026104470Siwasakithis feature.  Corrected more than 50 instances of issues with
9027104470Siwasakiformat specifiers within invocations of ACPI_DEBUG_PRINT
9028104470Siwasakithroughout the core subsystem code.
9029102550Siwasaki
9030104470SiwasakiThe ASL "Revision" operator now returns the ACPI support level
9031193267Sjkimimplemented in the core - the value "2" since the ACPI 2.0 support
9032126372Snjlis more than 50% implemented.
9033102550Siwasaki
9034114237SnjlEnhanced the output of the AML debugger "dump namespace" command
9035114237Snjlto output in a more human-readable form.
9036102550Siwasaki
9037114237SnjlCurrent core subsystem library code sizes are shown below.  These
9038167802Sjkim
9039114237Snjlare the code and data sizes for the acpica.lib produced by the
9040193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9041126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9042126372Snjlincludes the full debug trace mechanism -- leading to a much
9043167802Sjkim
9044114237Snjllarger code and data size.  Note that these values will vary
9045114237Snjldepending on the efficiency of the compiler and the compiler
9046114237Snjloptions used during generation.
9047102550Siwasaki
9048102550Siwasaki     Previous Label (09_20_01):
9049114237Snjl     Non-Debug Version:    65K Code,     5K Data,     70K Total
9050114237Snjl     Debug Version:       138K Code,    58K Data,    196K Total
9051102550Siwasaki
9052102550Siwasaki     This Label:
9053102550Siwasaki
9054114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9055114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9056114237Snjl
9057102550SiwasakiLinux:
9058102550Siwasaki
9059104470SiwasakiImplemented a "Bad BIOS Blacklist" to track machines that have
9060104470Siwasakiknown ASL/AML problems.
9061102550Siwasaki
9062193267SjkimEnhanced the /proc interface for the thermal zone driver and added
9063126372Snjlsupport for _HOT (the critical suspend trip point).  The 'info'
9064193267Sjkimfile now includes threshold/policy information, and allows setting
9065126372Snjlof _SCP (cooling preference) and _TZP (polling frequency) values
9066193267Sjkimto the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9067126372Snjlfrequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9068126372Snjlpreference to the passive/quiet mode (if supported by the ASL).
9069102550Siwasaki
9070104470SiwasakiImplemented a workaround for a gcc bug that resuted in an OOPs
9071104470Siwasakiwhen loading the control method battery driver.
9072102550Siwasaki
9073102550Siwasaki ----------------------------------------
9074102550SiwasakiSummary of changes for this label: 09_20_01
9075102550Siwasaki
9076102550Siwasaki ACPI CA Core Subsystem:
9077102550Siwasaki
9078104470SiwasakiThe AcpiEnableEvent and AcpiDisableEvent interfaces have been
9079104470Siwasakimodified to allow individual GPE levels to be flagged as wake-
9080114237Snjlenabled (i.e., these GPEs are to remain enabled when the platform
9081114237Snjlsleeps.)
9082102550Siwasaki
9083104470SiwasakiThe AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9084104470Siwasakisupport wake-enabled GPEs.  This means that upon entering the
9085104470Siwasakisleep state, all GPEs that are not wake-enabled are disabled.
9086104470SiwasakiWhen leaving the sleep state, these GPEs are reenabled.
9087102550Siwasaki
9088114237SnjlA local double-precision divide/modulo module has been added to
9089114237Snjlenhance portability to OS kernels where a 64-bit math library is
9090114237Snjlnot available.  The new module is "utmath.c".
9091102550Siwasaki
9092104470SiwasakiSeveral optimizations have been made to reduce the use of CPU
9093114237Snjlstack.  Originally over 2K, the maximum stack usage is now below
9094114237Snjl2K at 1860  bytes (1.82k)
9095102550Siwasaki
9096114237SnjlFixed a problem with the AcpiGetFirmwareTable interface where the
9097193267Sjkimroot table pointer was not mapped into a logical address properly.
9098102550Siwasaki
9099193267SjkimFixed a problem where a NULL pointer was being dereferenced in the
9100126372Snjlinterpreter code for the ASL Notify operator.
9101102550Siwasaki
9102102550SiwasakiFixed a problem where the use of the ASL Revision operator
9103114237Snjlreturned an error. This operator now returns the current version
9104114237Snjlof the ACPI CA core subsystem.
9105102550Siwasaki
9106114237SnjlFixed a problem where objects passed as control method parameters
9107114237Snjlto AcpiEvaluateObject were always deleted at method termination.
9108114237SnjlHowever, these objects may end up being stored into the namespace
9109114237Snjlby the called method.  The object reference count mechanism was
9110114237Snjlapplied to these objects instead of a force delete.
9111102550Siwasaki
9112114237SnjlFixed a problem where static strings or buffers (contained in the
9113114237SnjlAML code) that are declared as package elements within the ASL
9114114237Snjlcode could cause a fault because the interpreter would attempt to
9115114237Snjldelete them.  These objects are now marked with the "static
9116114237Snjlobject" flag to prevent any attempt to delete them.
9117102550Siwasaki
9118114237SnjlImplemented an interpreter optimization to use operands directly
9119114237Snjlfrom the state object instead of extracting the operands to local
9120114237Snjlvariables.  This reduces stack use and code size, and improves
9121114237Snjlperformance.
9122102550Siwasaki
9123193267SjkimThe module exxface.c was eliminated as it was an unnecessary extra
9124126372Snjllayer of code.
9125102550Siwasaki
9126114237SnjlCurrent core subsystem library code sizes are shown below.  These
9127114237Snjlare the code and data sizes for the acpica.lib produced by the
9128193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9129126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9130126372Snjlincludes the full debug trace mechanism -- leading to a much
9131114237Snjllarger code and data size.  Note that these values will vary
9132114237Snjldepending on the efficiency of the compiler and the compiler
9133114237Snjloptions used during generation.
9134102550Siwasaki
9135102550Siwasaki  Non-Debug Version:  65K Code,   5K Data,   70K Total
9136114237Snjl(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9137114237SnjlTotal  (Previously 195K)
9138102550Siwasaki
9139102550SiwasakiLinux:
9140102550Siwasaki
9141114237SnjlSupport for ACPI 2.0 64-bit integers has been added.   All ACPI
9142114237SnjlInteger objects are now 64 bits wide
9143102550Siwasaki
9144114237SnjlAll Acpi data types and structures are now in lower case.  Only
9145114237SnjlAcpi macros are upper case for differentiation.
9146102550Siwasaki
9147102550Siwasaki Documentation:
9148102550Siwasaki
9149102550SiwasakiChanges to the external interfaces as described above.
9150102550Siwasaki
9151102550Siwasaki ----------------------------------------
9152102550SiwasakiSummary of changes for this label: 08_31_01
9153102550Siwasaki
9154102550Siwasaki ACPI CA Core Subsystem:
9155102550Siwasaki
9156114237SnjlA bug with interpreter implementation of the ASL Divide operator
9157114237Snjlwas found and fixed.  The implicit function return value (not the
9158114237Snjlexplicit store operands) was returning the remainder instead of
9159114237Snjlthe quotient.  This was a longstanding bug and it fixes several
9160114237Snjlknown outstanding issues on various platforms.
9161102550Siwasaki
9162104470SiwasakiThe ACPI_DEBUG_PRINT and function trace entry/exit macros have
9163193267Sjkimbeen further optimized for size.  There are 700 invocations of the
9164126372SnjlDEBUG_PRINT macro alone, so each optimization reduces the size of
9165126372Snjlthe debug version of the subsystem significantly.
9166102550Siwasaki
9167114237SnjlA stack trace mechanism has been implemented.  The maximum stack
9168193267Sjkimusage is about 2K on 32-bit platforms.  The debugger command "stat
9169126372Snjlstack" will display the current maximum stack usage.
9170102550Siwasaki
9171114237SnjlAll public symbols and global variables within the subsystem are
9172114237Snjlnow prefixed with the string "Acpi".  This keeps all of the
9173114237Snjlsymbols grouped together in a kernel map, and avoids conflicts
9174114237Snjlwith other kernel subsystems.
9175102550Siwasaki
9176114237SnjlMost of the internal fixed lookup tables have been moved into the
9177114237Snjlcode segment via the const operator.
9178102550Siwasaki
9179104470SiwasakiSeveral enhancements have been made to the interpreter to both
9180104470Siwasakireduce the code size and improve performance.
9181102550Siwasaki
9182114237SnjlCurrent core subsystem library code sizes are shown below.  These
9183114237Snjlare the code and data sizes for the acpica.lib produced by the
9184193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9185126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9186126372Snjlincludes the full debug trace mechanism which contains over 700
9187126372Snjlinvocations of the DEBUG_PRINT macro, 500 function entry macro
9188126372Snjlinvocations, and over 900 function exit macro invocations --
9189126372Snjlleading to a much larger code and data size.  Note that these
9190114237Snjlvalues will vary depending on the efficiency of the compiler and
9191114237Snjlthe compiler options used during generation.
9192102550Siwasaki
9193102550Siwasaki        Non-Debug Version:  64K Code,   5K Data,   69K Total
9194102550SiwasakiDebug Version:     137K Code,  58K Data,  195K Total
9195102550Siwasaki
9196102550Siwasaki Linux:
9197102550Siwasaki
9198104470SiwasakiImplemented wbinvd() macro, pending a kernel-wide definition.
9199102550Siwasaki
9200102550SiwasakiFixed /proc/acpi/event to handle poll() and short reads.
9201102550Siwasaki
9202102550Siwasaki ASL Compiler, version X2026:
9203102550Siwasaki
9204104470SiwasakiFixed a problem introduced in the previous label where the AML
9205167802Sjkim
9206104470Siwasakicode emitted for package objects produced packages with zero
9207104470Siwasakilength.
9208102550Siwasaki
9209102550Siwasaki ----------------------------------------
9210102550SiwasakiSummary of changes for this label: 08_16_01
9211102550Siwasaki
9212102550SiwasakiACPI CA Core Subsystem:
9213102550Siwasaki
9214114237SnjlThe following ACPI 2.0 ASL operators have been implemented in the
9215114237SnjlAML interpreter (These are already supported by the Intel ASL
9216193267Sjkimcompiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9217126372SnjlToBuffer.  Support for 64-bit AML constants is implemented in the
9218126372SnjlAML parser, debugger, and disassembler.
9219102550Siwasaki
9220114237SnjlThe internal memory tracking mechanism (leak detection code) has
9221114237Snjlbeen upgraded to reduce the memory overhead (a separate tracking
9222114237Snjlblock is no longer allocated for each memory allocation), and now
9223114237Snjlsupports all of the internal object caches.
9224102550Siwasaki
9225114237SnjlThe data structures and code for the internal object caches have
9226114237Snjlbeen coelesced and optimized so that there is a single cache and
9227114237Snjlmemory list data structure and a single group of functions that
9228114237Snjlimplement generic cache management.  This has reduced the code
9229114237Snjlsize in both the debug and release versions of the subsystem.
9230102550Siwasaki
9231193267SjkimThe DEBUG_PRINT macro(s) have been optimized for size and replaced
9232126372Snjlby ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
9233126372Snjldifferent, because it generates a single call to an internal
9234126372Snjlfunction.  This results in a savings of about 90 bytes per
9235193267Sjkiminvocation, resulting in an overall code and data savings of about
9236126372Snjl16% in the debug version of the subsystem.
9237102550Siwasaki
9238102550Siwasaki Linux:
9239102550Siwasaki
9240114237SnjlFixed C3 disk corruption problems and re-enabled C3 on supporting
9241114237Snjlmachines.
9242102550Siwasaki
9243102550SiwasakiIntegrated low-level sleep code by Patrick Mochel.
9244102550Siwasaki
9245102550SiwasakiFurther tweaked source code Linuxization.
9246102550Siwasaki
9247102550SiwasakiOther minor fixes.
9248102550Siwasaki
9249102550Siwasaki ASL Compiler:
9250102550Siwasaki
9251114237SnjlSupport for ACPI 2.0 variable length packages is fixed/completed.
9252102550Siwasaki
9253114237SnjlFixed a problem where the optional length parameter for the ACPI
9254114237Snjl2.0 ToString operator.
9255102550Siwasaki
9256114237SnjlFixed multiple extraneous error messages when a syntax error is
9257114237Snjldetected within the declaration line of a control method.
9258102550Siwasaki
9259102550Siwasaki ----------------------------------------
9260102550SiwasakiSummary of changes for this label: 07_17_01
9261102550Siwasaki
9262102550SiwasakiACPI CA Core Subsystem:
9263102550Siwasaki
9264104470SiwasakiAdded a new interface named AcpiGetFirmwareTable to obtain any
9265193267SjkimACPI table via the ACPI signature.  The interface can be called at
9266126372Snjlany time during kernel initialization, even before the kernel
9267193267Sjkimvirtual memory manager is initialized and paging is enabled.  This
9268126372Snjlallows kernel subsystems to obtain ACPI tables very early, even
9269126372Snjlbefore the ACPI CA subsystem is initialized.
9270102550Siwasaki
9271104470SiwasakiFixed a problem where Fields defined with the AnyAcc attribute
9272104470Siwasakicould be resolved to the incorrect address under the following
9273114237Snjlconditions: 1) the field width is larger than 8 bits and 2) the
9274114237Snjlparent operation region is not defined on a DWORD boundary.
9275102550Siwasaki
9276114237SnjlFixed a problem where the interpreter is not being locked during
9277114237Snjlnamespace initialization (during execution of the _INI control
9278114237Snjlmethods), causing an error when an attempt is made to release it
9279114237Snjllater.
9280102550Siwasaki
9281104470SiwasakiACPI 2.0 support in the AML Interpreter has begun and will be
9282114237Snjlongoing throughout the rest of this year.  In this label, The Mod
9283114237Snjloperator is implemented.
9284102550Siwasaki
9285102550SiwasakiAdded a new data type to contain full PCI addresses named
9286193267SjkimACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
9287126372Snjland Function values.
9288102550Siwasaki
9289102550Siwasaki Linux:
9290102550Siwasaki
9291102550SiwasakiEnhanced the Linux version of the source code to change most
9292102550Siwasakicapitalized ACPI type names to lowercase. For example, all
9293114237Snjlinstances of ACPI_STATUS are changed to acpi_status.  This will
9294114237Snjlresult in a large diff, but the change is strictly cosmetic and
9295114237Snjlaligns the CA code closer to the Linux coding standard.
9296102550Siwasaki
9297102550SiwasakiOSL Interfaces:
9298102550Siwasaki
9299193267SjkimThe interfaces to the PCI configuration space have been changed to
9300193267Sjkimadd the PCI Segment number and to split the single 32-bit combined
9301126372SnjlDeviceFunction field into two 16-bit fields.  This was
9302114237Snjlaccomplished by moving the four values that define an address in
9303114237SnjlPCI configuration space (segment, bus, device, and function) to
9304114237Snjlthe new ACPI_PCI_ID structure.
9305102550Siwasaki
9306104470SiwasakiThe changes to the PCI configuration space interfaces led to a
9307104470Siwasakireexamination of the complete set of address space access
9308114237Snjlinterfaces for PCI, I/O, and Memory.  The previously existing 18
9309114237Snjlinterfaces have proven difficult to maintain (any small change
9310193267Sjkimmust be propagated across at least 6 interfaces) and do not easily
9311193267Sjkimallow for future expansion to 64 bits if necessary.  Also, on some
9312126372Snjlsystems, it would not be appropriate to demultiplex the access
9313126372Snjlwidth (8, 16, 32,or 64) before calling the OSL if the
9314114237Snjlcorresponding native OS interfaces contain a similar access width
9315114237Snjlparameter.  For these reasons, the 18 address space interfaces
9316114237Snjlhave been replaced by these 6 new ones:
9317102550Siwasaki
9318102550SiwasakiAcpiOsReadPciConfiguration
9319102550SiwasakiAcpiOsWritePciConfiguration
9320102550SiwasakiAcpiOsReadMemory
9321102550SiwasakiAcpiOsWriteMemory
9322102550SiwasakiAcpiOsReadPort
9323102550SiwasakiAcpiOsWritePort
9324102550Siwasaki
9325114237SnjlAdded a new interface named AcpiOsGetRootPointer to allow the OSL
9326114237Snjlto perform the platform and/or OS-specific actions necessary to
9327114237Snjlobtain the ACPI RSDP table pointer.  On IA-32 platforms, this
9328114237Snjlinterface will simply call down to the CA core to perform the low-
9329114237Snjlmemory search for the table.  On IA-64, the RSDP is obtained from
9330114237SnjlEFI.  Migrating this interface to the OSL allows the CA core to
9331167802Sjkim
9332114237Snjlremain OS and platform independent.
9333102550Siwasaki
9334104470SiwasakiAdded a new interface named AcpiOsSignal to provide a generic
9335114237Snjl"function code and pointer" interface for various miscellaneous
9336114237Snjlsignals and notifications that must be made to the host OS.   The
9337114237Snjlfirst such signals are intended to support the ASL Fatal and
9338114237SnjlBreakpoint operators.  In the latter case, the AcpiOsBreakpoint
9339114237Snjlinterface has been obsoleted.
9340102550Siwasaki
9341102550SiwasakiThe definition of the AcpiFormatException interface has been
9342114237Snjlchanged to simplify its use.  The caller no longer must supply a
9343114237Snjlbuffer to the call; A pointer to a const string is now returned
9344114237Snjldirectly.  This allows the call to be easily used in printf
9345114237Snjlstatements, etc. since the caller does not have to manage a local
9346114237Snjlbuffer.
9347102550Siwasaki
9348114237Snjl
9349102550Siwasaki ASL Compiler, Version X2025:
9350102550Siwasaki
9351114237SnjlThe ACPI 2.0 Switch/Case/Default operators have been implemented
9352114237Snjland are fully functional.  They will work with all ACPI 1.0
9353193267Sjkiminterpreters, since the operators are simply translated to If/Else
9354126372Snjlpairs.
9355102550Siwasaki
9356104470SiwasakiThe ACPI 2.0 ElseIf operator is implemented and will also work
9357104470Siwasakiwith 1.0 interpreters, for the same reason.
9358102550Siwasaki
9359114237SnjlImplemented support for ACPI 2.0 variable-length packages.  These
9360114237Snjlpackages have a separate opcode, and their size is determined by
9361114237Snjlthe interpreter at run-time.
9362102550Siwasaki
9363193267SjkimDocumentation The ACPI CA Programmer Reference has been updated to
9364126372Snjlreflect the new interfaces and changes to existing interfaces.
9365102550Siwasaki
9366102550Siwasaki ------------------------------------------
9367102550SiwasakiSummary of changes for this label: 06_15_01
9368102550Siwasaki
9369102550Siwasaki ACPI CA Core Subsystem:
9370102550Siwasaki
9371102550SiwasakiFixed a problem where a DWORD-accessed field within a Buffer
9372114237Snjlobject would get its byte address inadvertently rounded down to
9373114237Snjlthe nearest DWORD.  Buffers are always Byte-accessible.
9374102550Siwasaki
9375102550Siwasaki ASL Compiler, version X2024:
9376102550Siwasaki
9377114237SnjlFixed a problem where the Switch() operator would either fault or
9378114237Snjlhang the compiler.  Note however, that the AML code for this ACPI
9379114237Snjl2.0 operator is not yet implemented.
9380102550Siwasaki
9381114237SnjlCompiler uses the new AcpiOsGetTimer interface to obtain compile
9382114237Snjltimings.
9383102550Siwasaki
9384114237SnjlImplementation of the CreateField operator automatically converts
9385114237Snjla reference to a named field within a resource descriptor from a
9386114237Snjlbyte offset to a bit offset if required.
9387102550Siwasaki
9388102550SiwasakiAdded some missing named fields from the resource descriptor
9389193267Sjkimsupport. These are the names that are automatically created by the
9390126372Snjlcompiler to reference fields within a descriptor.  They are only
9391126372Snjlvalid at compile time and are not passed through to the AML
9392114237Snjlinterpreter.
9393102550Siwasaki
9394104470SiwasakiResource descriptor named fields are now typed as Integers and
9395104470Siwasakisubject to compile-time typechecking when used in expressions.
9396102550Siwasaki
9397102550Siwasaki ------------------------------------------
9398102550SiwasakiSummary of changes for this label: 05_18_01
9399102550Siwasaki
9400102550Siwasaki ACPI CA Core Subsystem:
9401102550Siwasaki
9402114237SnjlFixed a couple of problems in the Field support code where bits
9403193267Sjkimfrom adjacent fields could be returned along with the proper field
9404126372Snjlbits. Restructured the field support code to improve performance,
9405126372Snjlreadability and maintainability.
9406102550Siwasaki
9407114237SnjlNew DEBUG_PRINTP macro automatically inserts the procedure name
9408114237Snjlinto the output, saving hundreds of copies of procedure name
9409114237Snjlstrings within the source, shrinking the memory footprint of the
9410114237Snjldebug version of the core subsystem.
9411102550Siwasaki
9412102550Siwasaki Source Code Structure:
9413102550Siwasaki
9414104470SiwasakiThe source code directory tree was restructured to reflect the
9415114237Snjlcurrent organization of the component architecture.  Some files
9416114237Snjland directories have been moved and/or renamed.
9417102550Siwasaki
9418102550Siwasaki Linux:
9419102550Siwasaki
9420102550SiwasakiFixed leaking kacpidpc processes.
9421102550Siwasaki
9422102550SiwasakiFixed queueing event data even when /proc/acpi/event is not
9423102550Siwasakiopened.
9424102550Siwasaki
9425102550Siwasaki ASL Compiler, version X2020:
9426102550Siwasaki
9427114237SnjlMemory allocation performance enhancement - over 24X compile time
9428114237Snjlimprovement on large ASL files.  Parse nodes and namestring
9429114237Snjlbuffers are now allocated from a large internal compiler buffer.
9430102550Siwasaki
9431102550SiwasakiThe temporary .SRC file is deleted unless the "-s" option is
9432102550Siwasakispecified
9433102550Siwasaki
9434193267SjkimThe "-d" debug output option now sends all output to the .DBG file
9435126372Snjlinstead of the console.
9436102550Siwasaki
9437102550Siwasaki"External" second parameter is now optional
9438102550Siwasaki
9439102550Siwasaki"ElseIf" syntax now properly allows the predicate
9440102550Siwasaki
9441102550SiwasakiLast operand to "Load" now recognized as a Target operand
9442102550Siwasaki
9443102550SiwasakiDebug object can now be used anywhere as a normal object.
9444102550Siwasaki
9445102550SiwasakiResourceTemplate now returns an object of type BUFFER
9446102550Siwasaki
9447102550SiwasakiEISAID now returns an object of type INTEGER
9448102550Siwasaki
9449102550Siwasaki"Index" now works with a STRING operand
9450102550Siwasaki
9451102550Siwasaki"LoadTable" now accepts optional parameters
9452102550Siwasaki
9453102550Siwasaki"ToString" length parameter is now optional
9454102550Siwasaki
9455102550Siwasaki"Interrupt (ResourceType," parse error fixed.
9456102550Siwasaki
9457104470Siwasaki"Register" with a user-defined region space parse error fixed
9458102550Siwasaki
9459114237SnjlEscaped backslash at the end of a string ("\\") scan/parse error
9460114237Snjlfixed
9461102550Siwasaki
9462102550Siwasaki"Revision" is now an object of type INTEGER.
9463102550Siwasaki
9464102550Siwasaki
9465102550Siwasaki
9466102550Siwasaki------------------------------------------
9467102550SiwasakiSummary of changes for this label: 05_02_01
9468102550Siwasaki
9469102550SiwasakiLinux:
9470102550Siwasaki
9471102550Siwasaki/proc/acpi/event now blocks properly.
9472102550Siwasaki
9473102550SiwasakiRemoved /proc/sys/acpi. You can still dump your DSDT from
9474102550Siwasaki/proc/acpi/dsdt.
9475102550Siwasaki
9476102550Siwasaki ACPI CA Core Subsystem:
9477102550Siwasaki
9478193267SjkimFixed a problem introduced in the previous label where some of the
9479126372Snjl"small" resource descriptor types were not recognized.
9480102550Siwasaki
9481193267SjkimImproved error messages for the case where an ASL Field is outside
9482126372Snjlthe range of the parent operation region.
9483102550Siwasaki
9484102550Siwasaki ASL Compiler, version X2018:
9485102550Siwasaki
9486167802Sjkim
9487193267SjkimAdded error detection for ASL Fields that extend beyond the length
9488126372Snjlof the parent operation region (only if the length of the region
9489126372Snjlis known at compile time.)  This includes fields that have a
9490126372Snjlminimum access width that is smaller than the parent region, and
9491126372Snjlindividual field units that are partially or entirely beyond the
9492126372Snjlextent of the parent.
9493102550Siwasaki
9494102550Siwasaki
9495102550Siwasaki
9496102550Siwasaki------------------------------------------
9497102550SiwasakiSummary of changes for this label: 04_27_01
9498102550Siwasaki
9499102550Siwasaki ACPI CA Core Subsystem:
9500102550Siwasaki
9501193267SjkimFixed a problem where the namespace mutex could be released at the
9502126372Snjlwrong time during execution of AcpiRemoveAddressSpaceHandler.
9503102550Siwasaki
9504104470SiwasakiAdded optional thread ID output for debug traces, to simplify
9505114237Snjldebugging of multiple threads.  Added context switch notification
9506114237Snjlwhen the debug code realizes that a different thread is now
9507114237Snjlexecuting ACPI code.
9508102550Siwasaki
9509114237SnjlSome additional external data types have been prefixed with the
9510114237Snjlstring "ACPI_" for consistency.  This may effect existing code.
9511193267SjkimThe data types affected are the external callback typedefs - e.g.,
9512167802Sjkim
9513126372SnjlWALK_CALLBACK becomes ACPI_WALK_CALLBACK.
9514102550Siwasaki
9515102550Siwasaki Linux:
9516102550Siwasaki
9517102550SiwasakiFixed an issue with the OSL semaphore implementation where a
9518102550Siwasakithread was waking up with an error from receiving a SIGCHLD
9519102550Siwasakisignal.
9520102550Siwasaki
9521114237SnjlLinux version of ACPI CA now uses the system C library for string
9522114237Snjlmanipulation routines instead of a local implementation.
9523102550Siwasaki
9524102550SiwasakiCleaned up comments and removed TBDs.
9525102550Siwasaki
9526102550Siwasaki ASL Compiler, version X2017:
9527102550Siwasaki
9528102550SiwasakiEnhanced error detection and reporting for all file I/O
9529102550Siwasakioperations.
9530102550Siwasaki
9531102550Siwasaki Documentation:
9532102550Siwasaki
9533102550SiwasakiProgrammer Reference updated to version 1.06.
9534102550Siwasaki
9535102550Siwasaki
9536102550Siwasaki
9537102550Siwasaki------------------------------------------
9538102550SiwasakiSummary of changes for this label: 04_13_01
9539102550Siwasaki
9540102550Siwasaki ACPI CA Core Subsystem:
9541102550Siwasaki
9542102550SiwasakiRestructured support for BufferFields and RegionFields.
9543104470SiwasakiBankFields support is now fully operational.  All known 32-bit
9544114237Snjllimitations on field sizes have been removed.  Both BufferFields
9545114237Snjland (Operation) RegionFields are now supported by the same field
9546114237Snjlmanagement code.
9547102550Siwasaki
9548114237SnjlResource support now supports QWORD address and IO resources. The
9549114237Snjl16/32/64 bit address structures and the Extended IRQ structure
9550114237Snjlhave been changed to properly handle Source Resource strings.
9551102550Siwasaki
9552114237SnjlA ThreadId of -1 is now used to indicate a "mutex not acquired"
9553193267Sjkimcondition internally and must never be returned by AcpiOsThreadId.
9554126372SnjlThis reserved value was changed from 0 since Unix systems allow a
9555126372Snjlthread ID of 0.
9556102550Siwasaki
9557102550SiwasakiLinux:
9558102550Siwasaki
9559102550SiwasakiDriver code reorganized to enhance portability
9560102550Siwasaki
9561102550SiwasakiAdded a kernel configuration option to control ACPI_DEBUG
9562102550Siwasaki
9563102550SiwasakiFixed the EC driver to honor _GLK.
9564102550Siwasaki
9565102550SiwasakiASL Compiler, version X2016:
9566102550Siwasaki
9567114237SnjlFixed support for the "FixedHw" keyword.  Previously, the FixedHw
9568114237Snjladdress space was set to 0, not 0x7f as it should be.
9569102550Siwasaki
9570102550Siwasaki ------------------------------------------
9571102550SiwasakiSummary of changes for this label: 03_13_01
9572102550Siwasaki
9573102550Siwasaki ACPI CA Core Subsystem:
9574102550Siwasaki
9575104470SiwasakiDuring ACPI initialization, the _SB_._INI method is now run if
9576104470Siwasakipresent.
9577102550Siwasaki
9578193267SjkimNotify handler fix - notifies are deferred until the parent method
9579126372Snjlcompletes execution.  This fixes the "mutex already acquired"
9580126372Snjlissue seen occasionally.
9581102550Siwasaki
9582104470SiwasakiPart of the "implicit conversion" rules in ACPI 2.0 have been
9583114237Snjlfound to cause compatibility problems with existing ASL/AML.  The
9584114237Snjlconvert "result-to-target-type" implementation has been removed
9585114237Snjlfor stores to method Args and Locals.  Source operand conversion
9586114237Snjlis still fully implemented.  Possible changes to ACPI 2.0
9587114237Snjlspecification pending.
9588102550Siwasaki
9589104470SiwasakiFix to AcpiRsCalculatePciRoutingTableLength to return correct
9590104470Siwasakilength.
9591102550Siwasaki
9592102550SiwasakiFix for compiler warnings for 64-bit compiles.
9593102550Siwasaki
9594102550Siwasaki Linux:
9595102550Siwasaki
9596102550Siwasaki/proc output aligned for easier parsing.
9597102550Siwasaki
9598102550SiwasakiRelease-version compile problem fixed.
9599102550Siwasaki
9600104470SiwasakiNew kernel configuration options documented in Configure.help.
9601102550Siwasaki
9602102550SiwasakiIBM 600E - Fixed Sleep button may generate "Invalid <NULL>
9603102550Siwasakicontext" message.
9604102550Siwasaki
9605102550Siwasaki OSPM:
9606102550Siwasaki
9607102550SiwasakiPower resource driver integrated with bus manager.
9608102550Siwasaki
9609102550SiwasakiFixed kernel fault during active cooling for thermal zones.
9610102550Siwasaki
9611102550SiwasakiSource Code:
9612102550Siwasaki
9613102550SiwasakiThe source code tree has been restructured.
9614102550Siwasaki
9615102550Siwasaki
9616102550Siwasaki
9617102550Siwasaki------------------------------------------
9618102550SiwasakiSummary of changes for this label: 03_02_01
9619102550Siwasaki
9620102550Siwasaki Linux OS Services Layer (OSL):
9621102550Siwasaki
9622102550SiwasakiMajor revision of all Linux-specific code.
9623102550Siwasaki
9624102550SiwasakiModularized all ACPI-specific drivers.
9625102550Siwasaki
9626102550SiwasakiAdded new thermal zone and power resource drivers.
9627102550Siwasaki
9628114237SnjlRevamped /proc interface (new functionality is under /proc/acpi).
9629102550Siwasaki
9630102550SiwasakiNew kernel configuration options.
9631102550Siwasaki
9632102550Siwasaki Linux known issues:
9633102550Siwasaki
9634114237SnjlNew kernel configuration options not documented in Configure.help
9635114237Snjlyet.
9636102550Siwasaki
9637114237Snjl
9638102550SiwasakiModule dependencies not currently implemented. If used, they
9639102550Siwasakishould be loaded in this order: busmgr, power, ec, system,
9640102550Siwasakiprocessor, battery, ac_adapter, button, thermal.
9641102550Siwasaki
9642102550SiwasakiModules will not load if CONFIG_MODVERSION is set.
9643102550Siwasaki
9644102550SiwasakiIBM 600E - entering S5 may reboot instead of shutting down.
9645102550Siwasaki
9646104470SiwasakiIBM 600E - Sleep button may generate "Invalid <NULL> context"
9647104470Siwasakimessage.
9648102550Siwasaki
9649104470SiwasakiSome systems may fail with "execution mutex already acquired"
9650104470Siwasakimessage.
9651102550Siwasaki
9652102550Siwasaki ACPI CA Core Subsystem:
9653102550Siwasaki
9654114237SnjlAdded a new OSL Interface, AcpiOsGetThreadId.  This was required
9655193267Sjkimfor the  deadlock detection code. Defined to return a non-zero, 32-
9656126372Snjlbit thread ID for the currently executing thread.  May be a non-
9657126372Snjlzero constant integer on single-thread systems.
9658102550Siwasaki
9659193267SjkimImplemented deadlock detection for internal subsystem mutexes.  We
9660126372Snjlmay add conditional compilation for this code (debug only) later.
9661102550Siwasaki
9662104470SiwasakiASL/AML Mutex object semantics are now fully supported.  This
9663114237Snjlincludes multiple acquires/releases by owner and support for the
9664167802Sjkim
9665114237SnjlMutex SyncLevel parameter.
9666102550Siwasaki
9667102550SiwasakiA new "Force Release" mechanism automatically frees all ASL
9668104470SiwasakiMutexes that have been acquired but not released when a thread
9669114237Snjlexits the interpreter.  This forces conformance to the ACPI spec
9670114237Snjl("All mutexes must be released when an invocation exits") and
9671114237Snjlprevents deadlocked ASL threads.  This mechanism can be expanded
9672114237Snjl(later) to monitor other resource acquisitions if OEM ASL code
9673114237Snjlcontinues to misbehave (which it will).
9674102550Siwasaki
9675104470SiwasakiSeveral new ACPI exception codes have been added for the Mutex
9676104470Siwasakisupport.
9677102550Siwasaki
9678104470SiwasakiRecursive method calls are now allowed and supported (the ACPI
9679114237Snjlspec does in fact allow recursive method calls.)  The number of
9680114237Snjlrecursive calls is subject to the restrictions imposed by the
9681114237SnjlSERIALIZED method keyword and SyncLevel (ACPI 2.0) method
9682104470Siwasakiparameter.
9683102550Siwasaki
9684102550SiwasakiImplemented support for the SyncLevel parameter for control
9685102550Siwasakimethods (ACPI 2.0 feature)
9686102550Siwasaki
9687114237SnjlFixed a deadlock problem when multiple threads attempted to use
9688114237Snjlthe interpreter.
9689102550Siwasaki
9690102550SiwasakiFixed a problem where the string length of a String package
9691102550Siwasakielement was not always set in a package returned from
9692102550SiwasakiAcpiEvaluateObject.
9693102550Siwasaki
9694114237SnjlFixed a problem where the length of a String package element was
9695114237Snjlnot always included in the length of the overall package returned
9696114237Snjlfrom AcpiEvaluateObject.
9697102550Siwasaki
9698102550SiwasakiAdded external interfaces (Acpi*) to the ACPI debug memory
9699102550Siwasakimanager.  This manager keeps a list of all outstanding
9700193267Sjkimallocations, and can therefore detect memory leaks and attempts to
9701126372Snjlfree memory blocks more than once. Useful for code such as the
9702114237Snjlpower manager, etc.  May not be appropriate for device drivers.
9703114237SnjlPerformance with the debug code enabled is slow.
9704102550Siwasaki
9705102550SiwasakiThe ACPI Global Lock is now an optional hardware element.
9706102550Siwasaki
9707102550Siwasaki ASL Compiler Version X2015:
9708102550Siwasaki
9709102550SiwasakiIntegrated changes to allow the compiler to be generated on
9710102550Siwasakimultiple platforms.
9711102550Siwasaki
9712102550SiwasakiLinux makefile added to generate the compiler on Linux
9713102550Siwasaki
9714102550Siwasaki Source Code:
9715102550Siwasaki
9716102550SiwasakiAll platform-specific headers have been moved to their own
9717102550Siwasakisubdirectory, Include/Platform.
9718102550Siwasaki
9719102550SiwasakiNew source file added, Interpreter/ammutex.c
9720102550Siwasaki
9721102550SiwasakiNew header file, Include/acstruct.h
9722102550Siwasaki
9723102550Siwasaki Documentation:
9724102550Siwasaki
9725114237SnjlThe programmer reference has been updated for the following new
9726114237Snjlinterfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
9727102550Siwasaki
9728102550Siwasaki ------------------------------------------
9729102550SiwasakiSummary of changes for this label: 02_08_01
9730102550Siwasaki
9731102550SiwasakiCore ACPI CA Subsystem: Fixed a problem where an error was
9732193267Sjkimincorrectly returned if the return resource buffer was larger than
9733126372Snjlthe actual data (in the resource interfaces).
9734102550Siwasaki
9735114237SnjlReferences to named objects within packages are resolved to the
9736167802Sjkim
9737114237Snjlfull pathname string before packages are returned directly (via
9738114237Snjlthe AcpiEvaluateObject interface) or indirectly via the resource
9739114237Snjlinterfaces.
9740102550Siwasaki
9741102550SiwasakiLinux OS Services Layer (OSL):
9742102550Siwasaki
9743102550SiwasakiImproved /proc battery interface.
9744102550Siwasaki
9745102550Siwasaki
9746104470SiwasakiAdded C-state debugging output and other miscellaneous fixes.
9747102550Siwasaki
9748102550SiwasakiASL Compiler Version X2014:
9749102550Siwasaki
9750114237SnjlAll defined method arguments can now be used as local variables,
9751114237Snjlincluding the ones that are not actually passed in as parameters.
9752114237SnjlThe compiler tracks initialization of the arguments and issues an
9753114237Snjlexception if they are used without prior assignment (just like
9754114237Snjllocals).
9755102550Siwasaki
9756193267SjkimThe -o option now specifies a filename prefix that is used for all
9757126372Snjloutput files, including the AML output file.  Otherwise, the
9758114237Snjldefault behavior is as follows:  1) the AML goes to the file
9759114237Snjlspecified in the DSDT.  2) all other output files use the input
9760114237Snjlsource filename as the base.
9761102550Siwasaki
9762102550Siwasaki ------------------------------------------
9763102550SiwasakiSummary of changes for this label: 01_25_01
9764102550Siwasaki
9765114237SnjlCore ACPI CA Subsystem: Restructured the implementation of object
9766114237Snjlstore support within the  interpreter.  This includes support for
9767114237Snjlthe Store operator as well  as any ASL operators that include a
9768114237Snjltarget operand.
9769102550Siwasaki
9770102550SiwasakiPartially implemented support for Implicit Result-to-Target
9771114237Snjlconversion. This is when a result object is converted on the fly
9772114237Snjlto the type of  an existing target object.  Completion of this
9773114237Snjlsupport is pending  further analysis of the ACPI specification
9774114237Snjlconcerning this matter.
9775102550Siwasaki
9776114237SnjlCPU-specific code has been removed from the subsystem (hardware
9777114237Snjldirectory).
9778102550Siwasaki
9779102550SiwasakiNew Power Management Timer functions added
9780102550Siwasaki
9781114237SnjlLinux OS Services Layer (OSL): Moved system state transition code
9782114237Snjlto the core, fixed it, and modified  Linux OSL accordingly.
9783102550Siwasaki
9784102550SiwasakiFixed C2 and C3 latency calculations.
9785102550Siwasaki
9786102550Siwasaki
9787114237SnjlWe no longer use the compilation date for the version message on
9788193267Sjkiminitialization, but retrieve the version from AcpiGetSystemInfo().
9789102550Siwasaki
9790102550SiwasakiIncorporated for fix Sony VAIO machines.
9791102550Siwasaki
9792104470SiwasakiDocumentation:  The Programmer Reference has been updated and
9793104470Siwasakireformatted.
9794102550Siwasaki
9795102550Siwasaki
9796102550SiwasakiASL Compiler:  Version X2013: Fixed a problem where the line
9797102550Siwasakinumbering and error reporting could get out  of sync in the
9798102550Siwasakipresence of multiple include files.
9799102550Siwasaki
9800102550Siwasaki ------------------------------------------
9801102550SiwasakiSummary of changes for this label: 01_15_01
9802102550Siwasaki
9803102550SiwasakiCore ACPI CA Subsystem:
9804102550Siwasaki
9805114237SnjlImplemented support for type conversions in the execution of the
9806114237SnjlASL  Concatenate operator (The second operand is converted to
9807114237Snjlmatch the type  of the first operand before concatenation.)
9808102550Siwasaki
9809102550SiwasakiSupport for implicit source operand conversion is partially
9810114237Snjlimplemented.   The ASL source operand types Integer, Buffer, and
9811114237SnjlString are freely  interchangeable for most ASL operators and are
9812114237Snjlconverted by the interpreter  on the fly as required.  Implicit
9813114237SnjlTarget operand conversion (where the  result is converted to the
9814114237Snjltarget type before storing) is not yet implemented.
9815102550Siwasaki
9816102550SiwasakiSupport for 32-bit and 64-bit BCD integers is implemented.
9817102550Siwasaki
9818193267SjkimProblem fixed where a field read on an aligned field could cause a
9819126372Snjlread  past the end of the field.
9820102550Siwasaki
9821114237SnjlNew exception, AE_AML_NO_RETURN_VALUE, is returned when a method
9822114237Snjldoes not return a value, but the caller expects one.  (The ASL
9823114237Snjlcompiler flags this as a warning.)
9824102550Siwasaki
9825102550SiwasakiASL Compiler:
9826102550Siwasaki
9827102550SiwasakiVersion X2011:
9828102550Siwasaki1. Static typechecking of all operands is implemented. This
9829193267Sjkimprevents the use of invalid objects (such as using a Package where
9830126372Snjlan Integer is required) at compile time instead of at interpreter
9831126372Snjlrun-time.
9832114237Snjl2. The ASL source line is printed with ALL errors and warnings.
9833102550Siwasaki3. Bug fix for source EOF without final linefeed.
9834193267Sjkim4. Debug option is split into a parse trace and a namespace trace.
9835102550Siwasaki5. Namespace output option (-n) includes initial values for
9836102550Siwasakiintegers and strings.
9837102550Siwasaki6. Parse-only option added for quick syntax checking.
9838102550Siwasaki7. Compiler checks for duplicate ACPI name declarations
9839102550Siwasaki
9840102550SiwasakiVersion X2012:
9841102550Siwasaki1. Relaxed typechecking to allow interchangeability between
9842114237Snjlstrings, integers, and buffers.  These types are now converted by
9843114237Snjlthe interpreter at runtime.
9844114237Snjl2. Compiler reports time taken by each internal subsystem in the
9845114237Snjldebug         output file.
9846102550Siwasaki
9847102550Siwasaki
9848102550Siwasaki ------------------------------------------
9849102550SiwasakiSummary of changes for this label: 12_14_00
9850102550Siwasaki
9851102550SiwasakiASL Compiler:
9852102550Siwasaki
9853104470SiwasakiThis is the first official release of the compiler. Since the
9854104470Siwasakicompiler requires elements of the Core Subsystem, this label
9855104470Siwasakisynchronizes everything.
9856102550Siwasaki
9857102550Siwasaki------------------------------------------
9858102550SiwasakiSummary of changes for this label: 12_08_00
9859102550Siwasaki
9860102550Siwasaki
9861114237SnjlFixed a problem where named references within the ASL definition
9862114237Snjlof both OperationRegions and CreateXXXFields did not work
9863114237Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
9864114237Snjlinitialization of the region/field. This is similar (but not
9865114237Snjlrelated internally) to the problem that was fixed in the last
9866114237Snjllabel.
9867114237Snjl
9868102550SiwasakiImplemented both 32-bit and 64-bit support for the BCD ASL
9869102550Siwasakifunctions ToBCD and FromBCD.
9870102550Siwasaki
9871102550SiwasakiUpdated all legal headers to include "2000" in the copyright
9872102550Siwasakiyears.
9873102550Siwasaki
9874102550Siwasaki ------------------------------------------
9875102550SiwasakiSummary of changes for this label: 12_01_00
9876102550Siwasaki
9877193267SjkimFixed a problem where method invocations within the ASL definition
9878126372Snjlof both OperationRegions and CreateXXXFields did not work
9879126372Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
9880114237Snjlinitialization of the region/field:
9881102550Siwasaki
9882114237Snjl  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
9883114237Snjl[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
9884114237Snjl(0x3005)
9885102550Siwasaki
9886102550SiwasakiFixed a problem where operators with more than one nested
9887104470Siwasakisubexpression would fail.  The symptoms were varied, by mostly
9888114237SnjlAE_AML_OPERAND_TYPE errors.  This was actually a rather serious
9889114237Snjlproblem that has gone unnoticed until now.
9890102550Siwasaki
9891102550Siwasaki  Subtract (Add (1,2), Multiply (3,4))
9892102550Siwasaki
9893114237SnjlFixed a problem where AcpiGetHandle didn't quite get fixed in the
9894114237Snjlprevious build (The prefix part of a relative path was handled
9895114237Snjlincorrectly).
9896102550Siwasaki
9897114237SnjlFixed a problem where Operation Region initialization failed if
9898114237Snjlthe operation region name was a "namepath" instead of a simple
9899114237Snjl"nameseg". Symptom was an AE_NO_OPERAND error.
9900102550Siwasaki
9901114237SnjlFixed a problem where an assignment to a local variable via the
9902114237Snjlindirect RefOf mechanism only worked for the first such
9903102550Siwasakiassignment.  Subsequent assignments were ignored.
9904102550Siwasaki
9905102550Siwasaki ------------------------------------------
9906102550SiwasakiSummary of changes for this label: 11_15_00
9907102550Siwasaki
9908193267SjkimACPI 2.0 table support with backwards support for ACPI 1.0 and the
9909193267Sjkim0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
9910126372Snjlthe AML  interpreter does NOT have support for the new 2.0 ASL
9911126372Snjlgrammar terms at this time.
9912102550Siwasaki
9913193267SjkimAll ACPI hardware access is via the GAS structures in the ACPI 2.0
9914126372SnjlFADT.
9915102550Siwasaki
9916193267SjkimAll physical memory addresses across all platforms are now 64 bits
9917126372Snjlwide. Logical address width remains dependent on the platform
9918126372Snjl(i.e., "void *").
9919102550Siwasaki
9920114237SnjlAcpiOsMapMemory interface changed to a 64-bit physical address.
9921102550Siwasaki
9922114237SnjlThe AML interpreter integer size is now 64 bits, as per the ACPI
9923114237Snjl2.0 specification.
9924102550Siwasaki
9925104470SiwasakiFor backwards compatibility with ACPI 1.0, ACPI tables with a
9926104470Siwasakirevision number less than 2 use 32-bit integers only.
9927102550Siwasaki
9928114237SnjlFixed a problem where the evaluation of OpRegion operands did not
9929114237Snjlalways resolve them to numbers properly.
9930102550Siwasaki
9931102550Siwasaki------------------------------------------
9932102550SiwasakiSummary of changes for this label: 10_20_00
9933102550Siwasaki
9934114237SnjlFix for CBN_._STA issue.  This fix will allow correct access to
9935114237SnjlCBN_ OpRegions when the _STA returns 0x8.
9936102550Siwasaki
9937104470SiwasakiSupport to convert ACPI constants (Ones, Zeros, One) to actual
9938104470Siwasakivalues before a package object is returned
9939102550Siwasaki
9940104470SiwasakiFix for method call as predicate to if/while construct causing
9941104470Siwasakiincorrect if/while behavior
9942102550Siwasaki
9943114237SnjlFix for Else block package lengths sometimes calculated wrong (if
9944114237Snjlblock > 63 bytes)
9945102550Siwasaki
9946102550SiwasakiFix for Processor object length field, was always zero
9947102550Siwasaki
9948102550SiwasakiTable load abort if FACP sanity check fails
9949102550Siwasaki
9950102550SiwasakiFix for problem with Scope(name) if name already exists
9951102550Siwasaki
9952102550SiwasakiWarning emitted if a named object referenced cannot be found
9953102550Siwasaki(resolved) during method execution.
9954102550Siwasaki
9955102550Siwasaki
9956102550Siwasaki
9957102550Siwasaki
9958102550Siwasaki
9959102550Siwasaki------------------------------------------
9960102550SiwasakiSummary of changes for this label: 9_29_00
9961102550Siwasaki
9962114237SnjlNew table initialization interfaces: AcpiInitializeSubsystem no
9963114237Snjllonger has any parameters AcpiFindRootPointer - Find the RSDP (if
9964114237Snjlnecessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
9965114237Snjl>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
9966114237SnjlAcpiLoadTables
9967102550Siwasaki
9968193267SjkimNote: These interface changes require changes to all existing OSDs
9969102550Siwasaki
9970114237SnjlThe PCI_Config default address space handler is always installed
9971114237Snjlat the root namespace object.
9972102550Siwasaki
9973102550Siwasaki-------------------------------------------
9974102550SiwasakiSummary of changes for this label: 09_15_00
9975102550Siwasaki
9976102550SiwasakiThe new initialization architecture is implemented.  New
9977114237Snjlinterfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
9978114237SnjlAcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
9979167802Sjkim
9980114237Snjl(Namespace is automatically loaded when a table is loaded)
9981102550Siwasaki
9982193267SjkimThe ACPI_OPERAND_OBJECT has been optimized to shrink its size from
9983126372Snjl52 bytes to 32 bytes.  There is usually one of these for every
9984126372Snjlnamespace object, so the memory savings is significant.
9985102550Siwasaki
9986114237SnjlImplemented just-in-time evaluation of the CreateField operators.
9987102550Siwasaki
9988102550SiwasakiBug fixes for IA-64 support have been integrated.
9989102550Siwasaki
9990102550SiwasakiAdditional code review comments have been implemented
9991102550Siwasaki
9992193267SjkimThe so-called "third pass parse" has been replaced by a final walk
9993193267Sjkimthrough the namespace to initialize all operation regions (address
9994126372Snjlspaces) and fields that have not yet been initialized during the
9995126372Snjlexecution of the various _INI and REG methods.
9996102550Siwasaki
9997102550SiwasakiNew file - namespace/nsinit.c
9998102550Siwasaki
9999102550Siwasaki-------------------------------------------
10000102550SiwasakiSummary of changes for this label: 09_01_00
10001102550Siwasaki
10002193267SjkimNamespace manager data structures have been reworked to change the
10003126372Snjlprimary  object from a table to a single object.  This has
10004193267Sjkimresulted in dynamic memory  savings of 3X within the namespace and
10005126372Snjl2X overall in the ACPI CA subsystem.
10006102550Siwasaki
10007102550SiwasakiFixed problem where the call to AcpiEvFindPciRootBuses was
10008102550Siwasakiinadvertently left  commented out.
10009102550Siwasaki
10010114237SnjlReduced the warning count when generating the source with the GCC
10011114237Snjlcompiler.
10012102550Siwasaki
10013102550SiwasakiRevision numbers added to each module header showing the
10014104470SiwasakiSourceSafe version of the file.  Please refer to this version
10015114237Snjlnumber when giving us feedback or comments on individual modules.
10016102550Siwasaki
10017114237SnjlThe main object types within the subsystem have been renamed to
10018114237Snjlclarify their  purpose:
10019102550Siwasaki
10020102550SiwasakiACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10021102550SiwasakiACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10022102550SiwasakiACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10023102550Siwasaki
10024114237SnjlNOTE: no changes to the initialization sequence are included in
10025114237Snjlthis label.
10026102550Siwasaki
10027102550Siwasaki-------------------------------------------
10028102550SiwasakiSummary of changes for this label: 08_23_00
10029102550Siwasaki
10030102550SiwasakiFixed problem where TerminateControlMethod was being called
10031102550Siwasakimultiple times per  method
10032102550Siwasaki
10033193267SjkimFixed debugger problem where single stepping caused a semaphore to
10034126372Snjlbe  oversignalled
10035102550Siwasaki
10036104470SiwasakiImproved performance through additional parse object caching -
10037104470Siwasakiadded  ACPI_EXTENDED_OP type
10038102550Siwasaki
10039102550Siwasaki-------------------------------------------
10040102550SiwasakiSummary of changes for this label: 08_10_00
10041102550Siwasaki
10042102550SiwasakiParser/Interpreter integration:  Eliminated the creation of
10043102550Siwasakicomplete parse trees  for ACPI tables and control methods.
10044114237SnjlInstead, parse subtrees are created and  then deleted as soon as
10045193267Sjkimthey are processed (Either entered into the namespace or  executed
10046126372Snjlby the interpreter).  This reduces the use of dynamic kernel
10047126372Snjlmemory  significantly. (about 10X)
10048102550Siwasaki
10049114237SnjlException codes broken into classes and renumbered.  Be sure to
10050114237Snjlrecompile all  code that includes acexcep.h.  Hopefully we won't
10051114237Snjlhave to renumber the codes  again now that they are split into
10052114237Snjlclasses (environment, programmer, AML code,  ACPI table, and
10053114237Snjlinternal).
10054102550Siwasaki
10055104470SiwasakiFixed some additional alignment issues in the Resource Manager
10056104470Siwasakisubcomponent
10057102550Siwasaki
10058114237SnjlImplemented semaphore tracking in the AcpiExec utility, and fixed
10059114237Snjlseveral places  where mutexes/semaphores were being unlocked
10060114237Snjlwithout a corresponding lock  operation.  There are no known
10061114237Snjlsemaphore or mutex "leaks" at this time.
10062102550Siwasaki
10063114237SnjlFixed the case where an ASL Return operator is used to return an
10064114237Snjlunnamed  package.
10065102550Siwasaki
10066102550Siwasaki-------------------------------------------
10067102550SiwasakiSummary of changes for this label: 07_28_00
10068102550Siwasaki
10069102550SiwasakiFixed a problem with the way addresses were calculated in
10070114237SnjlAcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10071114237Snjlmanifested itself when a Field was  created with WordAccess or
10072193267SjkimDwordAccess, but the field unit defined within the  Field was less
10073167802Sjkim
10074126372Snjlthan a Word or Dword.
10075102550Siwasaki
10076102550SiwasakiFixed a problem in AmlDumpOperands() module's loop to pull
10077104470Siwasakioperands off of the  operand stack to display information. The
10078114237Snjlproblem manifested itself as a TLB  error on 64-bit systems when
10079114237Snjlaccessing an operand stack with two or more  operands.
10080102550Siwasaki
10081114237SnjlFixed a problem with the PCI configuration space handlers where
10082114237Snjlcontext was  getting confused between accesses. This required a
10083114237Snjlchange to the generic address  space handler and address space
10084193267Sjkimsetup definitions. Handlers now get both a  global handler context
10085126372Snjl(this is the one passed in by the user when executing
10086114237SnjlAcpiInstallAddressSpaceHandler() and a specific region context
10087114237Snjlthat is unique to  each region (For example, the _ADR, _SEG and
10088114237Snjl_BBN values associated with a  specific region). The generic
10089114237Snjlfunction definitions have changed to the  following:
10090102550Siwasaki
10091114237Snjltypedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10092114237SnjlUINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10093104470Siwasaki*HandlerContext, // This used to be void *Context void
10094102550Siwasaki*RegionContext); // This is an additional parameter
10095102550Siwasaki
10096102550Siwasakitypedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10097102550SiwasakiRegionHandle, UINT32 Function, void *HandlerContext,  void
10098102550Siwasaki**RegionContext); // This used to be **ReturnContext
10099102550Siwasaki
10100102550Siwasaki-------------------------------------------
10101102550SiwasakiSummary of changes for this label: 07_21_00
10102102550Siwasaki
10103102550SiwasakiMajor file consolidation and rename.  All files within the
10104193267Sjkiminterpreter have been  renamed as well as most header files.  This
10105126372Snjlwas done to prevent collisions with  existing files in the host
10106126372SnjlOSs -- filenames such as "config.h" and "global.h"  seem to be
10107126372Snjlquite common.  The VC project files have been updated.  All
10108114237Snjlmakefiles  will require modification.
10109102550Siwasaki
10110114237SnjlThe parser/interpreter integration continues in Phase 5 with the
10111114237Snjlimplementation  of a complete 2-pass parse (the AML is parsed
10112114237Snjltwice) for each table;  This  avoids the construction of a huge
10113114237Snjlparse tree and therefore reduces the amount of  dynamic memory
10114114237Snjlrequired by the subsystem.  Greater use of the parse object cache
10115114237Snjlmeans that performance is unaffected.
10116102550Siwasaki
10117102550SiwasakiMany comments from the two code reviews have been rolled in.
10118102550Siwasaki
10119102550SiwasakiThe 64-bit alignment support is complete.
10120102550Siwasaki
10121102550Siwasaki-------------------------------------------
10122102550SiwasakiSummary of changes for this label: 06_30_00
10123102550Siwasaki
10124114237SnjlWith a nod and a tip of the hat to the technology of yesteryear,
10125114237Snjlwe've added  support in the source code for 80 column output
10126114237Snjldevices.  The code is now mostly  constrained to 80 columns or
10127114237Snjlless to support environments and editors that 1)  cannot display
10128114237Snjlor print more than 80 characters on a single line, and 2) cannot
10129114237Snjldisable line wrapping.
10130102550Siwasaki
10131104470SiwasakiA major restructuring of the namespace data structure has been
10132104470Siwasakicompleted.  The  result is 1) cleaner and more
10133114237Snjlunderstandable/maintainable code, and 2) a  significant reduction
10134114237Snjlin the dynamic memory requirement for each named ACPI  object
10135114237Snjl(almost half).
10136102550Siwasaki
10137102550Siwasaki-------------------------------------------
10138102550SiwasakiSummary of changes for this label: 06_23_00
10139102550Siwasaki
10140114237SnjlLinux support has been added.  In order to obtain approval to get
10141114237Snjlthe ACPI CA  subsystem into the Linux kernel, we've had to make
10142114237Snjlquite a few changes to the  base subsystem that will affect all
10143114237Snjlusers (all the changes are generic and OS- independent).  The
10144114237Snjleffects of these global changes have been somewhat far  reaching.
10145114237SnjlFiles have been merged and/or renamed and interfaces have been
10146114237Snjlrenamed.   The major changes are described below.
10147102550Siwasaki
10148102550SiwasakiOsd* interfaces renamed to AcpiOs* to eliminate namespace
10149102550Siwasakipollution/confusion  within our target kernels.  All OSD
10150114237Snjlinterfaces must be modified to match the new  naming convention.
10151102550Siwasaki
10152193267SjkimFiles merged across the subsystem.  A number of the smaller source
10153126372Snjland header  files have been merged to reduce the file count and
10154126372Snjlincrease the density of the  existing files.  There are too many
10155126372Snjlto list here.  In general, makefiles that  call out individual
10156126372Snjlfiles will require rebuilding.
10157102550Siwasaki
10158104470SiwasakiInterpreter files renamed.  All interpreter files now have the
10159104470Siwasakiprefix am*  instead of ie* and is*.
10160102550Siwasaki
10161104470SiwasakiHeader files renamed:  The acapi.h file is now acpixf.h.  The
10162114237Snjlacpiosd.h file is  now acpiosxf.h.  We are removing references to
10163114237Snjlthe acronym "API" since it is  somewhat windowsy. The new name is
10164114237Snjl"external interface" or xface or xf in the  filenames.j
10165102550Siwasaki
10166102550Siwasaki
10167114237SnjlAll manifest constants have been forced to upper case (some were
10168193267Sjkimmixed case.)   Also, the string "ACPI_" has been prepended to many
10169126372Snjl(not all) of the constants,  typedefs, and structs.
10170102550Siwasaki
10171102550SiwasakiThe globals "DebugLevel" and "DebugLayer" have been renamed
10172102550Siwasaki"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10173102550Siwasaki
10174102550SiwasakiAll other globals within the subsystem are now prefixed with
10175102550Siwasaki"AcpiGbl_" Internal procedures within the subsystem are now
10176114237Snjlprefixed with "Acpi" (with only  a few exceptions).  The original
10177193267Sjkimtwo-letter abbreviation for the subcomponent  remains after "Acpi"
10178126372Snjl- for example, CmCallocate became AcpiCmCallocate.
10179102550Siwasaki
10180102550SiwasakiAdded a source code translation/conversion utility.  Used to
10181114237Snjlgenerate the Linux  source code, it can be modified to generate
10182114237Snjlother types of source as well. Can  also be used to cleanup
10183114237Snjlexisting source by removing extraneous spaces and blank  lines.
10184114237SnjlFound in tools/acpisrc/*
10185102550Siwasaki
10186102550SiwasakiOsdUnMapMemory was renamed to OsdUnmapMemory and then
10187102550SiwasakiAcpiOsUnmapMemory.  (UnMap  became Unmap).
10188102550Siwasaki
10189114237SnjlA "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10190114237SnjlWhen set to  one, this indicates that the caller wants to use the
10191167802Sjkim
10192114237Snjlsemaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10193114237Snjlboth types.  However, implementers of this  call may want to use
10194114237Snjldifferent OS primitives depending on the type of semaphore
10195114237Snjlrequested.  For example, some operating systems provide separate
10196167802Sjkim
10197193267Sjkim"mutex" and  "semaphore" interfaces - where the mutex interface is
10198126372Snjlmuch faster because it  doesn't have all the overhead of a full
10199126372Snjlsemaphore implementation.
10200102550Siwasaki
10201104470SiwasakiFixed a deadlock problem where a method that accesses the PCI
10202114237Snjladdress space can  block forever if it is the first access to the
10203114237Snjlspace.
10204102550Siwasaki
10205102550Siwasaki-------------------------------------------
10206102550SiwasakiSummary of changes for this label: 06_02_00
10207102550Siwasaki
10208102550SiwasakiSupport for environments that cannot handle unaligned data
10209114237Snjlaccesses (e.g.  firmware and OS environments devoid of alignment
10210193267Sjkimhandler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10211126372Snjlbeen added (via configurable macros) in  these three areas: -
10212114237SnjlTransfer of data from the raw AML byte stream is done via byte
10213193267Sjkimmoves instead of    word/dword/qword moves. - External objects are
10214126372Snjlaligned within the user buffer, including package   elements (sub-
10215193267Sjkimobjects). - Conversion of name strings to UINT32 Acpi Names is now
10216126372Snjldone byte-wise.
10217102550Siwasaki
10218102550SiwasakiThe Store operator was modified to mimic Microsoft's
10219102550Siwasakiimplementation when storing  to a Buffer Field.
10220102550Siwasaki
10221102550SiwasakiAdded a check of the BM_STS bit before entering C3.
10222102550Siwasaki
10223114237SnjlThe methods subdirectory has been obsoleted and removed.  A new
10224114237Snjlfile, cmeval.c  subsumes the functionality.
10225102550Siwasaki
10226102550SiwasakiA 16-bit (DOS) version of AcpiExec has been developed.  The
10227102550Siwasakimakefile is under  the acpiexec directory.
10228