changes.txt revision 229989
1117521Snjl----------------------------------------
2229989Sjkim11 January 2012. Summary of changes for version 20120111:
3229989Sjkim
4229989SjkimThis release is available at www.acpica.org/downloads.
5229989SjkimThe ACPI 5.0 specification is available at www.acpi.info.
6229989Sjkim
7229989Sjkim1) ACPICA Core Subsystem:
8229989Sjkim
9229989SjkimImplemented a new mechanism to allow host device drivers to check for address 
10229989Sjkimrange conflicts with ACPI Operation Regions. Both SystemMemory and SystemIO 
11229989Sjkimaddress spaces are supported. A new external interface, AcpiCheckAddressRange, 
12229989Sjkimallows drivers to check an address range against the ACPI namespace. See the 
13229989SjkimACPICA reference for additional details. Adds one new file, 
14229989Sjkimutilities/utaddress.c. Lin Ming, Bob Moore.
15229989Sjkim
16229989SjkimFixed several issues with the ACPI 5.0 FADT support: Add the sleep Control and 
17229989SjkimStatus registers, update the ACPI 5.0 flags, and update internal data 
18229989Sjkimstructures to handle an FADT larger than 256 bytes. The size of the ACPI 5.0 
19229989SjkimFADT is 268 bytes.
20229989Sjkim
21229989SjkimUpdated all ACPICA copyrights and signons to 2012. Added the 2012 copyright to 
22229989Sjkimall module headers and signons, including the standard Linux header. This 
23229989Sjkimaffects virtually every file in the ACPICA core subsystem, iASL compiler, and 
24229989Sjkimall ACPICA utilities.
25229989Sjkim
26229989SjkimExample Code and Data Size: These are the sizes for the OS-independent 
27229989Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
28229989Sjkimversion of the code includes the debug output trace mechanism and has a much 
29229989Sjkimlarger code and data size.
30229989Sjkim
31229989Sjkim  Previous Release:
32229989Sjkim    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
33229989Sjkim    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
34229989Sjkim  Current Release:
35229989Sjkim    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
36229989Sjkim    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
37229989Sjkim
38229989Sjkim
39229989Sjkim2) iASL Compiler/Disassembler and Tools:
40229989Sjkim
41229989SjkimDisassembler: fixed a problem with the automatic resource tag generation 
42229989Sjkimsupport. Fixes a problem where the resource tags are inadvertently not 
43229989Sjkimconstructed if the table being disassembled contains external references to 
44229989Sjkimcontrol methods. Moved the actual construction of the tags to after the final 
45229989Sjkimnamespace is constructed (after 2nd parse is invoked due to external control 
46229989Sjkimmethod references.) ACPICA BZ 941.
47229989Sjkim
48229989SjkimTable Compiler: Make all "generic" operators caseless. These are the operators 
49229989Sjkimlike UINT8, String, etc. Making these caseless improves ease-of-use. ACPICA BZ 
50229989Sjkim934.
51229989Sjkim
52229989Sjkim----------------------------------------
53228110Sjkim23 November 2011. Summary of changes for version 20111123:
54222544Sjkim
55228110Sjkim0) ACPI 5.0 Support:
56228110Sjkim
57228110SjkimThis release contains full support for the ACPI 5.0 specification, as 
58228110Sjkimsummarized below.
59228110Sjkim
60228110SjkimReduced Hardware Support:
61228110Sjkim-------------------------
62228110Sjkim
63228110SjkimThis support allows for ACPI systems without the usual ACPI hardware. This 
64228110Sjkimsupport is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
65228110Sjkimnot attempt to initialize or use any of the usual ACPI hardware. Note, when 
66228110Sjkimthis flag is set, all of the following ACPI hardware is assumed to be not 
67228110Sjkimpresent and is not initialized or accessed:
68228110Sjkim
69228110Sjkim    General Purpose Events (GPEs)
70228110Sjkim    Fixed Events (PM1a/PM1b and PM Control)
71228110Sjkim    Power Management Timer and Console Buttons (power/sleep)
72228110Sjkim    Real-time Clock Alarm
73228110Sjkim    Global Lock
74228110Sjkim    System Control Interrupt (SCI)
75228110Sjkim    The FACS is assumed to be non-existent
76228110Sjkim
77228110SjkimACPI Tables:
78228110Sjkim------------
79228110Sjkim
80228110SjkimAll new tables and updates to existing tables are fully supported in the 
81228110SjkimACPICA headers (for use by device drivers), the disassembler, and the iASL 
82228110SjkimData Table Compiler. ACPI 5.0 defines these new tables:
83228110Sjkim
84228110Sjkim    BGRT        /* Boot Graphics Resource Table */
85228110Sjkim    DRTM        /* Dynamic Root of Trust for Measurement table */
86228110Sjkim    FPDT        /* Firmware Performance Data Table */
87228110Sjkim    GTDT        /* Generic Timer Description Table */
88228110Sjkim    MPST        /* Memory Power State Table */
89228110Sjkim    PCCT        /* Platform Communications Channel Table */
90228110Sjkim    PMTT        /* Platform Memory Topology Table */
91228110Sjkim    RASF        /* RAS Feature table */
92228110Sjkim
93228110SjkimOperation Regions/SpaceIDs:
94228110Sjkim---------------------------
95228110Sjkim
96228110SjkimAll new operation regions are fully supported by the iASL compiler, the 
97228110Sjkimdisassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
98228110SjkimThe new operation region Space IDs are:
99228110Sjkim
100228110Sjkim    GeneralPurposeIo
101228110Sjkim    GenericSerialBus
102228110Sjkim
103228110SjkimResource Descriptors:
104228110Sjkim---------------------
105228110Sjkim
106228110SjkimAll new ASL resource descriptors are fully supported by the iASL compiler, the 
107228110SjkimASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
108228110Sjkimall new predefined resource tags). New descriptors are:
109228110Sjkim
110228110Sjkim    FixedDma
111228110Sjkim    GpioIo
112228110Sjkim    GpioInt
113228110Sjkim    I2cSerialBus
114228110Sjkim    SpiSerialBus
115228110Sjkim    UartSerialBus
116228110Sjkim
117228110SjkimASL/AML Operators, New and Modified:
118228110Sjkim------------------------------------
119228110Sjkim
120228110SjkimOne new operator is added, the Connection operator, which is used to associate 
121228110Sjkima GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
122228110Sjkimfield objects within an operation region. Several new protocols are associated 
123228110Sjkimwith the AccessAs operator. All are fully supported by the iASL compiler, 
124228110Sjkimdisassembler, and runtime ACPICA AML interpreter:
125228110Sjkim
126228110Sjkim    Connection                      // Declare Field Connection attributes
127228110Sjkim    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
128228110Sjkim    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
129228110Sjkim    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
130228110Sjkim    RawDataBuffer                       // Data type for Vendor Data fields
131228110Sjkim
132228110SjkimPredefined ASL/AML Objects:
133228110Sjkim---------------------------
134228110Sjkim
135228110SjkimAll new predefined objects/control-methods are supported by the iASL compiler 
136228110Sjkimand the ACPICA runtime validation/repair (arguments and return values.) New 
137228110Sjkimpredefined names include the following:
138228110Sjkim
139228110SjkimStandard Predefined Names (Objects or Control Methods):
140228110Sjkim    _AEI, _CLS, _CPC, _CWS, _DEP,
141228110Sjkim    _DLM, _EVT, _GCP, _CRT, _GWS,
142228110Sjkim    _HRV, _PRE, _PSE, _SRT, _SUB.
143228110Sjkim
144228110SjkimResource Tags (Names used to access individual fields within resource 
145228110Sjkimdescriptors):
146228110Sjkim    _DBT, _DPL, _DRS, _END, _FLC,
147228110Sjkim    _IOR, _LIN, _MOD, _PAR, _PHA,
148228110Sjkim    _PIN, _PPI, _POL, _RXL, _SLV,
149228110Sjkim    _SPE, _STB, _TXL, _VEN.
150228110Sjkim
151228110SjkimACPICA External Interfaces:
152228110Sjkim---------------------------
153228110Sjkim
154228110SjkimSeveral new interfaces have been defined for use by ACPI-related device 
155228110Sjkimdrivers and other host OS services:
156228110Sjkim
157228110SjkimAcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
158228110Sjkimacquire and release AML mutexes that are defined in the DSDT/SSDT tables 
159228110Sjkimprovided by the BIOS. They are intended to be used in conjunction with the 
160228110SjkimACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
161228110Sjkimmutual exclusion with the AML code/interpreter.
162228110Sjkim
163228110SjkimAcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
164228110Sjkimby the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
165228110Sjkimresource descriptors associated with hardware-reduced platform events, similar 
166228110Sjkimto the AcpiGetCurrentResources interface.
167228110Sjkim
168228110SjkimOperation Region Handlers: For General Purpose IO and Generic Serial Bus 
169228110Sjkimoperation regions, information about the Connection() object and any optional 
170228110Sjkimlength information is passed to the region handler within the Context 
171228110Sjkimparameter.
172228110Sjkim
173228110SjkimAcpiBufferToResource: This interface converts a raw AML buffer containing a 
174228110Sjkimresource template or resource descriptor to the ACPI_RESOURCE internal format 
175228110Sjkimsuitable for use by device drivers. Can be used by an operation region handler 
176228110Sjkimto convert the Connection() buffer object into a ACPI_RESOURCE.
177228110Sjkim
178228110SjkimMiscellaneous/Tools/TestSuites: 
179228110Sjkim-------------------------------
180228110Sjkim
181228110SjkimSupport for extended _HID names (Four alpha characters instead of three).
182228110SjkimSupport for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
183228110SjkimSupport for ACPI 5.0 features in the ASLTS test suite.
184228110SjkimFully updated documentation (ACPICA and iASL reference documents.)
185228110Sjkim
186228110SjkimACPI Table Definition Language:
187228110Sjkim-------------------------------
188228110Sjkim
189228110SjkimSupport for this language was implemented and released as a subsystem of the 
190228110SjkimiASL compiler in 2010. (See the iASL compiler User Guide.)
191228110Sjkim
192228110Sjkim
193228110SjkimNon-ACPI 5.0 changes for this release:
194228110Sjkim--------------------------------------
195228110Sjkim
196228110Sjkim1) ACPICA Core Subsystem:
197228110Sjkim
198228110SjkimFix a problem with operation region declarations where a failure can occur if 
199228110Sjkimthe region name and an argument that evaluates to an object (such as the 
200228110Sjkimregion address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
201228110Sjkim
202228110SjkimDo not abort an ACPI table load if an invalid space ID is found within. This 
203228110Sjkimwill be caught later if the offending method is executed. ACPICA BZ 925.
204228110Sjkim
205228110SjkimFixed an issue with the FFixedHW space ID where the ID was not always 
206228110Sjkimrecognized properly (Both ACPICA and iASL). ACPICA BZ 926.
207228110Sjkim
208228110SjkimFixed a problem with the 32-bit generation of the unix-specific OSL 
209228110Sjkim(osunixxf.c). Lin Ming, ACPICA BZ 936.
210228110Sjkim
211228110SjkimSeveral changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
212228110Sjkim935.
213228110Sjkim
214228110SjkimNew error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
215228110Sjkimfield registers out-of-range.
216228110Sjkim
217228110Sjkim2) iASL Compiler/Disassembler and Tools:
218228110Sjkim
219228110SjkimiASL: Implemented the __PATH__ operator, which returns the full pathname of 
220228110Sjkimthe current source file.
221228110Sjkim
222228110SjkimAcpiHelp: Automatically display expanded keyword information for all ASL 
223228110Sjkimoperators.
224228110Sjkim
225228110SjkimDebugger: Add "Template" command to disassemble/dump resource template 
226228110Sjkimbuffers.
227228110Sjkim
228228110SjkimAdded a new master script to generate and execute the ASLTS test suite. 
229228110SjkimAutomatically handles 32- and 64-bit generation. See tests/aslts.sh
230228110Sjkim
231228110SjkimiASL: Fix problem with listing generation during processing of the Switch() 
232228110Sjkimoperator where AML listing was disabled until the entire Switch block was 
233228110Sjkimcompleted.
234228110Sjkim
235228110SjkimiASL: Improve support for semicolon statement terminators. Fix "invalid 
236228110Sjkimcharacter" message for some cases when the semicolon is used. Semicolons are 
237228110Sjkimnow allowed after every <Term> grammar element. ACPICA BZ 927.
238228110Sjkim
239228110SjkimiASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
240228110Sjkim
241228110SjkimDisassembler: Fix problem with disassembly of the DataTableRegion operator 
242228110Sjkimwhere an inadvertent "Unhandled deferred opcode" message could be generated.
243228110Sjkim
244228110Sjkim3) Example Code and Data Size
245228110Sjkim
246228110SjkimThese are the sizes for the OS-independent acpica.lib produced by the 
247228110SjkimMicrosoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
248228110Sjkimincludes the debug output trace mechanism and has a much larger code and data 
249228110Sjkimsize.
250228110Sjkim
251228110Sjkim  Previous Release:
252228110Sjkim    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
253228110Sjkim    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
254228110Sjkim  Current Release:
255228110Sjkim    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
256228110Sjkim    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
257228110Sjkim
258228110Sjkim----------------------------------------
259228110Sjkim22 September 2011. Summary of changes for version 20110922:
260228110Sjkim
261228110Sjkim0) ACPI 5.0 News:
262228110Sjkim
263228110SjkimSupport for ACPI 5.0 in ACPICA has been underway for several months and will 
264228110Sjkimbe released at the same time that ACPI 5.0 is officially released.
265228110Sjkim
266228110SjkimThe ACPI 5.0 specification is on track for release in the next few months.
267228110Sjkim 
268228110Sjkim1) ACPICA Core Subsystem:
269228110Sjkim
270228110SjkimFixed a problem where the maximum sleep time for the Sleep() operator was 
271228110Sjkimintended to be limited to two seconds, but was inadvertently limited to 20 
272228110Sjkimseconds instead.
273228110Sjkim
274228110SjkimLinux and Unix makefiles: Added header file dependencies to ensure correct 
275228110Sjkimgeneration of ACPICA core code and utilities. Also simplified the makefiles 
276228110Sjkimconsiderably through the use of the vpath variable to specify search paths. 
277228110SjkimACPICA BZ 924.
278228110Sjkim
279228110Sjkim2) iASL Compiler/Disassembler and Tools:
280228110Sjkim
281228110SjkimiASL: Implemented support to check the access length for all fields created to 
282228110Sjkimaccess named Resource Descriptor fields. For example, if a resource field is 
283228110Sjkimdefined to be two bits, a warning is issued if a CreateXxxxField() is used 
284228110Sjkimwith an incorrect bit length. This is implemented for all current resource 
285228110Sjkimdescriptor names. ACPICA BZ 930.
286228110Sjkim  
287228110SjkimDisassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
288228110Sjkimbit integers.
289228110Sjkim
290228110SjkimiASL: Fixed a couple of issues associated with variable-length package 
291228110Sjkimobjects. 1) properly handle constants like One, Ones, Zero -- do not make a 
292228110SjkimVAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
293228110Sjkimopcode (in addition to PACKAGE) when validating object types for predefined 
294228110Sjkimnames.
295228110Sjkim
296228110SjkimiASL: Emit statistics for all output files (instead of just the ASL input and 
297228110SjkimAML output). Includes listings, hex files, etc.
298228110Sjkim
299228110SjkimiASL: Added -G option to the table compiler to allow the compilation of custom 
300228110SjkimACPI tables. The only part of a table that is required is the standard 36-byte 
301228110SjkimACPI header.
302228110Sjkim
303228110SjkimAcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
304228110Sjkimwhich also adds correct 64-bit support. Also, now all output filenames are 
305228110Sjkimcompletely lower case.
306228110Sjkim
307228110SjkimAcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
308228110Sjkimloading table files. A warning is issued for any such tables. The only 
309228110Sjkimexception is an FADT. This also fixes a possible fault when attempting to load 
310228110Sjkimnon-AML tables. ACPICA BZ 932.
311228110Sjkim
312228110SjkimAcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
313228110Sjkimmissing table terminator could cause a fault when using the -p option.
314228110Sjkim
315228110SjkimAcpiSrc: Fixed a possible divide-by-zero fault when generating file 
316228110Sjkimstatistics.
317228110Sjkim
318228110Sjkim3) Example Code and Data Size
319228110Sjkim
320228110SjkimThese are the sizes for the OS-independent acpica.lib produced by the 
321228110SjkimMicrosoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
322228110Sjkimincludes the debug output trace mechanism and has a much larger code and data 
323228110Sjkimsize.
324228110Sjkim
325228110Sjkim  Previous Release (VC 9.0):
326228110Sjkim    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
327228110Sjkim    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
328228110Sjkim  Current Release (VC 9.0):
329228110Sjkim    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
330228110Sjkim    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
331228110Sjkim
332228110Sjkim
333228110Sjkim----------------------------------------
334228110Sjkim23 June 2011. Summary of changes for version 20110623:
335228110Sjkim
336222544Sjkim1) ACPI CA Core Subsystem:
337222544Sjkim
338228110SjkimUpdated the predefined name repair mechanism to not attempt repair of a _TSS 
339228110Sjkimreturn object if a _PSS object is present. We can only sort the _TSS return 
340228110Sjkimpackage if there is no _PSS within the same scope. This is because if _PSS is 
341228110Sjkimpresent, the ACPI specification dictates that the _TSS Power Dissipation field 
342228110Sjkimis to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
343228110SjkimPower field(s). In this case, it is best to just return the _TSS package as-
344228110Sjkimis. Reported by, and fixed with assistance from Fenghua Yu.
345228110Sjkim
346228110SjkimAdded an option to globally disable the control method return value validation 
347228110Sjkimand repair. This runtime option can be used to disable return value repair if 
348228110Sjkimthis is causing a problem on a particular machine. Also added an option to 
349228110SjkimAcpiExec (-dr) to set this disable flag.
350228110Sjkim
351228110SjkimAll makefiles and project files: Major changes to improve generation of ACPICA 
352228110Sjkimtools. ACPICA BZ 912:
353228110Sjkim    Reduce default optimization levels to improve compatibility
354228110Sjkim    For Linux, add strict-aliasing=0 for gcc 4
355228110Sjkim    Cleanup and simplify use of command line defines
356228110Sjkim    Cleanup multithread library support
357228110Sjkim    Improve usage messages
358228110Sjkim
359228110SjkimLinux-specific header: update handling of THREAD_ID and pthread. For the 32-
360228110Sjkimbit case, improve casting to eliminate possible warnings, especially with the 
361228110Sjkimacpica tools.
362228110Sjkim
363228110SjkimExample Code and Data Size: These are the sizes for the OS-independent 
364228110Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
365228110Sjkimversion of the code includes the debug output trace mechanism and has a much 
366228110Sjkimlarger code and data size.
367228110Sjkim
368228110Sjkim  Previous Release (VC 9.0):
369228110Sjkim    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
370228110Sjkim    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
371228110Sjkim  Current Release (VC 9.0):
372228110Sjkim    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
373228110Sjkim    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
374228110Sjkim
375228110Sjkim2) iASL Compiler/Disassembler and Tools:
376228110Sjkim
377228110SjkimWith this release, a new utility named "acpihelp" has been added to the ACPICA 
378228110Sjkimpackage. This utility summarizes the ACPI specification chapters for the ASL 
379228110Sjkimand AML languages. It generates under Linux/Unix as well as Windows, and 
380228110Sjkimprovides the following functionality:
381228110Sjkim    Find/display ASL operator(s) -- with description and syntax.
382228110Sjkim    Find/display ASL keyword(s) -- with exact spelling and descriptions.
383228110Sjkim    Find/display ACPI predefined name(s) -- with description, number
384228110Sjkim        of arguments, and the return value data type.
385228110Sjkim    Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
386228110Sjkim    Decode/display AML opcode -- with opcode name, arguments, and grammar.
387228110Sjkim
388228110SjkimService Layers: Make multi-thread support configurable. Conditionally compile 
389228110Sjkimthe multi-thread support so that threading libraries will not be linked if not 
390228110Sjkimnecessary. The only tool that requires multi-thread support is AcpiExec.
391228110Sjkim
392228110SjkimiASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
393228110SjkimBison appear to want the interface to yyerror to be a const char * (or at 
394228110Sjkimleast this is a problem when generating iASL on some systems.) ACPICA BZ 923 
395228110SjkimPierre Lejeune.
396228110Sjkim
397228110SjkimTools: Fix for systems where O_BINARY is not defined. Only used for Windows 
398228110Sjkimversions of the tools.
399228110Sjkim
400228110Sjkim----------------------------------------
401228110Sjkim27 May 2011. Summary of changes for version 20110527:
402228110Sjkim
403228110Sjkim1) ACPI CA Core Subsystem:
404228110Sjkim
405222544SjkimASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
406222544Sjkimsignature. Now, only allow SSDT, OEMx, and a null signature. History:
407222544Sjkim    1) Originally, we checked the table signature for "SSDT" or "PSDT".
408222544Sjkim       (PSDT is now obsolete.)
409222544Sjkim    2) We added support for OEMx tables, signature "OEM" plus a fourth
410222544Sjkim       "don't care" character.
411222544Sjkim    3) Valid tables were encountered with a null signature, so we just
412222544Sjkim       gave up on validating the signature, (05/2008).
413222544Sjkim    4) We encountered non-AML tables such as the MADT, which caused
414222544Sjkim       interpreter errors and kernel faults. So now, we once again allow
415222544Sjkim       only SSDT, OEMx, and now, also a null signature. (05/2011).
416222544Sjkim
417222544SjkimAdded the missing _TDL predefined name to the global name list in order to 
418222544Sjkimenable validation. Affects both the core ACPICA code and the iASL compiler.
419222544Sjkim
420222544SjkimExample Code and Data Size: These are the sizes for the OS-independent 
421222544Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
422222544Sjkimversion of the code includes the debug output trace mechanism and has a much 
423222544Sjkimlarger code and data size.
424222544Sjkim
425222544Sjkim  Previous Release (VC 9.0):
426222544Sjkim    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
427222544Sjkim    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
428222544Sjkim  Current Release (VC 9.0):
429222544Sjkim    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
430222544Sjkim    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
431222544Sjkim
432222544Sjkim2) iASL Compiler/Disassembler and Tools:
433222544Sjkim
434222544SjkimDebugger/AcpiExec: Implemented support for "complex" method arguments on the 
435222544Sjkimdebugger command line. This adds support beyond simple integers -- including 
436222544SjkimStrings, Buffers, and Packages. Includes support for nested packages. 
437222544SjkimIncreased the default command line buffer size to accommodate these arguments. 
438222544SjkimSee the ACPICA reference for details and syntax. ACPICA BZ 917.
439222544Sjkim 
440222544SjkimDebugger/AcpiExec: Implemented support for "default" method arguments for the 
441222544SjkimExecute/Debug command. Now, the debugger will always invoke a control method 
442222544Sjkimwith the required number of arguments -- even if the command line specifies 
443222544Sjkimnone or insufficient arguments. It uses default integer values for any missing 
444222544Sjkimarguments. Also fixes a bug where only six method arguments maximum were 
445222544Sjkimsupported instead of the required seven.
446222544Sjkim
447222544SjkimDebugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
448222544Sjkimalso return status in order to prevent buffer overruns. See the ACPICA 
449222544Sjkimreference for details and syntax. ACPICA BZ 921
450222544Sjkim
451222544SjkimiASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
452222544Sjkimmakefiles to simplify support for the two different but similar parser 
453222544Sjkimgenerators, bison and yacc.
454222544Sjkim
455222544SjkimUpdated the generic unix makefile for gcc 4. The default gcc version is now 
456222544Sjkimexpected to be 4 or greater, since options specific to gcc 4 are used.
457222544Sjkim
458222544Sjkim----------------------------------------
459220663Sjkim13 April 2011. Summary of changes for version 20110413:
460220663Sjkim
461220663Sjkim1) ACPI CA Core Subsystem:
462220663Sjkim
463220663SjkimImplemented support to execute a so-called "orphan" _REG method under the EC 
464222544Sjkimdevice. This change will force the execution of a _REG method underneath the 
465222544SjkimEC 
466220663Sjkimdevice even if there is no corresponding operation region of type 
467220663SjkimEmbeddedControl. Fixes a problem seen on some machines and apparently is 
468220663Sjkimcompatible with Windows behavior. ACPICA BZ 875.
469220663Sjkim
470220663SjkimAdded more predefined methods that are eligible for automatic NULL package 
471222544Sjkimelement removal. This change adds another group of predefined names to the 
472222544Sjkimlist 
473220663Sjkimof names that can be repaired by having NULL package elements dynamically 
474220663Sjkimremoved. This group are those methods that return a single variable-length 
475220663Sjkimpackage containing simple data types such as integers, buffers, strings. This 
476222544Sjkimincludes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
477222544Sjkim_Sx, 
478220663Sjkimand _TZD. ACPICA BZ 914.
479220663Sjkim
480222544SjkimSplit and segregated all internal global lock functions to a new file, 
481222544Sjkimevglock.c.
482220663Sjkim
483222544SjkimUpdated internal address SpaceID for DataTable regions. Moved this internal 
484222544Sjkimspace 
485222544Sjkimid in preparation for ACPI 5.0 changes that will include some new space IDs. 
486222544SjkimThis 
487220663Sjkimchange should not affect user/host code.
488220663Sjkim
489222544SjkimExample Code and Data Size: These are the sizes for the OS-independent 
490222544Sjkimacpica.lib 
491220663Sjkimproduced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
492222544Sjkimthe code includes the debug output trace mechanism and has a much larger code 
493222544Sjkimand 
494220663Sjkimdata size.
495220663Sjkim
496220663Sjkim  Previous Release (VC 9.0):
497220663Sjkim    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
498220663Sjkim    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
499220663Sjkim  Current Release (VC 9.0):
500220663Sjkim    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
501220663Sjkim    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
502220663Sjkim
503220663Sjkim2) iASL Compiler/Disassembler and Tools:
504220663Sjkim
505220663SjkimiASL/DTC: Major update for new grammar features. Allow generic data types in 
506220663Sjkimcustom ACPI tables. Field names are now optional. Any line can be split to 
507220663Sjkimmultiple lines using the continuation char (\). Large buffers now use line-
508222544Sjkimcontinuation character(s) and no colon on the continuation lines. See the 
509222544Sjkimgrammar 
510220663Sjkimupdate in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
511220663Sjkim
512220663SjkimiASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
513222544SjkimSince the parser stuffs a "zero" as the return value for these statements (due 
514222544Sjkimto 
515220663Sjkimthe underlying AML grammar), they were seen as "return with value" by the iASL 
516220663Sjkimsemantic checking. They are now seen correctly as "null" return statements.
517220663Sjkim
518220663SjkimiASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
519220663Sjkimcheck for each _REG to ensure that there is in fact a corresponding operation 
520222544Sjkimregion declaration in the same scope. If not, the _REG method is not very 
521222544Sjkimuseful 
522220663Sjkimsince it probably won't be executed. ACPICA BZ 915.
523220663Sjkim
524222544SjkimiASL/DTC: Finish support for expression evaluation. Added a new expression 
525222544Sjkimparser 
526222544Sjkimthat implements c-style operator precedence and parenthesization. ACPICA 
527222544Sjkimbugzilla 
528220663Sjkim908.
529220663Sjkim
530222544SjkimDisassembler/DTC: Remove support for () and <> style comments in data tables. 
531222544SjkimNow 
532222544Sjkimthat DTC has full expression support, we don't want to have comment strings 
533222544Sjkimthat 
534222544Sjkimstart with a parentheses or a less-than symbol. Now, only the standard /* and 
535222544Sjkim// 
536220663Sjkimcomments are supported, as well as the bracket [] comments.
537220663Sjkim
538222544SjkimAcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
539222544Sjkim"unusual" 
540220663Sjkimheaders in the acpidump file. Update the header validation to support these 
541220663Sjkimtables. Problem introduced in previous AcpiXtract version in the change to 
542220663Sjkimsupport "wrong checksum" error messages emitted by acpidump utility.
543220663Sjkim
544222544SjkimiASL: Add a * option to generate all template files (as a synonym for ALL) as 
545222544Sjkimin 
546220663Sjkim"iasl -T *" or "iasl -T ALL".
547220663Sjkim
548220663SjkimiASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
549220663Sjkimabort the compiler on "fatal" errors, simply should abort the current compile. 
550220663SjkimThis allows multiple compiles with a single (possibly wildcard) compiler 
551220663Sjkiminvocation.
552220663Sjkim
553220663Sjkim----------------------------------------
554219707Sjkim16 March 2011. Summary of changes for version 20110316:
555219707Sjkim
556219707Sjkim1) ACPI CA Core Subsystem:
557219707Sjkim
558219707SjkimFixed a problem caused by a _PRW method appearing at the namespace root scope 
559222544Sjkimduring the setup of wake GPEs. A fault could occur if a _PRW directly under 
560222544Sjkimthe 
561219707Sjkimroot object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
562219707Sjkim
563219707SjkimImplemented support for "spurious" Global Lock interrupts. On some systems, a 
564219707Sjkimglobal lock interrupt can occur without the pending flag being set. Upon a GL 
565219707Sjkiminterrupt, we now ensure that a thread is actually waiting for the lock before 
566219707Sjkimsignaling GL availability. Rafael Wysocki, Bob Moore.
567219707Sjkim
568222544SjkimExample Code and Data Size: These are the sizes for the OS-independent 
569222544Sjkimacpica.lib 
570219707Sjkimproduced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
571222544Sjkimthe code includes the debug output trace mechanism and has a much larger code 
572222544Sjkimand 
573219707Sjkimdata size.
574219707Sjkim
575219707Sjkim  Previous Release (VC 9.0):
576219707Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
577219707Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
578219707Sjkim  Current Release (VC 9.0):
579219707Sjkim    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
580219707Sjkim    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
581219707Sjkim
582219707Sjkim2) iASL Compiler/Disassembler and Tools:
583219707Sjkim
584219707SjkimImplemented full support for the "SLIC" ACPI table. Includes support in the 
585219707Sjkimheader files, disassembler, table compiler, and template generator. Bob Moore, 
586219707SjkimLin Ming.
587219707Sjkim
588219707SjkimAcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
589222544SjkimApparently some or all versions of acpidump will occasionally emit a comment 
590222544Sjkimlike 
591219707Sjkim"Wrong checksum", etc., into the dump file. This was causing problems for 
592219707SjkimAcpiXtract. ACPICA BZ 905.
593219707Sjkim
594219707SjkimiASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
595219707SjkimACPICA BZ 913.
596219707Sjkim
597222544SjkimAcpiExec: Update installation of operation region handlers. Install one 
598222544Sjkimhandler 
599219707Sjkimfor a user-defined address space. This is used by the ASL test suite (ASLTS).
600219707Sjkim
601219707Sjkim----------------------------------------
602218590Sjkim11 February 2011. Summary of changes for version 20110211:
603218590Sjkim
604218590Sjkim1) ACPI CA Core Subsystem:
605218590Sjkim
606218590SjkimAdded a mechanism to defer _REG methods for some early-installed handlers. 
607218590SjkimMost user handlers should be installed before call to AcpiEnableSubsystem. 
608218590SjkimHowever, Event handlers and region handlers should be installed after 
609218590SjkimAcpiInitializeObjects. Override handlers for the "default" regions should be 
610218590Sjkiminstalled early, however. This change executes all _REG methods for the 
611218590Sjkimdefault regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
612218590Sjkimchicken/egg issues between them. ACPICA BZ 848.
613218590Sjkim
614218590SjkimImplemented an optimization for GPE detection. This optimization will simply 
615218590Sjkimignore GPE registers that contain no enabled GPEs -- there is no need to 
616218590Sjkimread the register since this information is available internally. This 
617218590Sjkimbecomes more important on machines with a large GPE space. ACPICA bugzilla 
618218590Sjkim884. Lin Ming. Suggestion from Joe Liu.
619218590Sjkim
620218590SjkimRemoved all use of the highly unreliable FADT revision field. The revision 
621218590Sjkimnumber in the FADT has been found to be completely unreliable and cannot be 
622218590Sjkimtrusted. Only the actual table length can be used to infer the version. This 
623218590Sjkimchange updates the ACPICA core and the disassembler so that both no longer 
624218590Sjkimeven look at the FADT version and instead depend solely upon the FADT 
625218590Sjkimlength.
626218590Sjkim
627218590SjkimFix an unresolved name issue for the no-debug and no-error-message source 
628218590Sjkimgeneration cases. The _AcpiModuleName was left undefined in these cases, but 
629218590Sjkimit is actually needed as a parameter to some interfaces. Define 
630218590Sjkim_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
631218590Sjkim
632218590SjkimSplit several large files (makefiles and project files updated)
633218590Sjkim  utglobal.c   -> utdecode.c
634218590Sjkim  dbcomds.c    -> dbmethod.c dbnames.c
635218590Sjkim  dsopcode.c   -> dsargs.c dscontrol.c
636218590Sjkim  dsload.c     -> dsload2.c
637218590Sjkim  aslanalyze.c -> aslbtypes.c aslwalks.c
638218590Sjkim
639218590SjkimExample Code and Data Size: These are the sizes for the OS-independent 
640218590Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
641218590Sjkimdebug version of the code includes the debug output trace mechanism and has 
642218590Sjkima much larger code and data size.
643218590Sjkim
644218590Sjkim  Previous Release (VC 9.0):
645218590Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
646218590Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
647218590Sjkim  Current Release (VC 9.0):
648218590Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
649218590Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
650218590Sjkim
651218590Sjkim2) iASL Compiler/Disassembler and Tools:
652218590Sjkim
653218590SjkimiASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
654218590SjkimThese are useful C-style macros with the standard definitions. ACPICA 
655218590Sjkimbugzilla 898.
656218590Sjkim
657218590SjkimiASL/DTC: Added support for integer expressions and labels. Support for full 
658218590Sjkimexpressions for all integer fields in all ACPI tables. Support for labels in 
659218590Sjkim"generic" portions of tables such as UEFI. See the iASL reference manual.
660218590Sjkim
661218590SjkimDebugger: Added a command to display the status of global handlers. The 
662218590Sjkim"handlers" command will display op region, fixed event, and miscellaneous 
663218590Sjkimglobal handlers. installation status -- and for op regions, whether default 
664218590Sjkimor user-installed handler will be used.
665218590Sjkim
666218590SjkimiASL: Warn if reserved method incorrectly returns a value. Many predefined 
667218590Sjkimnames are defined such that they do not return a value. If implemented as a 
668218590Sjkimmethod, issue a warning if such a name explicitly returns a value. ACPICA 
669218590SjkimBugzilla 855.
670218590Sjkim
671218590SjkimiASL: Added detection of GPE method name conflicts. Detects a conflict where 
672218590Sjkimthere are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
673218590Sjkimexample, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
674218590Sjkim
675218590SjkimiASL/DTC: Fixed a couple input scanner issues with comments and line 
676218590Sjkimnumbers. Comment remover could get confused and miss a comment ending. Fixed 
677218590Sjkima problem with line counter maintenance.
678218590Sjkim
679218590SjkimiASL/DTC: Reduced the severity of some errors from fatal to error. There is 
680218590Sjkimno need to abort on simple errors within a field definition.
681218590Sjkim
682218590SjkimDebugger: Simplified the output of the help command. All help output now in 
683218590Sjkima single screen, instead of help subcommands. ACPICA Bugzilla 897.
684218590Sjkim
685218590Sjkim----------------------------------------
686217365Sjkim12 January 2011. Summary of changes for version 20110112:
687217365Sjkim
688217365Sjkim1) ACPI CA Core Subsystem:
689217365Sjkim
690217365SjkimFixed a race condition between method execution and namespace walks that can 
691217365Sjkimpossibly cause a fault. The problem was apparently introduced in version 
692220663Sjkim20100528 as a result of a performance optimization that reduces the number of 
693217365Sjkimnamespace walks upon method exit by using the delete_namespace_subtree 
694217365Sjkimfunction instead of the delete_namespace_by_owner function used previously. 
695217365SjkimBug is a missing namespace lock in the delete_namespace_subtree function. 
696217365Sjkimdana.myers@oracle.com
697217365Sjkim
698217365SjkimFixed several issues and a possible fault with the automatic "serialized" 
699220663Sjkimmethod support. History: This support changes a method to "serialized" on the 
700217365Sjkimfly if the method generates an AE_ALREADY_EXISTS error, indicating the 
701217365Sjkimpossibility that it cannot handle reentrancy. This fix repairs a couple of 
702217365Sjkimissues seen in the field, especially on machines with many cores:
703217365Sjkim
704217365Sjkim    1) Delete method children only upon the exit of the last thread,
705217365Sjkim       so as to not delete objects out from under other running threads
706217365Sjkim      (and possibly causing a fault.)
707217365Sjkim    2) Set the "serialized" bit for the method only upon the exit of the
708217365Sjkim       Last thread, so as to not cause deadlock when running threads
709217365Sjkim       attempt to exit.
710217365Sjkim    3) Cleanup the use of the AML "MethodFlags" and internal method flags
711217365Sjkim       so that there is no longer any confusion between the two.
712217365Sjkim
713217365Sjkim    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
714217365Sjkim
715217365SjkimDebugger: Now lock the namespace for duration of a namespace dump. Prevents 
716217365Sjkimissues if the namespace is changing dynamically underneath the debugger. 
717217365SjkimEspecially affects temporary namespace nodes, since the debugger displays 
718217365Sjkimthese also.
719217365Sjkim
720217365SjkimUpdated the ordering of include files. The ACPICA headers should appear 
721217365Sjkimbefore any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
722217365Sjkimany necessary compiler-specific defines, etc. Affects the ACPI-related tools 
723217365Sjkimand utilities.
724217365Sjkim
725217365SjkimUpdated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
726217365Sjkimto all module headers and signons, including the Linux header. This affects 
727217365Sjkimvirtually every file in the ACPICA core subsystem, iASL compiler, and all 
728217365Sjkimutilities.
729217365Sjkim
730217365SjkimAdded project files for MS Visual Studio 2008 (VC++ 9.0). The original 
731217365Sjkimproject files for VC++ 6.0 are now obsolete. New project files can be found 
732217365Sjkimunder acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
733217365Sjkimdetails.
734217365Sjkim
735217365SjkimExample Code and Data Size: These are the sizes for the OS-independent 
736217365Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
737220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
738217365Sjkimmuch larger code and data size.
739217365Sjkim
740217365Sjkim  Previous Release (VC 6.0):
741217365Sjkim    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
742217365Sjkim    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
743217365Sjkim  Current Release (VC 9.0):
744217365Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
745217365Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
746217365Sjkim
747217365Sjkim2) iASL Compiler/Disassembler and Tools:
748217365Sjkim
749220663SjkimiASL: Added generic data types to the Data Table compiler. Add "generic" data 
750217365Sjkimtypes such as UINT32, String, Unicode, etc., to simplify the generation of 
751217365Sjkimplatform-defined tables such as UEFI. Lin Ming.
752217365Sjkim
753220663SjkimiASL: Added listing support for the Data Table Compiler. Adds listing support 
754217365Sjkim(-l) to display actual binary output for each line of input code.
755217365Sjkim
756217365Sjkim----------------------------------------
757216471Sjkim09 December 2010. Summary of changes for version 20101209:
758216471Sjkim
759216471Sjkim1) ACPI CA Core Subsystem:
760216471Sjkim
761216471SjkimCompleted the major overhaul of the GPE support code that was begun in July 
762216471Sjkim2010. Major features include: removal of _PRW execution in ACPICA (host 
763216471Sjkimexecutes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
764216471Sjkimchanges to existing interfaces, simplification of GPE handler operation, and 
765216471Sjkima handful of new interfaces:
766216471Sjkim
767216471Sjkim    AcpiUpdateAllGpes
768216471Sjkim    AcpiFinishGpe
769216471Sjkim    AcpiSetupGpeForWake
770216471Sjkim    AcpiSetGpeWakeMask
771216471Sjkim    One new file, evxfgpe.c to consolidate all external GPE interfaces.
772216471Sjkim
773216471SjkimSee the ACPICA Programmer Reference for full details and programming 
774216471Sjkiminformation. See the new section 4.4 "General Purpose Event (GPE) Support" 
775216471Sjkimfor a full overview, and section 8.7 "ACPI General Purpose Event Management" 
776216471Sjkimfor programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
777216471SjkimBob Moore, Rafael Wysocki.
778216471Sjkim
779216471SjkimImplemented a new GPE feature for Windows compatibility, the "Implicit Wake 
780216471SjkimGPE Notify". This feature will automatically issue a Notify(2) on a device 
781216471Sjkimwhen a Wake GPE is received if there is no corresponding GPE method or 
782216471Sjkimhandler. ACPICA BZ 870.
783216471Sjkim
784216471SjkimFixed a problem with the Scope() operator during table parse and load phase. 
785220663SjkimDuring load phase (table load or method execution), the scope operator should 
786216471Sjkimnot enter the target into the namespace. Instead, it should open a new scope 
787216471Sjkimat the target location. Linux BZ 19462, ACPICA BZ 882.
788216471Sjkim
789216471SjkimExample Code and Data Size: These are the sizes for the OS-independent 
790216471Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
791220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
792216471Sjkimmuch larger code and data size.
793216471Sjkim
794216471Sjkim  Previous Release:
795216471Sjkim    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
796216471Sjkim    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
797216471Sjkim  Current Release:
798216471Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
799216471Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
800216471Sjkim
801216471Sjkim2) iASL Compiler/Disassembler and Tools:
802216471Sjkim
803216471SjkimiASL: Relax the alphanumeric restriction on _CID strings. These strings are 
804216471Sjkim"bus-specific" per the ACPI specification, and therefore any characters are 
805216471Sjkimacceptable. The only checks that can be performed are for a null string and 
806216471Sjkimperhaps for a leading asterisk. ACPICA BZ 886.
807216471Sjkim
808216471SjkimiASL: Fixed a problem where a syntax error that caused a premature EOF 
809216471Sjkimcondition on the source file emitted a very confusing error message. The 
810216471Sjkimpremature EOF is now detected correctly. ACPICA BZ 891.
811216471Sjkim
812216471SjkimDisassembler: Decode the AccessSize within a Generic Address Structure (byte 
813216471Sjkimaccess, word access, etc.) Note, this field does not allow arbitrary bit 
814216471Sjkimaccess, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
815216471Sjkim
816216471SjkimNew: AcpiNames utility - Example namespace dump utility. Shows an example of 
817216471SjkimACPICA configuration for a minimal namespace dump utility. Uses table and 
818216471Sjkimnamespace managers, but no AML interpreter. Does not add any functionality 
819216471Sjkimover AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
820216471Sjkimpartition and configure ACPICA. ACPICA BZ 883.
821216471Sjkim
822216471SjkimAML Debugger: Increased the debugger buffer size for method return objects. 
823216471SjkimWas 4K, increased to 16K. Also enhanced error messages for debugger method 
824216471Sjkimexecution, including the buffer overflow case.
825216471Sjkim
826216471Sjkim----------------------------------------
827213806Sjkim13 October 2010. Summary of changes for version 20101013:
828213806Sjkim
829213806Sjkim1) ACPI CA Core Subsystem:
830213806Sjkim
831213806SjkimAdded support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
832213806Sjkimclear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
833213806SjkimHwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
834213806Sjkim
835213806SjkimChanged the type of the predefined namespace object _TZ from ThermalZone to 
836213806SjkimDevice. This was found to be confusing to the host software that processes 
837213806Sjkimthe various thermal zones, since _TZ is not really a ThermalZone. However, a 
838213806SjkimNotify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
839213806SjkimZhang.
840213806Sjkim
841213806SjkimAdded Windows Vista SP2 to the list of supported _OSI strings. The actual 
842213806Sjkimstring is "Windows 2006 SP2".
843213806Sjkim
844213806SjkimEliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
845213806Sjkimcode automatically repairs _HID-related strings, this type of code is no 
846213806Sjkimlonger needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
847213806Sjkim
848213806SjkimExample Code and Data Size: These are the sizes for the OS-independent 
849213806Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
850220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
851213806Sjkimmuch larger code and data size.
852213806Sjkim
853213806Sjkim  Previous Release:
854213806Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
855213806Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
856213806Sjkim  Current Release:
857213806Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
858213806Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
859213806Sjkim
860213806Sjkim2) iASL Compiler/Disassembler and Tools:
861213806Sjkim
862213806SjkimiASL: Implemented additional compile-time validation for _HID strings. The 
863220663Sjkimnon-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
864213806Sjkimthe string must be exactly seven or eight characters. For both _HID and _CID 
865213806Sjkimstrings, all characters must be alphanumeric. ACPICA BZ 874.
866213806Sjkim
867213806SjkimiASL: Allow certain "null" resource descriptors. Some BIOS code creates 
868220663Sjkimdescriptors that are mostly or all zeros, with the expectation that they will 
869220663Sjkimbe filled in at runtime. iASL now allows this as long as there is a "resource 
870213806Sjkimtag" (name) associated with the descriptor, which gives the ASL a handle 
871213806Sjkimneeded to modify the descriptor. ACPICA BZ 873.
872213806Sjkim
873213806SjkimAdded single-thread support to the generic Unix application OSL. Primarily 
874213806Sjkimfor iASL support, this change removes the use of semaphores in the single-
875213806Sjkimthreaded ACPICA tools/applications - increasing performance. The 
876213806Sjkim_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
877213806Sjkimoption. ACPICA BZ 879.
878213806Sjkim
879220663SjkimAcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
880213806Sjkimfor 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
881213806Sjkim
882213806SjkimiASL: Moved all compiler messages to a new file, aslmessages.h.
883213806Sjkim
884213806Sjkim----------------------------------------
885212761Sjkim15 September 2010. Summary of changes for version 20100915:
886212761Sjkim
887212761Sjkim1) ACPI CA Core Subsystem:
888212761Sjkim
889220663SjkimRemoved the AcpiOsDerivePciId OSL interface. The various host implementations 
890212761Sjkimof this function were not OS-dependent and are now obsolete and can be 
891212761Sjkimremoved from all host OSLs. This function has been replaced by 
892212761SjkimAcpiHwDerivePciId, which is now part of the ACPICA core code. 
893212761SjkimAcpiHwDerivePciId has been implemented without recursion. Adds one new 
894212761Sjkimmodule, hwpci.c. ACPICA BZ 857.
895212761Sjkim
896212761SjkimImplemented a dynamic repair for _HID and _CID strings. The following 
897212761Sjkimproblems are now repaired at runtime: 1) Remove a leading asterisk in the 
898212761Sjkimstring, and 2) the entire string is uppercased. Both repairs are in 
899212761Sjkimaccordance with the ACPI specification and will simplify host driver code. 
900212761SjkimACPICA BZ 871.
901212761Sjkim
902212761SjkimThe ACPI_THREAD_ID type is no longer configurable, internally it is now 
903220663Sjkimalways UINT64. This simplifies the ACPICA code, especially any printf output. 
904212761SjkimUINT64 is the only common data type for all thread_id types across all 
905212761Sjkimoperating systems. It is now up to the host OSL to cast the native thread_id 
906212761Sjkimtype to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
907212761SjkimLin Ming, Bob Moore.
908212761Sjkim
909212761SjkimAdded the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
910212761Sjkimkeyword is not standard across compilers, and this type allows inline to be 
911212761Sjkimconfigured on a per-compiler basis. Lin Ming.
912212761Sjkim
913212761SjkimMade the system global AcpiGbl_SystemAwakeAndRunning publically available. 
914212761SjkimAdded an extern for this boolean in acpixf.h. Some hosts utilize this value 
915212761Sjkimduring suspend/restore operations. ACPICA BZ 869.
916212761Sjkim
917212761SjkimAll code that implements error/warning messages with the "ACPI:" prefix has 
918212761Sjkimbeen moved to a new module, utxferror.c.
919212761Sjkim
920212761SjkimThe UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
921212761Sjkimis used. ACPICA BZ 829. Lin Ming, Bob Moore.
922212761Sjkim
923212761SjkimExample Code and Data Size: These are the sizes for the OS-independent 
924212761Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
925220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
926212761Sjkimmuch larger code and data size.
927212761Sjkim
928212761Sjkim  Previous Release:
929212761Sjkim    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
930212761Sjkim    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
931212761Sjkim  Current Release:
932212761Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
933212761Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
934212761Sjkim
935212761Sjkim2) iASL Compiler/Disassembler and Tools:
936212761Sjkim
937212761SjkimiASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
938212761SjkimThis keeps the output files free of random error messages that may originate 
939212761Sjkimfrom within the namespace/interpreter code. Used this opportunity to merge 
940212761Sjkimall ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
941212761Sjkim866. Lin Ming, Bob Moore.
942212761Sjkim
943212761SjkimTools: update some printfs for ansi warnings on size_t. Handle width change 
944212761Sjkimof size_t on 32-bit versus 64-bit generations. Lin Ming.
945212761Sjkim
946212761Sjkim----------------------------------------
947210976Sjkim06 August 2010. Summary of changes for version 20100806:
948210976Sjkim
949210976Sjkim1) ACPI CA Core Subsystem:
950210976Sjkim
951210976SjkimDesigned and implemented a new host interface to the _OSI support code. This 
952210976Sjkimwill allow the host to dynamically add or remove multiple _OSI strings, as 
953210976Sjkimwell as install an optional handler that is called for each _OSI invocation. 
954220663SjkimAlso added a new AML debugger command, 'osi' to display and modify the global 
955210976Sjkim_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
956210976Sjkimreference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
957210976SjkimNew Functions:
958210976Sjkim    AcpiInstallInterface - Add an _OSI string.
959210976Sjkim    AcpiRemoveInterface - Delete an _OSI string.
960210976Sjkim    AcpiInstallInterfaceHandler - Install optional _OSI handler.
961210976SjkimObsolete Functions:
962210976Sjkim    AcpiOsValidateInterface - no longer used.
963210976SjkimNew Files:
964210976Sjkim    source/components/utilities/utosi.c
965210976Sjkim
966210976SjkimRe-introduced the support to enable multi-byte transfers for Embedded 
967210976SjkimController (EC) operation regions. A reported problem was found to be a bug 
968210976Sjkimin the host OS, not in the multi-byte support. Previously, the maximum data 
969210976Sjkimsize passed to the EC operation region handler was a single byte. There are 
970210976Sjkimoften EC Fields larger than one byte that need to be transferred, and it is 
971210976Sjkimuseful for the EC driver to lock these as a single transaction. This change 
972210976Sjkimenables single transfers larger than 8 bits. This effectively changes the 
973210976Sjkimaccess to the EC space from ByteAcc to AnyAcc, and will probably require 
974210976Sjkimchanges to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
975210976Sjkimtransfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
976210976Sjkim
977210976SjkimFixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
978210976Sjkimprototype in acpiosxf.h had the output value pointer as a (void *).
979210976SjkimIt should be a (UINT64 *). This may affect some host OSL code.
980210976Sjkim
981210976SjkimFixed a couple problems with the recently modified Linux makefiles for iASL 
982210976Sjkimand AcpiExec. These new makefiles place the generated object files in the 
983220663Sjkimlocal directory so that there can be no collisions between the files that are 
984210976Sjkimshared between them that are compiled with different options.
985210976Sjkim
986210976SjkimExample Code and Data Size: These are the sizes for the OS-independent 
987210976Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
988220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
989210976Sjkimmuch larger code and data size.
990210976Sjkim
991210976Sjkim  Previous Release:
992210976Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
993210976Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
994210976Sjkim  Current Release:
995210976Sjkim    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
996210976Sjkim    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
997210976Sjkim
998210976Sjkim2) iASL Compiler/Disassembler and Tools:
999210976Sjkim
1000210976SjkimiASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
1001210976Sjkimnamespace from and disassemble an entire group of AML files. Useful for 
1002210976Sjkimloading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
1003210976Sjkimdisassembling with one simple command. ACPICA BZ 865. Lin Ming.
1004210976Sjkim
1005210976SjkimiASL: Allow multiple invocations of -e option. This change allows multiple 
1006210976Sjkimuses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
1007210976SjkimLin Ming.
1008210976Sjkim
1009210976Sjkim----------------------------------------
1010209746Sjkim02 July 2010. Summary of changes for version 20100702:
1011209746Sjkim
1012209746Sjkim1) ACPI CA Core Subsystem:
1013209746Sjkim
1014209746SjkimImplemented several updates to the recently added GPE reference count 
1015209746Sjkimsupport. The model for "wake" GPEs is changing to give the host OS complete 
1016209746Sjkimcontrol of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
1017209746Sjkimmethods, since the host already must execute them. Also, additional changes 
1018209746Sjkimwere made to help ensure that the reference counts are kept in proper 
1019209746Sjkimsynchronization with reality. Rafael J. Wysocki.
1020209746Sjkim
1021209746Sjkim1) Ensure that GPEs are not enabled twice during initialization.
1022209746Sjkim2) Ensure that GPE enable masks stay in sync with the reference count.
1023209746Sjkim3) Do not inadvertently enable GPEs when writing GPE registers.
1024209746Sjkim4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
1025209746Sjkiminterface. This interface will set or clear individual GPEs for wakeup.
1026209746Sjkim5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
1027209746Sjkimare now used for "runtime" GPEs only.
1028209746Sjkim
1029220663SjkimChanged the behavior of the GPE install/remove handler interfaces. The GPE is 
1030209746Sjkimno longer disabled during this process, as it was found to cause problems on 
1031209746Sjkimsome machines. Rafael J. Wysocki.
1032209746Sjkim
1033209746SjkimReverted a change introduced in version 20100528 to enable Embedded 
1034220663SjkimController multi-byte transfers. This change was found to cause problems with 
1035209746SjkimIndex Fields and possibly Bank Fields. It will be reintroduced when these 
1036209746Sjkimproblems have been resolved.
1037209746Sjkim
1038209746SjkimFixed a problem with references to Alias objects within Package Objects. A 
1039209746Sjkimreference to an Alias within the definition of a Package was not always 
1040209746Sjkimresolved properly. Aliases to objects like Processors, Thermal zones, etc. 
1041220663Sjkimwere resolved to the actual object instead of a reference to the object as it 
1042209746Sjkimshould be. Package objects are only allowed to contain integer, string, 
1043209746Sjkimbuffer, package, and reference objects. Redhat bugzilla 608648.
1044209746Sjkim
1045209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1046209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1047220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1048209746Sjkimmuch larger code and data size.
1049209746Sjkim
1050209746Sjkim  Previous Release:
1051209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1052209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1053209746Sjkim  Current Release:
1054209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1055209746Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1056209746Sjkim
1057209746Sjkim2) iASL Compiler/Disassembler and Tools:
1058209746Sjkim
1059209746SjkimiASL: Implemented a new compiler subsystem to allow definition and 
1060209746Sjkimcompilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1061209746Sjkimare called "ACPI Data Tables", and the new compiler is the "Data Table 
1062209746SjkimCompiler". This compiler is intended to simplify the existing error-prone 
1063209746Sjkimprocess of creating these tables for the BIOS, as well as allowing the 
1064209746Sjkimdisassembly, modification, recompilation, and override of existing ACPI data 
1065209746Sjkimtables. See the iASL User Guide for detailed information.
1066209746Sjkim
1067209746SjkimiASL: Implemented a new Template Generator option in support of the new Data 
1068209746SjkimTable Compiler. This option will create examples of all known ACPI tables 
1069209746Sjkimthat can be used as the basis for table development. See the iASL 
1070209746Sjkimdocumentation and the -T option.
1071209746Sjkim
1072209746SjkimDisassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1073209746SjkimDescriptor Table).
1074209746Sjkim
1075209746SjkimUpdated the Linux makefiles for iASL and AcpiExec to place the generated 
1076209746Sjkimobject files in the local directory so that there can be no collisions 
1077209746Sjkimbetween the shared files between them that are generated with different 
1078209746Sjkimoptions.
1079209746Sjkim
1080209746SjkimAdded support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1081209746Sjkimthe #define __APPLE__ to enable this support.
1082209746Sjkim
1083209746Sjkim----------------------------------------
1084209746Sjkim28 May 2010. Summary of changes for version 20100528:
1085209746Sjkim
1086209746SjkimNote: The ACPI 4.0a specification was released on April 5, 2010 and is 
1087209746Sjkimavailable at www.acpi.info. This is primarily an errata release.
1088209746Sjkim
1089209746Sjkim1) ACPI CA Core Subsystem:
1090209746Sjkim
1091209746SjkimUndefined ACPI tables: We are looking for the definitions for the following 
1092209746SjkimACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1093209746Sjkim
1094209746SjkimImplemented support to enable multi-byte transfers for Embedded Controller 
1095209746Sjkim(EC) operation regions. Previously, the maximum data size passed to the EC 
1096209746Sjkimoperation region handler was a single byte. There are often EC Fields larger 
1097220663Sjkimthan one byte that need to be transferred, and it is useful for the EC driver 
1098209746Sjkimto lock these as a single transaction. This change enables single transfers 
1099209746Sjkimlarger than 8 bits. This effectively changes the access to the EC space from 
1100209746SjkimByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1101209746SjkimController driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1102209746Sjkimtransfers. Alexey Starikovskiy, Lin Ming
1103209746Sjkim
1104209746SjkimImplemented a performance enhancement for namespace search and access. This 
1105209746Sjkimchange enhances the performance of namespace searches and walks by adding a 
1106209746Sjkimbackpointer to the parent in each namespace node. On large namespaces, this 
1107209746Sjkimchange can improve overall ACPI performance by up to 9X. Adding a pointer to 
1108209746Sjkimeach namespace node increases the overall size of the internal namespace by 
1109209746Sjkimabout 5%, since each namespace entry usually consists of both a namespace 
1110209746Sjkimnode and an ACPI operand object. However, this is the first growth of the 
1111209746Sjkimnamespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1112209746Sjkim
1113209746SjkimImplemented a performance optimization that reduces the number of namespace 
1114220663Sjkimwalks. On control method exit, only walk the namespace if the method is known 
1115220663Sjkimto have created namespace objects outside of its local scope. Previously, the 
1116209746Sjkimentire namespace was traversed on each control method exit. This change can 
1117220663Sjkimimprove overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1118209746Sjkim
1119220663SjkimAdded support to truncate I/O addresses to 16 bits for Windows compatibility. 
1120209746SjkimSome ASL code has been seen in the field that inadvertently has bits set 
1121209746Sjkimabove bit 15. This feature is optional and is enabled if the BIOS requests 
1122209746Sjkimany Windows OSI strings. It can also be enabled by the host OS. Matthew 
1123209746SjkimGarrett, Bob Moore.
1124209746Sjkim
1125209746SjkimAdded support to limit the maximum time for the ASL Sleep() operator. To 
1126209746Sjkimprevent accidental deep sleeps, limit the maximum time that Sleep() will 
1127209746Sjkimactually sleep. Configurable, the default maximum is two seconds. ACPICA 
1128209746Sjkimbugzilla 854.
1129209746Sjkim
1130209746SjkimAdded run-time validation support for the _WDG and_WED Microsoft predefined 
1131209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
1132209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
1133209746Sjkim
1134209746SjkimExpanded all statistic counters used during namespace and device 
1135209746Sjkiminitialization from 16 to 32 bits in order to support very large namespaces.
1136209746Sjkim
1137220663SjkimReplaced all instances of %d in printf format specifiers with %u since nearly 
1138209746Sjkimall integers in ACPICA are unsigned.
1139209746Sjkim
1140220663SjkimFixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1141209746Sjkimas AE_NO_HANDLER.
1142209746Sjkim
1143209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1144209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1145220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1146209746Sjkimmuch larger code and data size.
1147209746Sjkim
1148209746Sjkim  Previous Release:
1149209746Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1150209746Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1151209746Sjkim  Current Release:
1152209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1153209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1154209746Sjkim
1155209746Sjkim2) iASL Compiler/Disassembler and Tools:
1156209746Sjkim
1157209746SjkimiASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1158209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
1159209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
1160209746Sjkim
1161209746SjkimAcpiExec: added option to disable the memory tracking mechanism. The -dt 
1162209746Sjkimoption will disable the tracking mechanism, which improves performance 
1163209746Sjkimconsiderably.
1164209746Sjkim
1165209746SjkimAcpiExec: Restructured the command line options into -d (disable) and -e 
1166209746Sjkim(enable) options.
1167209746Sjkim
1168209746Sjkim----------------------------------------
1169207344Sjkim28 April 2010. Summary of changes for version 20100428:
1170207344Sjkim
1171207344Sjkim1) ACPI CA Core Subsystem:
1172207344Sjkim
1173207344SjkimImplemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1174207344Sjkimincluding FADT-based and GPE Block Devices, execute any _PRW methods in the 
1175207344Sjkimnew table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1176207344Sjkimruntime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1177207344Sjkimimmediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1178207344SjkimDevices. Provides compatibility with other ACPI implementations. Two new 
1179220663Sjkimfiles added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1180207344Sjkim
1181207344SjkimFixed a regression introduced in version 20100331 within the table manager 
1182207344Sjkimwhere initial table loading could fail. This was introduced in the fix for 
1183207344SjkimAcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1184207344Sjkimdata structures to clarify their meaning and use.
1185207344Sjkim
1186207344SjkimFixed a possible allocation overrun during internal object copy in 
1187207344SjkimAcpiUtCopySimpleObject. The original code did not correctly handle the case 
1188207344Sjkimwhere the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1189207344Sjkim
1190207344SjkimUpdated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1191220663Sjkimpossible access beyond end-of-allocation. Also, now fully validate descriptor 
1192207344Sjkim(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1193207344Sjkim
1194207344SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1195207344Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1196220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1197207344Sjkimmuch larger code and data size.
1198207344Sjkim
1199207344Sjkim  Previous Release:
1200207344Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1201207344Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1202207344Sjkim  Current Release:
1203207344Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1204207344Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1205207344Sjkim
1206207344Sjkim2) iASL Compiler/Disassembler and Tools:
1207207344Sjkim
1208207344SjkimiASL: Implemented Min/Max/Len/Gran validation for address resource 
1209207344Sjkimdescriptors. This change implements validation for the address fields that 
1210207344Sjkimare common to all address-type resource descriptors. These checks are 
1211207344Sjkimimplemented: Checks for valid Min/Max, length within the Min/Max window, 
1212207344Sjkimvalid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1213220663Sjkimtable 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1214207344Sjkimand aslrestype2.c files into five new files. ACPICA BZ 840.
1215207344Sjkim
1216207344SjkimiASL: Added support for the _Wxx predefined names. This support was missing 
1217207344Sjkimand these names were not recognized by the compiler as valid predefined 
1218207344Sjkimnames. ACPICA BZ 851.
1219207344Sjkim
1220207344SjkimiASL: Added an error for all predefined names that are defined to return no 
1221207344Sjkimvalue and thus must be implemented as Control Methods. These include all of 
1222207344Sjkimthe _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1223207344Sjkimnames such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1224207344Sjkim
1225207344SjkimiASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1226207344SjkimASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1227207344Sjkimdynamically loaded via the Load() operator. Also cleaned up output for the -
1228207344Sjkimta and -tc options. ACPICA BZ 853.
1229207344Sjkim
1230207344SjkimTests: Added a new file with examples of extended iASL error checking. 
1231207344SjkimDemonstrates the advanced error checking ability of the iASL compiler. 
1232207344SjkimAvailable at tests/misc/badcode.asl.
1233207344Sjkim
1234207344Sjkim----------------------------------------
1235206117Sjkim31 March 2010. Summary of changes for version 20100331:
1236206117Sjkim
1237206117Sjkim1) ACPI CA Core Subsystem:
1238206117Sjkim
1239206117SjkimCompleted a major update for the GPE support in order to improve support for 
1240206117Sjkimshared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1241206117Sjkimcount mechanism to support shared GPEs that require multiple device drivers. 
1242206117SjkimSeveral external interfaces have changed. One external interface has been 
1243206117Sjkimremoved. One new external interface was added. Most of the GPE external 
1244206117Sjkiminterfaces now use the GPE spinlock instead of the events mutex (and the 
1245206117SjkimFlags parameter for many GPE interfaces has been removed.) See the updated 
1246206117SjkimACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1247206117SjkimWysocki. ACPICA BZ 831.
1248206117Sjkim
1249206117SjkimChanged:
1250206117Sjkim    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1251206117SjkimRemoved:
1252206117Sjkim    AcpiSetGpeType
1253206117SjkimNew:
1254206117Sjkim    AcpiSetGpe
1255206117Sjkim
1256206117SjkimImplemented write support for DataTable operation regions. These regions are 
1257220663Sjkimdefined via the DataTableRegion() operator. Previously, only read support was 
1258220663Sjkimimplemented. The ACPI specification allows DataTableRegions to be read/write, 
1259206117Sjkimhowever.
1260206117Sjkim
1261206117SjkimImplemented a new subsystem option to force a copy of the DSDT to local 
1262206117Sjkimmemory. Optionally copy the entire DSDT to local memory (instead of simply 
1263206117Sjkimmapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1264206117Sjkimthe original DSDT, creating the need for this option. Default is FALSE, do 
1265206117Sjkimnot copy the DSDT.
1266206117Sjkim
1267206117SjkimImplemented detection of a corrupted or replaced DSDT. This change adds 
1268220663Sjkimsupport to detect a DSDT that has been corrupted and/or replaced from outside 
1269206117Sjkimthe OS (by firmware). This is typically catastrophic for the system, but has 
1270206117Sjkimbeen seen on some machines. Once this problem has been detected, the DSDT 
1271206117Sjkimcopy option can be enabled via system configuration. Lin Ming, Bob Moore.
1272206117Sjkim
1273206117SjkimFixed two problems with AcpiReallocateRootTable during the root table copy. 
1274206117SjkimWhen copying the root table to the new allocation, the length used was 
1275206117Sjkimincorrect. The new size was used instead of the current table size, meaning 
1276206117Sjkimtoo much data was copied. Also, the count of available slots for ACPI tables 
1277206117Sjkimwas not set correctly. Alexey Starikovskiy, Bob Moore.
1278206117Sjkim
1279206117SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1280206117Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1281220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1282206117Sjkimmuch larger code and data size.
1283206117Sjkim
1284206117Sjkim  Previous Release:
1285206117Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1286206117Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1287206117Sjkim  Current Release:
1288206117Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1289206117Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1290206117Sjkim
1291206117Sjkim2) iASL Compiler/Disassembler and Tools:
1292206117Sjkim
1293206117SjkimiASL: Implement limited typechecking for values returned from predefined 
1294206117Sjkimcontrol methods. The type of any returned static (unnamed) object is now 
1295206117Sjkimvalidated. For example, Return(1). ACPICA BZ 786.
1296206117Sjkim
1297220663SjkimiASL: Fixed a predefined name object verification regression. Fixes a problem 
1298206117Sjkimintroduced in version 20100304. An error is incorrectly generated if a 
1299206117Sjkimpredefined name is declared as a static named object with a value defined 
1300206117Sjkimusing the keywords "Zero", "One", or "Ones". Lin Ming.
1301206117Sjkim
1302206117SjkimiASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1303206117Sjkimreducing the requested registry access rights. ACPICA BZ 842.
1304206117Sjkim
1305206117SjkimDisassembler: fixed a possible fault when generating External() statements. 
1306206117SjkimIntroduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1307206117Sjkim(carat). Fixes a string length allocation calculation. Lin Ming.
1308206117Sjkim
1309206117Sjkim----------------------------------------
1310204773Sjkim04 March 2010. Summary of changes for version 20100304:
1311204773Sjkim
1312204773Sjkim1) ACPI CA Core Subsystem:
1313204773Sjkim
1314204773SjkimFixed a possible problem with the AML Mutex handling function 
1315204773SjkimAcpiExReleaseMutex where the function could fault under the very rare 
1316220663Sjkimcondition when the interpreter has blocked, the interpreter lock is released, 
1317204773Sjkimthe interpreter is then reentered via the same thread, and attempts to 
1318220663Sjkimacquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1319204773SjkimMing.
1320204773Sjkim
1321204773SjkimImplemented additional configuration support for the AML "Debug Object". 
1322204773SjkimOutput from the debug object can now be enabled via a global variable, 
1323220663SjkimAcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1324204773SjkimThis debug output is now available in the release version of ACPICA instead 
1325204773Sjkimof just the debug version. Also, the entire debug output module can now be 
1326204773Sjkimconfigured out of the ACPICA build if desired. One new file added, 
1327204773Sjkimexecuter/exdebug.c. Lin Ming, Bob Moore.
1328204773Sjkim
1329204773SjkimAdded header support for the ACPI MCHI table (Management Controller Host 
1330220663SjkimInterface Table). This table was added in ACPI 4.0, but the defining document 
1331204773Sjkimhas only recently become available.
1332204773Sjkim
1333204773SjkimStandardized output of integer values for ACPICA warnings/errors. Always use 
1334204773Sjkim0x prefix for hex output, always use %u for unsigned integer decimal output. 
1335204773SjkimAffects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1336204773Sjkiminvocations.) These invocations were converted from the original 
1337204773SjkimACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1338204773Sjkim
1339204773SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1340204773Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1341220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1342204773Sjkimmuch larger code and data size.
1343204773Sjkim
1344204773Sjkim  Previous Release:
1345204773Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1346204773Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1347204773Sjkim  Current Release:
1348204773Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1349204773Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1350204773Sjkim
1351204773Sjkim2) iASL Compiler/Disassembler and Tools:
1352204773Sjkim
1353204773SjkimiASL: Implemented typechecking support for static (non-control method) 
1354204773Sjkimpredefined named objects that are declared with the Name() operator. For 
1355204773Sjkimexample, the type of this object is now validated to be of type Integer: 
1356220663SjkimName(_BBN, 1). This change migrates the compiler to using the core predefined 
1357204773Sjkimname table instead of maintaining a local version. Added a new file, 
1358204773Sjkimaslpredef.c. ACPICA BZ 832.
1359204773Sjkim
1360204773SjkimDisassembler: Added support for the ACPI 4.0 MCHI table.
1361204773Sjkim
1362204773Sjkim----------------------------------------
1363202771Sjkim21 January 2010. Summary of changes for version 20100121:
1364202771Sjkim
1365202771Sjkim1) ACPI CA Core Subsystem:
1366202771Sjkim
1367202771SjkimAdded the 2010 copyright to all module headers and signons. This affects 
1368202771Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, the 
1369202771Sjkimtools/utilities, and the test suites.
1370202771Sjkim
1371220663SjkimImplemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1372202771Sjkiminvocations of the _STA method. In the case where a specific _HID is 
1373202771Sjkimrequested, do not run _STA until a _HID match is found. This eliminates 
1374220663Sjkimpotentially dozens of _STA calls during a search for a particular device/HID, 
1375202771Sjkimwhich in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1376202771Sjkim
1377220663SjkimImplemented an additional repair for predefined method return values. Attempt 
1378220663Sjkimto repair unexpected NULL elements within returned Package objects. Create an 
1379220663SjkimInteger of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1380202771SjkimACPICA BZ 818. Lin Ming, Bob Moore.
1381202771Sjkim
1382202771SjkimRemoved the obsolete ACPI_INTEGER data type. This type was introduced as the 
1383202771Sjkimcode was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
1384202771Sjkim64-bit AML integers). It is now obsolete and this change removes it from the 
1385202771SjkimACPICA code base, replaced by UINT64. The original typedef has been retained 
1386202771Sjkimfor now for compatibility with existing device driver code. ACPICA BZ 824.
1387202771Sjkim
1388202771SjkimRemoved the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
1389202771Sjkimthe parse tree object.
1390202771Sjkim
1391220663SjkimAdded additional warning options for the gcc-4 generation. Updated the source 
1392202771Sjkimaccordingly. This includes some code restructuring to eliminate unreachable 
1393202771Sjkimcode, elimination of some gotos, elimination of unused return values, some 
1394202771Sjkimadditional casting, and removal of redundant declarations.
1395202771Sjkim
1396202771SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1397202771Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1398220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1399202771Sjkimmuch larger code and data size.
1400202771Sjkim
1401202771Sjkim  Previous Release:
1402202771Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1403202771Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1404202771Sjkim  Current Release:
1405202771Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1406202771Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1407202771Sjkim
1408202771Sjkim2) iASL Compiler/Disassembler and Tools:
1409202771Sjkim
1410202771SjkimNo functional changes for this release.
1411202771Sjkim
1412202771Sjkim----------------------------------------
1413200553Sjkim14 December 2009. Summary of changes for version 20091214:
1414200553Sjkim
1415200553Sjkim1) ACPI CA Core Subsystem:
1416200553Sjkim
1417200553SjkimEnhanced automatic data type conversions for predefined name repairs. This 
1418200553Sjkimchange expands the automatic repairs/conversions for predefined name return 
1419200553Sjkimvalues to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1420220663SjkimBuffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1421200553Sjkimmodule was completely restructured. Lin Ming, Bob Moore.
1422200553Sjkim
1423220663SjkimImplemented automatic removal of null package elements during predefined name 
1424200553Sjkimrepairs. This change will automatically remove embedded and trailing NULL 
1425200553Sjkimpackage elements from returned package objects that are defined to contain a 
1426200553Sjkimvariable number of sub-packages. The driver is then presented with a package 
1427200553Sjkimwith no null elements to deal with. ACPICA BZ 819.
1428200553Sjkim
1429200553SjkimImplemented a repair for the predefined _FDE and _GTM names. The expected 
1430200553Sjkimreturn value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1431200553Sjkimpossible problems (both seen in the field), where a package of integers is 
1432220663Sjkimreturned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1433200553Sjkim
1434200553SjkimImplemented additional module-level code support. This change will properly 
1435200553Sjkimexecute module-level code that is not at the root of the namespace (under a 
1436200553SjkimDevice object, etc.). Now executes the code within the current scope instead 
1437200553Sjkimof the root. ACPICA BZ 762. Lin Ming.
1438200553Sjkim
1439200553SjkimFixed possible mutex acquisition errors when running _REG methods. Fixes a 
1440200553Sjkimproblem where mutex errors can occur when running a _REG method that is in 
1441200553Sjkimthe same scope as a method-defined operation region or an operation region 
1442200553Sjkimunder a module-level IF block. This type of code is rare, so the problem has 
1443200553Sjkimnot been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1444200553Sjkim
1445200553SjkimFixed a possible memory leak during module-level code execution. An object 
1446200553Sjkimcould be leaked for each block of executed module-level code if the 
1447220663Sjkiminterpreter slack mode is enabled This change deletes any implicitly returned 
1448200553Sjkimobject from the module-level code block. Lin Ming.
1449200553Sjkim
1450200553SjkimRemoved messages for successful predefined repair(s). The repair mechanism 
1451200553Sjkimwas considered too wordy. Now, messages are only unconditionally emitted if 
1452200553Sjkimthe return object cannot be repaired. Existing messages for successful 
1453200553Sjkimrepairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1454200553Sjkim
1455200553SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1456200553Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1457220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1458200553Sjkimmuch larger code and data size.
1459200553Sjkim
1460200553Sjkim  Previous Release:
1461200553Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1462200553Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1463200553Sjkim  Current Release:
1464200553Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1465200553Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1466200553Sjkim
1467200553Sjkim2) iASL Compiler/Disassembler and Tools:
1468200553Sjkim
1469220663SjkimiASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
1470200553Sjkimwere no longer automatically removed at the termination of the compile.
1471200553Sjkim
1472200553Sjkimacpiexec: Implemented the -f option to specify default region fill value. 
1473200553SjkimThis option specifies the value used to initialize buffers that simulate 
1474200553Sjkimoperation regions. Default value is zero. Useful for debugging problems that 
1475200553Sjkimdepend on a specific initial value for a region or field.
1476200553Sjkim
1477200553Sjkim----------------------------------------
1478199337Sjkim12 November 2009. Summary of changes for version 20091112:
1479199337Sjkim
1480199337Sjkim1) ACPI CA Core Subsystem:
1481199337Sjkim
1482199337SjkimImplemented a post-order callback to AcpiWalkNamespace. The existing 
1483199337Sjkiminterface only has a pre-order callback. This change adds an additional 
1484199337Sjkimparameter for a post-order callback which will be more useful for bus scans. 
1485199337SjkimACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1486199337Sjkim
1487199337SjkimModified the behavior of the operation region memory mapping cache for 
1488199337SjkimSystemMemory. Ensure that the memory mappings created for operation regions 
1489199337Sjkimdo not cross 4K page boundaries. Crossing a page boundary while mapping 
1490199337Sjkimregions can cause kernel warnings on some hosts if the pages have different 
1491199337Sjkimattributes. Such regions are probably BIOS bugs, and this is the workaround. 
1492199337SjkimLinux BZ 14445. Lin Ming.
1493199337Sjkim
1494199337SjkimImplemented an automatic repair for predefined methods that must return 
1495220663Sjkimsorted lists. This change will repair (by sorting) packages returned by _ALR, 
1496220663Sjkim_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
1497199337Sjkimand do not contain NULL package elements. Adds one new file, 
1498199337Sjkimnamespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1499199337Sjkim
1500199337SjkimFixed a possible fault during predefined name validation if a return Package 
1501199337Sjkimobject contains NULL elements. Also adds a warning if a NULL element is 
1502220663Sjkimfollowed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
1503199337Sjkiminclude repair or removal of all such NULL elements where possible.
1504199337Sjkim
1505199337SjkimImplemented additional module-level executable AML code support. This change 
1506199337Sjkimwill execute module-level code that is not at the root of the namespace 
1507220663Sjkim(under a Device object, etc.) at table load time. Module-level executable AML 
1508199337Sjkimcode has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1509199337Sjkim
1510199337SjkimImplemented a new internal function to create Integer objects. This function 
1511199337Sjkimsimplifies miscellaneous object creation code. ACPICA BZ 823.
1512199337Sjkim
1513199337SjkimReduced the severity of predefined repair messages, Warning to Info. Since 
1514199337Sjkimthe object was successfully repaired, a warning is too severe. Reduced to an 
1515220663Sjkiminfo message for now. These messages may eventually be changed to debug-only. 
1516199337SjkimACPICA BZ 812.
1517199337Sjkim
1518199337SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1519199337Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1520220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1521199337Sjkimmuch larger code and data size.
1522199337Sjkim
1523199337Sjkim  Previous Release:
1524199337Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1525199337Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1526199337Sjkim  Current Release:
1527199337Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1528199337Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1529199337Sjkim
1530199337Sjkim2) iASL Compiler/Disassembler and Tools:
1531199337Sjkim
1532199337SjkimiASL: Implemented Switch() with While(1) so that Break works correctly. This 
1533199337Sjkimchange correctly implements the Switch operator with a surrounding While(1) 
1534199337Sjkimso that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1535199337Sjkim
1536199337SjkimiASL: Added a message if a package initializer list is shorter than package 
1537199337Sjkimlength. Adds a new remark for a Package() declaration if an initializer list 
1538199337Sjkimexists, but is shorter than the declared length of the package. Although 
1539199337Sjkimtechnically legal, this is probably a coding error and it is seen in the 
1540199337Sjkimfield. ACPICA BZ 815. Lin Ming, Bob Moore.
1541199337Sjkim
1542220663SjkimiASL: Fixed a problem where the compiler could fault after the maximum number 
1543199337Sjkimof errors was reached (200).
1544199337Sjkim
1545220663Sjkimacpixtract: Fixed a possible warning for pointer cast if the compiler warning 
1546199337Sjkimlevel set very high.
1547199337Sjkim
1548199337Sjkim----------------------------------------
1549198237Sjkim13 October 2009. Summary of changes for version 20091013:
1550197104Sjkim
1551197104Sjkim1) ACPI CA Core Subsystem:
1552197104Sjkim
1553198237SjkimFixed a problem where an Operation Region _REG method could be executed more 
1554198237Sjkimthan once. If a custom address space handler is installed by the host before 
1555198237Sjkimthe "initialize operation regions" phase of the ACPICA initialization, any 
1556198237Sjkim_REG methods for that address space could be executed twice. This change 
1557198237Sjkimfixes the problem. ACPICA BZ 427. Lin Ming.
1558198237Sjkim
1559198237SjkimFixed a possible memory leak for the Scope() ASL operator. When the exact 
1560198237Sjkiminvocation of "Scope(\)" is executed (change scope to root), one internal 
1561198237Sjkimoperand object was leaked. Lin Ming.
1562198237Sjkim
1563198237SjkimImplemented a run-time repair for the _MAT predefined method. If the _MAT 
1564198237Sjkimreturn value is defined as a Field object in the AML, and the field
1565220663Sjkimsize is less than or equal to the default width of an integer (32 or 64),_MAT 
1566198237Sjkimcan incorrectly return an Integer instead of a Buffer. ACPICA now 
1567198237Sjkimautomatically repairs this problem. ACPICA BZ 810.
1568198237Sjkim
1569198237SjkimImplemented a run-time repair for the _BIF and _BIX predefined methods. The 
1570198237Sjkim"OEM Information" field is often incorrectly returned as an Integer with 
1571198237Sjkimvalue zero if the field is not supported by the platform. This is due to an 
1572198237Sjkimambiguity in the ACPI specification. The field should always be a string. 
1573198237SjkimACPICA now automatically repairs this problem by returning a NULL string 
1574198237Sjkimwithin the returned Package. ACPICA BZ 807.
1575198237Sjkim
1576198237SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1577198237Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1578220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1579198237Sjkimmuch larger code and data size.
1580198237Sjkim
1581198237Sjkim  Previous Release:
1582198237Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1583198237Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1584198237Sjkim  Current Release:
1585198237Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1586198237Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1587198237Sjkim
1588198237Sjkim2) iASL Compiler/Disassembler and Tools:
1589198237Sjkim
1590198237SjkimDisassembler: Fixed a problem where references to external symbols that 
1591198237Sjkimcontained one or more parent-prefixes (carats) were not handled correctly, 
1592198237Sjkimpossibly causing a fault. ACPICA BZ 806. Lin Ming.
1593198237Sjkim
1594198237SjkimDisassembler: Restructured the code so that all functions that handle 
1595198237Sjkimexternal symbols are in a single module. One new file is added, 
1596198237Sjkimcommon/dmextern.c.
1597198237Sjkim
1598198237SjkimAML Debugger: Added a max count argument for the Batch command (which 
1599198237Sjkimexecutes multiple predefined methods within the namespace.)
1600198237Sjkim
1601198237SjkimiASL: Updated the compiler documentation (User Reference.) Available at 
1602198237Sjkimhttp://www.acpica.org/documentation/. ACPICA BZ 750.
1603198237Sjkim
1604198237SjkimAcpiXtract: Updated for Lint and other formatting changes. Close all open 
1605198237Sjkimfiles.
1606198237Sjkim
1607198237Sjkim----------------------------------------
1608198237Sjkim03 September 2009. Summary of changes for version 20090903:
1609198237Sjkim
1610198237Sjkim1) ACPI CA Core Subsystem:
1611198237Sjkim
1612197104SjkimFor Windows Vista compatibility, added the automatic execution of an _INI 
1613197104Sjkimmethod located at the namespace root (\_INI). This method is executed at 
1614197104Sjkimtable load time. This support is in addition to the automatic execution of 
1615197104Sjkim\_SB._INI. Lin Ming.
1616197104Sjkim
1617197104SjkimFixed a possible memory leak in the interpreter for AML package objects if 
1618197104Sjkimthe package initializer list is longer than the defined size of the package. 
1619197104SjkimThis apparently can only happen if the BIOS changes the package size on the 
1620197104Sjkimfly (seen in a _PSS object), as ASL compilers do not allow this. The 
1621220663Sjkiminterpreter will truncate the package to the defined size (and issue an error 
1622220663Sjkimmessage), but previously could leave the extra objects undeleted if they were 
1623197104Sjkimpre-created during the argument processing (such is the case if the package 
1624197104Sjkimconsists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1625197104Sjkim
1626197104SjkimFixed a problem seen when a Buffer or String is stored to itself via ASL. 
1627197104SjkimThis has been reported in the field. Previously, ACPICA would zero out the 
1628197104Sjkimbuffer/string. Now, the operation is treated as a noop. Provides Windows 
1629197104Sjkimcompatibility. ACPICA BZ 803. Lin Ming.
1630197104Sjkim
1631197104SjkimRemoved an extraneous error message for ASL constructs of the form 
1632197104SjkimStore(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
1633197104Sjkimare seen in many BIOSs and are once again treated as NOOPs and no error is 
1634197104Sjkimemitted when they are encountered. ACPICA BZ 785.
1635197104Sjkim
1636197104SjkimFixed an extraneous warning message if a _DSM reserved method returns a 
1637197104SjkimPackage object. _DSM can return any type of object, so validation on the 
1638197104Sjkimreturn type cannot be performed. ACPICA BZ 802.
1639197104Sjkim
1640197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1641197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1642220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1643197104Sjkimmuch larger code and data size.
1644197104Sjkim
1645197104Sjkim  Previous Release:
1646197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1647197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1648197104Sjkim  Current Release:
1649197104Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1650197104Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1651197104Sjkim
1652197104Sjkim2) iASL Compiler/Disassembler and Tools:
1653197104Sjkim
1654197104SjkimiASL: Fixed a problem with the use of the Alias operator and Resource 
1655197104SjkimTemplates. The correct alias is now constructed and no error is emitted. 
1656197104SjkimACPICA BZ 738.
1657197104Sjkim
1658197104SjkimiASL: Implemented the -I option to specify additional search directories for 
1659197104Sjkiminclude files. Allows multiple additional search paths for include files. 
1660197104SjkimDirectories are searched in the order specified on the command line (after 
1661197104Sjkimthe local directory is searched.) ACPICA BZ 800.
1662197104Sjkim
1663197104SjkimiASL: Fixed a problem where the full pathname for include files was not 
1664197104Sjkimemitted for warnings/errors. This caused the IDE support to not work 
1665197104Sjkimproperly. ACPICA BZ 765.
1666197104Sjkim
1667197104SjkimiASL: Implemented the -@ option to specify a Windows-style response file 
1668197104Sjkimcontaining additional command line options. ACPICA BZ 801.
1669197104Sjkim
1670197104SjkimAcpiExec: Added support to load multiple AML files simultaneously (such as a 
1671197104SjkimDSDT and multiple SSDTs). Also added support for wildcards within the AML 
1672197104Sjkimpathname. These features allow all machine tables to be easily loaded and 
1673197104Sjkimdebugged together. ACPICA BZ 804.
1674197104Sjkim
1675197104SjkimDisassembler: Added missing support for disassembly of HEST table Error Bank 
1676197104Sjkimsubtables. 
1677197104Sjkim
1678197104Sjkim----------------------------------------
1679197104Sjkim30 July 2009. Summary of changes for version 20090730:
1680197104Sjkim
1681197104SjkimThe ACPI 4.0 implementation for ACPICA is complete with this release.
1682197104Sjkim
1683197104Sjkim1) ACPI CA Core Subsystem:
1684197104Sjkim
1685197104SjkimACPI 4.0: Added header file support for all new and changed ACPI tables. 
1686197104SjkimCompletely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
1687197104Sjkimfor ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
1688197104SjkimEINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
1689197104Sjkimhave been some ACPI 4.0 changes to other existing tables. Split the large 
1690197104Sjkimactbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1691197104Sjkim
1692220663SjkimACPI 4.0: Implemented predefined name validation for all new names. There are 
1693220663Sjkim31 new names in ACPI 4.0. The predefined validation module was split into two 
1694197104Sjkimfiles. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1695197104Sjkim
1696197104SjkimImplemented support for so-called "module-level executable code". This is 
1697220663Sjkimexecutable AML code that exists outside of any control method and is intended 
1698220663Sjkimto be executed at table load time. Although illegal since ACPI 2.0, this type 
1699197104Sjkimof code still exists and is apparently still being created. Blocks of this 
1700197104Sjkimcode are now detected and executed as intended. Currently, the code blocks 
1701197104Sjkimmust exist under either an If, Else, or While construct; these are the 
1702197104Sjkimtypical cases seen in the field. ACPICA BZ 762. Lin Ming.
1703197104Sjkim
1704197104SjkimImplemented an automatic dynamic repair for predefined names that return 
1705197104Sjkimnested Package objects. This applies to predefined names that are defined to 
1706197104Sjkimreturn a variable-length Package of sub-packages. If the number of sub-
1707197104Sjkimpackages is one, BIOS code is occasionally seen that creates a simple single 
1708197104Sjkimpackage with no sub-packages. This code attempts to fix the problem by 
1709197104Sjkimwrapping a new package object around the existing package. These methods can 
1710197104Sjkimbe repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
1711197104Sjkim790.
1712197104Sjkim
1713197104SjkimFixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
1714220663SjkimThe _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
1715197104SjkimBZ 793.
1716197104Sjkim
1717197104SjkimFixed a problem with AcpiReset where the reset would silently fail if the 
1718197104Sjkimregister was one of the protected I/O ports. AcpiReset now bypasses the port 
1719197104Sjkimvalidation mechanism. This may eventually be driven into the AcpiRead/Write 
1720197104Sjkiminterfaces.
1721197104Sjkim
1722197104SjkimFixed a regression related to the recent update of the AcpiRead/Write 
1723197104Sjkiminterfaces. A sleep/suspend could fail if the optional PM2 Control register 
1724197104Sjkimdoes not exist during an attempt to write the Bus Master Arbitration bit. 
1725197104Sjkim(However, some hosts already delete the code that writes this bit, and the 
1726197104Sjkimcode may in fact be obsolete at this date.) ACPICA BZ 799.
1727197104Sjkim
1728220663SjkimFixed a problem where AcpiTerminate could fault if inadvertently called twice 
1729197104Sjkimin succession. ACPICA BZ 795.
1730197104Sjkim
1731197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1732197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1733220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1734197104Sjkimmuch larger code and data size.
1735197104Sjkim
1736197104Sjkim  Previous Release:
1737197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1738197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1739197104Sjkim  Current Release:
1740197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1741197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1742197104Sjkim
1743197104Sjkim2) iASL Compiler/Disassembler and Tools:
1744197104Sjkim
1745197104SjkimACPI 4.0: Implemented disassembler support for all new ACPI tables and 
1746197104Sjkimchanges to existing tables. ACPICA BZ 775.
1747197104Sjkim
1748197104Sjkim----------------------------------------
1749197104Sjkim25 June 2009. Summary of changes for version 20090625:
1750197104Sjkim
1751197104SjkimThe ACPI 4.0 Specification was released on June 16 and is available at 
1752197104Sjkimwww.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
1753197104Sjkimcontinue for the next few releases.
1754197104Sjkim
1755197104Sjkim1) ACPI CA Core Subsystem:
1756197104Sjkim
1757197104SjkimACPI 4.0: Implemented interpreter support for the IPMI operation region 
1758197104Sjkimaddress space. Includes support for bi-directional data buffers and an IPMI 
1759197104Sjkimaddress space handler (to be installed by an IPMI device driver.) ACPICA BZ 
1760197104Sjkim773. Lin Ming.
1761197104Sjkim
1762197104SjkimACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
1763197104Sjkimsupport in both the header files and the disassembler.
1764197104Sjkim
1765197104SjkimCompleted a major update for the AcpiGetObjectInfo external interface. 
1766197104SjkimChanges include:
1767197104Sjkim - Support for variable, unlimited length HID, UID, and CID strings.
1768197104Sjkim - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
1769197104Sjkim - Call the _SxW power methods on behalf of a device object.
1770197104Sjkim - Determine if a device is a PCI root bridge.
1771197104Sjkim - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1772197104SjkimThese changes will require an update to all callers of this interface. See 
1773197104Sjkimthe updated ACPICA Programmer Reference for details. One new source file has 
1774197104Sjkimbeen added - utilities/utids.c. ACPICA BZ 368, 780.
1775197104Sjkim
1776197104SjkimUpdated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
1777197104Sjkimtransfers. The Value parameter has been extended from 32 bits to 64 bits in 
1778220663Sjkimorder to support new ACPI 4.0 tables. These changes will require an update to 
1779197104Sjkimall callers of these interfaces. See the ACPICA Programmer Reference for 
1780197104Sjkimdetails. ACPICA BZ 768.
1781197104Sjkim
1782197104SjkimFixed several problems with AcpiAttachData. The handler was not invoked when 
1783197104Sjkimthe host node was deleted. The data sub-object was not automatically deleted 
1784197104Sjkimwhen the host node was deleted. The interface to the handler had an unused 
1785197104Sjkimparameter, this was removed. ACPICA BZ 778.
1786197104Sjkim
1787197104SjkimEnhanced the function that dumps ACPI table headers. All non-printable 
1788197104Sjkimcharacters in the string fields are now replaced with '?' (Signature, OemId, 
1789197104SjkimOemTableId, and CompilerId.) ACPI tables with non-printable characters in 
1790197104Sjkimthese fields are occasionally seen in the field. ACPICA BZ 788.
1791197104Sjkim
1792197104SjkimFixed a problem with predefined method repair code where the code that 
1793197104Sjkimattempts to repair/convert an object of incorrect type is only executed on 
1794197104Sjkimthe first time the predefined method is called. The mechanism that disables 
1795197104Sjkimwarnings on subsequent calls was interfering with the repair mechanism. 
1796197104SjkimACPICA BZ 781.
1797197104Sjkim
1798197104SjkimFixed a possible memory leak in the predefined validation/repair code when a 
1799197104Sjkimbuffer is automatically converted to an expected string object.
1800197104Sjkim
1801197104SjkimRemoved obsolete 16-bit files from the distribution and from the current git 
1802197104Sjkimtree head. ACPICA BZ 776.
1803197104Sjkim
1804197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1805197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1806220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1807197104Sjkimmuch larger code and data size.
1808197104Sjkim
1809197104Sjkim  Previous Release:
1810197104Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1811197104Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1812197104Sjkim  Current Release:
1813197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1814197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1815197104Sjkim
1816197104Sjkim2) iASL Compiler/Disassembler and Tools:
1817197104Sjkim
1818197104SjkimACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
1819197104Sjkimoperation region keyword. ACPICA BZ 771, 772. Lin Ming.
1820197104Sjkim
1821197104SjkimACPI 4.0: iASL - implemented compile-time validation support for all new 
1822197104Sjkimpredefined names and control methods (31 total). ACPICA BZ 769.
1823197104Sjkim
1824197104Sjkim----------------------------------------
1825193267Sjkim21 May 2009. Summary of changes for version 20090521:
1826193267Sjkim
1827193267Sjkim1) ACPI CA Core Subsystem:
1828193267Sjkim
1829193267SjkimDisabled the preservation of the SCI enable bit in the PM1 control register. 
1830220663SjkimThe SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
1831193267Sjkima "preserved" bit - "OSPM always preserves this bit position", section 
1832193267Sjkim4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
1833193267Sjkimbecause the bit needs to be explicitly set by the OS as a workaround. No 
1834193267Sjkimmachines fail if the bit is not preserved. Therefore, ACPICA no longer 
1835193267Sjkimattempts to preserve this bit.
1836193267Sjkim
1837193267SjkimFixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
1838193267Sjkimincorrectly formed _PRT package could cause a fault. Added validation to 
1839193267Sjkimensure that each package element is actually a sub-package.
1840193267Sjkim
1841193267SjkimImplemented a new interface to install or override a single control method, 
1842220663SjkimAcpiInstallMethod. This interface is useful when debugging in order to repair 
1843193267Sjkiman existing method or to install a missing method without having to override 
1844193267Sjkimthe entire ACPI table. See the ACPICA Programmer Reference for use and 
1845193267Sjkimexamples. Lin Ming, Bob Moore.
1846193267Sjkim
1847193267SjkimFixed several reference count issues with the DdbHandle object that is 
1848193267Sjkimcreated from a Load or LoadTable operator. Prevent premature deletion of the 
1849193267Sjkimobject. Also, mark the object as invalid once the table has been unloaded. 
1850193267SjkimThis is needed because the handle itself may not be deleted after the table 
1851193267Sjkimunload, depending on whether it has been stored in a named object by the 
1852193267Sjkimcaller. Lin Ming.
1853193267Sjkim
1854193267SjkimFixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
1855193267Sjkimmutexes of the same sync level are acquired but then not released in strict 
1856220663Sjkimopposite order, the internally maintained Current Sync Level becomes confused 
1857193267Sjkimand can cause subsequent execution errors. ACPICA BZ 471.
1858193267Sjkim
1859193267SjkimChanged the allowable release order for ASL mutex objects. The ACPI 4.0 
1860193267Sjkimspecification has been changed to make the SyncLevel for mutex objects more 
1861193267Sjkimuseful. When releasing a mutex, the SyncLevel of the mutex must now be the 
1862193267Sjkimsame as the current sync level. This makes more sense than the previous rule 
1863193267Sjkim(SyncLevel less than or equal). This change updates the code to match the 
1864193267Sjkimspecification.
1865193267Sjkim
1866193267SjkimFixed a problem with the local version of the AcpiOsPurgeCache function. The 
1867193267Sjkim(local) cache must be locked during all cache object deletions. Andrew 
1868193267SjkimBaumann.
1869193267Sjkim
1870193267SjkimUpdated the Load operator to use operation region interfaces. This replaces 
1871193267Sjkimdirect memory mapping with region access calls. Now, all region accesses go 
1872193267Sjkimthrough the installed region handler as they should.
1873193267Sjkim
1874193267SjkimSimplified and optimized the NsGetNextNode function. Reduced parameter count 
1875193267Sjkimand reduced code for this frequently used function.
1876193267Sjkim
1877193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1878193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1879220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1880193267Sjkimmuch larger code and data size.
1881193267Sjkim
1882193267Sjkim  Previous Release:
1883193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1884193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1885193267Sjkim  Current Release:
1886193267Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1887193267Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1888193267Sjkim
1889193267Sjkim2) iASL Compiler/Disassembler and Tools:
1890193267Sjkim
1891193267SjkimDisassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
1892193267Sjkimwith sub-table disassembly and handling invalid sub-tables. Attempt recovery 
1893193267Sjkimafter an invalid sub-table ID.
1894193267Sjkim
1895193267Sjkim----------------------------------------
1896193267Sjkim22 April 2009. Summary of changes for version 20090422:
1897193267Sjkim
1898193267Sjkim1) ACPI CA Core Subsystem:
1899193267Sjkim
1900193267SjkimFixed a compatibility issue with the recently released I/O port protection 
1901193267Sjkimmechanism. For windows compatibility, 1) On a port protection violation, 
1902193267Sjkimsimply ignore the request and do not return an exception (allow the control 
1903193267Sjkimmethod to continue execution.) 2) If only part of the request overlaps a 
1904220663Sjkimprotected port, read/write the individual ports that are not protected. Linux 
1905193267SjkimBZ 13036. Lin Ming
1906193267Sjkim
1907220663SjkimEnhanced the execution of the ASL/AML BreakPoint operator so that it actually 
1908193267Sjkimbreaks into the AML debugger if the debugger is present. This matches the 
1909193267SjkimACPI-defined behavior.
1910193267Sjkim
1911193267SjkimFixed several possible warnings related to the use of the configurable 
1912193267SjkimACPI_THREAD_ID. This type can now be configured as either an integer or a 
1913193267Sjkimpointer with no warnings. Also fixes several warnings in printf-like 
1914193267Sjkimstatements for the 64-bit build when the type is configured as a pointer. 
1915193267SjkimACPICA BZ 766, 767.
1916193267Sjkim
1917193267SjkimFixed a number of possible warnings when compiling with gcc 4+ (depending on 
1918193267Sjkimwarning options.) Examples include printf formats, aliasing, unused globals, 
1919193267Sjkimmissing prototypes, missing switch default statements, use of non-ANSI 
1920220663Sjkimlibrary functions, use of non-ANSI constructs. See generate/unix/Makefile for 
1921193267Sjkima list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1922193267Sjkim
1923193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1924193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1925220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1926193267Sjkimmuch larger code and data size.
1927193267Sjkim
1928193267Sjkim  Previous Release:
1929193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1930193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1931193267Sjkim  Current Release:
1932193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1933193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1934193267Sjkim
1935193267Sjkim2) iASL Compiler/Disassembler and Tools:
1936193267Sjkim
1937220663SjkimiASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
1938193267Sjkimthe 64-bit build.
1939193267Sjkim
1940220663SjkimiASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
1941193267Sjkimcorrectly digest Windows/DOS formatted files (with CR/LF).
1942193267Sjkim
1943193267SjkimiASL: Added a new option for "quiet mode" (-va) that produces only the 
1944193267Sjkimcompilation summary, not individual errors and warnings. Useful for large 
1945193267Sjkimbatch compilations.
1946193267Sjkim
1947193267SjkimAcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
1948193267Sjkimtimeout that can be used to detect hang conditions during execution of AML 
1949193267Sjkimcode (includes both internal semaphores and AML-defined mutexes and events.)
1950193267Sjkim
1951193267SjkimAdded new makefiles for the generation of acpica in a generic unix-like 
1952193267Sjkimenvironment. These makefiles are intended to generate the acpica tools and 
1953193267Sjkimutilities from the original acpica git source tree structure.
1954193267Sjkim
1955193267SjkimTest Suites: Updated and cleaned up the documentation files. Updated the 
1956193267Sjkimcopyrights to 2009, affecting all source files. Use the new version of iASL 
1957193267Sjkimwith quiet mode. Increased the number of available semaphores in the Windows 
1958193267SjkimOSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
1959193267Sjkiman alternate implementation of the semaphore timeout to allow aslts to 
1960193267Sjkimexecute fully on Cygwin.
1961193267Sjkim
1962193267Sjkim----------------------------------------
1963193267Sjkim20 March 2009. Summary of changes for version 20090320:
1964193267Sjkim
1965193267Sjkim1) ACPI CA Core Subsystem:
1966193267Sjkim
1967193267SjkimFixed a possible race condition between AcpiWalkNamespace and dynamic table 
1968220663Sjkimunloads. Added a reader/writer locking mechanism to allow multiple concurrent 
1969220663Sjkimnamespace walks (readers), but block a dynamic table unload until it can gain 
1970193267Sjkimexclusive write access to the namespace. This fixes a problem where a table 
1971193267Sjkimunload could (possibly catastrophically) delete the portion of the namespace 
1972193267Sjkimthat is currently being examined by a walk. Adds a new file, utlock.c, that 
1973193267Sjkimimplements the reader/writer lock mechanism. ACPICA BZ 749.
1974193267Sjkim
1975193267SjkimFixed a regression introduced in version 20090220 where a change to the FADT 
1976193267Sjkimhandling could cause the ACPICA subsystem to access non-existent I/O ports.
1977193267Sjkim
1978193267SjkimModified the handling of FADT register and table (FACS/DSDT) addresses. The 
1979193267SjkimFADT can contain both 32-bit and 64-bit versions of these addresses. 
1980193267SjkimPreviously, the 64-bit versions were favored, meaning that if both 32 and 64 
1981193267Sjkimversions were valid, but not equal, the 64-bit version was used. This was 
1982193267Sjkimfound to cause some machines to fail. Now, in this case, the 32-bit version 
1983193267Sjkimis used instead. This now matches the Windows behavior.
1984193267Sjkim
1985193267SjkimImplemented a new mechanism to protect certain I/O ports. Provides Microsoft 
1986193267Sjkimcompatibility and protects the standard PC I/O ports from access via AML 
1987193267Sjkimcode. Adds a new file, hwvalid.c
1988193267Sjkim
1989193267SjkimFixed a possible extraneous warning message from the FADT support. The 
1990193267Sjkimmessage warns of a 32/64 length mismatch between the legacy and GAS 
1991193267Sjkimdefinitions for a register.
1992193267Sjkim
1993193267SjkimRemoved the obsolete AcpiOsValidateAddress OSL interface. This interface is 
1994193267Sjkimmade obsolete by the port protection mechanism above. It was previously used 
1995193267Sjkimto validate the entire address range of an operation region, which could be 
1996193267Sjkimincorrect if the range included illegal ports, but fields within the 
1997193267Sjkimoperation region did not actually access those ports. Validation is now 
1998193267Sjkimperformed on a per-field basis instead of the entire region.
1999193267Sjkim
2000193267SjkimModified the handling of the PM1 Status Register ignored bit (bit 11.) 
2001193267SjkimIgnored bits must be "preserved" according to the ACPI spec. Usually, this 
2002193267Sjkimmeans a read/modify/write when writing to the register. However, for status 
2003220663Sjkimregisters, writing a one means clear the event. Writing a zero means preserve 
2004193267Sjkimthe event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
2005193267Sjkimand the ACPICA code now simply always writes a zero to the ignored bit.
2006193267Sjkim
2007193267SjkimModified the handling of ignored bits for the PM1 A/B Control Registers. As 
2008193267Sjkimper the ACPI specification, for the control registers, preserve 
2009193267Sjkim(read/modify/write) all bits that are defined as either reserved or ignored.
2010193267Sjkim
2011193267SjkimUpdated the handling of write-only bits in the PM1 A/B Control Registers. 
2012193267SjkimWhen reading the register, zero the write-only bits as per the ACPI spec. 
2013193267SjkimACPICA BZ 443. Lin Ming.
2014193267Sjkim
2015193267SjkimRemoved "Linux" from the list of supported _OSI strings. Linux no longer 
2016193267Sjkimwants to reply true to this request. The Windows strings are the only paths 
2017193267Sjkimthrough the AML that are tested and known to work properly.
2018193267Sjkim
2019193267Sjkim  Previous Release:
2020193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2021193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2022193267Sjkim  Current Release:
2023193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2024193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2025193267Sjkim
2026193267Sjkim2) iASL Compiler/Disassembler and Tools:
2027193267Sjkim
2028193267SjkimAcpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
2029193267Sjkimaetables.c
2030193267Sjkim
2031193267Sjkim----------------------------------------
2032193267Sjkim20 February 2009. Summary of changes for version 20090220:
2033193267Sjkim
2034193267Sjkim1) ACPI CA Core Subsystem:
2035193267Sjkim
2036193267SjkimOptimized the ACPI register locking. Removed locking for reads from the ACPI 
2037193267Sjkimbit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
2038193267Sjkimnot required when reading the single-bit registers. The 
2039193267SjkimAcpiGetRegisterUnlocked function is no longer needed and has been removed. 
2040193267SjkimThis will improve performance for reads on these registers. ACPICA BZ 760.
2041193267Sjkim
2042193267SjkimFixed the parameter validation for AcpiRead/Write. Now return 
2043220663SjkimAE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
2044193267Sjkimthe register has an address of zero. Previously, these cases simply returned 
2045193267SjkimAE_OK. For optional registers such as PM1B status/enable/control, the caller 
2046193267Sjkimshould check for a valid register address before calling. ACPICA BZ 748.
2047193267Sjkim
2048193267SjkimRenamed the external ACPI bit register access functions. Renamed 
2049193267SjkimAcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2050193267Sjkimfunctions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2051193267SjkimAlso, restructured the code for these functions by simplifying the code path 
2052193267Sjkimand condensing duplicate code to reduce code size.
2053193267Sjkim
2054193267SjkimAdded new functions to transparently handle the possibly split PM1 A/B 
2055193267Sjkimregisters. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2056220663Sjkimnow handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2057193267Sjkim746.
2058193267Sjkim
2059193267SjkimAdded a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2060220663SjkimThis function writes both of the PM1 control registers (A/B). These registers 
2061193267Sjkimare different than the PM1 A/B status and enable registers in that different 
2062193267Sjkimvalues can be written to the A/B registers. Most notably, the SLP_TYP bits 
2063220663Sjkimcan be different, as per the values returned from the _Sx predefined methods.
2064193267Sjkim
2065193267SjkimRemoved an extra register write within AcpiHwClearAcpiStatus. This function 
2066193267Sjkimwas writing an optional PM1B status register twice. The existing call to the 
2067193267Sjkimlow-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2068193267Sjkimregister. ACPICA BZ 751.
2069193267Sjkim
2070220663SjkimSplit out the PM1 Status registers from the FADT. Added new globals for these 
2071193267Sjkimregisters (A/B), similar to the way the PM1 Enable registers are handled. 
2072193267SjkimInstead of overloading the FADT Event Register blocks. This makes the code 
2073193267Sjkimclearer and less prone to error.
2074193267Sjkim
2075220663SjkimFixed the warning message for when the platform contains too many ACPI tables 
2076220663Sjkimfor the default size of the global root table data structure. The calculation 
2077193267Sjkimfor the truncation value was incorrect.
2078193267Sjkim
2079193267SjkimRemoved the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2080193267Sjkimobsolete macro, since it is now a simple reference to ->common.type. There 
2081193267Sjkimwere about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2082193267Sjkim
2083193267SjkimRemoved the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2084193267SjkimTYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2085193267Sjkimsimply SLEEP_TYPE. ACPICA BZ 754.
2086193267Sjkim
2087193267SjkimConditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2088193267Sjkimfunction is only needed on 64-bit host operating systems and is thus not 
2089193267Sjkimincluded for 32-bit hosts.
2090193267Sjkim
2091220663SjkimDebug output: print the input and result for invocations of the _OSI reserved 
2092193267Sjkimcontrol method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2093193267Sjkimverbosity of this debug level. Len Brown.
2094193267Sjkim
2095193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2096193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2097220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2098193267Sjkimmuch larger code and data size.
2099193267Sjkim
2100193267Sjkim  Previous Release:
2101193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2102193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2103193267Sjkim  Current Release:
2104193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2105193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2106193267Sjkim
2107193267Sjkim2) iASL Compiler/Disassembler and Tools:
2108193267Sjkim
2109193267SjkimDisassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2110193267Sjkimvarious legal performance profiles.
2111193267Sjkim
2112193267Sjkim----------------------------------------
2113193267Sjkim23 January 2009. Summary of changes for version 20090123:
2114193267Sjkim
2115193267Sjkim1) ACPI CA Core Subsystem:
2116193267Sjkim
2117193267SjkimAdded the 2009 copyright to all module headers and signons. This affects 
2118193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2119193267Sjkimthe tools/utilities.
2120193267Sjkim
2121193267SjkimImplemented a change to allow the host to override any ACPI table, including 
2122220663Sjkimdynamically loaded tables. Previously, only the DSDT could be replaced by the 
2123193267Sjkimhost. With this change, the AcpiOsTableOverride interface is called for each 
2124193267Sjkimtable found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2125193267Sjkima table is dynamically loaded via the AML Load operator.
2126193267Sjkim
2127193267SjkimUpdated FADT flag definitions, especially the Boot Architecture flags.
2128193267Sjkim
2129193267SjkimDebugger: For the Find command, automatically pad the input ACPI name with 
2130193267Sjkimunderscores if the name is shorter than 4 characters. This enables a match 
2131193267Sjkimwith the actual namespace entry which is itself padded with underscores.
2132193267Sjkim
2133193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2134193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2135220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2136193267Sjkimmuch larger code and data size.
2137193267Sjkim
2138193267Sjkim  Previous Release:
2139193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2140193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2141193267Sjkim  Current Release:
2142193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2143193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2144193267Sjkim
2145193267Sjkim2) iASL Compiler/Disassembler and Tools:
2146193267Sjkim
2147193267SjkimFix build error under Bison-2.4.
2148193267Sjkim
2149193267SjkimDissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2150193267Sjkimflags. Now decode all flags, regardless of the FADT version. Flag output 
2151193267Sjkimincludes the FADT version which first defined each flag.
2152193267Sjkim
2153193267SjkimThe iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2154193267SjkimDSDT). Windows only.
2155193267Sjkim
2156193267Sjkim----------------------------------------
2157193267Sjkim04 December 2008. Summary of changes for version 20081204:
2158193267Sjkim
2159193267Sjkim1) ACPI CA Core Subsystem:
2160193267Sjkim
2161193267SjkimThe ACPICA Programmer Reference has been completely updated and revamped for 
2162193267Sjkimthis release. This includes updates to the external interfaces, OSL 
2163193267Sjkiminterfaces, the overview sections, and the debugger reference.
2164193267Sjkim
2165193267SjkimSeveral new ACPICA interfaces have been implemented and documented in the 
2166193267Sjkimprogrammer reference:
2167193267SjkimAcpiReset - Writes the reset value to the FADT-defined reset register.
2168193267SjkimAcpiDisableAllGpes - Disable all available GPEs.
2169193267SjkimAcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2170193267SjkimAcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2171193267SjkimAcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2172193267SjkimAcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2173193267SjkimAcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2174193267Sjkim
2175193267SjkimMost of the public ACPI hardware-related interfaces have been moved to a new 
2176193267Sjkimfile, components/hardware/hwxface.c
2177193267Sjkim
2178193267SjkimEnhanced the FADT parsing and low-level ACPI register access: The ACPI 
2179193267Sjkimregister lengths within the FADT are now used, and the low level ACPI 
2180193267Sjkimregister access no longer hardcodes the ACPI register lengths. Given that 
2181220663Sjkimthere may be some risk in actually trusting the FADT register lengths, a run-
2182193267Sjkimtime option was added to fall back to the default hardcoded lengths if the 
2183193267SjkimFADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2184193267Sjkimoption is set to true for now, and a warning is issued if a suspicious FADT 
2185193267Sjkimregister length is overridden with the default value.
2186193267Sjkim
2187193267SjkimFixed a reference count issue in NsRepairObject. This problem was introduced 
2188193267Sjkimin version 20081031 as part of a fix to repair Buffer objects within 
2189193267SjkimPackages. Lin Ming.
2190193267Sjkim
2191193267SjkimAdded semaphore support to the Linux/Unix application OS-services layer 
2192193267Sjkim(OSL). ACPICA BZ 448. Lin Ming.
2193193267Sjkim
2194220663SjkimAdded the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2195193267Sjkimbe implemented in the OSL, or will binary semaphores be used instead.
2196193267Sjkim
2197193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2198193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2199220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2200193267Sjkimmuch larger code and data size.
2201193267Sjkim
2202193267Sjkim  Previous Release:
2203193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2204193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2205193267Sjkim  Current Release:
2206193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2207193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2208193267Sjkim
2209193267Sjkim2) iASL Compiler/Disassembler and Tools:
2210193267Sjkim
2211220663SjkimiASL: Completed the '-e' option to include additional ACPI tables in order to 
2212193267Sjkimaid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2213193267SjkimMing.
2214193267Sjkim
2215193267SjkimiASL: Removed the "named object in while loop" error. The compiler cannot 
2216193267Sjkimdetermine how many times a loop will execute. ACPICA BZ 730.
2217193267Sjkim
2218193267SjkimDisassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2219193267SjkimBZ 743.
2220193267Sjkim
2221193267SjkimDisassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2222193267Sjkim
2223193267Sjkim----------------------------------------
2224193267Sjkim31 October 2008. Summary of changes for version 20081031:
2225193267Sjkim
2226193267Sjkim1) ACPI CA Core Subsystem:
2227193267Sjkim
2228220663SjkimRestructured the ACPICA header files into public/private. acpi.h now includes 
2229193267Sjkimonly the "public" acpica headers. All other acpica headers are "private" and 
2230193267Sjkimshould not be included by acpica users. One new file, accommon.h is used to 
2231193267Sjkiminclude the commonly used private headers for acpica code generation. Future 
2232193267Sjkimplans include moving all private headers to a new subdirectory.
2233193267Sjkim
2234193267SjkimImplemented an automatic Buffer->String return value conversion for 
2235193267Sjkimpredefined ACPI methods. For these methods (such as _BIF), added automatic 
2236193267Sjkimconversion for return objects that are required to be a String, but a Buffer 
2237193267Sjkimwas found instead. This can happen when reading string battery data from an 
2238193267Sjkimoperation region, because it used to be difficult to convert the data from 
2239193267Sjkimbuffer to string from within the ASL. Ensures that the host OS is provided 
2240193267Sjkimwith a valid null-terminated string. Linux BZ 11822.
2241193267Sjkim
2242193267SjkimUpdated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2243193267Sjkiminto two: one for the 32-bit vector, another for the 64-bit vector. This is 
2244193267Sjkimrequired because the host OS must setup the wake much differently for each 
2245220663Sjkimvector (real vs. protected mode, etc.) and the interface itself should not be 
2246193267Sjkimdeciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2247193267Sjkiminterface, as it served no purpose (only the firmware reads the vector, OS 
2248193267Sjkimonly writes the vector.) ACPICA BZ 731.
2249193267Sjkim
2250193267SjkimImplemented a mechanism to escape infinite AML While() loops. Added a loop 
2251193267Sjkimcounter to force exit from AML While loops if the count becomes too large. 
2252193267SjkimThis can occur in poorly written AML when the hardware does not respond 
2253193267Sjkimwithin a while loop and the loop does not implement a timeout. The maximum 
2254193267Sjkimloop count is configurable. A new exception code is returned when a loop is 
2255193267Sjkimbroken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2256193267Sjkim
2257193267SjkimOptimized the execution of AML While loops. Previously, a control state 
2258193267Sjkimobject was allocated and freed for each execution of the loop. The 
2259193267Sjkimoptimization is to simply reuse the control state for each iteration. This 
2260193267Sjkimspeeds up the raw loop execution time by about 5%.
2261193267Sjkim
2262193267SjkimEnhanced the implicit return mechanism. For Windows compatibility, return an 
2263193267Sjkimimplicit integer of value zero for methods that contain no executable code. 
2264193267SjkimSuch methods are seen in the field as stubs (presumably), and can cause 
2265193267Sjkimdrivers to fail if they expect a return value. Lin Ming.
2266193267Sjkim
2267193267SjkimAllow multiple backslashes as root prefixes in namepaths. In a fully 
2268193267Sjkimqualified namepath, allow multiple backslash prefixes. This can happen (and 
2269193267Sjkimis seen in the field) because of the use of a double-backslash in strings 
2270193267Sjkim(since backslash is the escape character) causing confusion. ACPICA BZ 739 
2271193267SjkimLin Ming.
2272193267Sjkim
2273193267SjkimEmit a warning if two different FACS or DSDT tables are discovered in the 
2274193267SjkimFADT. Checks if there are two valid but different addresses for the FACS and 
2275193267SjkimDSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2276193267Sjkim
2277193267SjkimConsolidated the method argument count validation code. Merged the code that 
2278193267Sjkimvalidates control method argument counts into the predefined validation 
2279193267Sjkimmodule. Eliminates possible multiple warnings for incorrect argument counts.
2280193267Sjkim
2281193267SjkimImplemented ACPICA example code. Includes code for ACPICA initialization, 
2282193267Sjkimhandler installation, and calling a control method. Available at 
2283193267Sjkimsource/tools/examples.
2284193267Sjkim
2285193267SjkimAdded a global pointer for FACS table to simplify internal FACS access. Use 
2286220663Sjkimthe global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2287193267SjkimThis simplifies the code for the Global Lock and the Firmware Waking 
2288193267SjkimVector(s).
2289193267Sjkim
2290193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2291193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2292220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2293193267Sjkimmuch larger code and data size.
2294193267Sjkim
2295193267Sjkim  Previous Release:
2296193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2297193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2298193267Sjkim  Current Release:
2299193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2300193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2301193267Sjkim
2302193267Sjkim2) iASL Compiler/Disassembler and Tools:
2303193267Sjkim
2304193267SjkimiASL: Improved disassembly of external method calls. Added the -e option to 
2305220663Sjkimallow the inclusion of additional ACPI tables to help with the disassembly of 
2306193267Sjkimmethod invocations and the generation of external declarations during the 
2307193267Sjkimdisassembly. Certain external method invocations cannot be disassembled 
2308193267Sjkimproperly without the actual declaration of the method. Use the -e option to 
2309193267Sjkiminclude the table where the external method(s) are actually declared. Most 
2310193267Sjkimuseful for disassembling SSDTs that make method calls back to the master 
2311193267SjkimDSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2312193267Sjkim-e dsdt.aml ssdt1.aml
2313193267Sjkim
2314193267SjkimiASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2315193267Sjkimproblem where the use of an alias within a namepath would result in a not 
2316193267Sjkimfound error or cause the compiler to fault. Also now allows forward 
2317193267Sjkimreferences from the Alias operator itself. ACPICA BZ 738.
2318193267Sjkim
2319193267Sjkim----------------------------------------
2320193267Sjkim26 September 2008. Summary of changes for version 20080926:
2321193267Sjkim
2322193267Sjkim1) ACPI CA Core Subsystem:
2323193267Sjkim
2324193267SjkimDesigned and implemented a mechanism to validate predefined ACPI methods and 
2325220663Sjkimobjects. This code validates the predefined ACPI objects (objects whose names 
2326193267Sjkimstart with underscore) that appear in the namespace, at the time they are 
2327193267Sjkimevaluated. The argument count and the type of the returned object are 
2328193267Sjkimvalidated against the ACPI specification. The purpose of this validation is 
2329193267Sjkimto detect problems with the BIOS-implemented predefined ACPI objects before 
2330220663Sjkimthe results are returned to the ACPI-related drivers. Future enhancements may 
2331193267Sjkiminclude actual repair of incorrect return objects where possible. Two new 
2332193267Sjkimfiles are nspredef.c and acpredef.h.
2333193267Sjkim
2334193267SjkimFixed a fault in the AML parser if a memory allocation fails during the Op 
2335193267Sjkimcompletion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2336193267Sjkim
2337193267SjkimFixed an issue with implicit return compatibility. This change improves the 
2338193267Sjkimimplicit return mechanism to be more compatible with the MS interpreter. Lin 
2339193267SjkimMing, ACPICA BZ 349.
2340193267Sjkim
2341193267SjkimImplemented support for zero-length buffer-to-string conversions. Allow zero 
2342193267Sjkimlength strings during interpreter buffer-to-string conversions. For example, 
2343193267Sjkimduring the ToDecimalString and ToHexString operators, as well as implicit 
2344193267Sjkimconversions. Fiodor Suietov, ACPICA BZ 585.
2345193267Sjkim
2346193267SjkimFixed two possible memory leaks in the error exit paths of 
2347193267SjkimAcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2348193267Sjkimsimilar in that they use a stack of state objects in order to eliminate 
2349193267Sjkimrecursion. The stack must be fully unwound and deallocated if an error 
2350193267Sjkimoccurs. Lin Ming. ACPICA BZ 383.
2351193267Sjkim
2352220663SjkimRemoved the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2353193267SjkimACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2354193267SjkimMoore ACPICA BZ 442.
2355193267Sjkim
2356193267SjkimRemoved the obsolete version number in module headers. Removed the 
2357193267Sjkim"$Revision" number that appeared in each module header. This version number 
2358193267Sjkimwas useful under SourceSafe and CVS, but has no meaning under git. It is not 
2359193267Sjkimonly incorrect, it could also be misleading.
2360193267Sjkim
2361193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2362193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2363220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2364193267Sjkimmuch larger code and data size.
2365193267Sjkim
2366193267Sjkim  Previous Release:
2367193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2368193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2369193267Sjkim  Current Release:
2370193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2371193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2372193267Sjkim
2373193267Sjkim----------------------------------------
2374193267Sjkim29 August 2008. Summary of changes for version 20080829:
2375193267Sjkim
2376193267Sjkim1) ACPI CA Core Subsystem:
2377193267Sjkim
2378193267SjkimCompleted a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2379193267SjkimReference. Changes include the elimination of cheating on the Object field 
2380193267Sjkimfor the DdbHandle subtype, addition of a reference class field to 
2381220663Sjkimdifferentiate the various reference types (instead of an AML opcode), and the 
2382193267Sjkimcleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2383193267Sjkim
2384193267SjkimReduce an error to a warning for an incorrect method argument count. 
2385193267SjkimPreviously aborted with an error if too few arguments were passed to a 
2386220663Sjkimcontrol method via the external ACPICA interface. Now issue a warning instead 
2387193267Sjkimand continue. Handles the case where the method inadvertently declares too 
2388193267Sjkimmany arguments, but does not actually use the extra ones. Applies mainly to 
2389193267Sjkimthe predefined methods. Lin Ming. Linux BZ 11032.
2390193267Sjkim
2391220663SjkimDisallow the evaluation of named object types with no intrinsic value. Return 
2392220663SjkimAE_TYPE for objects that have no value and therefore evaluation is undefined: 
2393193267SjkimDevice, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
2394193267Sjkimthese types were allowed, but an exception would be generated at some point 
2395193267Sjkimduring the evaluation. Now, the error is generated up front.
2396193267Sjkim
2397193267SjkimFixed a possible memory leak in the AcpiNsGetExternalPathname function 
2398193267Sjkim(nsnames.c). Fixes a leak in the error exit path.
2399193267Sjkim
2400220663SjkimRemoved the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2401220663Sjkimlevels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2402193267Sjkiminterfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2403193267SjkimACPI_LV_EVENTS.
2404193267Sjkim
2405193267SjkimRemoved obsolete and/or unused exception codes from the acexcep.h header. 
2406193267SjkimThere is the possibility that certain device drivers may be affected if they 
2407193267Sjkimuse any of these exceptions.
2408193267Sjkim
2409193267SjkimThe ACPICA documentation has been added to the public git source tree, under 
2410193267Sjkimacpica/documents. Included are the ACPICA programmer reference, the iASL 
2411193267Sjkimcompiler reference, and the changes.txt release logfile.
2412193267Sjkim
2413193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2414193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2415220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2416193267Sjkimmuch larger code and data size.
2417193267Sjkim
2418193267Sjkim  Previous Release:
2419193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2420193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2421193267Sjkim  Current Release:
2422193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2423193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2424193267Sjkim
2425193267Sjkim2) iASL Compiler/Disassembler and Tools:
2426193267Sjkim
2427193267SjkimAllow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2428193267Sjkimdefines _SCP with 3 arguments. Previous versions defined it with only 1 
2429193267Sjkimargument. iASL now allows both definitions.
2430193267Sjkim
2431193267SjkimiASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2432193267Sjkimlength subtables when disassembling ACPI tables. Also fixed a couple of 
2433193267Sjkimerrors where a full 16-bit table type field was not extracted from the input 
2434193267Sjkimproperly.
2435193267Sjkim
2436193267Sjkimacpisrc: Improve comment counting mechanism for generating source code 
2437193267Sjkimstatistics. Count first and last lines of multi-line comments as whitespace, 
2438193267Sjkimnot comment lines. Handle Linux legal header in addition to standard acpica 
2439193267Sjkimheader.
2440193267Sjkim
2441193267Sjkim----------------------------------------
2442193267Sjkim
2443193267Sjkim29 July 2008. Summary of changes for version 20080729:
2444193267Sjkim
2445193267Sjkim1) ACPI CA Core Subsystem:
2446193267Sjkim
2447193267SjkimFix a possible deadlock in the GPE dispatch. Remove call to 
2448220663SjkimAcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2449193267Sjkimto acquire the GPE lock but can deadlock since the GPE lock is already held 
2450193267Sjkimat dispatch time. This code was introduced in version 20060831 as a response 
2451193267Sjkimto Linux BZ 6881 and has since been removed from Linux.
2452193267Sjkim
2453220663SjkimAdd a function to dereference returned reference objects. Examines the return 
2454193267Sjkimobject from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2455193267Sjkimautomatically dereferenced in an attempt to return something useful (these 
2456193267Sjkimreference types cannot be converted into an external ACPI_OBJECT.) Provides 
2457193267SjkimMS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2458193267Sjkim
2459193267Sjkimx2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2460193267Sjkimsubtables for the MADT and one new subtable for the SRAT. Includes 
2461193267Sjkimdisassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2462193267SjkimSpecification, June 2008.
2463193267Sjkim
2464193267SjkimAdditional error checking for pathname utilities. Add error check after all 
2465193267Sjkimcalls to AcpiNsGetPathnameLength. Add status return from 
2466193267SjkimAcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2467193267Sjkimto AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2468193267Sjkim
2469193267SjkimReturn status from the global init function AcpiUtGlobalInitialize. This is 
2470193267Sjkimused by both the kernel subsystem and the utilities such as iASL compiler. 
2471193267SjkimThe function could possibly fail when the caches are initialized. Yang Yi.
2472193267Sjkim
2473193267SjkimAdd a function to decode reference object types to strings. Created for 
2474193267Sjkimimproved error messages. 
2475193267Sjkim
2476220663SjkimImprove object conversion error messages. Better error messages during object 
2477220663Sjkimconversion from internal to the external ACPI_OBJECT. Used for external calls 
2478193267Sjkimto AcpiEvaluateObject.
2479193267Sjkim
2480193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2481193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2482220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2483193267Sjkimmuch larger code and data size.
2484193267Sjkim
2485193267Sjkim  Previous Release:
2486193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2487193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2488193267Sjkim  Current Release:
2489193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2490193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2491193267Sjkim
2492193267Sjkim2) iASL Compiler/Disassembler and Tools:
2493193267Sjkim
2494193267SjkimDebugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2495193267Sjkimintroduced in version 20080701. If the object being evaluated (via execute 
2496193267Sjkimcommand) is not a method, the debugger can hang while trying to obtain non-
2497193267Sjkimexistent parameters.
2498193267Sjkim
2499193267SjkimiASL: relax error for using reserved "_T_x" identifiers. These names can 
2500193267Sjkimappear in a disassembled ASL file if they were emitted by the original 
2501193267Sjkimcompiler. Instead of issuing an error or warning and forcing the user to 
2502193267Sjkimmanually change these names, issue a remark instead.
2503193267Sjkim
2504220663SjkimiASL: error if named object created in while loop. Emit an error if any named 
2505193267Sjkimobject is created within a While loop. If allowed, this code will generate a 
2506220663Sjkimrun-time error on the second iteration of the loop when an attempt is made to 
2507193267Sjkimcreate the same named object twice. ACPICA bugzilla 730.
2508193267Sjkim
2509193267SjkimiASL: Support absolute pathnames for include files. Add support for absolute 
2510193267Sjkimpathnames within the Include operator. previously, only relative pathnames 
2511193267Sjkimwere supported.
2512193267Sjkim
2513220663SjkimiASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
2514193267SjkimThe ACPI spec requires one interrupt minimum. BZ 423
2515193267Sjkim
2516193267SjkimiASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2517193267SjkimHandles the case for the Interrupt Resource Descriptor where
2518193267Sjkimthe ResourceSource argument is omitted but ResourceSourceIndex
2519193267Sjkimis present. Now leave room for the Index. BZ 426
2520193267Sjkim
2521193267SjkimiASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2522193267Sjkimwhere an error message is emitted if the target does not exist. BZ 516
2523193267Sjkim
2524193267SjkimiASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2525220663Sjkim(get ACPI tables on Windows). This was apparently broken in version 20070919.
2526193267Sjkim
2527220663SjkimAcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
2528193267Sjkimthe EOF happens immediately after the last table in the input file. Print 
2529193267Sjkimcompletion message. Previously, no message was displayed in this case.
2530193267Sjkim
2531193267Sjkim----------------------------------------
2532193267Sjkim01 July 2008. Summary of changes for version 20080701:
2533193267Sjkim
2534193267Sjkim0) Git source tree / acpica.org
2535193267Sjkim
2536193267SjkimFixed a problem where a git-clone from http would not transfer the entire 
2537193267Sjkimsource tree.
2538193267Sjkim
2539193267Sjkim1) ACPI CA Core Subsystem:
2540193267Sjkim
2541193267SjkimImplemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2542193267Sjkimenable bit. Now performs a read-change-write of the enable register instead 
2543193267Sjkimof simply writing out the cached enable mask. This will prevent inadvertent 
2544220663Sjkimenabling of GPEs if a rogue GPE is received during initialization (before GPE 
2545193267Sjkimhandlers are installed.)
2546193267Sjkim
2547193267SjkimImplemented a copy for dynamically loaded tables. Previously, dynamically 
2548193267Sjkimloaded tables were simply mapped - but on some machines this memory is 
2549193267Sjkimcorrupted after suspend. Now copy the table to a local buffer. For the 
2550193267SjkimOpRegion case, added checksum verify. Use the table length from the table 
2551193267Sjkimheader, not the region length. For the Buffer case, use the table length 
2552193267Sjkimalso. Dennis Noordsij, Bob Moore. BZ 10734
2553193267Sjkim
2554220663SjkimFixed a problem where the same ACPI table could not be dynamically loaded and 
2555193267Sjkimunloaded more than once. Without this change, a table cannot be loaded again 
2556193267Sjkimonce it has been loaded/unloaded one time. The current mechanism does not 
2557220663Sjkimunregister a table upon an unload. During a load, if the same table is found, 
2558193267Sjkimthis no longer returns an exception. BZ 722
2559193267Sjkim
2560193267SjkimFixed a problem where the wrong descriptor length was calculated for the 
2561193267SjkimEndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2562193267Sjkimare calculated as 12 bytes long, but the actual length in the internal 
2563193267Sjkimdescriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2564193267Sjkimby Linn Crosetto. BZ 728
2565193267Sjkim
2566193267SjkimFixed a possible memory leak in the Unload operator. The DdbHandle returned 
2567220663Sjkimby Load() did not have its reference count decremented during unload, leading 
2568193267Sjkimto a memory leak. Lin Ming. BZ 727
2569193267Sjkim
2570193267SjkimFixed a possible memory leak when deleting thermal/processor objects. Any 
2571193267Sjkimassociated notify handlers (and objects) were not being deleted. Fiodor 
2572193267SjkimSuietov. BZ 506
2573193267Sjkim
2574193267SjkimFixed the ordering of the ASCII names in the global mutex table to match the 
2575220663Sjkimactual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
2576193267SjkimVegard Nossum. BZ 726
2577193267Sjkim
2578193267SjkimEnhanced the AcpiGetObjectInfo interface to return the number of required 
2579193267Sjkimarguments if the object is a control method. Added this call to the debugger 
2580193267Sjkimso the proper number of default arguments are passed to a method. This 
2581193267Sjkimprevents a warning when executing methods from AcpiExec.
2582193267Sjkim
2583193267SjkimAdded a check for an invalid handle in AcpiGetObjectInfo. Return 
2584193267SjkimAE_BAD_PARAMETER if input handle is invalid. BZ 474
2585193267Sjkim
2586193267SjkimFixed an extraneous warning from exconfig.c on the 64-bit build.
2587193267Sjkim
2588193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2589193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2590220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2591193267Sjkimmuch larger code and data size.
2592193267Sjkim
2593193267Sjkim  Previous Release:
2594193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2595193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2596193267Sjkim  Current Release:
2597193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2598193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2599193267Sjkim
2600193267Sjkim2) iASL Compiler/Disassembler and Tools:
2601193267Sjkim
2602193267SjkimiASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2603193267Sjkimresource descriptor names.
2604193267Sjkim
2605220663SjkimiASL: Detect invalid ASCII characters in input (windows version). Removed the 
2606193267Sjkim"-CF" flag from the flex compile, enables correct detection of non-ASCII 
2607193267Sjkimcharacters in the input. BZ 441
2608193267Sjkim
2609193267SjkimiASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2610193267Sjkim"result of operation not used" warning when the DDB handle returned from 
2611193267SjkimLoadTable is not used. The warning is not needed. BZ 590
2612193267Sjkim
2613220663SjkimAcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
2614220663Sjkimpass address of table to the AML. Added option to disable OpRegion simulation 
2615220663Sjkimto allow creation of an OpRegion with a real address that was passed to _CFG. 
2616193267SjkimAll of this allows testing of the Load and Unload operators from AcpiExec.
2617193267Sjkim
2618193267SjkimDebugger: update tables command for unloaded tables. Handle unloaded tables 
2619193267Sjkimand use the standard table header output routine.
2620193267Sjkim
2621193267Sjkim----------------------------------------
2622193267Sjkim09 June 2008. Summary of changes for version 20080609:
2623193267Sjkim
2624193267Sjkim1) ACPI CA Core Subsystem:
2625193267Sjkim
2626193267SjkimImplemented a workaround for reversed _PRT entries. A significant number of 
2627193267SjkimBIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2628193267Sjkimchange dynamically detects and repairs this problem. Provides compatibility 
2629193267Sjkimwith MS ACPI. BZ 6859
2630193267Sjkim
2631193267SjkimSimplified the internal ACPI hardware interfaces to eliminate the locking 
2632193267Sjkimflag parameter from Register Read/Write. Added a new external interface, 
2633193267SjkimAcpiGetRegisterUnlocked.
2634193267Sjkim
2635220663SjkimFixed a problem where the invocation of a GPE control method could hang. This 
2636193267Sjkimwas a regression introduced in 20080514. The new method argument count 
2637193267Sjkimvalidation mechanism can enter an infinite loop when a GPE method is 
2638220663Sjkimdispatched. Problem fixed by removing the obsolete code that passed GPE block 
2639193267Sjkiminformation to the notify handler via the control method parameter pointer.
2640193267Sjkim
2641193267SjkimFixed a problem where the _SST execution status was incorrectly returned to 
2642193267Sjkimthe caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
2643193267Sjkim20080514. _SST is optional and a NOT_FOUND exception should never be 
2644193267Sjkimreturned. BZ 716
2645193267Sjkim
2646193267SjkimFixed a problem where a deleted object could be accessed from within the AML 
2647220663Sjkimparser. This was a regression introduced in version 20080123 as a fix for the 
2648193267SjkimUnload operator. Lin Ming. BZ 10669
2649193267Sjkim
2650193267SjkimCleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
2651193267Sjkimand eliminated the use of a negative index in a loop. Operands are now 
2652193267Sjkimdisplayed in the correct order, not backwards. This also fixes a regression 
2653193267Sjkimintroduced in 20080514 on 64-bit systems where the elimination of 
2654193267SjkimACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
2655193267Sjkim
2656193267SjkimFixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
2657193267Sjkimpath did not delete a locally allocated structure.
2658193267Sjkim
2659193267SjkimUpdated definitions for the DMAR and SRAT tables to synchronize with the 
2660193267Sjkimcurrent specifications. Includes disassembler support.
2661193267Sjkim
2662193267SjkimFixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
2663193267Sjkimloop termination value was used. Loop terminated on iteration early, missing 
2664193267Sjkimone mutex. Linn Crosetto
2665193267Sjkim
2666193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2667193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2668220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2669193267Sjkimmuch larger code and data size.
2670193267Sjkim
2671193267Sjkim  Previous Release:
2672193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2673193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2674193267Sjkim  Current Release:
2675193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2676193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2677193267Sjkim
2678193267Sjkim2) iASL Compiler/Disassembler and Tools:
2679193267Sjkim
2680193267SjkimDisassembler: Implemented support for EisaId() within _CID objects. Now 
2681193267Sjkimdisassemble integer _CID objects back to EisaId invocations, including 
2682193267Sjkimmultiple integers within _CID packages. Includes single-step support for 
2683193267Sjkimdebugger also.
2684193267Sjkim
2685193267SjkimDisassembler: Added support for DMAR and SRAT table definition changes.
2686193267Sjkim
2687193267Sjkim----------------------------------------
2688193267Sjkim14 May 2008. Summary of changes for version 20080514:
2689193267Sjkim
2690193267Sjkim1) ACPI CA Core Subsystem:
2691193267Sjkim
2692193267SjkimFixed a problem where GPEs were enabled too early during the ACPICA 
2693193267Sjkiminitialization. This could lead to "handler not installed" errors on some 
2694193267Sjkimmachines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
2695193267Sjkimensures that all operation regions and devices throughout the namespace have 
2696193267Sjkimbeen initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2697193267Sjkim
2698193267SjkimImplemented a change to the enter sleep code. Moved execution of the _GTS 
2699193267Sjkimmethod to just before setting sleep enable bit. The execution was moved from 
2700193267SjkimAcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
2701193267Sjkimimmediately before the SLP_EN bit is set, as per the ACPI specification. 
2702193267SjkimLuming Yu, BZ 1653.
2703193267Sjkim
2704193267SjkimImplemented a fix to disable unknown GPEs (2nd version). Now always disable 
2705193267Sjkimthe GPE, even if ACPICA thinks that that it is already disabled. It is 
2706193267Sjkimpossible that the AML or some other code has enabled the GPE unbeknownst to 
2707193267Sjkimthe ACPICA code.
2708193267Sjkim
2709220663SjkimFixed a problem with the Field operator where zero-length fields would return 
2710220663Sjkiman AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
2711193267Sjkimfield declarations in Field(), BankField(), and IndexField(). BZ 10606.
2712193267Sjkim
2713193267SjkimImplemented a fix for the Load operator, now load the table at the namespace 
2714193267Sjkimroot. This reverts a change introduced in version 20071019. The table is now 
2715193267Sjkimloaded at the namespace root even though this goes against the ACPI 
2716193267Sjkimspecification. This provides compatibility with other ACPI implementations. 
2717220663SjkimThe ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
2718193267Sjkim
2719220663SjkimFixed a problem where ACPICA would not Load() tables with unusual signatures. 
2720193267SjkimNow ignore ACPI table signature for Load() operator. Only "SSDT" is 
2721193267Sjkimacceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
2722220663SjkimTherefore, signature validation is worthless. Apparently MS ACPI accepts such 
2723193267Sjkimsignatures, ACPICA must be compatible. BZ 10454.
2724193267Sjkim
2725193267SjkimFixed a possible negative array index in AcpiUtValidateException. Added NULL 
2726193267Sjkimfields to the exception string arrays to eliminate a -1 subtraction on the 
2727193267SjkimSubStatus field.
2728193267Sjkim
2729193267SjkimUpdated the debug tracking macros to reduce overall code and data size. 
2730193267SjkimChanged ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
2731193267Sjkiminstead of pointers to static strings. Jan Beulich and Bob Moore.
2732193267Sjkim
2733193267SjkimImplemented argument count checking in control method invocation via 
2734193267SjkimAcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
2735193267Sjkimmany. This applies only to extern programmatic control method execution, not 
2736193267Sjkimmethod-to-method calls within the AML. Lin Ming.
2737193267Sjkim
2738193267SjkimEliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
2739220663Sjkimlonger needed, especially with the removal of 16-bit support. It was replaced 
2740220663Sjkimmostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
2741193267Sjkim32/64-bit platforms is required.
2742193267Sjkim
2743193267SjkimAdded the C const qualifier for appropriate string constants -- mostly 
2744193267SjkimMODULE_NAME and printf format strings. Jan Beulich.
2745193267Sjkim
2746193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2747193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2748220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2749193267Sjkimmuch larger code and data size.
2750193267Sjkim
2751193267Sjkim  Previous Release:
2752193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2753193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2754193267Sjkim  Current Release:
2755193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2756193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2757193267Sjkim
2758193267Sjkim2) iASL Compiler/Disassembler and Tools:
2759193267Sjkim
2760193267SjkimImplemented ACPI table revision ID validation in the disassembler. Zero is 
2761193267Sjkimalways invalid. For DSDTs, the ID controls the interpreter integer width. 1 
2762193267Sjkimmeans 32-bit and this is unusual. 2 or greater is 64-bit.
2763193267Sjkim
2764193267Sjkim----------------------------------------
2765193267Sjkim21 March 2008. Summary of changes for version 20080321:
2766193267Sjkim
2767193267Sjkim1) ACPI CA Core Subsystem:
2768193267Sjkim
2769193267SjkimImplemented an additional change to the GPE support in order to suppress 
2770193267Sjkimspurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
2771193267Sjkimdisable incoming GPEs that are neither enabled nor disabled -- meaning that 
2772220663Sjkimthe GPE is unknown to the system. This should prevent future interrupt floods 
2773193267Sjkimfrom that GPE. BZ 6217 (Zhang Rui)
2774193267Sjkim
2775193267SjkimFixed a problem where NULL package elements were not returned to the 
2776193267SjkimAcpiEvaluateObject interface correctly. The element was simply ignored 
2777193267Sjkiminstead of returning a NULL ACPI_OBJECT package element, potentially causing 
2778193267Sjkima buffer overflow and/or confusing the caller who expected a fixed number of 
2779193267Sjkimelements. BZ 10132 (Lin Ming, Bob Moore)
2780193267Sjkim
2781220663SjkimFixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
2782193267SjkimQword), Field, BankField, and IndexField operators when invoked from inside 
2783193267Sjkiman executing control method. In this case, these operators created namespace 
2784193267Sjkimnodes that were incorrectly left marked as permanent nodes instead of 
2785193267Sjkimtemporary nodes. This could cause a problem if there is race condition 
2786193267Sjkimbetween an exiting control method and a running namespace walk. (Reported by 
2787193267SjkimLinn Crosetto)
2788193267Sjkim
2789193267SjkimFixed a problem where the CreateField and CreateXXXField operators would 
2790193267Sjkimincorrectly allow duplicate names (the name of the field) with no exception 
2791193267Sjkimgenerated.
2792193267Sjkim
2793220663SjkimImplemented several changes for Notify handling. Added support for new Notify 
2794193267Sjkimvalues (ACPI 2.0+) and improved the Notify debug output. Notify on 
2795193267SjkimPowerResource objects is no longer allowed, as per the ACPI specification. 
2796193267Sjkim(Bob Moore, Zhang Rui)
2797193267Sjkim
2798193267SjkimAll Reference Objects returned via the AcpiEvaluateObject interface are now 
2799220663Sjkimmarked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
2800193267SjkimNULL objects - either NULL package elements or unresolved named references.
2801193267Sjkim
2802193267SjkimFixed a problem where an extraneous debug message was produced for package 
2803193267Sjkimobjects (when debugging enabled). The message "Package List length larger 
2804193267Sjkimthan NumElements count" is now produced in the correct case, and is now an 
2805193267Sjkimerror message rather than a debug message. Added a debug message for the 
2806220663Sjkimopposite case, where NumElements is larger than the Package List (the package 
2807193267Sjkimwill be padded out with NULL elements as per the ACPI spec.)
2808193267Sjkim
2809193267SjkimImplemented several improvements for the output of the ASL "Debug" object to 
2810193267Sjkimclarify and keep all data for a given object on one output line.
2811193267Sjkim
2812193267SjkimFixed two size calculation issues with the variable-length Start Dependent 
2813193267Sjkimresource descriptor.
2814193267Sjkim
2815193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2816193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2817193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2818193267Sjkima much larger code and data size.
2819193267Sjkim
2820193267Sjkim  Previous Release:
2821193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2822193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2823193267Sjkim  Current Release:
2824193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2825193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2826193267Sjkim
2827193267Sjkim2) iASL Compiler/Disassembler and Tools:
2828193267Sjkim
2829193267SjkimFixed a problem with the use of the Switch operator where execution of the 
2830193267Sjkimcontaining method by multiple concurrent threads could cause an 
2831193267SjkimAE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
2832193267Sjkimactual Switch opcode, it must be simulated with local named temporary 
2833193267Sjkimvariables and if/else pairs. The solution chosen was to mark any method that 
2834193267Sjkimuses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2835193267Sjkim
2836193267Sjkim----------------------------------------
2837193267Sjkim13 February 2008. Summary of changes for version 20080213:
2838193267Sjkim
2839193267Sjkim1) ACPI CA Core Subsystem:
2840193267Sjkim
2841193267SjkimImplemented another MS compatibility design change for GPE/Notify handling. 
2842193267SjkimGPEs are now cleared/enabled asynchronously to allow all pending notifies to 
2843193267Sjkimcomplete first. It is expected that the OSL will queue the enable request 
2844220663Sjkimbehind all pending notify requests (may require changes to the local host OSL 
2845193267Sjkimin AcpiOsExecute). Alexey Starikovskiy.
2846193267Sjkim
2847193267SjkimFixed a problem where buffer and package objects passed as arguments to a 
2848193267Sjkimcontrol method via the external AcpiEvaluateObject interface could cause an 
2849193267SjkimAE_AML_INTERNAL exception depending on the order and type of operators 
2850193267Sjkimexecuted by the target control method.
2851193267Sjkim
2852193267SjkimFixed a problem where resource descriptor size optimization could cause a 
2853193267Sjkimproblem when a _CRS resource template is passed to a _SRS method. The _SRS 
2854193267Sjkimresource template must use the same descriptors (with the same size) as 
2855193267Sjkimreturned from _CRS. This change affects the following resource descriptors: 
2856193267SjkimIRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2857193267Sjkim
2858193267SjkimFixed a problem where a CopyObject to RegionField, BankField, and IndexField 
2859220663Sjkimobjects did not perform an implicit conversion as it should. These types must 
2860220663Sjkimretain their initial type permanently as per the ACPI specification. However, 
2861193267Sjkima CopyObject to all other object types should not perform an implicit 
2862193267Sjkimconversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2863193267Sjkim
2864193267SjkimFixed a problem with the AcpiGetDevices interface where the mechanism to 
2865193267Sjkimmatch device CIDs did not examine the entire list of available CIDs, but 
2866193267Sjkiminstead aborted on the first non-matching CID. Andrew Patterson.
2867193267Sjkim
2868220663SjkimFixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
2869193267Sjkiminadvertently changed to return a 16-bit value instead of a 32-bit value, 
2870193267Sjkimtruncating the upper dword of a 64-bit value. This macro is only used to 
2871193267Sjkimdisplay debug output, so no incorrect calculations were made. Also, 
2872193267Sjkimreimplemented the macro so that a 64-bit shift is not performed by 
2873193267Sjkiminefficient compilers.
2874193267Sjkim
2875193267SjkimAdded missing va_end statements that should correspond with each va_start 
2876193267Sjkimstatement.
2877193267Sjkim
2878193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2879193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2880193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2881193267Sjkima much larger code and data size.
2882193267Sjkim
2883193267Sjkim  Previous Release:
2884193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2885193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2886193267Sjkim  Current Release:
2887193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2888193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2889193267Sjkim
2890193267Sjkim2) iASL Compiler/Disassembler and Tools:
2891193267Sjkim
2892193267SjkimImplemented full disassembler support for the following new ACPI tables: 
2893193267SjkimBERT, EINJ, and ERST. Implemented partial disassembler support for the 
2894193267Sjkimcomplicated HEST table. These tables support the Windows Hardware Error 
2895193267SjkimArchitecture (WHEA).
2896193267Sjkim
2897193267Sjkim----------------------------------------
2898193267Sjkim23 January 2008. Summary of changes for version 20080123:
2899193267Sjkim
2900193267Sjkim1) ACPI CA Core Subsystem:
2901193267Sjkim
2902193267SjkimAdded the 2008 copyright to all module headers and signons. This affects 
2903193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2904193267Sjkimthe tools/utilities.
2905193267Sjkim
2906193267SjkimFixed a problem with the SizeOf operator when used with Package and Buffer 
2907193267Sjkimobjects. These objects have deferred execution for some arguments, and the 
2908220663Sjkimexecution is now completed before the SizeOf is executed. This problem caused 
2909193267Sjkimunexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
2910193267Sjkim9558
2911193267Sjkim
2912220663SjkimImplemented an enhancement to the interpreter "slack mode". In the absence of 
2913193267Sjkiman explicit return or an implicitly returned object from the last executed 
2914220663Sjkimopcode, a control method will now implicitly return an integer of value 0 for 
2915193267SjkimMicrosoft compatibility. (Lin Ming) BZ 392
2916193267Sjkim
2917220663SjkimFixed a problem with the Load operator where an exception was not returned in 
2918193267Sjkimthe case where the table is already loaded. (Lin Ming) BZ 463
2919193267Sjkim
2920220663SjkimImplemented support for the use of DDBHandles as an Indexed Reference, as per 
2921193267Sjkimthe ACPI spec. (Lin Ming) BZ 486
2922193267Sjkim
2923193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
2924193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
2925193267Sjkim
2926193267SjkimFixed a problem with the LoadTable operator where the OemId and OemTableId 
2927193267Sjkiminput strings could cause unexpected failures if they were shorter than the 
2928193267Sjkimmaximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2929193267Sjkim
2930193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
2931193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
2932193267Sjkim
2933220663SjkimImplemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
2934193267SjkimIBFT, UEFI, WDAT. Disassembler support is forthcoming.
2935193267Sjkim
2936193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2937193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2938193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2939193267Sjkima much larger code and data size.
2940193267Sjkim
2941193267Sjkim  Previous Release:
2942193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2943193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2944193267Sjkim  Current Release:
2945193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2946193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2947193267Sjkim
2948193267Sjkim2) iASL Compiler/Disassembler and Tools:
2949193267Sjkim
2950193267SjkimImplemented support in the disassembler for checksum validation on incoming 
2951220663Sjkimbinary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
2952193267Sjkimheader dump at the start of the disassembly.
2953193267Sjkim
2954193267SjkimImplemented additional debugging information in the namespace listing file 
2955193267Sjkimcreated during compilation. In addition to the namespace hierarchy, the full 
2956193267Sjkimpathname to each namespace object is displayed.
2957193267Sjkim
2958193267SjkimFixed a problem with the disassembler where invalid ACPI tables could cause 
2959193267Sjkimfaults or infinite loops.
2960193267Sjkim
2961193267SjkimFixed an unexpected parse error when using the optional "parameter types" 
2962193267Sjkimlist in a control method declaration. (Lin Ming) BZ 397
2963193267Sjkim
2964193267SjkimFixed a problem where two External declarations with the same name did not 
2965193267Sjkimcause an error (Lin Ming) BZ 509
2966193267Sjkim
2967193267SjkimImplemented support for full TermArgs (adding Argx, Localx and method 
2968193267Sjkiminvocation) for the ParameterData parameter to the LoadTable operator. (Lin 
2969193267SjkimMing) BZ 583,587
2970193267Sjkim
2971193267Sjkim----------------------------------------
2972193267Sjkim19 December 2007. Summary of changes for version 20071219:
2973193267Sjkim
2974193267Sjkim1) ACPI CA Core Subsystem:
2975193267Sjkim
2976193267SjkimImplemented full support for deferred execution for the TermArg string 
2977193267Sjkimarguments for DataTableRegion. This enables forward references and full 
2978220663Sjkimoperand resolution for the three string arguments. Similar to OperationRegion 
2979193267Sjkimdeferred argument execution.) Lin Ming. BZ 430
2980193267Sjkim
2981193267SjkimImplemented full argument resolution support for the BankValue argument to 
2982193267SjkimBankField. Previously, only constants were supported, now any TermArg may be 
2983193267Sjkimused. Lin Ming BZ 387, 393
2984193267Sjkim
2985193267SjkimFixed a problem with AcpiGetDevices where the search of a branch of the 
2986193267Sjkimdevice tree could be terminated prematurely. In accordance with the ACPI 
2987193267Sjkimspecification, the search down the current branch is terminated if a device 
2988193267Sjkimis both not present and not functional (instead of just not present.) Yakui 
2989193267SjkimZhao.
2990193267Sjkim
2991193267SjkimFixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
2992193267Sjkimthe underlying AML code changed the GPE enable registers. Now, any unknown 
2993220663Sjkimincoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
2994193267Sjkiminstead of simply ignored. Rui Zhang.
2995193267Sjkim
2996193267SjkimFixed a problem with Index Fields where the Index register was incorrectly 
2997193267Sjkimlimited to a maximum of 32 bits. Now any size may be used.
2998193267Sjkim
2999193267SjkimFixed a couple memory leaks associated with "implicit return" objects when 
3000193267Sjkimthe AML Interpreter slack mode is enabled. Lin Ming BZ 349
3001193267Sjkim
3002193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3003193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3004193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3005193267Sjkima much larger code and data size.
3006193267Sjkim
3007193267Sjkim  Previous Release:
3008193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3009193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3010193267Sjkim  Current Release:
3011193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3012193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3013193267Sjkim
3014193267Sjkim----------------------------------------
3015193267Sjkim14 November 2007. Summary of changes for version 20071114:
3016193267Sjkim
3017193267Sjkim1) ACPI CA Core Subsystem:
3018193267Sjkim
3019193267SjkimImplemented event counters for each of the Fixed Events, the ACPI SCI 
3020193267Sjkim(interrupt) itself, and control methods executed. Named 
3021193267SjkimAcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
3022193267Sjkimshould be useful for debugging and statistics.
3023193267Sjkim
3024193267SjkimImplemented a new external interface, AcpiGetStatistics, to retrieve the 
3025193267Sjkimcontents of the various event counters. Returns the current values for 
3026193267SjkimAcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
3027193267SjkimAcpiMethodCount. The interface can be expanded in the future if new counters 
3028193267Sjkimare added. Device drivers should use this interface rather than access the 
3029193267Sjkimcounters directly.
3030193267Sjkim
3031193267SjkimFixed a problem with the FromBCD and ToBCD operators. With some compilers, 
3032193267Sjkimthe ShortDivide function worked incorrectly, causing problems with the BCD 
3033193267Sjkimfunctions with large input values. A truncation from 64-bit to 32-bit 
3034193267Sjkiminadvertently occurred. Internal BZ 435. Lin Ming
3035193267Sjkim
3036193267SjkimFixed a problem with Index references passed as method arguments. References 
3037193267Sjkimpassed as arguments to control methods were dereferenced immediately (before 
3038193267Sjkimcontrol was passed to the called method). The references are now correctly 
3039193267Sjkimpassed directly to the called method. BZ 5389. Lin Ming
3040193267Sjkim
3041193267SjkimFixed a problem with CopyObject used in conjunction with the Index operator. 
3042193267SjkimThe reference was incorrectly dereferenced before the copy. The reference is 
3043193267Sjkimnow correctly copied. BZ 5391. Lin Ming
3044193267Sjkim
3045193267SjkimFixed a problem with Control Method references within Package objects. These 
3046193267Sjkimreferences are now correctly generated. This completes the package 
3047193267Sjkimconstruction overhaul that began in version 20071019.
3048193267Sjkim
3049193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3050193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3051193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3052193267Sjkima much larger code and data size.
3053193267Sjkim
3054193267Sjkim  Previous Release:
3055193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3056193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3057193267Sjkim  Current Release:
3058193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3059193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3060193267Sjkim
3061193267Sjkim
3062193267Sjkim2) iASL Compiler/Disassembler and Tools:
3063193267Sjkim
3064193267SjkimThe AcpiExec utility now installs handlers for all of the predefined 
3065193267SjkimOperation Region types. New types supported are: PCI_Config, CMOS, and 
3066193267SjkimPCIBARTarget.
3067193267Sjkim
3068193267SjkimFixed a problem with the 64-bit version of AcpiExec where the extended (64-
3069193267Sjkimbit) address fields for the DSDT and FACS within the FADT were not being 
3070193267Sjkimused, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3071193267Sjkimand Bob Moore
3072193267Sjkim
3073193267Sjkim----------------------------------------
3074193267Sjkim19 October 2007. Summary of changes for version 20071019:
3075193267Sjkim
3076193267Sjkim1) ACPI CA Core Subsystem:
3077193267Sjkim
3078193267SjkimFixed a problem with the Alias operator when the target of the alias is a 
3079193267Sjkimnamed ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3080193267SjkimProcessor, and ThermalZone. In these cases, any children of the original 
3081193267Sjkimoperator could not be accessed via the alias, potentially causing unexpected 
3082193267SjkimAE_NOT_FOUND exceptions. (BZ 9067)
3083193267Sjkim
3084193267SjkimFixed a problem with the Package operator where all named references were 
3085193267Sjkimcreated as object references and left otherwise unresolved. According to the 
3086193267SjkimACPI specification, a Package can only contain Data Objects or references to 
3087193267Sjkimcontrol methods. The implication is that named references to Data Objects 
3088193267Sjkim(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3089193267Sjkimimmediately upon package creation. This is the approach taken with this 
3090193267Sjkimchange. References to all other named objects (Methods, Devices, Scopes, 
3091193267Sjkimetc.) are all now properly created as reference objects. (BZ 5328)
3092193267Sjkim
3093193267SjkimReverted a change to Notify handling that was introduced in version 
3094193267Sjkim20070508. This version changed the Notify handling from asynchronous to 
3095193267Sjkimfully synchronous (Device driver Notify handling with respect to the Notify 
3096193267SjkimASL operator). It was found that this change caused more problems than it 
3097193267Sjkimsolved and was removed by most users.
3098193267Sjkim
3099193267SjkimFixed a problem with the Increment and Decrement operators where the type of 
3100193267Sjkimthe target object could be unexpectedly and incorrectly changed. (BZ 353) 
3101193267SjkimLin Ming.
3102193267Sjkim
3103193267SjkimFixed a problem with the Load and LoadTable operators where the table 
3104193267Sjkimlocation within the namespace was ignored. Instead, the table was always 
3105193267Sjkimloaded into the root or current scope. Lin Ming.
3106193267Sjkim
3107193267SjkimFixed a problem with the Load operator when loading a table from a buffer 
3108193267Sjkimobject. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3109193267Sjkim
3110193267SjkimFixed a problem with the Debug object where a store of a DdbHandle reference 
3111193267Sjkimobject to the Debug object could cause a fault.
3112193267Sjkim
3113193267SjkimAdded a table checksum verification for the Load operator, in the case where 
3114193267Sjkimthe load is from a buffer. (BZ 578).
3115193267Sjkim
3116193267SjkimImplemented additional parameter validation for the LoadTable operator. The 
3117193267Sjkimlength of the input strings SignatureString, OemIdString, and OemTableId are 
3118193267Sjkimnow checked for maximum lengths. (BZ 582) Lin Ming.
3119193267Sjkim
3120193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3121193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3122193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3123193267Sjkima much larger code and data size.
3124193267Sjkim
3125193267Sjkim  Previous Release:
3126193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3127193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3128193267Sjkim  Current Release:
3129193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3130193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3131193267Sjkim
3132193267Sjkim
3133193267Sjkim2) iASL Compiler/Disassembler:
3134193267Sjkim
3135193267SjkimFixed a problem where if a single file was specified and the file did not 
3136193267Sjkimexist, no error message was emitted. (Introduced with wildcard support in 
3137193267Sjkimversion 20070917.)
3138193267Sjkim
3139193267Sjkim----------------------------------------
3140193267Sjkim19 September 2007. Summary of changes for version 20070919:
3141193267Sjkim
3142193267Sjkim1) ACPI CA Core Subsystem:
3143193267Sjkim
3144193267SjkimDesigned and implemented new external interfaces to install and remove 
3145193267Sjkimhandlers for ACPI table-related events. Current events that are defined are 
3146193267SjkimLOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3147193267Sjkimthey are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3148193267SjkimAcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3149193267Sjkim
3150193267SjkimFixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3151193267Sjkim(acpi_serialized option on Linux) could cause some systems to hang during 
3152193267Sjkiminitialization. (Bob Moore) BZ 8171
3153193267Sjkim
3154193267SjkimFixed a problem where objects of certain types (Device, ThermalZone, 
3155193267SjkimProcessor, PowerResource) can be not found if they are declared and 
3156193267Sjkimreferenced from within the same control method (Lin Ming) BZ 341
3157193267Sjkim
3158193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3159193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3160193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3161193267Sjkima much larger code and data size.
3162193267Sjkim
3163193267Sjkim  Previous Release:
3164193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3165193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3166193267Sjkim  Current Release:
3167193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3168193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3169193267Sjkim
3170193267Sjkim
3171193267Sjkim2) iASL Compiler/Disassembler:
3172193267Sjkim
3173193267SjkimImplemented support to allow multiple files to be compiled/disassembled in a 
3174193267Sjkimsingle invocation. This includes command line wildcard support for both the 
3175193267SjkimWindows and Unix versions of the compiler. This feature simplifies the 
3176193267Sjkimdisassembly and compilation of multiple ACPI tables in a single directory.
3177193267Sjkim
3178193267Sjkim----------------------------------------
3179193267Sjkim08 May 2007. Summary of changes for version 20070508:
3180193267Sjkim
3181193267Sjkim1) ACPI CA Core Subsystem:
3182193267Sjkim
3183193267SjkimImplemented a Microsoft compatibility design change for the handling of the 
3184193267SjkimNotify AML operator. Previously, notify handlers were dispatched and 
3185193267Sjkimexecuted completely asynchronously in a deferred thread. The new design 
3186193267Sjkimstill executes the notify handlers in a different thread, but the original 
3187193267Sjkimthread that executed the Notify() now waits at a synchronization point for 
3188193267Sjkimthe notify handler to complete. Some machines depend on a synchronous Notify 
3189193267Sjkimoperator in order to operate correctly.
3190193267Sjkim
3191193267SjkimImplemented support to allow Package objects to be passed as method 
3192193267Sjkimarguments to the external AcpiEvaluateObject interface. Previously, this 
3193193267Sjkimwould return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3194193267Sjkimimplemented since there were no reserved control methods that required it 
3195193267Sjkimuntil recently.
3196193267Sjkim
3197193267SjkimFixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3198193267Sjkimcontained invalid non-zero values in reserved fields could cause later 
3199193267Sjkimfailures because these fields have meaning in later revisions of the FADT. 
3200193267SjkimFor incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3201193267Sjkimare: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3202193267Sjkim
3203193267SjkimFixed a problem where the Global Lock handle was not properly updated if a 
3204193267Sjkimthread that acquired the Global Lock via executing AML code then attempted 
3205193267Sjkimto acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3206193267SjkimLiu.
3207193267Sjkim
3208193267SjkimFixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3209193267Sjkimcould be corrupted if the interrupt being removed was at the head of the 
3210193267Sjkimlist. Reported by Linn Crosetto.
3211193267Sjkim
3212193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3213193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3214193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3215193267Sjkima much larger code and data size.
3216193267Sjkim
3217193267Sjkim  Previous Release:
3218193267Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3219193267Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3220193267Sjkim  Current Release:
3221193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3222193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3223193267Sjkim
3224193267Sjkim----------------------------------------
3225167802Sjkim20 March 2007. Summary of changes for version 20070320:
3226167802Sjkim
3227167802Sjkim1) ACPI CA Core Subsystem:
3228167802Sjkim
3229193267SjkimImplemented a change to the order of interpretation and evaluation of AML 
3230193267Sjkimoperand objects within the AML interpreter. The interpreter now evaluates 
3231193267Sjkimoperands in the order that they appear in the AML stream (and the 
3232193267Sjkimcorresponding ASL code), instead of in the reverse order (after the entire 
3233193267Sjkimoperand list has been parsed). The previous behavior caused several subtle 
3234193267Sjkimincompatibilities with the Microsoft AML interpreter as well as being 
3235193267Sjkimsomewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3236167802Sjkim
3237193267SjkimImplemented a change to the ACPI Global Lock support. All interfaces to the 
3238193267Sjkimglobal lock now allow the same thread to acquire the lock multiple times. 
3239193267SjkimThis affects the AcpiAcquireGlobalLock external interface to the global lock 
3240193267Sjkimas well as the internal use of the global lock to support AML fields -- a 
3241193267Sjkimcontrol method that is holding the global lock can now simultaneously access 
3242193267SjkimAML fields that require global lock protection. Previously, in both cases, 
3243193267Sjkimthis would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3244193267SjkimAcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3245193267SjkimController. There is no change to the behavior of the AML Acquire operator, 
3246193267Sjkimas this can already be used to acquire a mutex multiple times by the same 
3247193267Sjkimthread. BZ 8066. With assistance from Alexey Starikovskiy.
3248167802Sjkim
3249193267SjkimFixed a problem where invalid objects could be referenced in the AML 
3250193267SjkimInterpreter after error conditions. During operand evaluation, ensure that 
3251193267Sjkimthe internal "Return Object" field is cleared on error and only valid 
3252193267Sjkimpointers are stored there. Caused occasional access to deleted objects that 
3253193267Sjkimresulted in "large reference count" warning messages. Valery Podrezov.
3254167802Sjkim
3255193267SjkimFixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3256193267Sjkimdeeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3257193267SjkimPodrezov.
3258167802Sjkim
3259193267SjkimFixed an internal problem with the handling of result objects on the 
3260193267Sjkiminterpreter result stack. BZ 7872. Valery Podrezov.
3261167802Sjkim
3262193267SjkimRemoved obsolete code that handled the case where AML_NAME_OP is the target 
3263193267Sjkimof a reference (Reference.Opcode). This code was no longer necessary. BZ 
3264193267Sjkim7874. Valery Podrezov.
3265167802Sjkim
3266193267SjkimRemoved obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3267193267Sjkimremnant from the previously discontinued 16-bit support.
3268167802Sjkim
3269193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3270193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3271193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3272193267Sjkima much larger code and data size.
3273167802Sjkim
3274167802Sjkim  Previous Release:
3275167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3276167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3277167802Sjkim  Current Release:
3278167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3279167802Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3280167802Sjkim
3281167802Sjkim----------------------------------------
3282167802Sjkim26 January 2007. Summary of changes for version 20070126:
3283167802Sjkim
3284167802Sjkim1) ACPI CA Core Subsystem:
3285167802Sjkim
3286193267SjkimAdded the 2007 copyright to all module headers and signons. This affects 
3287193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
3288193267Sjkimthe utilities.
3289167802Sjkim
3290193267SjkimImplemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3291193267Sjkimduring a table load. A bad pointer was passed in the case where the DSDT is 
3292193267Sjkimoverridden, causing a fault in this case.
3293167802Sjkim
3294193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3295193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3296193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3297193267Sjkima much larger code and data size.
3298167802Sjkim
3299167802Sjkim  Previous Release:
3300167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3301167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3302167802Sjkim  Current Release:
3303167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3304167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3305167802Sjkim
3306167802Sjkim----------------------------------------
3307167802Sjkim15 December 2006. Summary of changes for version 20061215:
3308167802Sjkim
3309167802Sjkim1) ACPI CA Core Subsystem:
3310167802Sjkim
3311193267SjkimSupport for 16-bit ACPICA has been completely removed since it is no longer 
3312193267Sjkimnecessary and it clutters the code. All 16-bit macros, types, and 
3313193267Sjkimconditional compiles have been removed, cleaning up and simplifying the code 
3314193267Sjkimacross the entire subsystem. DOS support is no longer needed since the 
3315193267Sjkimbootable Linux firmware kit is now available.
3316167802Sjkim
3317193267SjkimThe handler for the Global Lock is now removed during AcpiTerminate to 
3318193267Sjkimenable a clean subsystem restart, via the implementation of the 
3319193267SjkimAcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3320193267SjkimHP)
3321167802Sjkim
3322193267SjkimImplemented enhancements to the multithreading support within the debugger 
3323193267Sjkimto enable improved multithreading debugging and evaluation of the subsystem. 
3324167802Sjkim(Valery Podrezov)
3325167802Sjkim
3326193267SjkimDebugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3327193267Sjkimmemory used during the execution, as well as the maximum memory consumed by 
3328193267Sjkimeach of the various object types. (Valery Podrezov)
3329167802Sjkim
3330193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3331193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3332193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3333193267Sjkima much larger code and data size.
3334193267Sjkim
3335167802Sjkim  Previous Release:
3336167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3337167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3338167802Sjkim  Current Release:
3339167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3340167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3341167802Sjkim
3342167802Sjkim
3343167802Sjkim2) iASL Compiler/Disassembler and Tools:
3344167802Sjkim
3345193267SjkimAcpiExec: Implemented a new option (-m) to display full memory use 
3346193267Sjkimstatistics upon subsystem/program termination. (Valery Podrezov)
3347167802Sjkim
3348167802Sjkim----------------------------------------
3349167802Sjkim09 November 2006. Summary of changes for version 20061109:
3350167802Sjkim
3351167802Sjkim1) ACPI CA Core Subsystem:
3352167802Sjkim
3353193267SjkimOptimized the Load ASL operator in the case where the source operand is an 
3354193267Sjkimoperation region. Simply map the operation region memory, instead of 
3355193267Sjkimperforming a bytewise read. (Region must be of type SystemMemory, see 
3356193267Sjkimbelow.)
3357167802Sjkim
3358193267SjkimFixed the Load ASL operator for the case where the source operand is a 
3359193267Sjkimregion field. A buffer object is also allowed as the source operand. BZ 480
3360167802Sjkim
3361193267SjkimFixed a problem where the Load ASL operator allowed the source operand to be 
3362193267Sjkiman operation region of any type. It is now restricted to regions of type 
3363193267SjkimSystemMemory, as per the ACPI specification. BZ 481
3364167802Sjkim
3365193267SjkimAdditional cleanup and optimizations for the new Table Manager code.
3366167802Sjkim
3367193267SjkimAcpiEnable will now fail if all of the required ACPI tables are not loaded 
3368193267Sjkim(FADT, FACS, DSDT). BZ 477
3369167802Sjkim
3370193267SjkimAdded #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3371193267Sjkimheader are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3372193267Sjkimmanually optimized to be aligned and will not work if it is byte-packed. 
3373167802Sjkim
3374193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3375193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3376193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3377193267Sjkima much larger code and data size.
3378167802Sjkim
3379167802Sjkim  Previous Release:
3380167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3381167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3382167802Sjkim  Current Release:
3383167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3384167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3385167802Sjkim
3386167802Sjkim
3387167802Sjkim2) iASL Compiler/Disassembler and Tools:
3388167802Sjkim
3389193267SjkimFixed a problem where the presence of the _OSI predefined control method 
3390193267Sjkimwithin complex expressions could cause an internal compiler error.
3391167802Sjkim
3392193267SjkimAcpiExec: Implemented full region support for multiple address spaces. 
3393193267SjkimSpaceId is now part of the REGION object. BZ 429
3394167802Sjkim
3395167802Sjkim----------------------------------------
3396167802Sjkim11 October 2006. Summary of changes for version 20061011:
3397167802Sjkim
3398167802Sjkim1) ACPI CA Core Subsystem:
3399167802Sjkim
3400193267SjkimCompleted an AML interpreter performance enhancement for control method 
3401193267Sjkimexecution. Previously a 2-pass parse/execution, control methods are now 
3402193267Sjkimcompletely parsed and executed in a single pass. This improves overall 
3403193267Sjkiminterpreter performance by ~25%, reduces code size, and reduces CPU stack 
3404193267Sjkimuse. (Valery Podrezov + interpreter changes in version 20051202 that 
3405193267Sjkimeliminated namespace loading during the pass one parse.)
3406167802Sjkim
3407193267SjkimImplemented _CID support for PCI Root Bridge detection. If the _HID does not 
3408193267Sjkimmatch the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3409193267Sjkimobtained and also checked for an ID match.
3410167802Sjkim
3411193267SjkimImplemented additional support for the PCI _ADR execution: upsearch until a 
3412193267Sjkimdevice scope is found before executing _ADR. This allows PCI_Config 
3413193267Sjkimoperation regions to be declared locally within control methods underneath 
3414193267SjkimPCI device objects.
3415167802Sjkim
3416193267SjkimFixed a problem with a possible race condition between threads executing 
3417193267SjkimAcpiWalkNamespace and the AML interpreter. This condition was removed by 
3418193267Sjkimmodifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3419193267Sjkimentries created during any concurrent control method execution. An 
3420193267Sjkimadditional namespace race condition is known to exist between 
3421193267SjkimAcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3422193267Sjkiminvestigation.
3423167802Sjkim
3424193267SjkimRestructured the AML ParseLoop function, breaking it into several 
3425193267Sjkimsubfunctions in order to reduce CPU stack use and improve maintainability. 
3426193267Sjkim(Mikhail Kouzmich)
3427167802Sjkim
3428193267SjkimAcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3429193267Sjkimof prefix handle and pathname. BZ 478
3430167802Sjkim
3431193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3432193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3433193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3434193267Sjkima much larger code and data size.
3435167802Sjkim
3436167802Sjkim  Previous Release:
3437167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3438167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3439167802Sjkim  Current Release:
3440167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3441167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3442167802Sjkim
3443167802Sjkim2) iASL Compiler/Disassembler and Tools:
3444167802Sjkim
3445193267SjkimPorted the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3446193267Sjkimto restore original behavior.
3447167802Sjkim
3448167802Sjkim----------------------------------------
3449167802Sjkim27 September 2006. Summary of changes for version 20060927:
3450167802Sjkim
3451167802Sjkim1) ACPI CA Core Subsystem:
3452167802Sjkim
3453193267SjkimRemoved the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3454193267SjkimThese functions now use a spinlock for mutual exclusion and the interrupt 
3455193267Sjkimlevel indication flag is not needed.
3456167802Sjkim
3457193267SjkimFixed a problem with the Global Lock where the lock could appear to be 
3458193267Sjkimobtained before it is actually obtained. The global lock semaphore was 
3459193267Sjkiminadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3460193267SjkimSuietov.
3461167802Sjkim
3462193267SjkimFixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3463193267Sjkima read from a buffer or region field. (BZ 458) Fiodor Suietov.
3464167802Sjkim
3465193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3466193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3467193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3468193267Sjkima much larger code and data size.
3469167802Sjkim
3470167802Sjkim  Previous Release:
3471167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3472167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3473167802Sjkim  Current Release:
3474167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3475167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3476167802Sjkim
3477167802Sjkim
3478167802Sjkim2) iASL Compiler/Disassembler and Tools:
3479167802Sjkim
3480193267SjkimFixed a compilation problem with the pre-defined Resource Descriptor field 
3481193267Sjkimnames where an "object does not exist" error could be incorrectly generated 
3482193267Sjkimif the parent ResourceTemplate pathname places the template within a 
3483193267Sjkimdifferent namespace scope than the current scope. (BZ 7212)
3484167802Sjkim
3485193267SjkimFixed a problem where the compiler could hang after syntax errors detected 
3486193267Sjkimin an ElseIf construct. (BZ 453)
3487167802Sjkim
3488193267SjkimFixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3489193267Sjkimoperator. An incorrect output filename was produced when this parameter was 
3490193267Sjkima null string (""). Now, the original input filename is used as the AML 
3491193267Sjkimoutput filename, with an ".aml" extension.
3492167802Sjkim
3493193267SjkimImplemented a generic batch command mode for the AcpiExec utility (execute 
3494193267Sjkimany AML debugger command) (Valery Podrezov).
3495167802Sjkim
3496167802Sjkim----------------------------------------
3497167802Sjkim12 September 2006. Summary of changes for version 20060912:
3498167802Sjkim
3499167802Sjkim1) ACPI CA Core Subsystem:
3500167802Sjkim
3501193267SjkimEnhanced the implementation of the "serialized mode" of the interpreter 
3502193267Sjkim(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3503193267Sjkimspecified, instead of creating a serialization semaphore per control method, 
3504193267Sjkimthe interpreter lock is simply no longer released before a blocking 
3505193267Sjkimoperation during control method execution. This effectively makes the AML 
3506193267SjkimInterpreter single-threaded. The overhead of a semaphore per-method is 
3507193267Sjkimeliminated.
3508167802Sjkim
3509193267SjkimFixed a regression where an error was no longer emitted if a control method 
3510193267Sjkimattempts to create 2 objects of the same name. This once again returns 
3511193267SjkimAE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3512193267Sjkimwill dynamically serialize the control method to possible prevent future 
3513193267Sjkimerrors. (BZ 440)
3514167802Sjkim
3515193267SjkimIntegrated a fix for a problem with PCI Express HID detection in the PCI 
3516193267SjkimConfig Space setup procedure. (BZ 7145)
3517167802Sjkim
3518193267SjkimMoved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3519193267SjkimAcpiHwInitialize function - the FADT registers are now validated when the 
3520193267Sjkimtable is loaded.
3521167802Sjkim
3522193267SjkimAdded two new warnings during FADT verification - 1) if the FADT is larger 
3523193267Sjkimthan the largest known FADT version, and 2) if there is a mismatch between a 
3524193267Sjkim32-bit block address and the 64-bit X counterpart (when both are non-zero.)
3525167802Sjkim
3526193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3527193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3528193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3529193267Sjkima much larger code and data size.
3530167802Sjkim
3531167802Sjkim  Previous Release:
3532167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3533167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3534167802Sjkim  Current Release:
3535167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3536167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3537167802Sjkim
3538167802Sjkim
3539167802Sjkim2) iASL Compiler/Disassembler and Tools:
3540167802Sjkim
3541193267SjkimFixed a problem with the implementation of the Switch() operator where the 
3542193267Sjkimtemporary variable was declared too close to the actual Switch, instead of 
3543193267Sjkimat method level. This could cause a problem if the Switch() operator is 
3544193267Sjkimwithin a while loop, causing an error on the second iteration. (BZ 460)
3545167802Sjkim
3546193267SjkimDisassembler - fix for error emitted for unknown type for target of scope 
3547193267Sjkimoperator. Now, ignore it and continue.
3548167802Sjkim
3549193267SjkimDisassembly of an FADT now verifies the input FADT and reports any errors 
3550193267Sjkimfound. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3551167802Sjkim
3552193267SjkimDisassembly of raw data buffers with byte initialization data now prefixes 
3553193267Sjkimeach output line with the current buffer offset.
3554167802Sjkim
3555193267SjkimDisassembly of ASF! table now includes all variable-length data fields at 
3556193267Sjkimthe end of some of the subtables.
3557167802Sjkim
3558193267SjkimThe disassembler now emits a comment if a buffer appears to be a 
3559193267SjkimResourceTemplate, but cannot be disassembled as such because the EndTag does 
3560193267Sjkimnot appear at the very end of the buffer.
3561167802Sjkim
3562193267SjkimAcpiExec - Added the "-t" command line option to enable the serialized mode 
3563193267Sjkimof the AML interpreter.
3564167802Sjkim
3565167802Sjkim----------------------------------------
3566167802Sjkim31 August 2006. Summary of changes for version 20060831:
3567167802Sjkim
3568167802Sjkim1) ACPI CA Core Subsystem:
3569167802Sjkim
3570167802SjkimMiscellaneous fixes for the Table Manager:
3571193267Sjkim- Correctly initialize internal common FADT for all 64-bit "X" fields
3572167802Sjkim- Fixed a couple table mapping issues during table load
3573167802Sjkim- Fixed a couple alignment issues for IA64
3574167802Sjkim- Initialize input array to zero in AcpiInitializeTables
3575193267Sjkim- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3576193267SjkimAcpiGetTableByIndex
3577167802Sjkim
3578193267SjkimChange for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3579193267Sjkimimmediately disabled to prevent the waking GPE from firing again and to 
3580193267Sjkimprevent other wake GPEs from interrupting the wake process.
3581167802Sjkim
3582193267SjkimAdded the AcpiGpeCount global that tracks the number of processed GPEs, to 
3583193267Sjkimbe used for debugging systems with a large number of ACPI interrupts.
3584167802Sjkim
3585193267SjkimImplemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3586193267Sjkimboth the ACPICA headers and the disassembler.
3587167802Sjkim
3588193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3589193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3590193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3591193267Sjkima much larger code and data size.
3592167802Sjkim
3593167802Sjkim  Previous Release:
3594167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3595167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3596167802Sjkim  Current Release:
3597167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3598167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3599167802Sjkim
3600167802Sjkim
3601167802Sjkim2) iASL Compiler/Disassembler and Tools:
3602167802Sjkim
3603167802SjkimDisassembler support for the DMAR ACPI table.
3604167802Sjkim
3605167802Sjkim----------------------------------------
3606167802Sjkim23 August 2006. Summary of changes for version 20060823:
3607167802Sjkim
3608167802Sjkim1) ACPI CA Core Subsystem:
3609167802Sjkim
3610193267SjkimThe Table Manager component has been completely redesigned and 
3611193267Sjkimreimplemented. The new design is much simpler, and reduces the overall code 
3612193267Sjkimand data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3613193267Sjkimnow possible to obtain the ACPI tables very early during kernel 
3614193267Sjkiminitialization, even before dynamic memory management is initialized. 
3615193267Sjkim(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3616167802Sjkim
3617167802SjkimObsolete ACPICA interfaces:
3618167802Sjkim
3619193267Sjkim- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3620193267Sjkimtime).
3621167802Sjkim- AcpiLoadTable: Not needed.
3622167802Sjkim- AcpiUnloadTable: Not needed.
3623167802Sjkim
3624167802SjkimNew ACPICA interfaces:
3625167802Sjkim
3626193267Sjkim- AcpiInitializeTables: Must be called before the table manager can be used.
3627193267Sjkim- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3628193267Sjkimallocated memory after it becomes available.
3629193267Sjkim- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
3630193267Sjkimin the RSDT/XSDT.
3631167802Sjkim
3632167802SjkimOther ACPICA changes:
3633167802Sjkim
3634193267Sjkim- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
3635193267SjkimAcpiOsUnmapMemory to free this mapping.
3636193267Sjkim- AcpiGetTable returns the actual mapped table. The mapping is managed 
3637193267Sjkiminternally and must not be deleted by the caller. Use of this interface 
3638193267Sjkimcauses no additional dynamic memory allocation.
3639193267Sjkim- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
3640193267Sjkimit appeared to be unused.
3641193267Sjkim- The interface to AcpiOsMapMemory has changed to be consistent with the 
3642193267Sjkimother allocation interfaces.
3643193267Sjkim- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
3644193267Sjkimparameters.
3645193267Sjkim- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
3646193267Sjkimbit platforms. Was previously 64 bits on all platforms.
3647193267Sjkim- The interface to the ACPI Global Lock acquire/release macros have changed 
3648193267Sjkimslightly since ACPICA no longer keeps a local copy of the FACS with a 
3649193267Sjkimconstructed pointer to the actual global lock.
3650167802Sjkim
3651167802SjkimPorting to the new table manager:
3652167802Sjkim
3653193267Sjkim- AcpiInitializeTables: Must be called once, and can be called anytime 
3654193267Sjkimduring the OS initialization process. It allows the host to specify an area 
3655193267Sjkimof memory to be used to store the internal version of the RSDT/XSDT (root 
3656193267Sjkimtable). This allows the host to access ACPI tables before memory management 
3657193267Sjkimis initialized and running.
3658193267Sjkim- AcpiReallocateRootTable: Can be called after memory management is running 
3659193267Sjkimto copy the root table to a dynamically allocated array, freeing up the 
3660193267Sjkimscratch memory specified in the call to AcpiInitializeTables.
3661193267Sjkim- AcpiSubsystemInitialize: This existing interface is independent of the 
3662193267SjkimTable Manager, and does not have to be called before the Table Manager can 
3663193267Sjkimbe used, it only must be called before the rest of ACPICA can be used.
3664193267Sjkim- ACPI Tables: Some changes have been made to the names and structure of the 
3665193267Sjkimactbl.h and actbl1.h header files and may require changes to existing code. 
3666193267SjkimFor example, bitfields have been completely removed because of their lack of 
3667193267Sjkimportability across C compilers.
3668193267Sjkim- Update interfaces to the Global Lock acquire/release macros if local 
3669193267Sjkimversions are used. (see acwin.h)
3670167802Sjkim
3671167802SjkimObsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3672167802Sjkim
3673167802SjkimNew files: tbfind.c
3674167802Sjkim
3675193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3676193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3677193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3678193267Sjkima much larger code and data size.
3679167802Sjkim
3680167802Sjkim  Previous Release:
3681167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3682167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3683167802Sjkim  Current Release:
3684167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3685167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3686167802Sjkim
3687167802Sjkim
3688167802Sjkim2) iASL Compiler/Disassembler and Tools:
3689167802Sjkim
3690167802SjkimNo changes for this release.
3691167802Sjkim
3692167802Sjkim----------------------------------------
3693167802Sjkim21 July 2006. Summary of changes for version 20060721:
3694167802Sjkim
3695167802Sjkim1) ACPI CA Core Subsystem:
3696167802Sjkim
3697193267SjkimThe full source code for the ASL test suite used to validate the iASL 
3698193267Sjkimcompiler and the ACPICA core subsystem is being released with the ACPICA 
3699193267Sjkimsource for the first time. The source is contained in a separate package and 
3700193267Sjkimconsists of over 1100 files that exercise all ASL/AML operators. The package 
3701193267Sjkimshould appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
3702167802SjkimSuietov)
3703167802Sjkim
3704193267SjkimCompleted a new design and implementation for support of the ACPI Global 
3705193267SjkimLock. On the OS side, the global lock is now treated as a standard AML 
3706193267Sjkimmutex. Previously, multiple OS threads could "acquire" the global lock 
3707193267Sjkimsimultaneously. However, this could cause the BIOS to be starved out of the 
3708193267Sjkimlock - especially in cases such as the Embedded Controller driver where 
3709193267Sjkimthere is a tight coupling between the OS and the BIOS.
3710167802Sjkim
3711193267SjkimImplemented an optimization for the ACPI Global Lock interrupt mechanism. 
3712193267SjkimThe Global Lock interrupt handler no longer queues the execution of a 
3713193267Sjkimseparate thread to signal the global lock semaphore. Instead, the semaphore 
3714193267Sjkimis signaled directly from the interrupt handler.
3715167802Sjkim
3716193267SjkimImplemented support within the AML interpreter for package objects that 
3717193267Sjkimcontain a larger AML length (package list length) than the package element 
3718193267Sjkimcount. In this case, the length of the package is truncated to match the 
3719193267Sjkimpackage element count. Some BIOS code apparently modifies the package length 
3720193267Sjkimon the fly, and this change supports this behavior. Provides compatibility 
3721193267Sjkimwith the MS AML interpreter. (With assistance from Fiodor Suietov)
3722167802Sjkim
3723193267SjkimImplemented a temporary fix for the BankValue parameter of a Bank Field to 
3724193267Sjkimsupport all constant values, now including the Zero and One opcodes. 
3725193267SjkimEvaluation of this parameter must eventually be converted to a full TermArg 
3726193267Sjkimevaluation. A not-implemented error is now returned (temporarily) for non-
3727193267Sjkimconstant values for this parameter.
3728167802Sjkim
3729167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3730193267Sjkim- Fix for premature object deletion after CopyObject on Operation Region (BZ 
3731193267Sjkim350)
3732167802Sjkim
3733193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3734193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3735193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3736193267Sjkima much larger code and data size.
3737167802Sjkim
3738167802Sjkim  Previous Release:
3739167802Sjkim    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
3740167802Sjkim    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
3741167802Sjkim  Current Release:
3742167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3743167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3744167802Sjkim
3745167802Sjkim
3746167802Sjkim2) iASL Compiler/Disassembler and Tools:
3747167802Sjkim
3748167802SjkimNo changes for this release.
3749167802Sjkim
3750167802Sjkim----------------------------------------
3751167802Sjkim07 July 2006. Summary of changes for version 20060707:
3752167802Sjkim
3753167802Sjkim1) ACPI CA Core Subsystem:
3754167802Sjkim
3755193267SjkimAdded the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
3756193267Sjkimthat do not allow the initialization of address pointers within packed 
3757193267Sjkimstructures - even though the hardware itself may support misaligned 
3758193267Sjkimtransfers. Some of the debug data structures are packed by default to 
3759193267Sjkimminimize size.
3760167802Sjkim
3761193267SjkimAdded an error message for the case where AcpiOsGetThreadId() returns zero. 
3762193267SjkimA non-zero value is required by the core ACPICA code to ensure the proper 
3763193267Sjkimoperation of AML mutexes and recursive control methods.
3764167802Sjkim
3765193267SjkimThe DSDT is now the only ACPI table that determines whether the AML 
3766193267Sjkiminterpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
3767193267Sjkimthe hooks for per-table 32/64 switching have been removed from the code. A 
3768193267Sjkimclarification to the ACPI specification is forthcoming in ACPI 3.0B.
3769167802Sjkim
3770193267SjkimFixed a possible leak of an OwnerID in the error path of 
3771193267SjkimAcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
3772193267Sjkimdeletion to a single place in AcpiTbUninstallTable to correct possible leaks 
3773193267Sjkimwhen using the AcpiTbDeleteTablesByType interface (with assistance from 
3774193267SjkimLance Ortiz.)
3775167802Sjkim
3776193267SjkimFixed a problem with Serialized control methods where the semaphore 
3777193267Sjkimassociated with the method could be over-signaled after multiple method 
3778193267Sjkiminvocations.
3779167802Sjkim
3780193267SjkimFixed two issues with the locking of the internal namespace data structure. 
3781193267SjkimBoth the Unload() operator and AcpiUnloadTable interface now lock the 
3782193267Sjkimnamespace during the namespace deletion associated with the table unload 
3783193267Sjkim(with assistance from Linn Crosetto.)
3784167802Sjkim
3785167802SjkimFixed problem reports (Valery Podrezov) integrated:
3786193267Sjkim- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3787167802Sjkim
3788167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3789167802Sjkim- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3790193267Sjkim- On Address Space handler deletion, needless deactivation call (BZ 374)
3791193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3792193267Sjkim- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
3793193267Sjkim(BZ 376)
3794193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3795167802Sjkim- Minimum Length of RSDT should be validated (BZ 379)
3796193267Sjkim- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
3797193267SjkimHandler (BZ (380)
3798193267Sjkim- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
3799193267Sjkim(BZ 381)
3800167802Sjkim
3801193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3802193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3803193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3804193267Sjkima much larger code and data size.
3805167802Sjkim
3806167802Sjkim  Previous Release:
3807167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3808167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3809167802Sjkim  Current Release:
3810167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3811167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3812167802Sjkim
3813167802Sjkim
3814167802Sjkim2) iASL Compiler/Disassembler and Tools:
3815167802Sjkim
3816167802SjkimFixed problem reports:
3817193267SjkimCompiler segfault when ASL contains a long (>1024) String declaration (BZ 
3818193267Sjkim436)
3819167802Sjkim
3820167802Sjkim----------------------------------------
3821167802Sjkim23 June 2006. Summary of changes for version 20060623:
3822167802Sjkim
3823167802Sjkim1) ACPI CA Core Subsystem:
3824167802Sjkim
3825193267SjkimImplemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
3826193267Sjkimallows the type to be customized to the host OS for improved efficiency 
3827193267Sjkim(since a spinlock is usually a very small object.)
3828167802Sjkim
3829193267SjkimImplemented support for "ignored" bits in the ACPI registers. According to 
3830193267Sjkimthe ACPI specification, these bits should be preserved when writing the 
3831193267Sjkimregisters via a read/modify/write cycle. There are 3 bits preserved in this 
3832193267Sjkimmanner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3833167802Sjkim
3834193267SjkimImplemented the initial deployment of new OSL mutex interfaces. Since some 
3835193267Sjkimhost operating systems have separate mutex and semaphore objects, this 
3836193267Sjkimfeature was requested. The base code now uses mutexes (and the new mutex 
3837193267Sjkiminterfaces) wherever a binary semaphore was used previously. However, for 
3838193267Sjkimthe current release, the mutex interfaces are defined as macros to map them 
3839193267Sjkimto the existing semaphore interfaces. Therefore, no OSL changes are required 
3840193267Sjkimat this time. (See acpiosxf.h)
3841167802Sjkim
3842193267SjkimFixed several problems with the support for the control method SyncLevel 
3843193267Sjkimparameter. The SyncLevel now works according to the ACPI specification and 
3844193267Sjkimin concert with the Mutex SyncLevel parameter, since the current SyncLevel 
3845193267Sjkimis a property of the executing thread. Mutual exclusion for control methods 
3846193267Sjkimis now implemented with a mutex instead of a semaphore.
3847167802Sjkim
3848193267SjkimFixed three instances of the use of the C shift operator in the bitfield 
3849193267Sjkimsupport code (exfldio.c) to avoid the use of a shift value larger than the 
3850193267Sjkimtarget data width. The behavior of C compilers is undefined in this case and 
3851193267Sjkimcan cause unpredictable results, and therefore the case must be detected and 
3852193267Sjkimavoided. (Fiodor Suietov)
3853167802Sjkim
3854193267SjkimAdded an info message whenever an SSDT or OEM table is loaded dynamically 
3855193267Sjkimvia the Load() or LoadTable() ASL operators. This should improve debugging 
3856193267Sjkimcapability since it will show exactly what tables have been loaded (beyond 
3857193267Sjkimthe tables present in the RSDT/XSDT.)
3858167802Sjkim
3859193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3860193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3861193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3862193267Sjkima much larger code and data size.
3863167802Sjkim
3864167802Sjkim  Previous Release:
3865167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3866167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3867167802Sjkim  Current Release:
3868167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3869167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3870167802Sjkim
3871167802Sjkim
3872167802Sjkim2) iASL Compiler/Disassembler and Tools:
3873167802Sjkim
3874167802SjkimNo changes for this release.
3875167802Sjkim
3876167802Sjkim----------------------------------------
3877167802Sjkim08 June 2006. Summary of changes for version 20060608:
3878167802Sjkim
3879167802Sjkim1) ACPI CA Core Subsystem:
3880167802Sjkim
3881193267SjkimConverted the locking mutex used for the ACPI hardware to a spinlock. This 
3882193267Sjkimchange should eliminate all problems caused by attempting to acquire a 
3883193267Sjkimsemaphore at interrupt level, and it means that all ACPICA external 
3884193267Sjkiminterfaces that directly access the ACPI hardware can be safely called from 
3885193267Sjkiminterrupt level. OSL code that implements the semaphore interfaces should be 
3886193267Sjkimable to eliminate any workarounds for being called at interrupt level.
3887167802Sjkim
3888193267SjkimFixed a regression introduced in 20060526 where the ACPI device 
3889193267Sjkiminitialization could be prematurely aborted with an AE_NOT_FOUND if a device 
3890193267Sjkimdid not have an optional _INI method.
3891167802Sjkim
3892193267SjkimFixed an IndexField issue where a write to the Data Register should be 
3893193267Sjkimlimited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
3894193267SjkimFiodor Suietov)
3895167802Sjkim
3896167802SjkimFixed problem reports (Valery Podrezov) integrated:
3897193267Sjkim- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3898167802Sjkim
3899167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3900193267Sjkim- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3901167802Sjkim
3902193267SjkimRemoved four global mutexes that were obsolete and were no longer being 
3903193267Sjkimused.
3904167802Sjkim
3905193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3906193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3907193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3908193267Sjkima much larger code and data size.
3909167802Sjkim
3910167802Sjkim  Previous Release:
3911167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3912167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3913167802Sjkim  Current Release:
3914167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3915167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3916167802Sjkim
3917167802Sjkim
3918167802Sjkim2) iASL Compiler/Disassembler and Tools:
3919167802Sjkim
3920193267SjkimFixed a fault when using -g option (get tables from registry) on Windows 
3921193267Sjkimmachines.
3922167802Sjkim
3923167802SjkimFixed problem reports integrated:
3924193267Sjkim- Generate error if CreateField NumBits parameter is zero. (BZ 405)
3925193267Sjkim- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
3926193267SjkimSuietov)
3927167802Sjkim- Global table revision override (-r) is ignored (BZ 413)
3928167802Sjkim
3929167802Sjkim----------------------------------------
3930167802Sjkim26 May 2006. Summary of changes for version 20060526:
3931167802Sjkim
3932167802Sjkim1) ACPI CA Core Subsystem:
3933167802Sjkim
3934193267SjkimRestructured, flattened, and simplified the internal interfaces for 
3935193267Sjkimnamespace object evaluation - resulting in smaller code, less CPU stack use, 
3936193267Sjkimand fewer interfaces. (With assistance from Mikhail Kouzmich)
3937167802Sjkim
3938193267SjkimFixed a problem with the CopyObject operator where the first parameter was 
3939193267Sjkimnot typed correctly for the parser, interpreter, compiler, and disassembler. 
3940193267SjkimCaused various errors and unexpected behavior.
3941167802Sjkim
3942193267SjkimFixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
3943193267Sjkimproduced incorrect results with some C compilers. Since the behavior of C 
3944193267Sjkimcompilers when the shift value is larger than the datatype width is 
3945193267Sjkimapparently not well defined, the interpreter now detects this condition and 
3946193267Sjkimsimply returns zero as expected in all such cases. (BZ 395)
3947167802Sjkim
3948167802SjkimFixed problem reports (Valery Podrezov) integrated:
3949193267Sjkim- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3950193267Sjkim- Allow interpreter to handle nested method declarations (BZ 5361)
3951167802Sjkim
3952167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3953193267Sjkim- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3954193267Sjkim- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3955193267Sjkim- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3956193267Sjkim- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3957167802Sjkim- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3958193267Sjkim- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3959167802Sjkim- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3960167802Sjkim- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3961193267Sjkim- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3962193267Sjkim- Status of the Global Initialization Handler call not used (BZ 366)
3963193267Sjkim- Incorrect object parameter to Global Initialization Handler (BZ 367)
3964167802Sjkim
3965193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3966193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3967193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3968193267Sjkima much larger code and data size.
3969167802Sjkim
3970167802Sjkim  Previous Release:
3971167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3972167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3973167802Sjkim  Current Release:
3974167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3975167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3976167802Sjkim
3977167802Sjkim
3978167802Sjkim2) iASL Compiler/Disassembler and Tools:
3979167802Sjkim
3980193267SjkimModified the parser to allow the names IO, DMA, and IRQ to be used as 
3981193267Sjkimnamespace identifiers with no collision with existing resource descriptor 
3982193267Sjkimmacro names. This provides compatibility with other ASL compilers and is 
3983193267Sjkimmost useful for disassembly/recompilation of existing tables without parse 
3984167802Sjkimerrors. (With assistance from Thomas Renninger)
3985167802Sjkim
3986193267SjkimDisassembler: fixed an incorrect disassembly problem with the 
3987193267SjkimDataTableRegion and CopyObject operators. Fixed a possible fault during 
3988193267Sjkimdisassembly of some Alias operators.
3989167802Sjkim
3990167802Sjkim----------------------------------------
3991167802Sjkim12 May 2006. Summary of changes for version 20060512:
3992167802Sjkim
3993167802Sjkim1) ACPI CA Core Subsystem:
3994167802Sjkim
3995193267SjkimReplaced the AcpiOsQueueForExecution interface with a new interface named 
3996193267SjkimAcpiOsExecute. The major difference is that the new interface does not have 
3997193267Sjkima Priority parameter, this appeared to be useless and has been replaced by a 
3998193267SjkimType parameter. The Type tells the host what type of execution is being 
3999193267Sjkimrequested, such as global lock handler, notify handler, GPE handler, etc. 
4000193267SjkimThis allows the host to queue and execute the request as appropriate for the 
4001193267Sjkimrequest type, possibly using different work queues and different priorities 
4002193267Sjkimfor the various request types. This enables fixes for multithreading 
4003193267Sjkimdeadlock problems such as BZ #5534, and will require changes to all existing 
4004193267SjkimOS interface layers. (Alexey Starikovskiy and Bob Moore)
4005167802Sjkim
4006193267SjkimFixed a possible memory leak associated with the support for the so-called 
4007193267Sjkim"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
4008193267SjkimSuietov)
4009167802Sjkim
4010193267SjkimFixed a problem with the Load() operator where a table load from an 
4011193267Sjkimoperation region could overwrite an internal table buffer by up to 7 bytes 
4012193267Sjkimand cause alignment faults on IPF systems. (With assistance from Luming Yu)
4013167802Sjkim
4014193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
4015193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4016193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
4017193267Sjkima much larger code and data size.
4018167802Sjkim
4019167802Sjkim  Previous Release:
4020167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4021167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4022167802Sjkim  Current Release:
4023167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4024167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4025167802Sjkim
4026167802Sjkim
4027167802Sjkim
4028167802Sjkim2) iASL Compiler/Disassembler and Tools:
4029167802Sjkim
4030193267SjkimDisassembler: Implemented support to cross reference the internal namespace 
4031193267Sjkimand automatically generate ASL External() statements for symbols not defined 
4032193267Sjkimwithin the current table being disassembled. This will simplify the 
4033193267Sjkimdisassembly and recompilation of interdependent tables such as SSDTs since 
4034193267Sjkimthese statements will no longer have to be added manually.
4035167802Sjkim
4036193267SjkimDisassembler: Implemented experimental support to automatically detect 
4037193267Sjkiminvocations of external control methods and generate appropriate External() 
4038193267Sjkimstatements. This is problematic because the AML cannot be correctly parsed 
4039193267Sjkimuntil the number of arguments for each control method is known. Currently, 
4040193267Sjkimstandalone method invocations and invocations as the source operand of a 
4041193267SjkimStore() statement are supported.
4042167802Sjkim
4043193267SjkimDisassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
4044193267SjkimLLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
4045193267SjkimLNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
4046193267Sjkimmore readable and likely closer to the original ASL source.
4047167802Sjkim
4048167802Sjkim----------------------------------------
4049167802Sjkim21 April 2006. Summary of changes for version 20060421:
4050167802Sjkim
4051167802Sjkim1) ACPI CA Core Subsystem:
4052167802Sjkim
4053193267SjkimRemoved a device initialization optimization introduced in 20051216 where 
4054193267Sjkimthe _STA method was not run unless an _INI was also present for the same 
4055193267Sjkimdevice. This optimization could cause problems because it could allow _INI 
4056193267Sjkimmethods to be run within a not-present device subtree. (If a not-present 
4057193267Sjkimdevice had no _INI, _STA would not be run, the not-present status would not 
4058193267Sjkimbe discovered, and the children of the device would be incorrectly 
4059167802Sjkimtraversed.)
4060167802Sjkim
4061193267SjkimImplemented a new _STA optimization where namespace subtrees that do not 
4062193267Sjkimcontain _INI are identified and ignored during device initialization. 
4063193267SjkimSelectively running _STA can significantly improve boot time on large 
4064193267Sjkimmachines (with assistance from Len Brown.)
4065167802Sjkim
4066193267SjkimImplemented support for the device initialization case where the returned 
4067193267Sjkim_STA flags indicate a device not-present but functioning. In this case, _INI 
4068193267Sjkimis not run, but the device children are examined for presence, as per the 
4069193267SjkimACPI specification.
4070167802Sjkim
4071193267SjkimImplemented an additional change to the IndexField support in order to 
4072193267Sjkimconform to MS behavior. The value written to the Index Register is not 
4073193267Sjkimsimply a byte offset, it is a byte offset in units of the access width of 
4074193267Sjkimthe parent Index Field. (Fiodor Suietov)
4075167802Sjkim
4076193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4077193267Sjkiminterface is called during the creation of all AML operation regions, and 
4078193267Sjkimallows the host OS to exert control over what addresses it will allow the 
4079193267SjkimAML code to access. Operation Regions whose addresses are disallowed will 
4080193267Sjkimcause a runtime exception when they are actually accessed (will not affect 
4081193267Sjkimor abort table loading.) See oswinxf or osunixxf for an example 
4082167802Sjkimimplementation.
4083167802Sjkim
4084193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4085193267Sjkiminterface allows the host OS to match the various "optional" 
4086193267Sjkiminterface/behavior strings for the _OSI predefined control method as 
4087193267Sjkimappropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4088193267Sjkimfor an example implementation.
4089167802Sjkim
4090193267SjkimRestructured and corrected various problems in the exception handling code 
4091193267Sjkimpaths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4092193267Sjkim(with assistance from Takayoshi Kochi.)
4093167802Sjkim
4094193267SjkimModified the Linux source converter to ignore quoted string literals while 
4095193267Sjkimconverting identifiers from mixed to lower case. This will correct problems 
4096193267Sjkimwith the disassembler and other areas where such strings must not be 
4097193267Sjkimmodified.
4098167802Sjkim
4099193267SjkimThe ACPI_FUNCTION_* macros no longer require quotes around the function 
4100193267Sjkimname. This allows the Linux source converter to convert the names, now that 
4101193267Sjkimthe converter ignores quoted strings.
4102167802Sjkim
4103193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
4104193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4105193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
4106193267Sjkima much larger code and data size.
4107193267Sjkim
4108167802Sjkim  Previous Release:
4109167802Sjkim
4110167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4111167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4112167802Sjkim  Current Release:
4113167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4114167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4115167802Sjkim
4116167802Sjkim
4117167802Sjkim2) iASL Compiler/Disassembler and Tools:
4118167802Sjkim
4119193267SjkimImplemented 3 new warnings for iASL, and implemented multiple warning levels 
4120193267Sjkim(w2 flag).
4121167802Sjkim
4122193267Sjkim1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4123193267SjkimWAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4124193267Sjkimcheck for the possible timeout, a warning is issued.
4125167802Sjkim
4126193267Sjkim2) Useless operators: If an ASL operator does not specify an optional target 
4127193267Sjkimoperand and it also does not use the function return value from the 
4128193267Sjkimoperator, a warning is issued since the operator effectively does nothing.
4129167802Sjkim
4130193267Sjkim3) Unreferenced objects: If a namespace object is created, but never 
4131193267Sjkimreferenced, a warning is issued. This is a warning level 2 since there are 
4132193267Sjkimcases where this is ok, such as when a secondary table is loaded that uses 
4133193267Sjkimthe unreferenced objects. Even so, care is taken to only flag objects that 
4134193267Sjkimdon't look like they will ever be used. For example, the reserved methods 
4135193267Sjkim(starting with an underscore) are usually not referenced because it is 
4136193267Sjkimexpected that the OS will invoke them.
4137167802Sjkim
4138167802Sjkim----------------------------------------
4139167802Sjkim31 March 2006. Summary of changes for version 20060331:
4140167802Sjkim
4141167802Sjkim1) ACPI CA Core Subsystem:
4142167802Sjkim
4143193267SjkimImplemented header file support for the following additional ACPI tables: 
4144193267SjkimASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4145193267Sjkimall current and known ACPI tables are now defined in the ACPICA headers and 
4146193267Sjkimare available for use by device drivers and other software.
4147167802Sjkim
4148193267SjkimImplemented support to allow tables that contain ACPI names with invalid 
4149193267Sjkimcharacters to be loaded. Previously, this would cause the table load to 
4150193267Sjkimfail, but since there are several known cases of such tables on existing 
4151193267Sjkimmachines, this change was made to enable ACPI support for them. Also, this 
4152193267Sjkimmatches the behavior of the Microsoft ACPI implementation.
4153167802Sjkim
4154193267SjkimFixed a couple regressions introduced during the memory optimization in the 
4155193267Sjkim20060317 release. The namespace node definition required additional 
4156193267Sjkimreorganization and an internal datatype that had been changed to 8-bit was 
4157193267Sjkimrestored to 32-bit. (Valery Podrezov)
4158167802Sjkim
4159193267SjkimFixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4160193267Sjkimcould be passed through to AcpiOsReleaseObject which is unexpected. Such 
4161193267Sjkimnull pointers are now trapped and ignored, matching the behavior of the 
4162193267Sjkimprevious implementation before the deployment of AcpiOsReleaseObject.
4163167802Sjkim(Valery Podrezov, Fiodor Suietov)
4164167802Sjkim
4165193267SjkimFixed a memory mapping leak during the deletion of a SystemMemory operation 
4166193267Sjkimregion where a cached memory mapping was not deleted. This became a 
4167193267Sjkimnoticeable problem for operation regions that are defined within frequently 
4168193267Sjkimused control methods. (Dana Meyers)
4169167802Sjkim
4170193267SjkimReorganized the ACPI table header files into two main files: one for the 
4171193267SjkimACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4172193267SjkimACPI tables that are consumed by the drivers and other software. The various 
4173193267SjkimFADT definitions were merged into one common section and three different 
4174193267Sjkimtables (ACPI 1.0, 1.0+, and 2.0)
4175167802Sjkim
4176193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
4177193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4178193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
4179193267Sjkima much larger code and data size.
4180167802Sjkim
4181167802Sjkim  Previous Release:
4182167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4183167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4184167802Sjkim  Current Release:
4185167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4186167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4187167802Sjkim
4188167802Sjkim
4189167802Sjkim2) iASL Compiler/Disassembler and Tools:
4190167802Sjkim
4191193267SjkimDisassembler: Implemented support to decode and format all non-AML ACPI 
4192193267Sjkimtables (tables other than DSDTs and SSDTs.) This includes the new tables 
4193193267Sjkimadded to the ACPICA headers, therefore all current and known ACPI tables are 
4194193267Sjkimsupported.
4195167802Sjkim
4196193267SjkimDisassembler: The change to allow ACPI names with invalid characters also 
4197193267Sjkimenables the disassembly of such tables. Invalid characters within names are 
4198193267Sjkimchanged to '*' to make the name printable; the iASL compiler will still 
4199193267Sjkimgenerate an error for such names, however, since this is an invalid ACPI 
4200193267Sjkimcharacter.
4201167802Sjkim
4202193267SjkimImplemented an option for AcpiXtract (-a) to extract all tables found in the 
4203193267Sjkiminput file. The default invocation extracts only the DSDTs and SSDTs.
4204167802Sjkim
4205193267SjkimFixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4206193267Sjkimmakefile for the AcpiXtract utility.
4207167802Sjkim
4208167802Sjkim----------------------------------------
4209167802Sjkim17 March 2006. Summary of changes for version 20060317:
4210167802Sjkim
4211167802Sjkim1) ACPI CA Core Subsystem:
4212167802Sjkim
4213193267SjkimImplemented the use of a cache object for all internal namespace nodes. 
4214193267SjkimSince there are about 1000 static nodes in a typical system, this will 
4215193267Sjkimdecrease memory use for cache implementations that minimize per-allocation 
4216193267Sjkimoverhead (such as a slab allocator.)
4217167802Sjkim
4218193267SjkimRemoved the reference count mechanism for internal namespace nodes, since it 
4219193267Sjkimwas deemed unnecessary. This reduces the size of each namespace node by 
4220193267Sjkimabout 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4221193267Sjkimand 32 bytes for the 64-bit case.
4222167802Sjkim
4223193267SjkimOptimized several internal data structures to reduce object size on 64-bit 
4224193267Sjkimplatforms by packing data within the 64-bit alignment. This includes the 
4225193267Sjkimfrequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4226193267Sjkiminstances corresponding to the namespace objects.
4227167802Sjkim
4228193267SjkimAdded two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4229193267Sjkimand "Windows 2006".
4230167802Sjkim
4231193267SjkimSplit the allocation tracking mechanism out to a separate file, from 
4232193267Sjkimutalloc.c to uttrack.c. This mechanism appears to be only useful for 
4233193267Sjkimapplication-level code. Kernels may wish to not include uttrack.c in 
4234193267Sjkimdistributions.
4235167802Sjkim
4236193267SjkimRemoved all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4237193267Sjkimcode. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4238193267Sjkimmacros.)
4239167802Sjkim
4240193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
4241193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4242193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
4243193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
4244193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
4245193267Sjkimcompiler options used during generation.
4246167802Sjkim
4247167802Sjkim  Previous Release:
4248167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4249167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4250167802Sjkim  Current Release:
4251167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4252167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4253167802Sjkim
4254167802Sjkim
4255167802Sjkim2) iASL Compiler/Disassembler and Tools:
4256167802Sjkim
4257193267SjkimImplemented an ANSI C version of the acpixtract utility. This version will 
4258193267Sjkimautomatically extract the DSDT and all SSDTs from the input acpidump text 
4259193267Sjkimfile and dump the binary output to separate files. It can also display a 
4260193267Sjkimsummary of the input file including the headers for each table found and 
4261193267Sjkimwill extract any single ACPI table, with any signature. (See 
4262167802Sjkimsource/tools/acpixtract)
4263167802Sjkim
4264167802Sjkim----------------------------------------
4265167802Sjkim10 March 2006. Summary of changes for version 20060310:
4266167802Sjkim
4267167802Sjkim1) ACPI CA Core Subsystem:
4268167802Sjkim
4269193267SjkimTagged all external interfaces to the subsystem with the new 
4270193267SjkimACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4271193267Sjkimkernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4272193267Sjkimmacro. The default definition is NULL.
4273167802Sjkim
4274193267SjkimAdded the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4275193267SjkimThis allows the host to define this as necessary to simplify kernel 
4276193267Sjkimintegration. The default definition is ACPI_NATIVE_UINT.
4277167802Sjkim
4278193267SjkimFixed two interpreter problems related to error processing, the deletion of 
4279193267Sjkimobjects, and placing invalid pointers onto the internal operator result 
4280193267Sjkimstack. BZ 6028, 6151 (Valery Podrezov)
4281167802Sjkim
4282193267SjkimIncreased the reference count threshold where a warning is emitted for large 
4283193267Sjkimreference counts in order to eliminate unnecessary warnings on systems with 
4284193267Sjkimlarge namespaces (especially 64-bit.) Increased the value from 0x400 to 
4285193267Sjkim0x800.
4286167802Sjkim
4287193267SjkimDue to universal disagreement as to the meaning of the 'c' in the calloc() 
4288193267Sjkimfunction, the ACPI_MEM_CALLOCATE macro has been renamed to 
4289193267SjkimACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4290193267SjkimACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4291193267SjkimACPI_FREE.
4292167802Sjkim
4293193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
4294193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4295193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
4296193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
4297193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
4298193267Sjkimcompiler options used during generation.
4299167802Sjkim
4300167802Sjkim  Previous Release:
4301167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4302167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4303167802Sjkim  Current Release:
4304167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4305167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4306167802Sjkim
4307167802Sjkim
4308167802Sjkim2) iASL Compiler/Disassembler:
4309167802Sjkim
4310193267SjkimDisassembler: implemented support for symbolic resource descriptor 
4311193267Sjkimreferences. If a CreateXxxxField operator references a fixed offset within a 
4312193267Sjkimresource descriptor, a name is assigned to the descriptor and the offset is 
4313193267Sjkimtranslated to the appropriate resource tag and pathname. The addition of 
4314193267Sjkimthis support brings the disassembled code very close to the original ASL 
4315193267Sjkimsource code and helps eliminate run-time errors when the disassembled code 
4316193267Sjkimis modified (and recompiled) in such a way as to invalidate the original 
4317193267Sjkimfixed offsets.
4318167802Sjkim
4319193267SjkimImplemented support for a Descriptor Name as the last parameter to the ASL 
4320193267SjkimRegister() macro. This parameter was inadvertently left out of the ACPI 
4321193267Sjkimspecification, and will be added for ACPI 3.0b.
4322167802Sjkim
4323193267SjkimFixed a problem where the use of the "_OSI" string (versus the full path 
4324193267Sjkim"\_OSI") caused an internal compiler error. ("No back ptr to op")
4325167802Sjkim
4326193267SjkimFixed a problem with the error message that occurs when an invalid string is 
4327193267Sjkimused for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4328193267SjkimThe correct message is now displayed.
4329167802Sjkim
4330167802Sjkim----------------------------------------
4331167802Sjkim17 February 2006. Summary of changes for version 20060217:
4332167802Sjkim
4333167802Sjkim1) ACPI CA Core Subsystem:
4334167802Sjkim
4335193267SjkimImplemented a change to the IndexField support to match the behavior of the 
4336193267SjkimMicrosoft AML interpreter. The value written to the Index register is now a 
4337193267Sjkimbyte offset, no longer an index based upon the width of the Data register. 
4338193267SjkimThis should fix IndexField problems seen on some machines where the Data 
4339193267Sjkimregister is not exactly one byte wide. The ACPI specification will be 
4340193267Sjkimclarified on this point.
4341167802Sjkim
4342193267SjkimFixed a problem where several resource descriptor types could overrun the 
4343193267Sjkiminternal descriptor buffer due to size miscalculation: VendorShort, 
4344193267SjkimVendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4345193267Sjkimaffect all platforms.
4346167802Sjkim
4347193267SjkimFixed a problem where individual resource descriptors were misaligned within 
4348193267Sjkimthe internal buffer, causing alignment faults on IA64 platforms.
4349167802Sjkim
4350193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
4351193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4352193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
4353193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
4354193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
4355193267Sjkimcompiler options used during generation.
4356167802Sjkim
4357167802Sjkim  Previous Release:
4358167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4359167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4360167802Sjkim  Current Release:
4361167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4362167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4363167802Sjkim
4364167802Sjkim
4365167802Sjkim2) iASL Compiler/Disassembler:
4366167802Sjkim
4367193267SjkimImplemented support for new reserved names: _WDG and _WED are Microsoft 
4368193267Sjkimextensions for Windows Instrumentation Management, _TDL is a new ACPI-
4369193267Sjkimdefined method (Throttling Depth Limit.)
4370167802Sjkim
4371193267SjkimFixed a problem where a zero-length VendorShort or VendorLong resource 
4372193267Sjkimdescriptor was incorrectly emitted as a descriptor of length one.
4373167802Sjkim
4374167802Sjkim----------------------------------------
4375167802Sjkim10 February 2006. Summary of changes for version 20060210:
4376167802Sjkim
4377167802Sjkim1) ACPI CA Core Subsystem:
4378167802Sjkim
4379193267SjkimRemoved a couple of extraneous ACPI_ERROR messages that appeared during 
4380193267Sjkimnormal execution. These became apparent after the conversion from 
4381193267SjkimACPI_DEBUG_PRINT.
4382167802Sjkim
4383193267SjkimFixed a problem where the CreateField operator could hang if the BitIndex or 
4384193267SjkimNumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4385167802Sjkim
4386193267SjkimFixed a problem where a DeRefOf operation on a buffer object incorrectly 
4387193267Sjkimfailed with an exception. This also fixes a couple of related RefOf and 
4388193267SjkimDeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4389167802Sjkim
4390193267SjkimFixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4391193267SjkimAE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
4392193267Sjkim5480)
4393167802Sjkim
4394193267SjkimImplemented a memory cleanup at the end of the execution of each iteration 
4395193267Sjkimof an AML While() loop, preventing the accumulation of outstanding objects. 
4396193267Sjkim(Valery Podrezov, BZ 5427)
4397167802Sjkim
4398193267SjkimEliminated a chunk of duplicate code in the object resolution code. (Valery 
4399193267SjkimPodrezov, BZ 5336)
4400167802Sjkim
4401167802SjkimFixed several warnings during the 64-bit code generation.
4402167802Sjkim
4403193267SjkimThe AcpiSrc source code conversion tool now inserts one line of whitespace 
4404193267Sjkimafter an if() statement that is followed immediately by a comment, improving 
4405193267Sjkimreadability of the Linux code.
4406167802Sjkim
4407193267SjkimCode and Data Size: The current and previous library sizes for the core 
4408193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4409193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4410193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4411193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4412193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4413193267Sjkimof the compiler and the compiler options used during generation.
4414167802Sjkim
4415167802Sjkim  Previous Release:
4416167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4417167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4418167802Sjkim  Current Release:
4419167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4420167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4421167802Sjkim
4422167802Sjkim
4423167802Sjkim2) iASL Compiler/Disassembler:
4424167802Sjkim
4425193267SjkimFixed a problem with the disassembly of a BankField operator with a complex 
4426193267Sjkimexpression for the BankValue parameter.
4427167802Sjkim
4428167802Sjkim----------------------------------------
4429167802Sjkim27 January 2006. Summary of changes for version 20060127:
4430167802Sjkim
4431167802Sjkim1) ACPI CA Core Subsystem:
4432167802Sjkim
4433193267SjkimImplemented support in the Resource Manager to allow unresolved namestring 
4434193267Sjkimreferences within resource package objects for the _PRT method. This support 
4435193267Sjkimis in addition to the previously implemented unresolved reference support 
4436193267Sjkimwithin the AML parser. If the interpreter slack mode is enabled, these 
4437193267Sjkimunresolved references will be passed through to the caller as a NULL package 
4438167802Sjkimentry.
4439167802Sjkim
4440193267SjkimImplemented and deployed new macros and functions for error and warning 
4441193267Sjkimmessages across the subsystem. These macros are simpler and generate less 
4442193267Sjkimcode than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4443193267SjkimACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4444193267Sjkimmacros remain defined to allow ACPI drivers time to migrate to the new 
4445193267Sjkimmacros.
4446167802Sjkim
4447193267SjkimImplemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4448193267SjkimAcquire/Release Lock OSL interfaces.
4449167802Sjkim
4450193267SjkimFixed a problem where Alias ASL operators are sometimes not correctly 
4451193267Sjkimresolved, in both the interpreter and the iASL compiler.
4452167802Sjkim
4453193267SjkimFixed several problems with the implementation of the ConcatenateResTemplate 
4454193267SjkimASL operator. As per the ACPI specification, zero length buffers are now 
4455193267Sjkimtreated as a single EndTag. One-length buffers always cause a fatal 
4456193267Sjkimexception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4457167802Sjkimcause a fatal exception.
4458167802Sjkim
4459193267SjkimFixed a possible structure overwrite in the AcpiGetObjectInfo external 
4460193267Sjkiminterface. (With assistance from Thomas Renninger)
4461167802Sjkim
4462193267SjkimCode and Data Size: The current and previous library sizes for the core 
4463193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4464193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4465193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4466193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4467193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4468193267Sjkimof the compiler and the compiler options used during generation.
4469167802Sjkim
4470167802Sjkim  Previous Release:
4471167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4472167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4473167802Sjkim  Current Release:
4474167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4475167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4476167802Sjkim
4477167802Sjkim
4478167802Sjkim2) iASL Compiler/Disassembler:
4479167802Sjkim
4480193267SjkimFixed an internal error that was generated for any forward references to ASL 
4481193267SjkimAlias objects.
4482167802Sjkim
4483167802Sjkim----------------------------------------
4484167802Sjkim13 January 2006. Summary of changes for version 20060113:
4485167802Sjkim
4486167802Sjkim1) ACPI CA Core Subsystem:
4487167802Sjkim
4488193267SjkimAdded 2006 copyright to all module headers and signons. This affects 
4489193267Sjkimvirtually every file in the ACPICA core subsystem, iASL compiler, and the 
4490193267Sjkimutilities.
4491193267Sjkim 
4492193267SjkimEnhanced the ACPICA error reporting in order to simplify user migration to 
4493193267Sjkimthe non-debug version of ACPICA. Replaced all instances of the 
4494193267SjkimACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4495193267Sjkimlevels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4496193267Sjkimrespectively. This preserves all error and warning messages in the non-debug 
4497193267Sjkimversion of the ACPICA code (this has been referred to as the "debug lite" 
4498193267Sjkimoption.) Over 200 cases were converted to create a total of over 380 
4499193267Sjkimerror/warning messages across the ACPICA code. This increases the code and 
4500193267Sjkimdata size of the default non-debug version of the code somewhat (about 13K), 
4501193267Sjkimbut all error/warning reporting may be disabled if desired (and code 
4502193267Sjkimeliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4503193267Sjkimconfiguration option. The size of the debug version of ACPICA remains about 
4504193267Sjkimthe same.
4505167802Sjkim
4506193267SjkimFixed a memory leak within the AML Debugger "Set" command. One object was 
4507193267Sjkimnot properly deleted for every successful invocation of the command.
4508167802Sjkim
4509193267SjkimCode and Data Size: The current and previous library sizes for the core 
4510193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4511193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4512193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4513193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4514193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4515193267Sjkimof the compiler and the compiler options used during generation.
4516167802Sjkim
4517167802Sjkim  Previous Release:
4518167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4519167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4520167802Sjkim  Current Release:
4521167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4522167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4523167802Sjkim
4524167802Sjkim
4525167802Sjkim2) iASL Compiler/Disassembler:
4526167802Sjkim
4527193267SjkimThe compiler now officially supports the ACPI 3.0a specification that was 
4528193267Sjkimreleased on December 30, 2005. (Specification is available at www.acpi.info)
4529167802Sjkim
4530167802Sjkim----------------------------------------
4531167802Sjkim16 December 2005. Summary of changes for version 20051216:
4532167802Sjkim
4533167802Sjkim1) ACPI CA Core Subsystem:
4534167802Sjkim
4535193267SjkimImplemented optional support to allow unresolved names within ASL Package 
4536193267Sjkimobjects. A null object is inserted in the package when a named reference 
4537193267Sjkimcannot be located in the current namespace. Enabled via the interpreter 
4538193267Sjkimslack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4539193267Sjkimthat contain such code.
4540167802Sjkim
4541193267SjkimImplemented an optimization to the initialization sequence that can improve 
4542193267Sjkimboot time. During ACPI device initialization, the _STA method is now run if 
4543193267Sjkimand only if the _INI method exists. The _STA method is used to determine if 
4544193267Sjkimthe device is present; An _INI can only be run if _STA returns present, but 
4545193267Sjkimit is a waste of time to run the _STA method if the _INI does not exist. 
4546167802Sjkim(Prototype and assistance from Dong Wei)
4547167802Sjkim
4548193267SjkimImplemented use of the C99 uintptr_t for the pointer casting macros if it is 
4549193267Sjkimavailable in the current compiler. Otherwise, the default (void *) cast is 
4550193267Sjkimused as before.
4551167802Sjkim
4552193267SjkimFixed some possible memory leaks found within the execution path of the 
4553193267SjkimBreak, Continue, If, and CreateField operators. (Valery Podrezov)
4554167802Sjkim
4555193267SjkimFixed a problem introduced in the 20051202 release where an exception is 
4556193267Sjkimgenerated during method execution if a control method attempts to declare 
4557193267Sjkimanother method.
4558167802Sjkim
4559193267SjkimMoved resource descriptor string constants that are used by both the AML 
4560193267Sjkimdisassembler and AML debugger to the common utilities directory so that 
4561193267Sjkimthese components are independent.
4562167802Sjkim
4563193267SjkimImplemented support in the AcpiExec utility (-e switch) to globally ignore 
4564193267Sjkimexceptions during control method execution (method is not aborted.)
4565167802Sjkim
4566193267SjkimAdded the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4567193267Sjkimgeneration.
4568167802Sjkim
4569193267SjkimCode and Data Size: The current and previous library sizes for the core 
4570193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4571193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4572193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4573193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4574193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4575193267Sjkimof the compiler and the compiler options used during generation.
4576167802Sjkim
4577167802Sjkim  Previous Release:
4578167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4579167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4580167802Sjkim  Current Release:
4581167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4582167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4583167802Sjkim
4584167802Sjkim
4585167802Sjkim2) iASL Compiler/Disassembler:
4586167802Sjkim
4587193267SjkimFixed a problem where a CPU stack overflow fault could occur if a recursive 
4588193267Sjkimmethod call was made from within a Return statement.
4589167802Sjkim
4590167802Sjkim----------------------------------------
4591167802Sjkim02 December 2005. Summary of changes for version 20051202:
4592167802Sjkim
4593167802Sjkim1) ACPI CA Core Subsystem:
4594167802Sjkim
4595193267SjkimModified the parsing of control methods to no longer create namespace 
4596193267Sjkimobjects during the first pass of the parse. Objects are now created only 
4597193267Sjkimduring the execute phase, at the moment the namespace creation operator is 
4598193267Sjkimencountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4599193267Sjkimshould eliminate ALREADY_EXISTS exceptions seen on some machines where 
4600193267Sjkimreentrant control methods are protected by an AML mutex. The mutex will now 
4601193267Sjkimcorrectly block multiple threads from attempting to create the same object 
4602193267Sjkimmore than once.
4603167802Sjkim
4604193267SjkimIncreased the number of available Owner Ids for namespace object tracking 
4605193267Sjkimfrom 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4606193267Sjkimsome machines with a large number of ACPI tables (either static or dynamic).
4607167802Sjkim
4608193267SjkimFixed a problem with the AcpiExec utility where a fault could occur when the 
4609193267Sjkim-b switch (batch mode) is used.
4610167802Sjkim
4611193267SjkimEnhanced the namespace dump routine to output the owner ID for each 
4612193267Sjkimnamespace object.
4613167802Sjkim
4614193267SjkimCode and Data Size: The current and previous library sizes for the core 
4615193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4616193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4617193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4618193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4619193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4620193267Sjkimof the compiler and the compiler options used during generation.
4621167802Sjkim
4622167802Sjkim  Previous Release:
4623167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4624167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4625167802Sjkim  Current Release:
4626167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4627167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4628167802Sjkim
4629167802Sjkim
4630167802Sjkim2) iASL Compiler/Disassembler:
4631167802Sjkim
4632193267SjkimFixed a parse error during compilation of certain Switch/Case constructs. To 
4633193267Sjkimsimplify the parse, the grammar now allows for multiple Default statements 
4634193267Sjkimand this error is now detected and flagged during the analysis phase.
4635167802Sjkim
4636193267SjkimDisassembler: The disassembly now includes the contents of the original 
4637193267Sjkimtable header within a comment at the start of the file. This includes the 
4638193267Sjkimname and version of the original ASL compiler.
4639167802Sjkim
4640167802Sjkim----------------------------------------
4641167802Sjkim17 November 2005. Summary of changes for version 20051117:
4642167802Sjkim
4643167802Sjkim1) ACPI CA Core Subsystem:
4644167802Sjkim
4645193267SjkimFixed a problem in the AML parser where the method thread count could be 
4646193267Sjkimdecremented below zero if any errors occurred during the method parse phase. 
4647193267SjkimThis should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
4648193267SjkimThis also fixed a related regression with the mechanism that detects and 
4649193267Sjkimcorrects methods that cannot properly handle reentrancy (related to the 
4650193267Sjkimdeployment of the new OwnerId mechanism.)
4651167802Sjkim
4652193267SjkimEliminated the pre-parsing of control methods (to detect errors) during 
4653193267Sjkimtable load. Related to the problem above, this was causing unwind issues if 
4654193267Sjkimany errors occurred during the parse, and it seemed to be overkill. A table 
4655193267Sjkimload should not be aborted if there are problems with any single control 
4656193267Sjkimmethod, thus rendering this feature rather pointless.
4657167802Sjkim
4658193267SjkimFixed a problem with the new table-driven resource manager where an internal 
4659193267Sjkimbuffer overflow could occur for small resource templates.
4660167802Sjkim
4661193267SjkimImplemented a new external interface, AcpiGetVendorResource. This interface 
4662193267Sjkimwill find and return a vendor-defined resource descriptor within a _CRS or 
4663193267Sjkim_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
4664167802Sjkim
4665193267SjkimRemoved the length limit (200) on string objects as per the upcoming ACPI 
4666193267Sjkim3.0A specification. This affects the following areas of the interpreter: 1) 
4667193267Sjkimany implicit conversion of a Buffer to a String, 2) a String object result 
4668193267Sjkimof the ASL Concatentate operator, 3) the String object result of the ASL 
4669193267SjkimToString operator.
4670167802Sjkim
4671193267SjkimFixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
4672193267Sjkimon a semaphore object would incorrectly timeout. This allows the 
4673193267Sjkimmultithreading features of the AcpiExec utility to work properly under 
4674193267SjkimWindows.
4675167802Sjkim
4676193267SjkimUpdated the Linux makefiles for the iASL compiler and AcpiExec to include 
4677193267Sjkimthe recently added file named "utresrc.c".
4678167802Sjkim
4679193267SjkimCode and Data Size: The current and previous library sizes for the core 
4680193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4681193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4682193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4683193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4684193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4685193267Sjkimof the compiler and the compiler options used during generation.
4686167802Sjkim
4687167802Sjkim  Previous Release:
4688167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4689167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4690167802Sjkim  Current Release:
4691167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4692167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4693167802Sjkim
4694167802Sjkim
4695167802Sjkim2) iASL Compiler/Disassembler:
4696167802Sjkim
4697193267SjkimRemoved the limit (200) on string objects as per the upcoming ACPI 3.0A 
4698193267Sjkimspecification. For the iASL compiler, this means that string literals within 
4699193267Sjkimthe source ASL can be of any length. 
4700167802Sjkim
4701193267SjkimEnhanced the listing output to dump the AML code for resource descriptors 
4702193267Sjkimimmediately after the ASL code for each descriptor, instead of in a block at 
4703193267Sjkimthe end of the entire resource template.
4704167802Sjkim
4705193267SjkimEnhanced the compiler debug output to dump the entire original parse tree 
4706193267Sjkimconstructed during the parse phase, before any transforms are applied to the 
4707193267Sjkimtree. The transformed tree is dumped also.
4708167802Sjkim
4709167802Sjkim----------------------------------------
4710167802Sjkim02 November 2005. Summary of changes for version 20051102:
4711167802Sjkim
4712167802Sjkim1) ACPI CA Core Subsystem:
4713167802Sjkim
4714193267SjkimModified the subsystem initialization sequence to improve GPE support. The 
4715193267SjkimGPE initialization has been split into two parts in order to defer execution 
4716193267Sjkimof the _PRW methods (Power Resources for Wake) until after the hardware is 
4717193267Sjkimfully initialized and the SCI handler is installed. This allows the _PRW 
4718193267Sjkimmethods to access fields protected by the Global Lock. This will fix systems 
4719193267Sjkimwhere a NO_GLOBAL_LOCK exception has been seen during initialization.
4720167802Sjkim
4721193267SjkimConverted the ACPI internal object disassemble and display code within the 
4722193267SjkimAML debugger to fully table-driven operation, reducing code size and 
4723193267Sjkimincreasing maintainability.
4724167802Sjkim
4725193267SjkimFixed a regression with the ConcatenateResTemplate() ASL operator introduced 
4726193267Sjkimin the 20051021 release.
4727167802Sjkim
4728193267SjkimImplemented support for "local" internal ACPI object types within the 
4729193267Sjkimdebugger "Object" command and the AcpiWalkNamespace external interfaces. 
4730193267SjkimThese local types include RegionFields, BankFields, IndexFields, Alias, and 
4731193267Sjkimreference objects.
4732167802Sjkim
4733193267SjkimMoved common AML resource handling code into a new file, "utresrc.c". This 
4734193267Sjkimcode is shared by both the Resource Manager and the AML Debugger.
4735167802Sjkim
4736193267SjkimCode and Data Size: The current and previous library sizes for the core 
4737193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4738193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4739193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4740193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4741193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4742193267Sjkimof the compiler and the compiler options used during generation.
4743167802Sjkim
4744167802Sjkim  Previous Release:
4745167802Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4746167802Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4747167802Sjkim  Current Release:
4748167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4749167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4750167802Sjkim
4751167802Sjkim
4752167802Sjkim2) iASL Compiler/Disassembler:
4753167802Sjkim
4754193267SjkimFixed a problem with very large initializer lists (more than 4000 elements) 
4755193267Sjkimfor both Buffer and Package objects where the parse stack could overflow.
4756167802Sjkim
4757193267SjkimEnhanced the pre-compile source code scan for non-ASCII characters to ignore 
4758193267Sjkimcharacters within comment fields. The scan is now always performed and is no 
4759193267Sjkimlonger optional, detecting invalid characters within a source file 
4760193267Sjkimimmediately rather than during the parse phase or later.
4761167802Sjkim
4762193267SjkimEnhanced the ASL grammar definition to force early reductions on all list-
4763193267Sjkimstyle grammar elements so that the overall parse stack usage is greatly 
4764193267Sjkimreduced. This should improve performance and reduce the possibility of parse 
4765193267Sjkimstack overflow.
4766167802Sjkim
4767193267SjkimEliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
4768193267Sjkimwith the addition of a %expected statement, the compiler generates from 
4769193267Sjkimsource with no warnings.
4770167802Sjkim
4771193267SjkimFixed a possible segment fault in the disassembler if the input filename 
4772193267Sjkimdoes not contain a "dot" extension (Thomas Renninger).
4773167802Sjkim
4774167802Sjkim----------------------------------------
4775151937Sjkim21 October 2005. Summary of changes for version 20051021:
4776151937Sjkim
4777151937Sjkim1) ACPI CA Core Subsystem:
4778151937Sjkim
4779193267SjkimImplemented support for the EM64T and other x86-64 processors. This 
4780193267Sjkimessentially entails recognizing that these processors support non-aligned 
4781193267Sjkimmemory transfers. Previously, all 64-bit processors were assumed to lack 
4782193267Sjkimhardware support for non-aligned transfers.
4783151937Sjkim
4784193267SjkimCompleted conversion of the Resource Manager to nearly full table-driven 
4785193267Sjkimoperation. Specifically, the resource conversion code (convert AML to 
4786193267Sjkiminternal format and the reverse) and the debug code to dump internal 
4787193267Sjkimresource descriptors are fully table-driven, reducing code and data size and 
4788193267Sjkimimproving maintainability.
4789151937Sjkim
4790193267SjkimThe OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
4791193267Sjkimon 64-bit processors instead of a fixed 32-bit word. (With assistance from 
4792193267SjkimAlexey Starikovskiy)
4793151937Sjkim
4794193267SjkimImplemented support within the resource conversion code for the Type-
4795193267SjkimSpecific byte within the various ACPI 3.0 *WordSpace macros.
4796151937Sjkim
4797193267SjkimFixed some issues within the resource conversion code for the type-specific 
4798193267Sjkimflags for both Memory and I/O address resource descriptors. For Memory, 
4799193267Sjkimimplemented support for the MTP and TTP flags. For I/O, split the TRS and 
4800193267SjkimTTP flags into two separate fields.
4801151937Sjkim
4802193267SjkimCode and Data Size: The current and previous library sizes for the core 
4803193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4804193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4805193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4806193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4807193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4808193267Sjkimof the compiler and the compiler options used during generation.
4809151937Sjkim
4810151937Sjkim  Previous Release:
4811151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4812151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4813151937Sjkim  Current Release:
4814151937Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4815151937Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4816151937Sjkim
4817151937Sjkim
4818167802Sjkim
4819151937Sjkim2) iASL Compiler/Disassembler:
4820151937Sjkim
4821193267SjkimRelaxed a compiler restriction that disallowed a ResourceIndex byte if the 
4822193267Sjkimcorresponding ResourceSource string was not also present in a resource 
4823193267Sjkimdescriptor declaration. This restriction caused problems with existing 
4824193267SjkimAML/ASL code that includes the Index byte without the string. When such AML 
4825193267Sjkimwas disassembled, it could not be compiled without modification. Further, 
4826193267Sjkimthe modified code created a resource template with a different size than the 
4827193267Sjkimoriginal, breaking code that used fixed offsets into the resource template 
4828193267Sjkimbuffer.
4829151937Sjkim
4830193267SjkimRemoved a recent feature of the disassembler to ignore a lone ResourceIndex 
4831193267Sjkimbyte. This byte is now emitted if present so that the exact AML can be 
4832193267Sjkimreproduced when the disassembled code is recompiled.
4833151937Sjkim
4834193267SjkimImproved comments and text alignment for the resource descriptor code 
4835193267Sjkimemitted by the disassembler.
4836151937Sjkim
4837193267SjkimImplemented disassembler support for the ACPI 3.0 AccessSize field within a 
4838193267SjkimRegister() resource descriptor.
4839151937Sjkim
4840151937Sjkim----------------------------------------
4841151937Sjkim30 September 2005. Summary of changes for version 20050930:
4842151937Sjkim
4843151937Sjkim1) ACPI CA Core Subsystem:
4844151937Sjkim
4845193267SjkimCompleted a major overhaul of the Resource Manager code - specifically, 
4846193267Sjkimoptimizations in the area of the AML/internal resource conversion code. The 
4847193267Sjkimcode has been optimized to simplify and eliminate duplicated code, CPU stack 
4848193267Sjkimuse has been decreased by optimizing function parameters and local 
4849193267Sjkimvariables, and naming conventions across the manager have been standardized 
4850193267Sjkimfor clarity and ease of maintenance (this includes function, parameter, 
4851193267Sjkimvariable, and struct/typedef names.) The update may force changes in some 
4852193267Sjkimdriver code, depending on how resources are handled by the host OS.
4853151937Sjkim
4854193267SjkimAll Resource Manager dispatch and information tables have been moved to a 
4855193267Sjkimsingle location for clarity and ease of maintenance. One new file was 
4856193267Sjkimcreated, named "rsinfo.c".
4857151937Sjkim
4858193267SjkimThe ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
4859193267Sjkimguarantee that the argument is not evaluated twice, making them less prone 
4860193267Sjkimto macro side-effects. However, since there exists the possibility of 
4861193267Sjkimadditional stack use if a particular compiler cannot optimize them (such as 
4862193267Sjkimin the debug generation case), the original macros are optionally available.  
4863193267SjkimNote that some invocations of the return_VALUE macro may now cause size 
4864193267Sjkimmismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
4865193267Sjkimeliminate these. (From Randy Dunlap)
4866151937Sjkim
4867193267SjkimImplemented a new mechanism to enable debug tracing for individual control 
4868193267Sjkimmethods. A new external interface, AcpiDebugTrace, is provided to enable 
4869193267Sjkimthis mechanism. The intent is to allow the host OS to easily enable and 
4870193267Sjkimdisable tracing for problematic control methods. This interface can be 
4871193267Sjkimeasily exposed to a user or debugger interface if desired. See the file 
4872151937Sjkimpsxface.c for details.
4873151937Sjkim
4874193267SjkimAcpiUtCallocate will now return a valid pointer if a length of zero is 
4875193267Sjkimspecified - a length of one is used and a warning is issued. This matches 
4876193267Sjkimthe behavior of AcpiUtAllocate.
4877151937Sjkim
4878193267SjkimCode and Data Size: The current and previous library sizes for the core 
4879193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4880193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4881193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4882193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4883193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4884193267Sjkimof the compiler and the compiler options used during generation.
4885151937Sjkim
4886151937Sjkim  Previous Release:
4887151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4888151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4889151937Sjkim  Current Release:
4890151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4891151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4892151937Sjkim
4893151937Sjkim
4894151937Sjkim2) iASL Compiler/Disassembler:
4895151937Sjkim
4896193267SjkimA remark is issued if the effective compile-time length of a package or 
4897193267Sjkimbuffer is zero. Previously, this was a warning.
4898151937Sjkim
4899151937Sjkim----------------------------------------
4900151937Sjkim16 September 2005. Summary of changes for version 20050916:
4901151937Sjkim
4902151937Sjkim1) ACPI CA Core Subsystem:
4903151937Sjkim
4904193267SjkimFixed a problem within the Resource Manager where support for the Generic 
4905193267SjkimRegister descriptor was not fully implemented. This descriptor is now fully 
4906193267Sjkimrecognized, parsed, disassembled, and displayed.
4907151937Sjkim
4908193267SjkimCompletely restructured the Resource Manager code to utilize table-driven 
4909193267Sjkimdispatch and lookup, eliminating many of the large switch() statements. This 
4910193267Sjkimreduces overall subsystem code size and code complexity. Affects the 
4911193267Sjkimresource parsing and construction, disassembly, and debug dump output.
4912151937Sjkim
4913193267SjkimCleaned up and restructured the debug dump output for all resource 
4914193267Sjkimdescriptors. Improved readability of the output and reduced code size.
4915151937Sjkim
4916193267SjkimFixed a problem where changes to internal data structures caused the 
4917193267Sjkimoptional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4918151937Sjkim
4919193267SjkimCode and Data Size: The current and previous library sizes for the core 
4920193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4921193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4922193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4923193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4924193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4925193267Sjkimof the compiler and the compiler options used during generation.
4926151937Sjkim
4927151937Sjkim  Previous Release:
4928151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4929151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4930151937Sjkim  Current Release:
4931151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4932151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4933151937Sjkim
4934151937Sjkim
4935151937Sjkim2) iASL Compiler/Disassembler:
4936151937Sjkim
4937193267SjkimUpdated the disassembler to automatically insert an EndDependentFn() macro 
4938193267Sjkiminto the ASL stream if this macro is missing in the original AML code, 
4939193267Sjkimsimplifying compilation of the resulting ASL module.
4940151937Sjkim
4941193267SjkimFixed a problem in the disassembler where a disassembled ResourceSource 
4942193267Sjkimstring (within a large resource descriptor) was not surrounded by quotes and 
4943193267Sjkimnot followed by a comma, causing errors when the resulting ASL module was 
4944193267Sjkimcompiled. Also, escape sequences within a ResourceSource string are now 
4945193267Sjkimhandled correctly (especially "\\")
4946151937Sjkim
4947151937Sjkim----------------------------------------
4948151937Sjkim02 September 2005. Summary of changes for version 20050902:
4949151937Sjkim
4950151937Sjkim1) ACPI CA Core Subsystem:
4951151937Sjkim
4952193267SjkimFixed a problem with the internal Owner ID allocation and deallocation 
4953193267Sjkimmechanisms for control method execution and recursive method invocation. 
4954193267SjkimThis should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
4955193267Sjkimmessages seen on some systems. Recursive method invocation depth is 
4956193267Sjkimcurrently limited to 255. (Alexey Starikovskiy)
4957151937Sjkim
4958193267SjkimCompletely eliminated all vestiges of support for the "module-level 
4959193267Sjkimexecutable code" until this support is fully implemented and debugged. This 
4960193267Sjkimshould eliminate the NO_RETURN_VALUE exceptions seen during table load on 
4961193267Sjkimsome systems that invoke this support.
4962151937Sjkim
4963193267SjkimFixed a problem within the resource manager code where the transaction flags 
4964193267Sjkimfor a 64-bit address descriptor were handled incorrectly in the type-
4965193267Sjkimspecific flag byte.
4966151937Sjkim
4967193267SjkimConsolidated duplicate code within the address descriptor resource manager 
4968193267Sjkimcode, reducing overall subsystem code size.
4969151937Sjkim
4970193267SjkimFixed a fault when using the AML debugger "disassemble" command to 
4971193267Sjkimdisassemble individual control methods.
4972151937Sjkim
4973193267SjkimRemoved references to the "release_current" directory within the Unix 
4974193267Sjkimrelease package.
4975151937Sjkim
4976193267SjkimCode and Data Size: The current and previous core subsystem library sizes 
4977193267Sjkimare shown below. These are the code and data sizes for the acpica.lib 
4978193267Sjkimproduced by the Microsoft Visual C++ 6.0 compiler. These values do not 
4979193267Sjkiminclude any ACPI driver or OSPM code. The debug version of the code includes 
4980193267Sjkimthe debug output trace mechanism and has a much larger code and data size. 
4981193267SjkimNote that these values will vary depending on the efficiency of the compiler 
4982193267Sjkimand the compiler options used during generation.
4983151937Sjkim
4984151937Sjkim  Previous Release:
4985151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4986151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4987151937Sjkim  Current Release:
4988151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4989151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4990151937Sjkim
4991151937Sjkim
4992151937Sjkim2) iASL Compiler/Disassembler:
4993151937Sjkim
4994193267SjkimImplemented an error check for illegal duplicate values in the interrupt and 
4995193267Sjkimdma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
4996193267SjkimInterrupt().
4997151937Sjkim
4998193267SjkimImplemented error checking for the Irq() and IrqNoFlags() macros to detect 
4999193267Sjkimtoo many values in the interrupt list (16 max) and invalid values in the 
5000193267Sjkimlist (range 0 - 15)
5001151937Sjkim
5002193267SjkimThe maximum length string literal within an ASL file is now restricted to 
5003193267Sjkim200 characters as per the ACPI specification.
5004151937Sjkim
5005193267SjkimFixed a fault when using the -ln option (generate namespace listing).
5006151937Sjkim
5007193267SjkimImplemented an error check to determine if a DescriptorName within a 
5008193267Sjkimresource descriptor has already been used within the current scope.
5009151937Sjkim
5010151937Sjkim----------------------------------------
5011151937Sjkim15 August 2005.  Summary of changes for version 20050815:
5012193267Sjkim 
5013151937Sjkim1) ACPI CA Core Subsystem:
5014193267Sjkim 
5015193267SjkimImplemented a full bytewise compare to determine if a table load request is 
5016193267Sjkimattempting to load a duplicate table. The compare is performed if the table 
5017193267Sjkimsignatures and table lengths match. This will allow different tables with 
5018193267Sjkimthe same OEM Table ID and revision to be loaded - probably against the ACPI 
5019193267Sjkimspecification, but discovered in the field nonetheless.
5020193267Sjkim 
5021193267SjkimAdded the changes.txt logfile to each of the zipped release packages.
5022193267Sjkim 
5023193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5024193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5025193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5026193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5027193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5028193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5029193267Sjkimthe compiler options used during generation.
5030193267Sjkim 
5031151937Sjkim  Previous Release:
5032151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5033151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5034151937Sjkim  Current Release:
5035151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5036151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5037193267Sjkim 
5038193267Sjkim 
5039151937Sjkim2) iASL Compiler/Disassembler:
5040193267Sjkim 
5041193267SjkimFixed a problem where incorrect AML code could be generated for Package 
5042193267Sjkimobjects if optimization is disabled (via the -oa switch).
5043193267Sjkim 
5044193267SjkimFixed a problem with where incorrect AML code is generated for variable-
5045193267Sjkimlength packages when the package length is not specified and the number of 
5046193267Sjkiminitializer values is greater than 255.
5047193267Sjkim 
5048151937Sjkim
5049151937Sjkim----------------------------------------
5050151937Sjkim29 July 2005.  Summary of changes for version 20050729:
5051151937Sjkim
5052151937Sjkim1) ACPI CA Core Subsystem:
5053151937Sjkim
5054193267SjkimImplemented support to ignore an attempt to install/load a particular ACPI 
5055193267Sjkimtable more than once. Apparently there exists BIOS code that repeatedly 
5056193267Sjkimattempts to load the same SSDT upon certain events. With assistance from 
5057193267SjkimVenkatesh Pallipadi.
5058151937Sjkim
5059193267SjkimRestructured the main interface to the AML parser in order to correctly 
5060193267Sjkimhandle all exceptional conditions. This will prevent leakage of the OwnerId 
5061193267Sjkimresource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5062193267Sjkimmachines. With assistance from Alexey Starikovskiy.
5063151937Sjkim
5064193267SjkimSupport for "module level code" has been disabled in this version due to a 
5065193267Sjkimnumber of issues that have appeared on various machines. The support can be 
5066193267Sjkimenabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5067193267Sjkimcompilation. When the issues are fully resolved, the code will be enabled by 
5068151937Sjkimdefault again.
5069151937Sjkim
5070193267SjkimModified the internal functions for debug print support to define the 
5071193267SjkimFunctionName parameter as a (const char *) for compatibility with compiler 
5072193267Sjkimbuilt-in macros such as __FUNCTION__, etc.
5073151937Sjkim
5074151937SjkimLinted the entire ACPICA source tree for both 32-bit and 64-bit.
5075151937Sjkim
5076193267SjkimImplemented support to display an object count summary for the AML Debugger 
5077193267Sjkimcommands Object and Methods.
5078151937Sjkim
5079193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5080193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5081193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5082193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5083193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5084193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5085193267Sjkimthe compiler options used during generation.
5086151937Sjkim
5087151937Sjkim  Previous Release:
5088151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5089151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5090151937Sjkim  Current Release:
5091151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5092151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5093151937Sjkim
5094151937Sjkim
5095151937Sjkim2) iASL Compiler/Disassembler:
5096151937Sjkim
5097193267SjkimFixed a regression that appeared in the 20050708 version of the compiler 
5098193267Sjkimwhere an error message was inadvertently emitted for invocations of the _OSI 
5099193267Sjkimreserved control method.
5100151937Sjkim
5101151937Sjkim----------------------------------------
5102151937Sjkim08 July 2005.  Summary of changes for version 20050708:
5103151937Sjkim
5104151937Sjkim1) ACPI CA Core Subsystem:
5105151937Sjkim
5106193267SjkimThe use of the CPU stack in the debug version of the subsystem has been 
5107193267Sjkimconsiderably reduced. Previously, a debug structure was declared in every 
5108193267Sjkimfunction that used the debug macros. This structure has been removed in 
5109193267Sjkimfavor of declaring the individual elements as parameters to the debug 
5110193267Sjkimfunctions. This reduces the cumulative stack use during nested execution of 
5111193267SjkimACPI function calls at the cost of a small increase in the code size of the 
5112193267Sjkimdebug version of the subsystem. With assistance from Alexey Starikovskiy and 
5113193267SjkimLen Brown.
5114151937Sjkim
5115193267SjkimAdded the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5116193267Sjkimheaders to define a macro that will return the current function name at 
5117193267Sjkimruntime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5118193267Sjkimthe debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5119193267Sjkimcompiler-dependent header, the function name is saved on the CPU stack (one 
5120193267Sjkimpointer per function.) This mechanism is used because apparently there 
5121193267Sjkimexists no standard ANSI-C defined macro that that returns the function name.
5122151937Sjkim
5123193267SjkimRedesigned and reimplemented the "Owner ID" mechanism used to track 
5124193267Sjkimnamespace objects created/deleted by ACPI tables and control method 
5125193267Sjkimexecution. A bitmap is now used to allocate and free the IDs, thus solving 
5126193267Sjkimthe wraparound problem present in the previous implementation. The size of 
5127193267Sjkimthe namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5128151937SjkimStarikovskiy).
5129151937Sjkim
5130193267SjkimRemoved the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5131193267Sjkimflag definitions within the headers for the predefined ACPI tables. These 
5132193267Sjkimhave been replaced by UINT8_BIT in order to increase the code portability of 
5133193267Sjkimthe subsystem. If the use of UINT8 remains a problem, we may be forced to 
5134193267Sjkimeliminate bitfields entirely because of a lack of portability.
5135151937Sjkim
5136193267SjkimEnhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5137193267Sjkimis a frequently used function and this improvement increases the performance 
5138193267Sjkimof the entire subsystem (Alexey Starikovskiy).
5139151937Sjkim
5140193267SjkimFixed several possible memory leaks and the inverse - premature object 
5141193267Sjkimdeletion (Alexey Starikovskiy).
5142151937Sjkim
5143193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5144193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5145193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5146193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5147193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5148193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5149193267Sjkimthe compiler options used during generation.
5150151937Sjkim
5151151937Sjkim  Previous Release:
5152151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5153151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5154151937Sjkim  Current Release:
5155151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5156151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5157151937Sjkim
5158151937Sjkim----------------------------------------
5159151937Sjkim24 June 2005.  Summary of changes for version 20050624:
5160151937Sjkim
5161151937Sjkim1) ACPI CA Core Subsystem:
5162151937Sjkim
5163193267SjkimModified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5164193267Sjkimthe host-defined cache object. This allows the OSL implementation to define 
5165193267Sjkimand type this object in any manner desired, simplifying the OSL 
5166193267Sjkimimplementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5167193267SjkimLinux, and should be defined in the OS-specific header file for other 
5168193267Sjkimoperating systems as required.
5169151937Sjkim
5170193267SjkimChanged the interface to AcpiOsAcquireObject to directly return the 
5171193267Sjkimrequested object as the function return (instead of ACPI_STATUS.) This 
5172193267Sjkimchange was made for performance reasons, since this is the purpose of the 
5173193267Sjkiminterface in the first place. AcpiOsAcquireObject is now similar to the 
5174193267SjkimAcpiOsAllocate interface.
5175151937Sjkim
5176193267SjkimImplemented a new AML debugger command named Businfo. This command displays 
5177193267Sjkiminformation about all devices that have an associate _PRT object. The _ADR, 
5178193267Sjkim_HID, _UID, and _CID are displayed for these devices.
5179151937Sjkim
5180193267SjkimModified the initialization sequence in AcpiInitializeSubsystem to call the 
5181193267SjkimOSL interface AcpiOslInitialize first, before any local initialization. This 
5182193267Sjkimchange was required because the global initialization now calls OSL 
5183193267Sjkiminterfaces.
5184151937Sjkim
5185193267SjkimEnhanced the Dump command to display the entire contents of Package objects 
5186193267Sjkim(including all sub-objects and their values.) 
5187151937Sjkim
5188193267SjkimRestructured the code base to split some files because of size and/or 
5189193267Sjkimbecause the code logically belonged in a separate file. New files are listed 
5190193267Sjkimbelow. All makefiles and project files included in the ACPI CA release have 
5191193267Sjkimbeen updated.
5192151937Sjkim    utilities/utcache.c           /* Local cache interfaces */
5193151937Sjkim    utilities/utmutex.c           /* Local mutex support */
5194151937Sjkim    utilities/utstate.c           /* State object support */
5195151937Sjkim    interpreter/parser/psloop.c   /* Main AML parse loop */
5196151937Sjkim
5197193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5198193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5199193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5200193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5201193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5202193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5203193267Sjkimthe compiler options used during generation.
5204151937Sjkim
5205151937Sjkim  Previous Release:
5206151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5207151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5208151937Sjkim  Current Release:
5209151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5210151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5211151937Sjkim
5212151937Sjkim
5213151937Sjkim2) iASL Compiler/Disassembler:
5214151937Sjkim
5215193267SjkimFixed a regression introduced in version 20050513 where the use of a Package 
5216193267Sjkimobject within a Case() statement caused a compile time exception. The 
5217193267Sjkimoriginal behavior has been restored (a Match() operator is emitted.)
5218151937Sjkim
5219151937Sjkim----------------------------------------
5220151937Sjkim17 June 2005.  Summary of changes for version 20050617:
5221151937Sjkim
5222151937Sjkim1) ACPI CA Core Subsystem:
5223151937Sjkim
5224193267SjkimMoved the object cache operations into the OS interface layer (OSL) to allow 
5225193267Sjkimthe host OS to handle these operations if desired (for example, the Linux 
5226193267SjkimOSL will invoke the slab allocator). This support is optional; the compile 
5227193267Sjkimtime define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5228193267Sjkimcode in the ACPI CA core. The new OSL interfaces are shown below. See 
5229193267Sjkimutalloc.c for an example implementation, and acpiosxf.h for the exact 
5230193267Sjkiminterface definitions. With assistance from Alexey Starikovskiy.
5231151937Sjkim    AcpiOsCreateCache
5232151937Sjkim    AcpiOsDeleteCache
5233151937Sjkim    AcpiOsPurgeCache
5234151937Sjkim    AcpiOsAcquireObject
5235151937Sjkim    AcpiOsReleaseObject
5236151937Sjkim
5237193267SjkimModified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5238193267Sjkimand restore a flags parameter. This fits better with many OS lock models. 
5239193267SjkimNote: the current execution state (interrupt handler or not) is no longer 
5240193267Sjkimpassed to these interfaces. If necessary, the OSL must determine this state 
5241193267Sjkimby itself, a simple and fast operation. With assistance from Alexey 
5242151937SjkimStarikovskiy.
5243151937Sjkim
5244193267SjkimFixed a problem in the ACPI table handling where a valid XSDT was assumed 
5245193267Sjkimpresent if the revision of the RSDP was 2 or greater. According to the ACPI 
5246193267Sjkimspecification, the XSDT is optional in all cases, and the table manager 
5247193267Sjkimtherefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5248193267SjkimOtherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5249193267Sjkimonly the RSDT.
5250151937Sjkim
5251193267SjkimFixed an interpreter problem with the Mid() operator in the case of an input 
5252193267Sjkimstring where the resulting output string is of zero length. It now correctly 
5253193267Sjkimreturns a valid, null terminated string object instead of a string object 
5254193267Sjkimwith a null pointer.
5255151937Sjkim
5256193267SjkimFixed a problem with the control method argument handling to allow a store 
5257193267Sjkimto an Arg object that already contains an object of type Device. The Device 
5258193267Sjkimobject is now correctly overwritten. Previously, an error was returned.
5259151937Sjkim
5260167802Sjkim
5261193267SjkimEnhanced the debugger Find command to emit object values in addition to the 
5262193267Sjkimfound object pathnames. The output format is the same as the dump namespace 
5263193267Sjkimcommand.
5264151937Sjkim
5265193267SjkimEnhanced the debugger Set command. It now has the ability to set the value 
5266193267Sjkimof any Named integer object in the namespace (Previously, only method locals 
5267193267Sjkimand args could be set.)
5268151937Sjkim
5269193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5270193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5271193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5272193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5273193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5274193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5275193267Sjkimthe compiler options used during generation.
5276151937Sjkim
5277151937Sjkim  Previous Release:
5278151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5279151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5280151937Sjkim  Current Release:
5281151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5282151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5283151937Sjkim
5284151937Sjkim
5285151937Sjkim2) iASL Compiler/Disassembler:
5286151937Sjkim
5287193267SjkimFixed a regression in the disassembler where if/else/while constructs were 
5288193267Sjkimoutput incorrectly. This problem was introduced in the previous release 
5289193267Sjkim(20050526). This problem also affected the single-step disassembly in the 
5290193267Sjkimdebugger.
5291151937Sjkim
5292193267SjkimFixed a problem where compiling the reserved _OSI method would randomly (but 
5293193267Sjkimrarely) produce compile errors.
5294151937Sjkim
5295193267SjkimEnhanced the disassembler to emit compilable code in the face of incorrect 
5296193267SjkimAML resource descriptors. If the optional ResourceSourceIndex is present, 
5297193267Sjkimbut the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5298193267Sjkimdisassembly. Otherwise, the resulting code cannot be compiled without 
5299193267Sjkimerrors.
5300151937Sjkim
5301151937Sjkim----------------------------------------
5302151937Sjkim26 May 2005.  Summary of changes for version 20050526:
5303151937Sjkim
5304151937Sjkim1) ACPI CA Core Subsystem:
5305151937Sjkim
5306193267SjkimImplemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5307193267Sjkimthe module level (not within a control method.) These opcodes are executed 
5308193267Sjkimexactly once at the time the table is loaded. This type of code was legal up 
5309193267Sjkimuntil the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5310193267Sjkimorder to provide backwards compatibility with earlier BIOS implementations. 
5311193267SjkimThis eliminates the "Encountered executable code at module level" warning 
5312193267Sjkimthat was previously generated upon detection of such code.
5313151937Sjkim
5314193267SjkimFixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5315193267Sjkiminadvertently be generated during the lookup of namespace objects in the 
5316193267Sjkimsecond pass parse of ACPI tables and control methods. It appears that this 
5317193267Sjkimproblem could occur during the resolution of forward references to namespace 
5318193267Sjkimobjects.
5319151937Sjkim
5320193267SjkimAdded the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5321193267Sjkimcorresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5322193267Sjkimallows the deadlock detection debug code to be compiled out in the normal 
5323193267Sjkimcase, improving mutex performance (and overall subsystem performance) 
5324193267Sjkimconsiderably.
5325151937Sjkim
5326193267SjkimImplemented a handful of miscellaneous fixes for possible memory leaks on 
5327193267Sjkimerror conditions and error handling control paths. These fixes were 
5328193267Sjkimsuggested by FreeBSD and the Coverity Prevent source code analysis tool.
5329151937Sjkim
5330193267SjkimAdded a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5331193267Sjkimto prevent a fault in this error case.
5332151937Sjkim
5333193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5334193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5335193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5336193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5337193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5338193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5339193267Sjkimthe compiler options used during generation.
5340151937Sjkim
5341151937Sjkim  Previous Release:
5342151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5343151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5344151937Sjkim  Current Release:
5345151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5346151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5347151937Sjkim
5348151937Sjkim
5349151937Sjkim2) iASL Compiler/Disassembler:
5350151937Sjkim
5351193267SjkimImplemented support to allow Type 1 and Type 2 ASL operators to appear at 
5352193267Sjkimthe module level (not within a control method.) These operators will be 
5353193267Sjkimexecuted once at the time the table is loaded. This type of code was legal 
5354193267Sjkimup until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5355193267Sjkimcompiler in order to provide backwards compatibility with earlier BIOS ASL 
5356193267Sjkimcode.
5357151937Sjkim
5358193267SjkimThe ACPI integer width (specified via the table revision ID or the -r 
5359193267Sjkimoverride, 32 or 64 bits) is now used internally during compile-time constant 
5360193267Sjkimfolding to ensure that constants are truncated to 32 bits if necessary. 
5361193267SjkimPreviously, the revision ID value was only emitted in the AML table header.
5362151937Sjkim
5363193267SjkimAn error message is now generated for the Mutex and Method operators if the 
5364193267SjkimSyncLevel parameter is outside the legal range of 0 through 15.
5365151937Sjkim
5366193267SjkimFixed a problem with the Method operator ParameterTypes list handling (ACPI 
5367193267Sjkim3.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5368193267SjkimThe actual underlying implementation of method argument typechecking is 
5369193267Sjkimstill under development, however.
5370151937Sjkim
5371151937Sjkim----------------------------------------
5372151937Sjkim13 May 2005.  Summary of changes for version 20050513:
5373151937Sjkim
5374151937Sjkim1) ACPI CA Core Subsystem:
5375151937Sjkim
5376193267SjkimImplemented support for PCI Express root bridges -- added support for device 
5377193267SjkimPNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5378151937Sjkim
5379193267SjkimThe interpreter now automatically truncates incoming 64-bit constants to 32 
5380193267Sjkimbits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5381193267Sjkimalso affects the iASL compiler constant folding. (Note: as per below, the 
5382193267SjkimiASL compiler no longer allows 64-bit constants within 32-bit tables.)
5383151937Sjkim
5384193267SjkimFixed a problem where string and buffer objects with "static" pointers 
5385193267Sjkim(pointers to initialization data within an ACPI table) were not handled 
5386193267Sjkimconsistently. The internal object copy operation now always copies the data 
5387193267Sjkimto a newly allocated buffer, regardless of whether the source object is 
5388193267Sjkimstatic or not.
5389151937Sjkim
5390193267SjkimFixed a problem with the FromBCD operator where an implicit result 
5391193267Sjkimconversion was improperly performed while storing the result to the target 
5392193267Sjkimoperand. Since this is an "explicit conversion" operator, the implicit 
5393193267Sjkimconversion should never be performed on the output.
5394151937Sjkim
5395193267SjkimFixed a problem with the CopyObject operator where a copy to an existing 
5396193267Sjkimnamed object did not always completely overwrite the existing object stored 
5397193267Sjkimat name. Specifically, a buffer-to-buffer copy did not delete the existing 
5398193267Sjkimbuffer.
5399151937Sjkim
5400193267SjkimReplaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5401193267Sjkimstructs for consistency.
5402151937Sjkim
5403193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5404193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5405193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5406193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5407193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5408193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5409193267Sjkimthe compiler options used during generation.
5410151937Sjkim
5411151937Sjkim  Previous Release:
5412151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5413151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5414151937Sjkim  Current Release: (Same sizes)
5415151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5416151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5417151937Sjkim
5418151937Sjkim
5419151937Sjkim2) iASL Compiler/Disassembler:
5420151937Sjkim
5421193267SjkimThe compiler now emits a warning if an attempt is made to generate a 64-bit 
5422193267Sjkiminteger constant from within a 32-bit ACPI table (Revision < 2). The integer 
5423193267Sjkimis truncated to 32 bits.
5424151937Sjkim
5425193267SjkimFixed a problem with large package objects: if the static length of the 
5426193267Sjkimpackage is greater than 255, the "variable length package" opcode is 
5427193267Sjkimemitted. Previously, this caused an error. This requires an update to the 
5428193267SjkimACPI spec, since it currently (incorrectly) states that packages larger than 
5429193267Sjkim255 elements are not allowed.
5430151937Sjkim
5431193267SjkimThe disassembler now correctly handles variable length packages and packages 
5432193267Sjkimlarger than 255 elements.
5433151937Sjkim
5434151937Sjkim----------------------------------------
5435151937Sjkim08 April 2005.  Summary of changes for version 20050408:
5436151937Sjkim
5437151937Sjkim1) ACPI CA Core Subsystem:
5438151937Sjkim
5439193267SjkimFixed three cases in the interpreter where an "index" argument to an ASL 
5440193267Sjkimfunction was still (internally) 32 bits instead of the required 64 bits. 
5441193267SjkimThis was the Index argument to the Index, Mid, and Match operators.
5442151937Sjkim
5443193267SjkimThe "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5444193267Sjkimnot a POSIX-defined function and not present in most kernel-level C 
5445193267Sjkimlibraries. All references to the C library strupr function have been removed 
5446193267Sjkimfrom the headers.
5447151937Sjkim
5448193267SjkimCompleted the deployment of static functions/prototypes. All prototypes with 
5449193267Sjkimthe static attribute have been moved from the headers to the owning C file.
5450151937Sjkim
5451193267SjkimImplemented an extract option (-e) for the AcpiBin utility (AML binary 
5452193267Sjkimutility). This option allows the utility to extract individual ACPI tables 
5453193267Sjkimfrom the output of AcpiDmp. It provides the same functionality of the 
5454193267Sjkimacpixtract.pl perl script without the worry of setting the correct perl 
5455193267Sjkimoptions. AcpiBin runs on Windows and has not yet been generated/validated in 
5456193267Sjkimthe Linux/Unix environment (but should be soon).
5457193267Sjkim 
5458193267SjkimUpdated and fixed the table dump option for AcpiBin (-d). This option 
5459193267Sjkimconverts a single ACPI table to a hex/ascii file, similar to the output of 
5460193267SjkimAcpiDmp.
5461151937Sjkim
5462193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5463193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5464193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5465193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5466193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5467193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5468193267Sjkimthe compiler options used during generation.
5469151937Sjkim
5470151937Sjkim  Previous Release:
5471151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5472151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5473151937Sjkim  Current Release:
5474151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5475151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5476151937Sjkim
5477151937Sjkim
5478151937Sjkim2) iASL Compiler/Disassembler:
5479151937Sjkim
5480193267SjkimDisassembler fix: Added a check to ensure that the table length found in the 
5481193267SjkimACPI table header within the input file is not longer than the actual input 
5482193267Sjkimfile size. This indicates some kind of file or table corruption.
5483151937Sjkim
5484151937Sjkim----------------------------------------
5485151937Sjkim29 March 2005.  Summary of changes for version 20050329:
5486151937Sjkim
5487151937Sjkim1) ACPI CA Core Subsystem:
5488151937Sjkim
5489193267SjkimAn error is now generated if an attempt is made to create a Buffer Field of 
5490193267Sjkimlength zero (A CreateField with a length operand of zero.)
5491151937Sjkim
5492193267SjkimThe interpreter now issues a warning whenever executable code at the module 
5493193267Sjkimlevel is detected during ACPI table load. This will give some idea of the 
5494193267Sjkimprevalence of this type of code.
5495151937Sjkim
5496193267SjkimImplemented support for references to named objects (other than control 
5497193267Sjkimmethods) within package objects.
5498151937Sjkim
5499193267SjkimEnhanced package object output for the debug object. Package objects are now 
5500193267Sjkimcompletely dumped, showing all elements.
5501151937Sjkim
5502193267SjkimEnhanced miscellaneous object output for the debug object. Any object can 
5503193267Sjkimnow be written to the debug object (for example, a device object can be 
5504193267Sjkimwritten, and the type of the object will be displayed.)
5505151937Sjkim
5506193267SjkimThe "static" qualifier has been added to all local functions across both the 
5507193267Sjkimcore subsystem and the iASL compiler.
5508151937Sjkim
5509193267SjkimThe number of "long" lines (> 80 chars) within the source has been 
5510193267Sjkimsignificantly reduced, by about 1/3.
5511151937Sjkim
5512193267SjkimCleaned up all header files to ensure that all CA/iASL functions are 
5513193267Sjkimprototyped (even static functions) and the formatting is consistent.
5514151937Sjkim
5515151937SjkimTwo new header files have been added, acopcode.h and acnames.h.
5516151937Sjkim
5517151937SjkimRemoved several obsolete functions that were no longer used.
5518151937Sjkim
5519193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5520193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5521193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5522193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5523193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5524193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5525193267Sjkimthe compiler options used during generation.
5526151937Sjkim
5527151937Sjkim  Previous Release:
5528151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5529151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5530151937Sjkim  Current Release:
5531151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5532151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5533151937Sjkim
5534151937Sjkim
5535167802Sjkim
5536151937Sjkim2) iASL Compiler/Disassembler:
5537151937Sjkim
5538193267SjkimFixed a problem with the resource descriptor generation/support. For the 
5539193267SjkimResourceSourceIndex and the ResourceSource fields, both must be present, or 
5540193267Sjkimboth must be not present - can't have one without the other.
5541151937Sjkim
5542193267SjkimThe compiler now returns non-zero from the main procedure if any errors have 
5543193267Sjkimoccurred during the compilation.
5544151937Sjkim
5545151937Sjkim
5546151937Sjkim----------------------------------------
5547151937Sjkim09 March 2005.  Summary of changes for version 20050309:
5548151937Sjkim
5549151937Sjkim1) ACPI CA Core Subsystem:
5550151937Sjkim
5551193267SjkimThe string-to-buffer implicit conversion code has been modified again after 
5552193267Sjkima change to the ACPI specification.  In order to match the behavior of the 
5553193267Sjkimother major ACPI implementation, the target buffer is no longer truncated if 
5554193267Sjkimthe source string is smaller than an existing target buffer. This change 
5555193267Sjkimrequires an update to the ACPI spec, and should eliminate the recent 
5556151937SjkimAE_AML_BUFFER_LIMIT issues.
5557151937Sjkim
5558193267SjkimThe "implicit return" support was rewritten to a new algorithm that solves 
5559193267Sjkimthe general case. Rather than attempt to determine when a method is about to 
5560193267Sjkimexit, the result of every ASL operator is saved momentarily until the very 
5561193267Sjkimnext ASL operator is executed. Therefore, no matter how the method exits, 
5562193267Sjkimthere will always be a saved implicit return value. This feature is only 
5563193267Sjkimenabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5564193267SjkimAE_AML_NO_RETURN_VALUE errors when enabled.
5565151937Sjkim
5566193267SjkimImplemented implicit conversion support for the predicate (operand) of the 
5567193267SjkimIf, Else, and While operators. String and Buffer arguments are automatically 
5568193267Sjkimconverted to Integers.
5569151937Sjkim
5570193267SjkimChanged the string-to-integer conversion behavior to match the new ACPI 
5571193267Sjkimerrata: "If no integer object exists, a new integer is created. The ASCII 
5572193267Sjkimstring is interpreted as a hexadecimal constant. Each string character is 
5573193267Sjkiminterpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5574193267Sjkimwith the first character as the most significant digit, and ending with the 
5575193267Sjkimfirst non-hexadecimal character or end-of-string." This means that the first 
5576193267Sjkimnon-hex character terminates the conversion and this is the code that was 
5577193267Sjkimchanged.
5578151937Sjkim
5579193267SjkimFixed a problem where the ObjectType operator would fail (fault) when used 
5580193267Sjkimon an Index of a Package which pointed to a null package element. The 
5581193267Sjkimoperator now properly returns zero (Uninitialized) in this case.
5582151937Sjkim
5583193267SjkimFixed a problem where the While operator used excessive memory by not 
5584193267Sjkimproperly popping the result stack during execution. There was no memory leak 
5585193267Sjkimafter execution, however. (Code provided by Valery Podrezov.)
5586151937Sjkim
5587193267SjkimFixed a problem where references to control methods within Package objects 
5588193267Sjkimcaused the method to be invoked, instead of producing a reference object 
5589193267Sjkimpointing to the method.
5590151937Sjkim
5591193267SjkimRestructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5592193267Sjkimimprove performance and reduce code size. (Code provided by Alexey 
5593193267SjkimStarikovskiy.)
5594151937Sjkim
5595193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5596193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5597193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5598193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5599193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5600193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5601193267Sjkimthe compiler options used during generation.
5602151937Sjkim
5603151937Sjkim  Previous Release:
5604151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5605151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5606151937Sjkim  Current Release:
5607151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5608151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5609151937Sjkim
5610151937Sjkim
5611151937Sjkim2) iASL Compiler/Disassembler:
5612151937Sjkim
5613193267SjkimFixed a problem with the Return operator with no arguments. Since the AML 
5614193267Sjkimgrammar for the byte encoding requires an operand for the Return opcode, the 
5615193267Sjkimcompiler now emits a Return(Zero) for this case.  An ACPI specification 
5616193267Sjkimupdate has been written for this case.
5617151937Sjkim
5618193267SjkimFor tables other than the DSDT, namepath optimization is automatically 
5619193267Sjkimdisabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5620193267Sjkimcompiler has no knowledge of where, and thus cannot optimize namepaths.
5621151937Sjkim
5622193267SjkimAdded "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5623193267Sjkiminadvertently omitted from the ACPI specification, and will require an 
5624193267Sjkimupdate to the spec.
5625151937Sjkim
5626193267SjkimThe source file scan for ASCII characters is now optional (-a). This change 
5627193267Sjkimwas made because some vendors place non-ascii characters within comments. 
5628193267SjkimHowever, the scan is simply a brute-force byte compare to ensure all 
5629193267Sjkimcharacters in the file are in the range 0x00 to 0x7F.
5630151937Sjkim
5631193267SjkimFixed a problem with the CondRefOf operator where the compiler was 
5632193267Sjkiminappropriately checking for the existence of the target. Since the point of 
5633193267Sjkimthe operator is to check for the existence of the target at run-time, the 
5634193267Sjkimcompiler no longer checks for the target existence.
5635151937Sjkim
5636193267SjkimFixed a problem where errors generated from the internal AML interpreter 
5637193267Sjkimduring constant folding were not handled properly, causing a fault.
5638151937Sjkim
5639193267SjkimFixed a problem with overly aggressive range checking for the Stall 
5640193267Sjkimoperator. The valid range (max 255) is now only checked if the operand is of 
5641193267Sjkimtype Integer. All other operand types cannot be statically checked.
5642151937Sjkim
5643193267SjkimFixed a problem where control method references within the RefOf, DeRefOf, 
5644193267Sjkimand ObjectType operators were not treated properly. They are now treated as 
5645193267Sjkimactual references, not method invocations.
5646151937Sjkim
5647193267SjkimFixed and enhanced the "list namespace" option (-ln). This option was broken 
5648193267Sjkima number of releases ago.
5649151937Sjkim
5650193267SjkimImproved error handling for the Field, IndexField, and BankField operators. 
5651193267SjkimThe compiler now cleanly reports and recovers from errors in the field 
5652193267Sjkimcomponent (FieldUnit) list.
5653151937Sjkim
5654193267SjkimFixed a disassembler problem where the optional ResourceDescriptor fields 
5655193267SjkimTRS and TTP were not always handled correctly.
5656151937Sjkim
5657151937SjkimDisassembler - Comments in output now use "//" instead of "/*"
5658151937Sjkim
5659151937Sjkim----------------------------------------
5660151937Sjkim28 February 2005.  Summary of changes for version 20050228:
5661151937Sjkim
5662151937Sjkim1) ACPI CA Core Subsystem:
5663151937Sjkim
5664193267SjkimFixed a problem where the result of an Index() operator (an object 
5665193267Sjkimreference) must increment the reference count on the target object for the 
5666193267Sjkimlife of the object reference.
5667151937Sjkim
5668193267SjkimImplemented AML Interpreter and Debugger support for the new ACPI 3.0 
5669193267SjkimExtended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
5670193267Sjkimresource descriptors.
5671151937Sjkim
5672193267SjkimImplemented support in the _OSI method for the ACPI 3.0 "Extended Address 
5673193267SjkimSpace Descriptor" string, indicating interpreter support for the descriptors 
5674193267Sjkimabove.
5675151937Sjkim
5676151937SjkimImplemented header support for the new ACPI 3.0 FADT flag bits.
5677151937Sjkim
5678193267SjkimImplemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
5679193267Sjkimstatus/enable registers.
5680151937Sjkim
5681193267SjkimUpdated header support for the MADT processor local Apic struct and MADT 
5682193267Sjkimplatform interrupt source struct for new ACPI 3.0 fields.
5683151937Sjkim
5684151937SjkimImplemented header support for the SRAT and SLIT ACPI tables.
5685151937Sjkim
5686193267SjkimImplemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
5687193267Sjkimat runtime.
5688151937Sjkim
5689193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5690193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5691193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5692193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5693193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5694193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5695193267Sjkimthe compiler options used during generation.
5696151937Sjkim
5697151937Sjkim  Previous Release:
5698151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5699151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5700151937Sjkim  Current Release:
5701151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5702151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5703151937Sjkim
5704151937Sjkim
5705151937Sjkim2) iASL Compiler/Disassembler:
5706151937Sjkim
5707193267SjkimFixed a problem with the internal 64-bit String-to-integer conversion with 
5708193267Sjkimstrings less than two characters long.
5709151937Sjkim
5710193267SjkimFixed a problem with constant folding where the result of the Index() 
5711193267Sjkimoperator can not be considered a constant. This means that Index() cannot be 
5712193267Sjkima type3 opcode and this will require an update to the ACPI specification.
5713151937Sjkim
5714193267SjkimDisassembler: Implemented support for the TTP, MTP, and TRS resource 
5715193267Sjkimdescriptor fields. These fields were inadvertently ignored and not output in 
5716193267Sjkimthe disassembly of the resource descriptor.
5717151937Sjkim
5718151937Sjkim
5719151937Sjkim ----------------------------------------
5720151937Sjkim11 February 2005.  Summary of changes for version 20050211:
5721151937Sjkim
5722151937Sjkim1) ACPI CA Core Subsystem:
5723151937Sjkim
5724193267SjkimImplemented ACPI 3.0 support for implicit conversion within the Match() 
5725193267Sjkimoperator. MatchObjects can now be of type integer, buffer, or string instead 
5726193267Sjkimof just type integer.  Package elements are implicitly converted to the type 
5727193267Sjkimof the MatchObject. This change aligns the behavior of Match() with the 
5728193267Sjkimbehavior of the other logical operators (LLess(), etc.) It also requires an 
5729193267Sjkimerrata change to the ACPI specification as this support was intended for 
5730193267SjkimACPI 3.0, but was inadvertently omitted.
5731151937Sjkim
5732193267SjkimFixed a problem with the internal implicit "to buffer" conversion. Strings 
5733193267Sjkimthat are converted to buffers will cause buffer truncation if the string is 
5734193267Sjkimsmaller than the target buffer. Integers that are converted to buffers will 
5735193267Sjkimnot cause buffer truncation, only zero extension (both as per the ACPI 
5736193267Sjkimspec.) The problem was introduced when code was added to truncate the 
5737193267Sjkimbuffer, but this should not be performed in all cases, only the string case.
5738151937Sjkim
5739193267SjkimFixed a problem with the Buffer and Package operators where the interpreter 
5740193267Sjkimwould get confused if two such operators were used as operands to an ASL 
5741193267Sjkimoperator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
5742193267Sjkimstack was not being popped after the execution of these operators, resulting 
5743193267Sjkimin an AE_NO_RETURN_VALUE exception.
5744151937Sjkim
5745193267SjkimFixed a problem with constructs of the form Store(Index(...),...). The 
5746193267Sjkimreference object returned from Index was inadvertently resolved to an actual 
5747193267Sjkimvalue. This problem was introduced in version 20050114 when the behavior of 
5748193267SjkimStore() was modified to restrict the object types that can be used as the 
5749151937Sjkimsource operand (to match the ACPI specification.)
5750151937Sjkim
5751193267SjkimReduced excessive stack use within the AcpiGetObjectInfo procedure.
5752151937Sjkim
5753193267SjkimAdded a fix to aclinux.h to allow generation of AcpiExec on Linux.
5754151937Sjkim
5755193267SjkimUpdated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5756151937Sjkim
5757193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5758193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5759193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5760193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5761193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5762193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5763193267Sjkimthe compiler options used during generation.
5764151937Sjkim
5765151937Sjkim  Previous Release:
5766151937Sjkim    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
5767151937Sjkim    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
5768151937Sjkim  Current Release:
5769151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5770151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5771151937Sjkim
5772151937Sjkim
5773151937Sjkim2) iASL Compiler/Disassembler:
5774151937Sjkim
5775193267SjkimFixed a code generation problem in the constant folding optimization code 
5776193267Sjkimwhere incorrect code was generated if a constant was reduced to a buffer 
5777193267Sjkimobject (i.e., a reduced type 5 opcode.)
5778151937Sjkim
5779193267SjkimFixed a typechecking problem for the ToBuffer operator. Caused by an 
5780193267Sjkimincorrect return type in the internal opcode information table.
5781151937Sjkim
5782151937Sjkim----------------------------------------
5783151937Sjkim25 January 2005.  Summary of changes for version 20050125:
5784151937Sjkim
5785151937Sjkim1) ACPI CA Core Subsystem:
5786151937Sjkim
5787193267SjkimFixed a recently introduced problem with the Global Lock where the 
5788193267Sjkimunderlying semaphore was not created.  This problem was introduced in 
5789193267Sjkimversion 20050114, and caused an AE_AML_NO_OPERAND exception during an 
5790193267SjkimAcquire() operation on _GL.
5791151937Sjkim
5792193267SjkimThe local object cache is now optional, and is disabled by default. Both 
5793193267SjkimAcpiExec and the iASL compiler enable the cache because they run in user 
5794193267Sjkimmode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
5795193267Sjkimto enable the local cache.
5796151937Sjkim
5797193267SjkimFixed an issue in the internal function AcpiUtEvaluateObject concerning the 
5798193267Sjkimoptional "implicit return" support where an error was returned if no return 
5799193267Sjkimobject was expected, but one was implicitly returned. AE_OK is now returned 
5800193267Sjkimin this case and the implicitly returned object is deleted. 
5801193267SjkimAcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
5802193267Sjkimmethods such as _STA and _INI where the return type is known up front.
5803151937Sjkim
5804193267SjkimFixed a few issues with the internal convert-to-integer code. It now returns 
5805193267Sjkiman error if an attempt is made to convert a null string, a string of only 
5806193267Sjkimblanks/tabs, or a zero-length buffer. This affects both implicit conversion 
5807193267Sjkimand explicit conversion via the ToInteger() operator.
5808151937Sjkim
5809193267SjkimThe internal debug code in AcpiUtAcquireMutex has been commented out. It is 
5810193267Sjkimnot needed for normal operation and should increase the performance of the 
5811193267Sjkimentire subsystem. The code remains in case it is needed for debug purposes 
5812193267Sjkimagain.
5813151937Sjkim
5814193267SjkimThe AcpiExec source and makefile are included in the Unix/Linux package for 
5815193267Sjkimthe first time.
5816151937Sjkim
5817193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5818193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5819193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5820193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5821193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5822193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5823193267Sjkimthe compiler options used during generation.
5824151937Sjkim
5825151937Sjkim  Previous Release:
5826151937Sjkim    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5827151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5828151937Sjkim  Current Release:
5829151937Sjkim    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5830151937Sjkim    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5831151937Sjkim
5832151937Sjkim2) iASL Compiler/Disassembler:
5833151937Sjkim
5834193267SjkimSwitch/Case support: A warning is now issued if the type of the Switch value 
5835193267Sjkimcannot be determined at compile time. For example, Switch(Arg0) will 
5836193267Sjkimgenerate the warning, and the type is assumed to be an integer. As per the 
5837193267SjkimACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
5838193267Sjkimwarning.
5839151937Sjkim
5840193267SjkimSwitch/Case support: Implemented support for buffer and string objects as 
5841193267Sjkimthe switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
5842193267Sjkimbuffers and strings.
5843151937Sjkim
5844193267SjkimSwitch/Case support: The emitted code for the LEqual() comparisons now uses 
5845193267Sjkimthe switch value as the first operand, not the second. The case value is now 
5846193267Sjkimthe second operand, and this allows the case value to be implicitly 
5847193267Sjkimconverted to the type of the switch value, not the other way around.
5848151937Sjkim
5849193267SjkimSwitch/Case support: Temporary variables are now emitted immediately within 
5850193267Sjkimthe control method, not at the global level. This means that there are now 
5851193267Sjkim36 temps available per-method, not 36 temps per-module as was the case with 
5852193267Sjkimthe earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5853151937Sjkim
5854151937Sjkim----------------------------------------
5855151937Sjkim14 January 2005.  Summary of changes for version 20050114:
5856151937Sjkim
5857193267SjkimAdded 2005 copyright to all module headers.  This affects every module in 
5858193267Sjkimthe core subsystem, iASL compiler, and the utilities.
5859151937Sjkim
5860151937Sjkim1) ACPI CA Core Subsystem:
5861151937Sjkim
5862193267SjkimFixed an issue with the String-to-Buffer conversion code where the string 
5863193267Sjkimnull terminator was not included in the buffer after conversion, but there 
5864193267Sjkimis existing ASL that assumes the string null terminator is included. This is 
5865193267Sjkimthe root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
5866193267Sjkimintroduced in the previous version when the code was updated to correctly 
5867193267Sjkimset the converted buffer size as per the ACPI specification. The ACPI spec 
5868193267Sjkimis ambiguous and will be updated to specify that the null terminator must be 
5869193267Sjkimincluded in the converted buffer. This also affects the ToBuffer() ASL 
5870193267Sjkimoperator.
5871151937Sjkim
5872193267SjkimFixed a problem with the Mid() ASL/AML operator where it did not work 
5873193267Sjkimcorrectly on Buffer objects. Newly created sub-buffers were not being marked 
5874193267Sjkimas initialized.
5875151937Sjkim
5876167802Sjkim
5877193267SjkimFixed a problem in AcpiTbFindTable where incorrect string compares were 
5878193267Sjkimperformed on the OemId and OemTableId table header fields.  These fields are 
5879193267Sjkimnot null terminated, so strncmp is now used instead of strcmp.
5880151937Sjkim
5881193267SjkimImplemented a restriction on the Store() ASL/AML operator to align the 
5882193267Sjkimbehavior with the ACPI specification.  Previously, any object could be used 
5883193267Sjkimas the source operand.  Now, the only objects that may be used are Integers, 
5884193267SjkimBuffers, Strings, Packages, Object References, and DDB Handles.  If 
5885193267Sjkimnecessary, the original behavior can be restored by enabling the 
5886151937SjkimEnableInterpreterSlack flag.
5887151937Sjkim
5888193267SjkimEnhanced the optional "implicit return" support to allow an implicit return 
5889193267Sjkimvalue from methods that are invoked externally via the AcpiEvaluateObject 
5890193267Sjkiminterface.  This enables implicit returns from the _STA and _INI methods, 
5891193267Sjkimfor example.
5892151937Sjkim
5893193267SjkimChanged the Revision() ASL/AML operator to return the current version of the 
5894193267SjkimAML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
5895193267Sjkimthe supported ACPI version (This is the function of the _REV method).
5896151937Sjkim
5897193267SjkimUpdated the _REV predefined method to return the currently supported version 
5898193267Sjkimof ACPI, now 3.
5899151937Sjkim
5900151937SjkimImplemented batch mode option for the AcpiExec utility (-b).
5901151937Sjkim
5902193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5903193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5904193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5905193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5906193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5907193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5908193267Sjkimthe compiler options used during generation.
5909151937Sjkim
5910151937Sjkim  Previous Release:
5911151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5912151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5913151937Sjkim  Current Release:
5914151937Sjkim    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5915151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5916151937Sjkim
5917151937Sjkim----------------------------------------
5918151937Sjkim10 December 2004.  Summary of changes for version 20041210:
5919151937Sjkim
5920193267SjkimACPI 3.0 support is nearing completion in both the iASL compiler and the 
5921193267SjkimACPI CA core subsystem.
5922151937Sjkim
5923151937Sjkim1) ACPI CA Core Subsystem:
5924151937Sjkim
5925193267SjkimFixed a problem in the ToDecimalString operator where the resulting string 
5926193267Sjkimlength was incorrectly calculated. The length is now calculated exactly, 
5927193267Sjkimeliminating incorrect AE_STRING_LIMIT exceptions.
5928151937Sjkim
5929193267SjkimFixed a problem in the ToHexString operator to allow a maximum 200 character 
5930193267Sjkimstring to be produced.
5931151937Sjkim
5932193267SjkimFixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
5933193267Sjkimroutine where the length of the resulting buffer was not truncated to the 
5934193267Sjkimnew size (if the target buffer already existed).
5935151937Sjkim
5936193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5937193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5938193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5939193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5940193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5941193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5942193267Sjkimthe compiler options used during generation.
5943151937Sjkim
5944151937Sjkim  Previous Release:
5945151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5946151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5947151937Sjkim  Current Release:
5948151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5949151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5950151937Sjkim
5951151937Sjkim
5952151937Sjkim2) iASL Compiler/Disassembler:
5953151937Sjkim
5954193267SjkimImplemented the new ACPI 3.0 resource template macros - DWordSpace, 
5955193267SjkimExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
5956193267SjkimIncludes support in the disassembler.
5957151937Sjkim
5958193267SjkimImplemented support for the new (ACPI 3.0) parameter to the Register macro, 
5959193267SjkimAccessSize.
5960151937Sjkim
5961193267SjkimFixed a problem where the _HE resource name for the Interrupt macro was 
5962193267Sjkimreferencing bit 0 instead of bit 1.
5963151937Sjkim
5964193267SjkimImplemented check for maximum 255 interrupts in the Interrupt macro.
5965151937Sjkim
5966193267SjkimFixed a problem with the predefined resource descriptor names where 
5967193267Sjkimincorrect AML code was generated if the offset within the resource buffer 
5968193267Sjkimwas 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
5969193267Sjkimbut did not update the surrounding package lengths.
5970151937Sjkim
5971193267SjkimChanges to the Dma macro:  All channels within the channel list must be in 
5972193267Sjkimthe range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
5973193267Sjkimoptional (default is BusMaster).
5974151937Sjkim
5975193267SjkimImplemented check for maximum 7 data bytes for the VendorShort macro.
5976151937Sjkim
5977193267SjkimThe ReadWrite parameter is now optional for the Memory32 and similar macros.
5978151937Sjkim
5979151937Sjkim----------------------------------------
5980151937Sjkim03 December 2004.  Summary of changes for version 20041203:
5981151937Sjkim
5982151937Sjkim1) ACPI CA Core Subsystem:
5983151937Sjkim
5984193267SjkimThe low-level field insertion/extraction code (exfldio) has been completely 
5985193267Sjkimrewritten to eliminate unnecessary complexity, bugs, and boundary 
5986193267Sjkimconditions.
5987151937Sjkim
5988193267SjkimFixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
5989193267Sjkimoperators where the input operand could be inadvertently deleted if no 
5990193267Sjkimconversion was necessary (e.g., if the input to ToInteger was an Integer 
5991193267Sjkimobject.)
5992151937Sjkim
5993193267SjkimFixed a problem with the ToDecimalString and ToHexString where an incorrect 
5994193267Sjkimexception code was returned if the resulting string would be > 200 chars.  
5995193267SjkimAE_STRING_LIMIT is now returned.
5996151937Sjkim
5997193267SjkimFixed a problem with the Concatenate operator where AE_OK was always 
5998193267Sjkimreturned, even if the operation failed.
5999151937Sjkim
6000193267SjkimFixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
6001193267Sjkimsemaphores to be allocated.
6002151937Sjkim
6003193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6004193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
6005193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6006193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
6007193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
6008193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6009193267Sjkimthe compiler options used during generation.
6010151937Sjkim
6011151937Sjkim  Previous Release:
6012151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6013151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6014151937Sjkim  Current Release:
6015151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6016151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6017151937Sjkim
6018151937Sjkim
6019151937Sjkim2) iASL Compiler/Disassembler:
6020151937Sjkim
6021193267SjkimFixed typechecking for the ObjectType and SizeOf operators.  Problem was 
6022193267Sjkimrecently introduced in 20041119.
6023151937Sjkim
6024193267SjkimFixed a problem with the ToUUID macro where the upper nybble of each buffer 
6025193267Sjkimbyte was inadvertently set to zero.
6026151937Sjkim
6027151937Sjkim----------------------------------------
6028138287Smarks19 November 2004.  Summary of changes for version 20041119:
6029138287Smarks
6030138287Smarks1) ACPI CA Core Subsystem:
6031138287Smarks
6032193267SjkimFixed a problem in the internal ConvertToInteger routine where new integers 
6033193267Sjkimwere not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
6034193267Sjkimbuffers and strings to integers.
6035138287Smarks
6036193267SjkimImplemented support to store a value to an Index() on a String object. This 
6037193267Sjkimis an ACPI 2.0 feature that had not yet been implemented.
6038138287Smarks
6039193267SjkimImplemented new behavior for storing objects to individual package elements 
6040193267Sjkim(via the Index() operator). The previous behavior was to invoke the implicit 
6041193267Sjkimconversion rules if an object was already present at the index.  The new 
6042193267Sjkimbehavior is to simply delete any existing object and directly store the new 
6043193267Sjkimobject. Although the ACPI specification seems unclear on this subject, other 
6044193267SjkimACPI implementations behave in this manner.  (This is the root of the 
6045193267SjkimAE_BAD_HEX_CONSTANT issue.)
6046138287Smarks
6047193267SjkimModified the RSDP memory scan mechanism to support the extended checksum for 
6048193267SjkimACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6049193267SjkimRSDP signature is found with a valid checksum.
6050138287Smarks
6051193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6052193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
6053193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6054193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
6055193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
6056193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6057193267Sjkimthe compiler options used during generation.
6058138287Smarks
6059151937Sjkim  Previous Release:
6060151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6061151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6062151937Sjkim  Current Release:
6063151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6064151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6065138287Smarks
6066138287Smarks
6067138287Smarks2) iASL Compiler/Disassembler:
6068138287Smarks
6069138287SmarksFixed a missing semicolon in the aslcompiler.y file.
6070138287Smarks
6071138287Smarks----------------------------------------
6072138287Smarks05 November 2004.  Summary of changes for version 20041105:
6073138287Smarks
6074138287Smarks1) ACPI CA Core Subsystem:
6075138287Smarks
6076193267SjkimImplemented support for FADT revision 2.  This was an interim table (between 
6077193267SjkimACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6078138287Smarks
6079193267SjkimImplemented optional support to allow uninitialized LocalX and ArgX 
6080193267Sjkimvariables in a control method.  The variables are initialized to an Integer 
6081193267Sjkimobject with a value of zero.  This support is enabled by setting the 
6082193267SjkimAcpiGbl_EnableInterpreterSlack flag to TRUE.
6083138287Smarks
6084193267SjkimImplemented support for Integer objects for the SizeOf operator.  Either 4 
6085193267Sjkimor 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6086193267Sjkimdepending on the parent table revision).
6087138287Smarks
6088193267SjkimFixed a problem in the implementation of the SizeOf and ObjectType operators 
6089193267Sjkimwhere the operand was resolved to a value too early, causing incorrect 
6090193267Sjkimreturn values for some objects.
6091138287Smarks
6092138287SmarksFixed some possible memory leaks during exceptional conditions.
6093138287Smarks
6094193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6095193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
6096193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6097193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
6098193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
6099193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6100193267Sjkimthe compiler options used during generation.
6101138287Smarks
6102138287Smarks  Previous Release:
6103138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6104138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6105138287Smarks  Current Release:
6106138287Smarks    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6107138287Smarks    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6108138287Smarks
6109138287Smarks
6110138287Smarks2) iASL Compiler/Disassembler:
6111138287Smarks
6112138287SmarksImplemented support for all ACPI 3.0 reserved names and methods.
6113138287Smarks
6114193267SjkimImplemented all ACPI 3.0 grammar elements in the front-end, including 
6115193267Sjkimsupport for semicolons.
6116138287Smarks
6117138287SmarksImplemented the ACPI 3.0 Function() and ToUUID() macros
6118138287Smarks
6119193267SjkimFixed a problem in the disassembler where a Scope() operator would not be 
6120193267Sjkimemitted properly if the target of the scope was in another table.
6121138287Smarks
6122138287Smarks----------------------------------------
6123138287Smarks15 October 2004.  Summary of changes for version 20041015:
6124138287Smarks
6125193267SjkimNote:  ACPI CA is currently undergoing an in-depth and complete formal 
6126193267Sjkimevaluation to test/verify the following areas. Other suggestions are 
6127193267Sjkimwelcome. This will result in an increase in the frequency of releases and 
6128193267Sjkimthe number of bug fixes in the next few months.
6129138287Smarks  - Functional tests for all ASL/AML operators
6130138287Smarks  - All implicit/explicit type conversions
6131138287Smarks  - Bit fields and operation regions
6132138287Smarks  - 64-bit math support and 32-bit-only "truncated" math support
6133138287Smarks  - Exceptional conditions, both compiler and interpreter
6134138287Smarks  - Dynamic object deletion and memory leaks
6135138287Smarks  - ACPI 3.0 support when implemented
6136138287Smarks  - External interfaces to the ACPI subsystem
6137138287Smarks
6138138287Smarks
6139138287Smarks1) ACPI CA Core Subsystem:
6140138287Smarks
6141193267SjkimFixed two alignment issues on 64-bit platforms - within debug statements in 
6142193267SjkimAcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6143193267Sjkimfield within the non-aligned ACPI generic address structure.
6144138287Smarks
6145193267SjkimFixed a problem in the Increment and Decrement operators where incorrect 
6146193267Sjkimoperand resolution could result in the inadvertent modification of the 
6147193267Sjkimoriginal integer when the integer is passed into another method as an 
6148193267Sjkimargument and the arg is then incremented/decremented.
6149138287Smarks
6150193267SjkimFixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6151193267SjkimBCD number were truncated during conversion.
6152138287Smarks
6153193267SjkimFixed a problem in the ToDecimal operator where the length of the resulting 
6154193267Sjkimstring could be set incorrectly too long if the input operand was a Buffer 
6155193267Sjkimobject.
6156138287Smarks
6157193267SjkimFixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6158193267Sjkimwithin a buffer would prematurely terminate a compare between buffer 
6159193267Sjkimobjects.
6160138287Smarks
6161193267SjkimAdded a check for string overflow (>200 characters as per the ACPI 
6162193267Sjkimspecification) during the Concatenate operator with two string operands.
6163138287Smarks
6164193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6165193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
6166193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6167193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
6168193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
6169193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6170193267Sjkimthe compiler options used during generation.
6171138287Smarks
6172138287Smarks  Previous Release:
6173138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6174138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6175138287Smarks  Current Release:
6176138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6177138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6178138287Smarks
6179138287Smarks
6180167802Sjkim
6181138287Smarks2) iASL Compiler/Disassembler:
6182138287Smarks
6183193267SjkimAllow the use of the ObjectType operator on uninitialized Locals and Args 
6184193267Sjkim(returns 0 as per the ACPI specification).
6185138287Smarks
6186193267SjkimFixed a problem where the compiler would fault if there was a syntax error 
6187193267Sjkimin the FieldName of all of the various CreateXXXField operators.
6188138287Smarks
6189193267SjkimDisallow the use of lower case letters within the EISAID macro, as per the 
6190193267SjkimACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6191193267SjkimU is an uppercase letter and N is a hex digit.
6192138287Smarks
6193138287Smarks
6194138287Smarks----------------------------------------
6195138287Smarks06 October 2004.  Summary of changes for version 20041006:
6196138287Smarks
6197138287Smarks1) ACPI CA Core Subsystem:
6198138287Smarks
6199193267SjkimImplemented support for the ACPI 3.0 Timer operator. This ASL function 
6200193267Sjkimimplements a 64-bit timer with 100 nanosecond granularity.
6201138287Smarks
6202193267SjkimDefined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6203193267Sjkimimplement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6204193267Sjkimthe timer with the best clock available. Also, it keeps the core subsystem 
6205193267Sjkimout of the clock handling business, since the host OS (usually) performs 
6206193267Sjkimthis function.
6207138287Smarks
6208193267SjkimFixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6209193267Sjkimfunctions use a 64-bit address which is part of the packed ACPI Generic 
6210193267SjkimAddress Structure. Since the structure is non-aligned, the alignment macros 
6211193267Sjkimare now used to extract the address to a local variable before use.
6212138287Smarks
6213193267SjkimFixed a problem where the ToInteger operator assumed all input strings were 
6214193267Sjkimhexadecimal. The operator now handles both decimal strings and hex strings 
6215193267Sjkim(prefixed with "0x").
6216138287Smarks
6217193267SjkimFixed a problem where the string length in the string object created as a 
6218193267Sjkimresult of the internal ConvertToString procedure could be incorrect. This 
6219193267Sjkimpotentially affected all implicit conversions and also the ToDecimalString 
6220193267Sjkimand ToHexString operators.
6221138287Smarks
6222193267SjkimFixed two problems in the ToString operator. If the length parameter was 
6223193267Sjkimzero, an incorrect string object was created and the value of the input 
6224193267Sjkimlength parameter was inadvertently changed from zero to Ones.
6225138287Smarks
6226193267SjkimFixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6227193267Sjkimresource macro was ignored.
6228138287Smarks
6229193267SjkimSimplified the interfaces to the internal division functions, reducing code 
6230193267Sjkimsize and complexity.
6231138287Smarks
6232193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6233193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
6234193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6235193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
6236193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
6237193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6238193267Sjkimthe compiler options used during generation.
6239138287Smarks
6240138287Smarks  Previous Release:
6241138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6242138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6243138287Smarks  Current Release:
6244138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6245138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6246138287Smarks
6247138287Smarks
6248138287Smarks2) iASL Compiler/Disassembler:
6249138287Smarks
6250138287SmarksImplemented support for the ACPI 3.0 Timer operator.
6251138287Smarks
6252193267SjkimFixed a problem where the Default() operator was inadvertently ignored in a 
6253193267SjkimSwitch/Case block.  This was a problem in the translation of the Switch 
6254193267Sjkimstatement to If...Else pairs.
6255138287Smarks
6256193267SjkimAdded support to allow a standalone Return operator, with no parentheses (or 
6257193267Sjkimoperands).
6258138287Smarks
6259193267SjkimFixed a problem with code generation for the ElseIf operator where the 
6260193267Sjkimtranslated Else...If parse tree was improperly constructed leading to the 
6261193267Sjkimloss of some code.
6262138287Smarks
6263138287Smarks----------------------------------------
6264138287Smarks22 September 2004.  Summary of changes for version 20040922:
6265138287Smarks
6266138287Smarks1) ACPI CA Core Subsystem:
6267138287Smarks
6268193267SjkimFixed a problem with the implementation of the LNot() operator where "Ones" 
6269193267Sjkimwas not returned for the TRUE case. Changed the code to return Ones instead 
6270193267Sjkimof (!Arg) which was usually 1. This change affects iASL constant folding for 
6271193267Sjkimthis operator also.
6272138287Smarks
6273193267SjkimFixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6274193267Sjkiminitialized properly -- Now zero the entire buffer in this case where the 
6275193267Sjkimbuffer already exists.
6276138287Smarks
6277193267SjkimChanged the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6278193267SjkimMilliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6279193267Sjkimrelated code considerably. This will require changes/updates to all OS 
6280193267Sjkiminterface layers (OSLs.)
6281138287Smarks
6282193267SjkimImplemented a new external interface, AcpiInstallExceptionHandler, to allow 
6283193267Sjkima system exception handler to be installed. This handler is invoked upon any 
6284193267Sjkimrun-time exception that occurs during control method execution.
6285138287Smarks
6286193267SjkimAdded support for the DSDT in AcpiTbFindTable. This allows the 
6287138287SmarksDataTableRegion() operator to access the local copy of the DSDT.
6288138287Smarks
6289193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6290193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
6291193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6292193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
6293193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
6294193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6295193267Sjkimthe compiler options used during generation.
6296138287Smarks
6297138287Smarks  Previous Release:
6298138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6299138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6300138287Smarks  Current Release:
6301138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6302138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6303138287Smarks
6304138287Smarks
6305138287Smarks2) iASL Compiler/Disassembler:
6306138287Smarks
6307193267SjkimFixed a problem with constant folding and the LNot operator. LNot was 
6308193267Sjkimreturning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6309193267Sjkimcould result in the generation of an incorrect folded/reduced constant.
6310138287Smarks
6311193267SjkimEnd-Of-File is now allowed within a "//"-style comment.  A parse error no 
6312193267Sjkimlonger occurs if such a comment is at the very end of the input ASL source 
6313193267Sjkimfile.
6314138287Smarks
6315193267SjkimImplemented the "-r" option to override the Revision in the table header. 
6316193267SjkimThe initial use of this option will be to simplify the evaluation of the AML 
6317193267Sjkiminterpreter by allowing a single ASL source module to be compiled for either 
6318193267Sjkim32-bit or 64-bit integers.
6319138287Smarks
6320138287Smarks
6321138287Smarks----------------------------------------
6322138287Smarks27 August 2004.  Summary of changes for version 20040827:
6323138287Smarks
6324138287Smarks1) ACPI CA Core Subsystem:
6325138287Smarks
6326193267Sjkim- Implemented support for implicit object conversion in the non-numeric 
6327193267Sjkimlogical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6328193267SjkimLNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6329193267Sjkimthe second operand is implicitly converted on the fly to match the type of 
6330193267Sjkimthe first operand.  For example:
6331138287Smarks
6332138287Smarks    LEqual (Source1, Source2)
6333138287Smarks
6334193267SjkimSource1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6335193267SjkimThe data type of Source1 dictates the required type of Source2. Source2 is 
6336193267Sjkimimplicitly converted if necessary to match the type of Source1.
6337138287Smarks
6338193267Sjkim- Updated and corrected the behavior of the string conversion support.  The 
6339193267Sjkimrules concerning conversion of buffers to strings (according to the ACPI 
6340193267Sjkimspecification) are as follows:
6341138287Smarks
6342193267SjkimToDecimalString - explicit byte-wise conversion of buffer to string of 
6343193267Sjkimdecimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6344193267Sjkimconversion of buffer to string of hex values (0-FF) separated by commas. 
6345193267SjkimToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6346193267Sjkimcopy with no transform except NULL terminated. Any other implicit buffer-to-
6347193267Sjkimstring conversion - byte-wise conversion of buffer to string of hex values 
6348193267Sjkim(0-FF) separated by spaces.
6349138287Smarks
6350138287Smarks- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6351138287Smarks
6352193267Sjkim- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6353193267Sjkimone byte too short in the case of a node in the root scope.  This could 
6354193267Sjkimcause a fault during debug output.
6355138287Smarks
6356193267Sjkim- Code and Data Size: Current and previous core subsystem library sizes are 
6357193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6358193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6359193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6360193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6361193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6362193267Sjkimthe compiler options used during generation.
6363138287Smarks
6364138287Smarks  Previous Release:
6365138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6366138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6367138287Smarks  Current Release:
6368138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6369138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6370138287Smarks
6371138287Smarks
6372138287Smarks2) iASL Compiler/Disassembler:
6373138287Smarks
6374138287Smarks- Fixed a Linux generation error.
6375138287Smarks
6376138287Smarks
6377138287Smarks----------------------------------------
6378138287Smarks16 August 2004.  Summary of changes for version 20040816:
6379138287Smarks
6380138287Smarks1) ACPI CA Core Subsystem:
6381138287Smarks
6382193267SjkimDesigned and implemented support within the AML interpreter for the so-
6383193267Sjkimcalled "implicit return".  This support returns the result of the last ASL 
6384193267Sjkimoperation within a control method, in the absence of an explicit Return() 
6385193267Sjkimoperator.  A few machines depend on this behavior, even though it is not 
6386193267Sjkimexplicitly supported by the ASL language.  It is optional support that can 
6387193267Sjkimbe enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6388138287Smarks
6389193267SjkimRemoved support for the PCI_Config address space from the internal low level 
6390193267Sjkimhardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6391193267Sjkimsupport was not used internally, and would not work correctly anyway because 
6392193267Sjkimthe PCI bus number and segment number were not supported.  There are 
6393193267Sjkimseparate interfaces for PCI configuration space access because of the unique 
6394138287Smarksinterface.
6395138287Smarks
6396193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6397193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6398193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6399193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6400193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6401193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6402193267Sjkimthe compiler options used during generation.
6403138287Smarks
6404138287Smarks  Previous Release:
6405138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6406138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6407138287Smarks  Current Release:
6408138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6409138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6410138287Smarks
6411138287Smarks
6412138287Smarks2) iASL Compiler/Disassembler:
6413138287Smarks
6414193267SjkimFixed a problem where constants in ASL expressions at the root level (not 
6415193267Sjkimwithin a control method) could be inadvertently truncated during code 
6416193267Sjkimgeneration.  This problem was introduced in the 20040715 release.
6417138287Smarks
6418138287Smarks
6419138287Smarks----------------------------------------
6420138287Smarks15 July 2004.  Summary of changes for version 20040715:
6421138287Smarks
6422138287Smarks1) ACPI CA Core Subsystem:
6423138287Smarks
6424193267SjkimRestructured the internal HW GPE interfaces to pass/track the current state 
6425193267Sjkimof interrupts (enabled/disabled) in order to avoid possible deadlock and 
6426193267Sjkimincrease flexibility of the interfaces.
6427138287Smarks
6428193267SjkimImplemented a "lexicographical compare" for String and Buffer objects within 
6429193267Sjkimthe logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6430193267Sjkimas per further clarification to the ACPI specification.  Behavior is similar 
6431193267Sjkimto C library "strcmp".
6432138287Smarks
6433193267SjkimCompleted a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6434193267Sjkimexternal function.  In the 32-bit non-debug case, the stack use has been 
6435193267Sjkimreduced from 168 bytes to 32 bytes.
6436138287Smarks
6437193267SjkimDeployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6438193267Sjkimwhose purpose is to allow the AML interpreter to forgive certain bad AML 
6439193267Sjkimconstructs.  Default setting is FALSE.
6440138287Smarks
6441193267SjkimImplemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6442193267Sjkimsupport code.  If enabled, it allows field access to go beyond the end of a 
6443193267Sjkimregion definition if the field is within the region length rounded up to the 
6444193267Sjkimnext access width boundary (a common coding error.)
6445138287Smarks
6446193267SjkimRenamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6447193267SjkimACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6448193267Sjkimsymbols are lowercased by the latest version of the AcpiSrc tool.
6449138287Smarks
6450193267SjkimThe prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6451193267Sjkimrename "Register" to simply "Reg" to prevent certain compilers from 
6452193267Sjkimcomplaining.
6453138287Smarks
6454193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6455193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6456193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6457193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6458193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6459193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6460193267Sjkimthe compiler options used during generation.
6461138287Smarks
6462138287Smarks  Previous Release:
6463138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6464138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6465138287Smarks  Current Release:
6466138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6467138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6468138287Smarks
6469138287Smarks
6470138287Smarks2) iASL Compiler/Disassembler:
6471138287Smarks
6472193267SjkimImplemented full support for Package objects within the Case() operator.  
6473193267SjkimNote: The Break() operator is currently not supported within Case blocks 
6474193267Sjkim(TermLists) as there is some question about backward compatibility with ACPI 
6475193267Sjkim1.0 interpreters.
6476138287Smarks
6477167802Sjkim
6478193267SjkimFixed a problem where complex terms were not supported properly within the 
6479193267SjkimSwitch() operator.
6480138287Smarks
6481193267SjkimEliminated extraneous warning for compiler-emitted reserved names of the 
6482193267Sjkimform "_T_x".  (Used in Switch/Case operators.)
6483138287Smarks
6484193267SjkimEliminated optimization messages for "_T_x" objects and small constants 
6485193267Sjkimwithin the DefinitionBlock operator.
6486138287Smarks
6487138287Smarks
6488138287Smarks----------------------------------------
6489138287Smarks15 June 2004.  Summary of changes for version 20040615:
6490138287Smarks
6491138287Smarks1) ACPI CA Core Subsystem:
6492138287Smarks
6493193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
6494193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6495193267SjkimLLessEqual.
6496138287Smarks
6497193267SjkimAll directory names in the entire source package are lower case, as they 
6498193267Sjkimwere in earlier releases.
6499138287Smarks
6500193267SjkimImplemented "Disassemble" command in the AML debugger that will disassemble 
6501193267Sjkima single control method.
6502138287Smarks
6503193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6504193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6505193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6506193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6507193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6508193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6509193267Sjkimthe compiler options used during generation.
6510138287Smarks
6511138287Smarks  Previous Release:
6512138287Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6513138287Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6514167802Sjkim
6515138287Smarks  Current Release:
6516138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6517138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6518138287Smarks
6519138287Smarks
6520138287Smarks2) iASL Compiler/Disassembler:
6521138287Smarks
6522193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
6523193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6524193267SjkimLLessEqual.
6525138287Smarks
6526193267SjkimAll directory names in the entire source package are lower case, as they 
6527193267Sjkimwere in earlier releases.
6528138287Smarks
6529193267SjkimFixed a fault when using the -g or -d<nofilename> options if the FADT was 
6530193267Sjkimnot found.
6531138287Smarks
6532193267SjkimFixed an issue with the Windows version of the compiler where later versions 
6533193267Sjkimof Windows place the FADT in the registry under the name "FADT" and not 
6534193267Sjkim"FACP" as earlier versions did.  This applies when using the -g or -
6535193267Sjkimd<nofilename> options.  The compiler now looks for both strings as 
6536193267Sjkimnecessary.
6537138287Smarks
6538193267SjkimFixed a problem with compiler namepath optimization where a namepath within 
6539193267Sjkimthe Scope() operator could not be optimized if the namepath was a subpath of 
6540193267Sjkimthe current scope path.
6541138287Smarks
6542138287Smarks----------------------------------------
6543131440Smarks27 May 2004.  Summary of changes for version 20040527:
6544131440Smarks
6545131440Smarks1) ACPI CA Core Subsystem:
6546131440Smarks
6547193267SjkimCompleted a new design and implementation for EBDA (Extended BIOS Data Area) 
6548193267Sjkimsupport in the RSDP scan code.  The original code improperly scanned for the 
6549193267SjkimEBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6550193267Sjkimis to first obtain the EBDA pointer from within the BIOS data area, then 
6551193267Sjkimscan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6552131440Smarksany machines that place the RSDP in the EBDA, however.
6553131440Smarks
6554193267SjkimIntegrated a fix for a possible fault during evaluation of BufferField 
6555193267Sjkimarguments.  Obsolete code that was causing the problem was removed.
6556131440Smarks
6557193267SjkimFound and fixed a problem in the Field Support Code where data could be 
6558193267Sjkimcorrupted on a bit field read that starts on an aligned boundary but does 
6559193267Sjkimnot end on an aligned boundary.  Merged the read/write "datum length" 
6560193267Sjkimcalculation code into a common procedure.
6561131440Smarks
6562131440SmarksRolled in a couple of changes to the FreeBSD-specific header.
6563131440Smarks
6564167802Sjkim
6565193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6566193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6567193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6568193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6569193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6570193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6571193267Sjkimthe compiler options used during generation.
6572131440Smarks
6573131440Smarks  Previous Release:
6574131440Smarks    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6575131440Smarks    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6576131440Smarks  Current Release:
6577131440Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6578131440Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6579131440Smarks
6580131440Smarks
6581131440Smarks2) iASL Compiler/Disassembler:
6582131440Smarks
6583193267SjkimFixed a generation warning produced by some overly-verbose compilers for a 
6584193267Sjkim64-bit constant.
6585131440Smarks
6586131440Smarks----------------------------------------
6587129684Snjl14 May 2004.  Summary of changes for version 20040514:
6588129684Snjl
6589129684Snjl1) ACPI CA Core Subsystem:
6590129684Snjl
6591193267SjkimFixed a problem where hardware GPE enable bits sometimes not set properly 
6592193267Sjkimduring and after GPE method execution.  Result of 04/27 changes.
6593129684Snjl
6594129684SnjlRemoved extra "clear all GPEs" when sleeping/waking.
6595129684Snjl
6596193267SjkimRemoved AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6597193267SjkimAcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6598193267Sjkimthe new AcpiEv* calls as appropriate.
6599129684Snjl
6600193267SjkimACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6601193267Sjkimnow "Microsoft Windows NT" for maximum compatibility.  However this can be 
6602193267Sjkimchanged by modifying the acconfig.h file.
6603129684Snjl
6604193267SjkimAllow a single invocation of AcpiInstallNotifyHandler for a handler that 
6605193267Sjkimtraps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6606129684Snjl
6607193267SjkimRun _INI methods on ThermalZone objects.  This is against the ACPI 
6608193267Sjkimspecification, but there is apparently ASL code in the field that has these 
6609193267Sjkim_INI methods, and apparently "other" AML interpreters execute them.
6610129684Snjl
6611193267SjkimPerformed a full 16/32/64 bit lint that resulted in some small changes.
6612129684Snjl
6613193267SjkimAdded a sleep simulation command to the AML debugger to test sleep code. 
6614129684Snjl
6615193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6616193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6617193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6618193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6619193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6620193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6621193267Sjkimthe compiler options used during generation.
6622129684Snjl
6623129684Snjl  Previous Release:
6624129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6625129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6626129684Snjl  Current Release:
6627129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6628129684Snjl    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6629129684Snjl
6630129684Snjl----------------------------------------
6631129684Snjl27 April 2004.  Summary of changes for version 20040427:
6632129684Snjl
6633129684Snjl1) ACPI CA Core Subsystem:
6634129684Snjl
6635193267SjkimCompleted a major overhaul of the GPE handling within ACPI CA.  There are 
6636193267Sjkimnow three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
6637193267SjkimThe only GPEs allowed to be combination wake/run are for button-style 
6638193267Sjkimdevices such as a control-method power button, control-method sleep button, 
6639193267Sjkimor a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
6640193267Sjkimreferenced by any _PRW methods are marked for "runtime" and hardware 
6641193267Sjkimenabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
6642193267Sjkim(and disabled at runtime).  However, at sleep time, only those GPEs that 
6643193267Sjkimhave been specifically enabled for wake via the AcpiEnableGpe interface will 
6644193267Sjkimactually be hardware enabled.
6645129684Snjl
6646193267SjkimA new external interface has been added, AcpiSetGpeType(), that is meant to 
6647193267Sjkimbe used by device drivers to force a GPE to a particular type.  It will be 
6648193267Sjkimespecially useful for the drivers for the button devices mentioned above.
6649129684Snjl
6650193267SjkimCompleted restructuring of the ACPI CA initialization sequence so that 
6651193267Sjkimdefault operation region handlers are installed before GPEs are initialized 
6652193267Sjkimand the _PRW methods are executed.  This will prevent errors when the _PRW 
6653193267Sjkimmethods attempt to access system memory or I/O space.
6654129684Snjl
6655193267SjkimGPE enable/disable no longer reads the GPE enable register.  We now keep the 
6656193267Sjkimenable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
6657193267Sjkimthus no longer depend on the hardware to maintain these bits.
6658129684Snjl
6659193267SjkimAlways clear the wake status and fixed/GPE status bits before sleep, even 
6660193267Sjkimfor state S5.
6661129684Snjl
6662193267SjkimImproved the AML debugger output for displaying the GPE blocks and their 
6663193267Sjkimcurrent status.
6664129684Snjl
6665193267SjkimAdded new strings for the _OSI method, of the form "Windows 2001 SPx" where 
6666193267Sjkimx = 0,1,2,3,4.
6667129684Snjl
6668193267SjkimFixed a problem where the physical address was incorrectly calculated when 
6669193267Sjkimthe Load() operator was used to directly load from an Operation Region (vs. 
6670193267Sjkimloading from a Field object.)  Also added check for minimum table length for 
6671193267Sjkimthis case.
6672129684Snjl
6673193267SjkimFix for multiple mutex acquisition.  Restore original thread SyncLevel on 
6674193267Sjkimmutex release.
6675129684Snjl
6676193267SjkimAdded ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
6677129684Snjlconsistency with the other fields returned.
6678129684Snjl
6679193267SjkimShrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
6680193267Sjkimstructure for each GPE in the system, so the size of this structure is 
6681193267Sjkimimportant.
6682129684Snjl
6683193267SjkimCPU stack requirement reduction:  Cleaned up the method execution and object 
6684193267Sjkimevaluation paths so that now a parameter structure is passed, instead of 
6685193267Sjkimcopying the various method parameters over and over again.
6686129684Snjl
6687193267SjkimIn evregion.c:  Correctly exit and reenter the interpreter region if and 
6688193267Sjkimonly if dispatching an operation region request to a user-installed handler.  
6689193267SjkimDo not exit/reenter when dispatching to a default handler (e.g., default 
6690193267Sjkimsystem memory or I/O handlers)
6691129684Snjl
6692129684Snjl
6693193267SjkimNotes for updating drivers for the new GPE support.  The following changes 
6694193267Sjkimmust be made to ACPI-related device drivers that are attached to one or more 
6695193267SjkimGPEs: (This information will be added to the ACPI CA Programmer Reference.)
6696129684Snjl
6697193267Sjkim1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
6698193267Sjkimexplicitly call AcpiEnableGpe.
6699193267Sjkim2) There is a new interface called AcpiSetGpeType. This should be called 
6700193267Sjkimbefore enabling the GPE.  Also, this interface will automatically disable 
6701193267Sjkimthe GPE if it is currently enabled.
6702129684Snjl3) AcpiEnableGpe no longer supports a GPE type flag.
6703129684Snjl
6704129684SnjlSpecific drivers that must be changed:
6705129684Snjl1) EC driver:
6706193267Sjkim    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
6707129684SnjlAeGpeHandler, NULL);
6708129684Snjl    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6709129684Snjl    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6710129684Snjl
6711129684Snjl2) Button Drivers (Power, Lid, Sleep):
6712129684SnjlRun _PRW method under parent device
6713129684SnjlIf _PRW exists: /* This is a control-method button */
6714129684Snjl    Extract GPE number and possibly GpeDevice
6715129684Snjl    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6716129684Snjl    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6717129684Snjl
6718193267SjkimFor all other devices that have _PRWs, we automatically set the GPE type to 
6719193267SjkimACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
6720193267Sjkimmust be done on a selective basis, usually requiring some kind of user app 
6721193267Sjkimto allow the user to pick the wake devices.
6722129684Snjl
6723129684Snjl
6724193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6725193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6726193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6727193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6728193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6729193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6730193267Sjkimthe compiler options used during generation.
6731129684Snjl
6732129684Snjl  Previous Release:
6733129684Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6734129684Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6735129684Snjl  Current Release:
6736167802Sjkim
6737129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6738129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6739129684Snjl
6740129684Snjl
6741129684Snjl
6742129684Snjl----------------------------------------
6743128212Snjl02 April 2004.  Summary of changes for version 20040402:
6744128212Snjl
6745128212Snjl1) ACPI CA Core Subsystem:
6746128212Snjl
6747193267SjkimFixed an interpreter problem where an indirect store through an ArgX 
6748193267Sjkimparameter was incorrectly applying the "implicit conversion rules" during 
6749193267Sjkimthe store.  From the ACPI specification: "If the target is a method local or 
6750193267Sjkimargument (LocalX or ArgX), no conversion is performed and the result is 
6751193267Sjkimstored directly to the target".  The new behavior is to disable implicit 
6752193267Sjkimconversion during ALL stores to an ArgX.
6753128212Snjl
6754193267SjkimChanged the behavior of the _PRW method scan to ignore any and all errors 
6755193267Sjkimreturned by a given _PRW.  This prevents the scan from aborting from the 
6756193267Sjkimfailure of any single _PRW.
6757128212Snjl
6758193267SjkimMoved the runtime configuration parameters from the global init procedure to 
6759193267Sjkimstatic variables in acglobal.h.  This will allow the host to override the 
6760193267Sjkimdefault values easily.
6761128212Snjl
6762193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6763193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6764193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6765193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6766193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6767193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6768193267Sjkimthe compiler options used during generation.
6769128212Snjl
6770128212Snjl  Previous Release:
6771128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6772128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6773128212Snjl  Current Release:
6774128212Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6775128212Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6776128212Snjl
6777128212Snjl
6778128212Snjl2) iASL Compiler/Disassembler:
6779128212Snjl
6780193267SjkimiASL now fully disassembles SSDTs.  However, External() statements are not 
6781193267Sjkimgenerated automatically for unresolved symbols at this time.  This is a 
6782193267Sjkimplanned feature for future implementation.
6783128212Snjl
6784193267SjkimFixed a scoping problem in the disassembler that occurs when the type of the 
6785193267Sjkimtarget of a Scope() operator is overridden.  This problem caused an 
6786193267Sjkimincorrectly nested internal namespace to be constructed.
6787128212Snjl
6788193267SjkimAny warnings or errors that are emitted during disassembly are now commented 
6789193267Sjkimout automatically so that the resulting file can be recompiled without any 
6790193267Sjkimhand editing.
6791128212Snjl
6792128212Snjl----------------------------------------
6793128212Snjl26 March 2004.  Summary of changes for version 20040326:
6794128212Snjl
6795128212Snjl1) ACPI CA Core Subsystem:
6796128212Snjl
6797193267SjkimImplemented support for "wake" GPEs via interaction between GPEs and the 
6798193267Sjkim_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
6799193267Sjkimidentified as a WAKE GPE and by default will no longer be enabled at 
6800193267Sjkimruntime.  Previously, we were blindly enabling all GPEs with a corresponding 
6801193267Sjkim_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
6802193267Sjkimbelieve this has been the cause of thousands of "spurious" GPEs on some 
6803128212Snjlsystems.
6804128212Snjl
6805193267SjkimThis new GPE behavior is can be reverted to the original behavior (enable 
6806193267SjkimALL GPEs at runtime) via a runtime flag.
6807128212Snjl
6808193267SjkimFixed a problem where aliased control methods could not access objects 
6809193267Sjkimproperly.  The proper scope within the namespace was not initialized 
6810193267Sjkim(transferred to the target of the aliased method) before executing the 
6811193267Sjkimtarget method.
6812128212Snjl
6813193267SjkimFixed a potential race condition on internal object deletion on the return 
6814193267Sjkimobject in AcpiEvaluateObject. 
6815128212Snjl
6816193267SjkimIntegrated a fix for resource descriptors where both _MEM and _MTP were 
6817193267Sjkimbeing extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
6818193267Sjkimwide, 0x0F instead of 0x03.)
6819128212Snjl
6820193267SjkimAdded a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
6821193267Sjkimfault in some cases.
6822128212Snjl
6823128212SnjlUpdated Notify() values for debug statements in evmisc.c
6824128212Snjl
6825193267SjkimReturn proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6826128212Snjl
6827193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6828193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6829193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6830193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6831193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6832193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6833193267Sjkimthe compiler options used during generation.
6834128212Snjl
6835128212Snjl  Previous Release:
6836167802Sjkim
6837128212Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6838128212Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6839128212Snjl  Current Release:
6840128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6841128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6842128212Snjl
6843128212Snjl----------------------------------------
6844127175Snjl11 March 2004.  Summary of changes for version 20040311:
6845127175Snjl
6846127175Snjl1) ACPI CA Core Subsystem:
6847127175Snjl
6848193267SjkimFixed a problem where errors occurring during the parse phase of control 
6849193267Sjkimmethod execution did not abort cleanly.  For example, objects created and 
6850193267Sjkiminstalled in the namespace were not deleted.  This caused all subsequent 
6851193267Sjkiminvocations of the method to return the AE_ALREADY_EXISTS exception.
6852127175Snjl
6853193267SjkimImplemented a mechanism to force a control method to "Serialized" execution 
6854193267Sjkimif the method attempts to create namespace objects. (The root of the 
6855193267SjkimAE_ALREADY_EXISTS problem.)
6856127175Snjl
6857193267SjkimImplemented support for the predefined _OSI "internal" control method.  
6858193267SjkimInitial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
6859193267Sjkim"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
6860193267SjkimThis feature will allow "other" operating systems to execute the fully 
6861193267Sjkimtested, "Windows" code path through the ASL code
6862127175Snjl
6863193267SjkimGlobal Lock Support:  Now allows multiple acquires and releases with any 
6864193267Sjkiminternal thread.  Removed concept of "owning thread" for this special mutex.
6865127175Snjl
6866193267SjkimFixed two functions that were inappropriately declaring large objects on the 
6867193267SjkimCPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
6868193267Sjkimmethod execution considerably.
6869127175Snjl
6870193267SjkimFixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
6871193267SjkimS4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6872127175Snjl
6873193267SjkimFixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
6874193267Sjkimdefined on the machine.
6875127175Snjl
6876193267SjkimImplemented two runtime options:  One to force all control method execution 
6877193267Sjkimto "Serialized" to mimic Windows behavior, another to disable _OSI support 
6878193267Sjkimif it causes problems on a given machine.
6879127175Snjl
6880193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6881193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6882193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6883193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6884193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6885193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6886193267Sjkimthe compiler options used during generation.
6887127175Snjl
6888127175Snjl  Previous Release:
6889127175Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6890127175Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6891127175Snjl  Current Release:
6892127175Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6893127175Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6894127175Snjl
6895127175Snjl2) iASL Compiler/Disassembler:
6896127175Snjl
6897193267SjkimFixed an array size problem for FreeBSD that would cause the compiler to 
6898193267Sjkimfault.
6899127175Snjl
6900127175Snjl----------------------------------------
6901126372Snjl20 February 2004.  Summary of changes for version 20040220:
6902126372Snjl
6903167802Sjkim
6904126372Snjl1) ACPI CA Core Subsystem:
6905126372Snjl
6906193267SjkimImplemented execution of _SxD methods for Device objects in the 
6907126372SnjlGetObjectInfo interface.
6908126372Snjl
6909126372SnjlFixed calls to _SST method to pass the correct arguments.
6910126372Snjl
6911126372SnjlAdded a call to _SST on wake to restore to "working" state.
6912126372Snjl
6913193267SjkimCheck for End-Of-Buffer failure case in the WalkResources interface.
6914126372Snjl
6915193267SjkimIntegrated fix for 64-bit alignment issue in acglobal.h by moving two 
6916193267Sjkimstructures to the beginning of the file.
6917126372Snjl
6918126372SnjlAfter wake, clear GPE status register(s) before enabling GPEs.
6919126372Snjl
6920193267SjkimAfter wake, clear/enable power button.  (Perhaps we should clear/enable all 
6921193267Sjkimfixed events upon wake.)
6922126372Snjl
6923126372SnjlFixed a couple of possible memory leaks in the Namespace manager.
6924126372Snjl
6925126372SnjlIntegrated latest acnetbsd.h file.
6926126372Snjl
6927126372Snjl----------------------------------------
6928126372Snjl11 February 2004.  Summary of changes for version 20040211:
6929126372Snjl
6930167802Sjkim
6931126372Snjl1) ACPI CA Core Subsystem:
6932126372Snjl
6933193267SjkimCompleted investigation and implementation of the call-by-reference 
6934193267Sjkimmechanism for control method arguments.
6935126372Snjl
6936193267SjkimFixed a problem where a store of an object into an indexed package could 
6937193267Sjkimfail if the store occurs within a different method than the method that 
6938193267Sjkimcreated the package.
6939126372Snjl
6940193267SjkimFixed a problem where the ToDecimal operator could return incorrect results.
6941126372Snjl
6942193267SjkimFixed a problem where the CopyObject operator could fail on some of the more 
6943193267Sjkimobscure objects (e.g., Reference objects.)
6944126372Snjl
6945193267SjkimImproved the output of the Debug object to display buffer, package, and 
6946193267Sjkimindex objects.
6947126372Snjl
6948193267SjkimFixed a problem where constructs of the form "RefOf (ArgX)" did not return 
6949193267Sjkimthe expected result.
6950126372Snjl
6951193267SjkimAdded permanent ACPI_REPORT_ERROR macros for all instances of the 
6952126372SnjlACPI_AML_INTERNAL exception.
6953126372Snjl
6954126372SnjlIntegrated latest version of acfreebsd.h
6955126372Snjl
6956126372Snjl----------------------------------------
6957126372Snjl16 January 2004.  Summary of changes for version 20040116:
6958126372Snjl
6959193267SjkimThe purpose of this release is primarily to update the copyright years in 
6960193267Sjkimeach module, thus causing a huge number of diffs.  There are a few small 
6961193267Sjkimfunctional changes, however.
6962126372Snjl
6963126372Snjl1) ACPI CA Core Subsystem:
6964126372Snjl
6965193267SjkimImproved error messages when there is a problem finding one or more of the 
6966193267Sjkimrequired base ACPI tables
6967126372Snjl
6968126372SnjlReintroduced the definition of APIC_HEADER in actbl.h
6969126372Snjl
6970126372SnjlChanged definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6971126372Snjl
6972126372SnjlRemoved extraneous reference to NewObj in dsmthdat.c
6973126372Snjl
6974126372Snjl2) iASL compiler
6975126372Snjl
6976193267SjkimFixed a problem introduced in December that disabled the correct disassembly 
6977193267Sjkimof Resource Templates
6978126372Snjl
6979126372Snjl
6980126372Snjl----------------------------------------
6981126372Snjl03 December 2003.  Summary of changes for version 20031203:
6982126372Snjl
6983126372Snjl1) ACPI CA Core Subsystem:
6984126372Snjl
6985126372SnjlChanged the initialization of Operation Regions during subsystem
6986126372Snjlinit to perform two entire walks of the ACPI namespace; The first
6987126372Snjlto initialize the regions themselves, the second to execute the
6988126372Snjl_REG methods.  This fixed some interdependencies across _REG
6989126372Snjlmethods found on some machines.
6990126372Snjl
6991126372SnjlFixed a problem where a Store(Local0, Local1) could simply update
6992126372Snjlthe object reference count, and not create a new copy of the
6993126372Snjlobject if the Local1 is uninitialized.
6994126372Snjl
6995126372SnjlImplemented support for the _SST reserved method during sleep
6996126372Snjltransitions.
6997126372Snjl
6998126372SnjlImplemented support to clear the SLP_TYP and SLP_EN bits when
6999126372Snjlwaking up, this is apparently required by some machines.
7000126372Snjl
7001193267SjkimWhen sleeping, clear the wake status only if SleepState is not S5.
7002126372Snjl
7003126372SnjlFixed a problem in AcpiRsExtendedIrqResource() where an incorrect
7004126372Snjlpointer arithmetic advanced a string pointer too far.
7005126372Snjl
7006126372SnjlFixed a problem in AcpiTbGetTablePtr() where a garbage pointer
7007126372Snjlcould be returned if the requested table has not been loaded.
7008126372Snjl
7009193267SjkimWithin the support for IRQ resources, restructured the handling of
7010126372Snjlthe active and edge/level bits.
7011126372Snjl
7012126372SnjlFixed a few problems in AcpiPsxExecute() where memory could be
7013126372Snjlleaked under certain error conditions.
7014126372Snjl
7015126372SnjlImproved error messages for the cases where the ACPI mode could
7016126372Snjlnot be entered.
7017126372Snjl
7018126372SnjlCode and Data Size: Current and previous core subsystem library
7019126372Snjlsizes are shown below.  These are the code and data sizes for the
7020126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7021126372Snjlthese values do not include any ACPI driver or OSPM code.  The
7022126372Snjldebug version of the code includes the debug output trace
7023126372Snjlmechanism and has a much larger code and data size.  Note that
7024193267Sjkimthese values will vary depending on the efficiency of the compiler
7025126372Snjland the compiler options used during generation.
7026126372Snjl
7027126372Snjl  Previous Release (20031029):
7028126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7029126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7030126372Snjl  Current Release:
7031126372Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7032126372Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7033126372Snjl
7034126372Snjl2) iASL Compiler/Disassembler:
7035126372Snjl
7036126372SnjlImplemented a fix for the iASL disassembler where a bad index was
7037126372Snjlgenerated.  This was most noticeable on 64-bit platforms
7038126372Snjl
7039126372Snjl
7040126372Snjl----------------------------------------
7041126372Snjl29 October 2003.  Summary of changes for version 20031029:
7042126372Snjl
7043126372Snjl1) ACPI CA Core Subsystem:
7044126372Snjl
7045167802Sjkim
7046126372SnjlFixed a problem where a level-triggered GPE with an associated
7047126372Snjl_Lxx control method was incorrectly cleared twice.
7048126372Snjl
7049126372SnjlFixed a problem with the Field support code where an access can
7050126372Snjloccur beyond the end-of-region if the field is non-aligned but
7051126372Snjlextends to the very end of the parent region (resulted in an
7052126372SnjlAE_AML_REGION_LIMIT exception.)
7053126372Snjl
7054126372SnjlFixed a problem with ACPI Fixed Events where an RT Clock handler
7055193267Sjkimwould not get invoked on an RTC event.  The RTC event bitmasks for
7056126372Snjlthe PM1 registers were not being initialized properly.
7057126372Snjl
7058126372SnjlImplemented support for executing _STA and _INI methods for
7059126372SnjlProcessor objects.  Although this is currently not part of the
7060193267SjkimACPI specification, there is existing ASL code that depends on the
7061126372Snjlinit-time execution of these methods.
7062126372Snjl
7063126372SnjlImplemented and deployed a GetDescriptorName function to decode
7064126372Snjlthe various types of internal descriptors.  Guards against null
7065126372Snjldescriptors during debug output also.
7066126372Snjl
7067126372SnjlImplemented and deployed a GetNodeName function to extract the 4-
7068193267Sjkimcharacter namespace node name.  This function simplifies the debug
7069193267Sjkimand error output, as well as guarding against null pointers during
7070126372Snjloutput.
7071126372Snjl
7072126372SnjlImplemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7073126372Snjlsimplify the debug and error output of 64-bit integers.  This
7074126372Snjlmacro replaces the HIDWORD and LODWORD macros for dumping these
7075126372Snjlintegers.
7076126372Snjl
7077126372SnjlUpdated the implementation of the Stall() operator to only call
7078126372SnjlAcpiOsStall(), and also return an error if the operand is larger
7079126372Snjlthan 255.  This preserves the required behavior of not
7080126372Snjlrelinquishing the processor, as would happen if AcpiOsSleep() was
7081126372Snjlcalled for "long stalls".
7082126372Snjl
7083126372SnjlConstructs of the form "Store(LocalX,LocalX)" where LocalX is not
7084126372Snjlinitialized are now treated as NOOPs.
7085126372Snjl
7086126372SnjlCleaned up a handful of warnings during 64-bit generation.
7087126372Snjl
7088126372SnjlFixed a reported error where and incorrect GPE number was passed
7089126372Snjlto the GPE dispatch handler.  This value is only used for error
7090193267Sjkimoutput, however.  Used this opportunity to clean up and streamline
7091126372Snjlthe GPE dispatch code.
7092126372Snjl
7093126372SnjlCode and Data Size: Current and previous core subsystem library
7094126372Snjlsizes are shown below.  These are the code and data sizes for the
7095126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7096126372Snjlthese values do not include any ACPI driver or OSPM code.  The
7097167802Sjkim
7098126372Snjldebug version of the code includes the debug output trace
7099126372Snjlmechanism and has a much larger code and data size.  Note that
7100193267Sjkimthese values will vary depending on the efficiency of the compiler
7101126372Snjland the compiler options used during generation.
7102126372Snjl
7103126372Snjl  Previous Release (20031002):
7104126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7105126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7106126372Snjl  Current Release:
7107126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7108126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7109126372Snjl
7110126372Snjl
7111126372Snjl2) iASL Compiler/Disassembler:
7112126372Snjl
7113193267SjkimUpdated the iASL compiler to return an error if the operand to the
7114126372SnjlStall() operator is larger than 255.
7115126372Snjl
7116126372Snjl
7117126372Snjl----------------------------------------
7118126372Snjl02 October 2003.  Summary of changes for version 20031002:
7119126372Snjl
7120126372Snjl
7121126372Snjl1) ACPI CA Core Subsystem:
7122126372Snjl
7123126372SnjlFixed a problem with Index Fields where the index was not
7124126372Snjlincremented for fields that require multiple writes to the
7125126372Snjlindex/data registers (Fields that are wider than the data
7126126372Snjlregister.)
7127126372Snjl
7128126372SnjlFixed a problem with all Field objects where a write could go
7129126372Snjlbeyond the end-of-field if the field was larger than the access
7130193267Sjkimgranularity and therefore required multiple writes to complete the
7131126372Snjlrequest.  An extra write beyond the end of the field could happen
7132126372Snjlinadvertently.
7133126372Snjl
7134126372SnjlFixed a problem with Index Fields where a BUFFER_OVERFLOW error
7135126372Snjlwould incorrectly be returned if the width of the Data Register
7136126372Snjlwas larger than the specified field access width.
7137126372Snjl
7138126372SnjlCompleted fixes for LoadTable() and Unload() and verified their
7139126372Snjloperation.  Implemented full support for the "DdbHandle" object
7140126372Snjlthroughout the ACPI CA subsystem.
7141126372Snjl
7142126372SnjlImplemented full support for the MADT and ECDT tables in the ACPI
7143126372SnjlCA header files.  Even though these tables are not directly
7144126372Snjlconsumed by ACPI CA, the header definitions are useful for ACPI
7145126372Snjldevice drivers.
7146126372Snjl
7147126372SnjlIntegrated resource descriptor fixes posted to the Linux ACPI
7148126372Snjllist.  This included checks for minimum descriptor length, and
7149126372Snjlsupport for trailing NULL strings within descriptors that have
7150126372Snjloptional string elements.
7151126372Snjl
7152126372SnjlCode and Data Size: Current and previous core subsystem library
7153126372Snjlsizes are shown below.  These are the code and data sizes for the
7154126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7155126372Snjlthese values do not include any ACPI driver or OSPM code.  The
7156126372Snjldebug version of the code includes the debug output trace
7157126372Snjlmechanism and has a much larger code and data size.  Note that
7158193267Sjkimthese values will vary depending on the efficiency of the compiler
7159126372Snjland the compiler options used during generation.
7160126372Snjl
7161126372Snjl  Previous Release (20030918):
7162126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7163126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7164126372Snjl  Current Release:
7165126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7166126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7167126372Snjl
7168126372Snjl
7169126372Snjl2) iASL Compiler:
7170126372Snjl
7171126372SnjlImplemented detection of non-ASCII characters within the input
7172126372Snjlsource ASL file.  This catches attempts to compile binary (AML)
7173126372Snjlfiles early in the compile, with an informative error message.
7174126372Snjl
7175126372SnjlFixed a problem where the disassembler would fault if the output
7176193267Sjkimfilename could not be generated or if the output file could not be
7177126372Snjlopened.
7178126372Snjl
7179126372Snjl----------------------------------------
7180126372Snjl18 September 2003.  Summary of changes for version 20030918:
7181126372Snjl
7182126372Snjl
7183126372Snjl1) ACPI CA Core Subsystem:
7184126372Snjl
7185126372SnjlFound and fixed a longstanding problem with the late execution of
7186126372Snjlthe various deferred AML opcodes (such as Operation Regions,
7187126372SnjlBuffer Fields, Buffers, and Packages).  If the name string
7188126372Snjlspecified for the name of the new object placed the object in a
7189126372Snjlscope other than the current scope, the initialization/execution
7190126372Snjlof the opcode failed.  The solution to this problem was to
7191126372Snjlimplement a mechanism where the late execution of such opcodes
7192126372Snjldoes not attempt to lookup/create the name a second time in an
7193126372Snjlincorrect scope.  This fixes the "region size computed
7194126372Snjlincorrectly" problem.
7195126372Snjl
7196193267SjkimFixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7197126372SnjlGlobal Lock AE_BAD_PARAMETER error.
7198126372Snjl
7199126372SnjlFixed several 64-bit issues with prototypes, casting and data
7200126372Snjltypes.
7201126372Snjl
7202126372SnjlRemoved duplicate prototype from acdisasm.h
7203126372Snjl
7204126372SnjlFixed an issue involving EC Operation Region Detach (Shaohua Li)
7205126372Snjl
7206126372SnjlCode and Data Size: Current and previous core subsystem library
7207126372Snjlsizes are shown below.  These are the code and data sizes for the
7208126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7209126372Snjlthese values do not include any ACPI driver or OSPM code.  The
7210126372Snjldebug version of the code includes the debug output trace
7211126372Snjlmechanism and has a much larger code and data size.  Note that
7212193267Sjkimthese values will vary depending on the efficiency of the compiler
7213126372Snjland the compiler options used during generation.
7214126372Snjl
7215126372Snjl  Previous Release:
7216167802Sjkim
7217126372Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7218126372Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7219126372Snjl  Current Release:
7220126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7221126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7222126372Snjl
7223126372Snjl
7224126372Snjl2) Linux:
7225126372Snjl
7226126372SnjlFixed the AcpiOsSleep implementation in osunixxf.c to pass the
7227126372Snjlcorrect sleep time in seconds.
7228126372Snjl
7229126372Snjl----------------------------------------
7230126372Snjl14 July 2003.  Summary of changes for version 20030619:
7231126372Snjl
7232126372Snjl1) ACPI CA Core Subsystem:
7233126372Snjl
7234126372SnjlParse SSDTs in order discovered, as opposed to reverse order
7235126372Snjl(Hrvoje Habjanic)
7236126372Snjl
7237126372SnjlFixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7238126372SnjlKlausner,
7239126372Snjl   Nate Lawson)
7240126372Snjl
7241126372Snjl
7242126372Snjl2) Linux:
7243126372Snjl
7244126372SnjlDynamically allocate SDT list (suggested by Andi Kleen)
7245126372Snjl
7246126372Snjlproc function return value cleanups (Andi Kleen)
7247126372Snjl
7248126372SnjlCorrectly handle NMI watchdog during long stalls (Andrew Morton)
7249126372Snjl
7250126372SnjlMake it so acpismp=force works (reported by Andrew Morton)
7251126372Snjl
7252126372Snjl
7253126372Snjl----------------------------------------
7254117521Snjl19 June 2003.  Summary of changes for version 20030619:
7255117521Snjl
7256117521Snjl1) ACPI CA Core Subsystem:
7257117521Snjl
7258193267SjkimFix To/FromBCD, eliminating the need for an arch-specific #define.
7259117521Snjl
7260117521SnjlDo not acquire a semaphore in the S5 shutdown path.
7261117521Snjl
7262117521SnjlFix ex_digits_needed for 0. (Takayoshi Kochi)
7263117521Snjl
7264117521SnjlFix sleep/stall code reversal. (Andi Kleen)
7265117521Snjl
7266117521SnjlRevert a change having to do with control method calling
7267117521Snjlsemantics.
7268117521Snjl
7269117521Snjl2) Linux:
7270117521Snjl
7271117521Snjlacpiphp update (Takayoshi Kochi)
7272117521Snjl
7273117521SnjlExport acpi_disabled for sonypi (Stelian Pop)
7274117521Snjl
7275117521SnjlMention acpismp=force in config help
7276117521Snjl
7277117521SnjlRe-add acpitable.c and acpismp=force. This improves backwards
7278167802Sjkim
7279193267Sjkimcompatibility and also cleans up the code to a significant degree.
7280117521Snjl
7281117521SnjlAdd ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7282117521Snjl
7283117521Snjl----------------------------------------
7284117521Snjl22 May 2003.  Summary of changes for version 20030522:
7285117521Snjl
7286117521Snjl1) ACPI CA Core Subsystem:
7287117521Snjl
7288117521SnjlFound and fixed a reported problem where an AE_NOT_FOUND error
7289117521Snjloccurred occasionally during _BST evaluation.  This turned out to
7290117521Snjlbe an Owner ID allocation issue where a called method did not get
7291193267Sjkima new ID assigned to it.  Eventually, (after 64k calls), the Owner
7292193267SjkimID UINT16 would wraparound so that the ID would be the same as the
7293126372Snjlcaller's and the called method would delete the caller's
7294117521Snjlnamespace.
7295117521Snjl
7296117521SnjlImplemented extended error reporting for control methods that are
7297117521Snjlaborted due to a run-time exception.  Output includes the exact
7298193267SjkimAML instruction that caused the method abort, a dump of the method
7299126372Snjllocals and arguments at the time of the abort, and a trace of all
7300126372Snjlnested control method calls.
7301117521Snjl
7302117521SnjlModified the interpreter to allow the creation of buffers of zero
7303117521Snjllength from the AML code. Implemented new code to ensure that no
7304117521Snjlattempt is made to actually allocate a memory buffer (of length
7305193267Sjkimzero) - instead, a simple buffer object with a NULL buffer pointer
7306126372Snjland length zero is created.  A warning is no longer issued when
7307126372Snjlthe AML attempts to create a zero-length buffer.
7308117521Snjl
7309117521SnjlImplemented a workaround for the "leading asterisk issue" in
7310117521Snjl_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7311117521Snjlasterisk is automatically removed if present in any HID, UID, or
7312117521SnjlCID strings.  The iASL compiler will still flag this asterisk as
7313117521Snjlan error, however.
7314117521Snjl
7315193267SjkimImplemented full support for _CID methods that return a package of
7316193267Sjkimmultiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7317126372Snjlnow additionally returns a device _CID list if present.  This
7318126372Snjlrequired a change to the external interface in order to pass an
7319126372SnjlACPI_BUFFER object as a parameter since the _CID list is of
7320117521Snjlvariable length.
7321117521Snjl
7322117521SnjlFixed a problem with the new AE_SAME_HANDLER exception where
7323117521Snjlhandler initialization code did not know about this exception.
7324117521Snjl
7325117521SnjlCode and Data Size: Current and previous core subsystem library
7326117521Snjlsizes are shown below.  These are the code and data sizes for the
7327117521Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7328117521Snjlthese values do not include any ACPI driver or OSPM code.  The
7329117521Snjldebug version of the code includes the debug output trace
7330117521Snjlmechanism and has a much larger code and data size.  Note that
7331193267Sjkimthese values will vary depending on the efficiency of the compiler
7332126372Snjland the compiler options used during generation.
7333117521Snjl
7334117521Snjl  Previous Release (20030509):
7335117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7336117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7337117521Snjl  Current Release:
7338117521Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7339117521Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7340117521Snjl
7341117521Snjl
7342117521Snjl2) Linux:
7343117521Snjl
7344117521SnjlFixed a bug in which we would reinitialize the ACPI interrupt
7345193267Sjkimafter it was already working, thus disabling all ACPI and the IRQs
7346126372Snjlfor any other device sharing the interrupt. (Thanks to Stian
7347117521SnjlJordet)
7348117521Snjl
7349117521SnjlToshiba driver update (John Belmonte)
7350117521Snjl
7351117521SnjlReturn only 0 or 1 for our interrupt handler status (Andrew
7352117521SnjlMorton)
7353117521Snjl
7354117521Snjl
7355117521Snjl3) iASL Compiler:
7356117521Snjl
7357117521SnjlFixed a reported problem where multiple (nested) ElseIf()
7358117521Snjlstatements were not handled correctly by the compiler, resulting
7359117521Snjlin incorrect warnings and incorrect AML code.  This was a problem
7360117521Snjlin both the ASL parser and the code generator.
7361117521Snjl
7362117521Snjl
7363117521Snjl4) Documentation:
7364117521Snjl
7365193267SjkimAdded changes to existing interfaces, new exception codes, and new
7366126372Snjltext concerning reference count object management versus garbage
7367126372Snjlcollection.
7368117521Snjl
7369117521Snjl----------------------------------------
7370117521Snjl09 May 2003.  Summary of changes for version 20030509.
7371117521Snjl
7372117521Snjl
7373117521Snjl1) ACPI CA Core Subsystem:
7374117521Snjl
7375117521SnjlChanged the subsystem initialization sequence to hold off
7376193267Sjkiminstallation of address space handlers until the hardware has been
7377193267Sjkiminitialized and the system has entered ACPI mode.  This is because
7378126372Snjlthe installation of space handlers can cause _REG methods to be
7379193267Sjkimrun.  Previously, the _REG methods could potentially be run before
7380126372SnjlACPI mode was enabled.
7381117521Snjl
7382193267SjkimFixed some memory leak issues related to address space handler and
7383126372Snjlnotify handler installation.  There were some problems with the
7384126372Snjlreference count mechanism caused by the fact that the handler
7385117521Snjlobjects are shared across several namespace objects.
7386117521Snjl
7387117521SnjlFixed a reported problem where reference counts within the
7388117521Snjlnamespace were not properly updated when named objects created by
7389117521Snjlmethod execution were deleted.
7390117521Snjl
7391117521SnjlFixed a reported problem where multiple SSDTs caused a deletion
7392117521Snjlissue during subsystem termination.  Restructured the table data
7393117521Snjlstructures to simplify the linked lists and the related code.
7394117521Snjl
7395117521SnjlFixed a problem where the table ID associated with secondary
7396193267Sjkimtables (SSDTs) was not being propagated into the namespace objects
7397126372Snjlcreated by those tables.  This would only present a problem for
7398126372Snjltables that are unloaded at run-time, however.
7399117521Snjl
7400117521SnjlUpdated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7401117521Snjltype as the length parameter (instead of UINT32).
7402117521Snjl
7403117521SnjlSolved a long-standing problem where an ALREADY_EXISTS error
7404117521Snjlappears on various systems.  This problem could happen when there
7405117521Snjlare multiple PCI_Config operation regions under a single PCI root
7406117521Snjlbus.  This doesn't happen very frequently, but there are some
7407117521Snjlsystems that do this in the ASL.
7408117521Snjl
7409117521SnjlFixed a reported problem where the internal DeleteNode function
7410117521Snjlwas incorrectly handling the case where a namespace node was the
7411117521Snjlfirst in the parent's child list, and had additional peers (not
7412117521Snjlthe only child, but first in the list of children.)
7413117521Snjl
7414193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7415126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7416126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7417126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7418126372Snjlversion of the code includes the debug output trace mechanism and
7419193267Sjkimhas a much larger code and data size.  Note that these values will
7420126372Snjlvary depending on the efficiency of the compiler and the compiler
7421126372Snjloptions used during generation.
7422117521Snjl
7423117521Snjl  Previous Release
7424117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7425117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7426117521Snjl  Current Release:
7427117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7428117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7429117521Snjl
7430117521Snjl
7431117521Snjl2) Linux:
7432117521Snjl
7433117521SnjlAllow ":" in OS override string (Ducrot Bruno)
7434117521Snjl
7435117521SnjlKobject fix (Greg KH)
7436117521Snjl
7437117521Snjl
7438117521Snjl3 iASL Compiler/Disassembler:
7439117521Snjl
7440117521SnjlFixed a problem in the generation of the C source code files (AML
7441117521Snjlis emitted in C source statements for BIOS inclusion) where the
7442193267SjkimAscii dump that appears within a C comment at the end of each line
7443126372Snjlcould cause a compile time error if the AML sequence happens to
7444126372Snjlhave an open comment or close comment sequence embedded.
7445117521Snjl
7446117521Snjl
7447117521Snjl----------------------------------------
7448117521Snjl24 April 2003.  Summary of changes for version 20030424.
7449117521Snjl
7450117521Snjl
7451117521Snjl1) ACPI CA Core Subsystem:
7452117521Snjl
7453117521SnjlSupport for big-endian systems has been implemented.  Most of the
7454193267Sjkimsupport has been invisibly added behind big-endian versions of the
7455126372SnjlACPI_MOVE_* macros.
7456117521Snjl
7457117521SnjlFixed a problem in AcpiHwDisableGpeBlock() and
7458117521SnjlAcpiHwClearGpeBlock() where an incorrect offset was passed to the
7459117521Snjllow level hardware write routine.  The offset parameter was
7460193267Sjkimactually eliminated from the low level read/write routines because
7461126372Snjlthey had become obsolete.
7462117521Snjl
7463117521SnjlFixed a problem where a handler object was deleted twice during
7464117521Snjlthe removal of a fixed event handler.
7465117521Snjl
7466117521Snjl
7467117521Snjl2) Linux:
7468117521Snjl
7469117521SnjlA fix for SMP systems with link devices was contributed by
7470167802Sjkim
7471117521SnjlCompaq's Dan Zink.
7472117521Snjl
7473117521Snjl(2.5) Return whether we handled the interrupt in our IRQ handler.
7474193267Sjkim(Linux ISRs no longer return void, so we can propagate the handler
7475126372Snjlreturn value from the ACPI CA core back to the OS.)
7476117521Snjl
7477117521Snjl
7478167802Sjkim
7479117521Snjl3) Documentation:
7480117521Snjl
7481117521SnjlThe ACPI CA Programmer Reference has been updated to reflect new
7482117521Snjlinterfaces and changes to existing interfaces.
7483117521Snjl
7484117521Snjl----------------------------------------
7485117521Snjl28 March 2003.  Summary of changes for version 20030328.
7486117521Snjl
7487117521Snjl1) ACPI CA Core Subsystem:
7488117521Snjl
7489117521SnjlThe GPE Block Device support has been completed.  New interfaces
7490117521Snjlare AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7491117521Snjlinterfaces (enable, disable, clear, getstatus) have been split
7492117521Snjlinto separate interfaces for Fixed Events and General Purpose
7493117521SnjlEvents (GPEs) in order to support GPE Block Devices properly.
7494117521Snjl
7495117521SnjlFixed a problem where the error message "Failed to acquire
7496117521Snjlsemaphore" would appear during operations on the embedded
7497117521Snjlcontroller (EC).
7498117521Snjl
7499193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7500126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7501126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7502126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7503126372Snjlversion of the code includes the debug output trace mechanism and
7504193267Sjkimhas a much larger code and data size.  Note that these values will
7505126372Snjlvary depending on the efficiency of the compiler and the compiler
7506126372Snjloptions used during generation.
7507117521Snjl
7508117521Snjl  Previous Release
7509117521Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7510117521Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7511117521Snjl  Current Release:
7512117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7513117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7514117521Snjl
7515117521Snjl
7516117521Snjl----------------------------------------
7517114237Snjl28 February 2003.  Summary of changes for version 20030228.
7518114237Snjl
7519114237Snjl
7520114237Snjl1) ACPI CA Core Subsystem:
7521114237Snjl
7522114237SnjlThe GPE handling and dispatch code has been completely overhauled
7523114237Snjlin preparation for support of GPE Block Devices (ID ACPI0006).
7524114237SnjlThis affects internal data structures and code only; there should
7525114237Snjlbe no differences visible externally.  One new file has been
7526114237Snjladded, evgpeblk.c
7527114237Snjl
7528114237SnjlThe FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7529114237Snjlfields that are used to determine the GPE block lengths.  The
7530114237SnjlREGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7531193267Sjkimstructures are ignored.  This is per the ACPI specification but it
7532126372Snjlisn't very clear.  The full 256 Block 0/1 GPEs are now supported
7533193267Sjkim(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7534114237Snjl
7535114237SnjlIn the SCI interrupt handler, removed the read of the PM1_CONTROL
7536114237Snjlregister to look at the SCI_EN bit.  On some machines, this read
7537114237Snjlcauses an SMI event and greatly slows down SCI events.  (This may
7538114237Snjlin fact be the cause of slow battery status response on some
7539114237Snjlsystems.)
7540114237Snjl
7541193267SjkimFixed a problem where a store of a NULL string to a package object
7542126372Snjlcould cause the premature deletion of the object.  This was seen
7543126372Snjlduring execution of the battery _BIF method on some systems,
7544126372Snjlresulting in no battery data being returned.
7545114237Snjl
7546114237SnjlAdded AcpiWalkResources interface to simplify parsing of resource
7547114237Snjllists.
7548114237Snjl
7549193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7550126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7551126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7552126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7553126372Snjlversion of the code includes the debug output trace mechanism and
7554193267Sjkimhas a much larger code and data size.  Note that these values will
7555126372Snjlvary depending on the efficiency of the compiler and the compiler
7556126372Snjloptions used during generation.
7557114237Snjl
7558114237Snjl  Previous Release
7559114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7560114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7561114237Snjl  Current Release:
7562114237Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7563114237Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7564114237Snjl
7565114237Snjl
7566114237Snjl2) Linux
7567114237Snjl
7568114237SnjlS3 fixes (Ole Rohne)
7569114237Snjl
7570114237SnjlUpdate ACPI PHP driver with to use new acpi_walk_resource API
7571114237Snjl(Bjorn Helgaas)
7572114237Snjl
7573114237SnjlAdd S4BIOS support (Pavel Machek)
7574114237Snjl
7575114237SnjlMap in entire table before performing checksum (John Stultz)
7576114237Snjl
7577193267SjkimExpand the mem= cmdline to allow the specification of reserved and
7578126372SnjlACPI DATA blocks (Pavel Machek)
7579114237Snjl
7580114237SnjlNever use ACPI on VISWS
7581114237Snjl
7582114237SnjlFix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7583114237Snjl
7584114237SnjlRevert a change that allowed P_BLK lengths to be 4 or 5. This is
7585114237Snjlcausing us to think that some systems support C2 when they really
7586114237Snjldon't.
7587114237Snjl
7588114237SnjlDo not count processor objects for non-present CPUs (Thanks to
7589114237SnjlDominik Brodowski)
7590114237Snjl
7591114237Snjl
7592114237Snjl3) iASL Compiler:
7593114237Snjl
7594114237SnjlFixed a problem where ASL include files could not be found and
7595114237Snjlopened.
7596114237Snjl
7597114237SnjlAdded support for the _PDC reserved name.
7598114237Snjl
7599114237Snjl
7600117521Snjl----------------------------------------
7601114237Snjl22 January 2003.  Summary of changes for version 20030122.
7602114237Snjl
7603114237Snjl
7604114237Snjl1) ACPI CA Core Subsystem:
7605114237Snjl
7606114237SnjlAdded a check for constructs of the form:  Store (Local0, Local0)
7607114237Snjlwhere Local0 is not initialized.  Apparently, some BIOS
7608193267Sjkimprogrammers believe that this is a NOOP.  Since this store doesn't
7609126372Snjldo anything anyway, the new prototype behavior will ignore this
7610126372Snjlerror.  This is a case where we can relax the strict checking in
7611126372Snjlthe interpreter in the name of compatibility.
7612114237Snjl
7613114237Snjl
7614114237Snjl2) Linux
7615114237Snjl
7616114237SnjlThe AcpiSrc Source Conversion Utility has been released with the
7617114237SnjlLinux package for the first time.  This is the utility that is
7618193267Sjkimused to convert the ACPI CA base source code to the Linux version.
7619114237Snjl
7620114237Snjl(Both) Handle P_BLK lengths shorter than 6 more gracefully
7621114237Snjl
7622114237Snjl(Both) Move more headers to include/acpi, and delete an unused
7623114237Snjlheader.
7624114237Snjl
7625114237Snjl(Both) Move drivers/acpi/include directory to include/acpi
7626114237Snjl
7627114237Snjl(Both) Boot functions don't use cmdline, so don't pass it around
7628114237Snjl
7629114237Snjl(Both) Remove include of unused header (Adrian Bunk)
7630114237Snjl
7631114237Snjl(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7632114237Snjlthe
7633193267Sjkimformer now also includes the latter, acpiphp.h only needs the one,
7634126372Snjlnow.
7635114237Snjl
7636193267Sjkim(2.5) Make it possible to select method of bios restoring after S3
7637114237Snjlresume. [=> no more ugly ifdefs] (Pavel Machek)
7638114237Snjl
7639114237Snjl(2.5) Make proc write interfaces work (Pavel Machek)
7640114237Snjl
7641114237Snjl(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7642114237Snjl
7643114237Snjl(2.5) Break out ACPI Perf code into its own module, under cpufreq
7644114237Snjl(Dominik Brodowski)
7645114237Snjl
7646114237Snjl(2.4) S4BIOS support (Ducrot Bruno)
7647114237Snjl
7648114237Snjl(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7649114237SnjlVisinoni)
7650114237Snjl
7651114237Snjl
7652114237Snjl3) iASL Compiler:
7653114237Snjl
7654114237SnjlAdded support to disassemble SSDT and PSDTs.
7655114237Snjl
7656114237SnjlImplemented support to obtain SSDTs from the Windows registry if
7657114237Snjlavailable.
7658114237Snjl
7659114237Snjl
7660102550Siwasaki----------------------------------------
7661114237Snjl09 January 2003.  Summary of changes for version 20030109.
7662114237Snjl
7663114237Snjl1) ACPI CA Core Subsystem:
7664114237Snjl
7665114237SnjlChanged the behavior of the internal Buffer-to-String conversion
7666193267Sjkimfunction.  The current ACPI specification states that the contents
7667126372Snjlof the buffer are "converted to a string of two-character
7668126372Snjlhexadecimal numbers, each separated by a space".  Unfortunately,
7669193267Sjkimthis definition is not backwards compatible with existing ACPI 1.0
7670193267Sjkimimplementations (although the behavior was not defined in the ACPI
7671126372Snjl1.0 specification).  The new behavior simply copies data from the
7672193267Sjkimbuffer to the string until a null character is found or the end of
7673126372Snjlthe buffer is reached.  The new String object is always null
7674126372Snjlterminated.  This problem was seen during the generation of _BIF
7675126372Snjlbattery data where incorrect strings were returned for battery
7676126372Snjltype, etc.  This will also require an errata to the ACPI
7677126372Snjlspecification.
7678114237Snjl
7679114237SnjlRenamed all instances of NATIVE_UINT and NATIVE_INT to
7680114237SnjlACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7681114237Snjl
7682114237SnjlCopyright in all module headers (both Linux and non-Linux) has be
7683114237Snjlupdated to 2003.
7684114237Snjl
7685193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7686126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7687126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7688126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7689126372Snjlversion of the code includes the debug output trace mechanism and
7690193267Sjkimhas a much larger code and data size.  Note that these values will
7691126372Snjlvary depending on the efficiency of the compiler and the compiler
7692126372Snjloptions used during generation.
7693114237Snjl
7694114237Snjl  Previous Release
7695114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7696114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7697114237Snjl  Current Release:
7698114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7699114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7700114237Snjl
7701114237Snjl
7702114237Snjl2) Linux
7703114237Snjl
7704114237SnjlFixed an oops on module insertion/removal (Matthew Tippett)
7705114237Snjl
7706114237Snjl(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7707114237Snjl
7708114237Snjl(2.5) Replace pr_debug (Randy Dunlap)
7709114237Snjl
7710114237Snjl(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7711114237Snjl
7712114237Snjl(Both) Eliminate spawning of thread from timer callback, in favor
7713114237Snjlof schedule_work()
7714114237Snjl
7715114237Snjl(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7716114237Snjl
7717114237Snjl(Both) Added define for Fixed Function HW region (Matthew Wilcox)
7718114237Snjl
7719114237Snjl(Both) Add missing statics to button.c (Pavel Machek)
7720114237Snjl
7721114237SnjlSeveral changes have been made to the source code translation
7722114237Snjlutility that generates the Linux Code in order to make the code
7723114237Snjlmore "Linux-like":
7724114237Snjl
7725114237SnjlAll typedefs on structs and unions have been removed in keeping
7726114237Snjlwith the Linux coding style.
7727114237Snjl
7728114237SnjlRemoved the non-Linux SourceSafe module revision number from each
7729114237Snjlmodule header.
7730114237Snjl
7731114237SnjlCompleted major overhaul of symbols to be lowercased for linux.
7732114237SnjlDoubled the number of symbols that are lowercased.
7733114237Snjl
7734114237SnjlFixed a problem where identifiers within procedure headers and
7735114237Snjlwithin quotes were not fully lower cased (they were left with a
7736114237Snjlstarting capital.)
7737114237Snjl
7738114237SnjlSome C macros whose only purpose is to allow the generation of 16-
7739114237Snjlbit code are now completely removed in the Linux code, increasing
7740114237Snjlreadability and maintainability.
7741114237Snjl
7742114237Snjl----------------------------------------
7743114237Snjl
7744114237Snjl12 December 2002.  Summary of changes for version 20021212.
7745114237Snjl
7746114237Snjl
7747114237Snjl1) ACPI CA Core Subsystem:
7748114237Snjl
7749114237SnjlFixed a problem where the creation of a zero-length AML Buffer
7750114237Snjlwould cause a fault.
7751114237Snjl
7752193267SjkimFixed a problem where a Buffer object that pointed to a static AML
7753126372Snjlbuffer (in an ACPI table) could inadvertently be deleted, causing
7754126372Snjlmemory corruption.
7755114237Snjl
7756114237SnjlFixed a problem where a user buffer (passed in to the external
7757114237SnjlACPI CA interfaces) could be overwritten if the buffer was too
7758114237Snjlsmall to complete the operation, causing memory corruption.
7759114237Snjl
7760114237SnjlFixed a problem in the Buffer-to-String conversion code where a
7761114237Snjlstring of length one was always returned, regardless of the size
7762114237Snjlof the input Buffer object.
7763114237Snjl
7764114237SnjlRemoved the NATIVE_CHAR data type across the entire source due to
7765114237Snjllack of need and lack of consistent use.
7766114237Snjl
7767193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7768126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7769126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7770126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7771126372Snjlversion of the code includes the debug output trace mechanism and
7772193267Sjkimhas a much larger code and data size.  Note that these values will
7773126372Snjlvary depending on the efficiency of the compiler and the compiler
7774126372Snjloptions used during generation.
7775114237Snjl
7776114237Snjl  Previous Release
7777114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7778114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7779114237Snjl  Current Release:
7780114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7781114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7782114237Snjl
7783114237Snjl
7784114237Snjl----------------------------------------
7785114237Snjl05 December 2002.  Summary of changes for version 20021205.
7786114237Snjl
7787114237Snjl1) ACPI CA Core Subsystem:
7788114237Snjl
7789114237SnjlFixed a problem where a store to a String or Buffer object could
7790114237Snjlcause corruption of the DSDT if the object type being stored was
7791114237Snjlthe same as the target object type and the length of the object
7792114237Snjlbeing stored was equal to or smaller than the original (existing)
7793114237Snjltarget object.  This was seen to cause corruption of battery _BIF
7794114237Snjlbuffers if the _BIF method modified the buffer on the fly.
7795114237Snjl
7796193267SjkimFixed a problem where an internal error was generated if a control
7797126372Snjlmethod invocation was used in an OperationRegion, Buffer, or
7798126372SnjlPackage declaration.  This was caused by the deferred parsing of
7799126372Snjlthe control method and thus the deferred creation of the internal
7800126372Snjlmethod object.  The solution to this problem was to create the
7801126372Snjlinternal method object at the moment the method is encountered in
7802126372Snjlthe first pass - so that subsequent references to the method will
7803126372Snjlable to obtain the required parameter count and thus properly
7804126372Snjlparse the method invocation.  This problem presented itself as an
7805126372SnjlAE_AML_INTERNAL during the pass 1 parse phase during table load.
7806114237Snjl
7807114237SnjlFixed a problem where the internal String object copy routine did
7808193267Sjkimnot always allocate sufficient memory for the target String object
7809126372Snjland caused memory corruption.  This problem was seen to cause
7810126372Snjl"Allocation already present in list!" errors as memory allocation
7811126372Snjlbecame corrupted.
7812114237Snjl
7813193267SjkimImplemented a new function for the evaluation of namespace objects
7814126372Snjlthat allows the specification of the allowable return object
7815126372Snjltypes.  This simplifies a lot of code that checks for a return
7816126372Snjlobject of one or more specific objects returned from the
7817114237Snjlevaluation (such as _STA, etc.)  This may become and external
7818114237Snjlfunction if it would be useful to ACPI-related drivers.
7819114237Snjl
7820114237SnjlCompleted another round of prefixing #defines with "ACPI_" for
7821114237Snjlclarity.
7822114237Snjl
7823114237SnjlCompleted additional code restructuring to allow more modular
7824114237Snjllinking for iASL compiler and AcpiExec.  Several files were split
7825114237Snjlcreating new files.  New files:  nsparse.c dsinit.c evgpe.c
7826114237Snjl
7827114237SnjlImplemented an abort mechanism to terminate an executing control
7828193267Sjkimmethod via the AML debugger.  This feature is useful for debugging
7829126372Snjlcontrol methods that depend (wait) for specific hardware
7830126372Snjlresponses.
7831114237Snjl
7832193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7833126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7834126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7835126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7836126372Snjlversion of the code includes the debug output trace mechanism and
7837193267Sjkimhas a much larger code and data size.  Note that these values will
7838126372Snjlvary depending on the efficiency of the compiler and the compiler
7839126372Snjloptions used during generation.
7840114237Snjl
7841114237Snjl  Previous Release
7842114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7843114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7844114237Snjl  Current Release:
7845114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7846114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7847114237Snjl
7848114237Snjl
7849114237Snjl2) iASL Compiler/Disassembler
7850114237Snjl
7851114237SnjlFixed a compiler code generation problem for "Interrupt" Resource
7852114237SnjlDescriptors.  If specified in the ASL, the optional "Resource
7853114237SnjlSource Index" and "Resource Source" fields were not inserted into
7854114237Snjlthe correct location within the AML resource descriptor, creating
7855114237Snjlan invalid descriptor.
7856114237Snjl
7857193267SjkimFixed a disassembler problem for "Interrupt" resource descriptors.
7858126372SnjlThe optional "Resource Source Index" and "Resource Source" fields
7859126372Snjlwere ignored.
7860114237Snjl
7861114237Snjl
7862114237Snjl----------------------------------------
7863114237Snjl22 November 2002.  Summary of changes for version 20021122.
7864114237Snjl
7865114237Snjl
7866114237Snjl1) ACPI CA Core Subsystem:
7867114237Snjl
7868114237SnjlFixed a reported problem where an object stored to a Method Local
7869114237Snjlor Arg was not copied to a new object during the store - the
7870114237Snjlobject pointer was simply copied to the Local/Arg.  This caused
7871114237Snjlall subsequent operations on the Local/Arg to also affect the
7872114237Snjloriginal source of the store operation.
7873114237Snjl
7874114237SnjlFixed a problem where a store operation to a Method Local or Arg
7875114237Snjlwas not completed properly if the Local/Arg contained a reference
7876114237Snjl(from RefOf) to a named field.  The general-purpose store-to-
7877114237Snjlnamespace-node code is now used so that this case is handled
7878114237Snjlautomatically.
7879114237Snjl
7880193267SjkimFixed a problem where the internal object copy routine would cause
7881126372Snjla protection fault if the object being copied was a Package and
7882126372Snjlcontained either 1) a NULL package element or 2) a nested sub-
7883114237Snjlpackage.
7884114237Snjl
7885114237SnjlFixed a problem with the GPE initialization that resulted from an
7886114237Snjlambiguity in the ACPI specification.  One section of the
7887114237Snjlspecification states that both the address and length of the GPE
7888193267Sjkimblock must be zero if the block is not supported.  Another section
7889126372Snjlimplies that only the address need be zero if the block is not
7890193267Sjkimsupported.  The code has been changed so that both the address and
7891126372Snjlthe length must be non-zero to indicate a valid GPE block (i.e.,
7892126372Snjlif either the address or the length is zero, the GPE block is
7893126372Snjlinvalid.)
7894114237Snjl
7895193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7896126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7897126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7898126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7899126372Snjlversion of the code includes the debug output trace mechanism and
7900193267Sjkimhas a much larger code and data size.  Note that these values will
7901126372Snjlvary depending on the efficiency of the compiler and the compiler
7902126372Snjloptions used during generation.
7903114237Snjl
7904114237Snjl  Previous Release
7905114237Snjl    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7906114237Snjl    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7907114237Snjl  Current Release:
7908114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7909114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7910114237Snjl
7911114237Snjl
7912114237Snjl2) Linux
7913114237Snjl
7914114237SnjlCleaned up EC driver. Exported an external EC read/write
7915114237Snjlinterface. By going through this, other drivers (most notably
7916114237Snjlsonypi) will be able to serialize access to the EC.
7917114237Snjl
7918114237Snjl
7919114237Snjl3) iASL Compiler/Disassembler
7920114237Snjl
7921114237SnjlImplemented support to optionally generate include files for both
7922114237SnjlASM and C (the -i switch).  This simplifies BIOS development by
7923114237Snjlautomatically creating include files that contain external
7924114237Snjldeclarations for the symbols that are created within the
7925167802Sjkim
7926114237Snjl(optionally generated) ASM and C AML source files.
7927114237Snjl
7928114237Snjl
7929114237Snjl----------------------------------------
7930107325Siwasaki15 November 2002.  Summary of changes for version 20021115.
7931104470Siwasaki
7932107325Siwasaki1) ACPI CA Core Subsystem:
7933107325Siwasaki
7934114237SnjlFixed a memory leak problem where an error during resolution of
7935167802Sjkim
7936114237Snjlmethod arguments during a method invocation from another method
7937114237Snjlfailed to cleanup properly by deleting all successfully resolved
7938114237Snjlargument objects.
7939107325Siwasaki
7940114237SnjlFixed a problem where the target of the Index() operator was not
7941114237Snjlcorrectly constructed if the source object was a package.  This
7942114237Snjlproblem has not been detected because the use of a target operand
7943114237Snjlwith Index() is very rare.
7944107325Siwasaki
7945107325SiwasakiFixed a problem with the Index() operator where an attempt was
7946107325Siwasakimade to delete the operand objects twice.
7947107325Siwasaki
7948107325SiwasakiFixed a problem where an attempt was made to delete an operand
7949114237Snjltwice during execution of the CondRefOf() operator if the target
7950114237Snjldid not exist.
7951107325Siwasaki
7952114237SnjlImplemented the first of perhaps several internal create object
7953193267Sjkimfunctions that create and initialize a specific object type.  This
7954126372Snjlconsolidates duplicated code wherever the object is created, thus
7955126372Snjlshrinking the size of the subsystem.
7956107325Siwasaki
7957114237SnjlImplemented improved debug/error messages for errors that occur
7958114237Snjlduring nested method invocations.  All executing method pathnames
7959193267Sjkimare displayed (with the error) as the call stack is unwound - thus
7960126372Snjlsimplifying debug.
7961107325Siwasaki
7962107325SiwasakiFixed a problem introduced in the 10/02 release that caused
7963114237Snjlpremature deletion of a buffer object if a buffer was used as an
7964114237SnjlASL operand where an integer operand is required (Thus causing an
7965193267Sjkimimplicit object conversion from Buffer to Integer.)  The change in
7966126372Snjlthe 10/02 release was attempting to fix a memory leak (albeit
7967114237Snjlincorrectly.)
7968107325Siwasaki
7969193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7970126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7971126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7972126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7973126372Snjlversion of the code includes the debug output trace mechanism and
7974193267Sjkimhas a much larger code and data size.  Note that these values will
7975126372Snjlvary depending on the efficiency of the compiler and the compiler
7976126372Snjloptions used during generation.
7977107325Siwasaki
7978107325Siwasaki  Previous Release
7979107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7980107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7981107325Siwasaki  Current Release:
7982107325Siwasaki    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7983107325Siwasaki    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7984107325Siwasaki
7985107325Siwasaki
7986107325Siwasaki2) Linux
7987107325Siwasaki
7988114237SnjlChanged the implementation of the ACPI semaphores to use down()
7989114237Snjlinstead of down_interruptable().  It is important that the
7990114237Snjlexecution of ACPI control methods not be interrupted by signals.
7991114237SnjlMethods must run to completion, or the system may be left in an
7992114237Snjlunknown/unstable state.
7993107325Siwasaki
7994193267SjkimFixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7995126372Snjl(Shawn Starr)
7996107325Siwasaki
7997107325Siwasaki
7998107325Siwasaki3) iASL Compiler/Disassembler
7999107325Siwasaki
8000107325Siwasaki
8001114237SnjlChanged the default location of output files.  All output files
8002114237Snjlare now placed in the current directory by default instead of in
8003114237Snjlthe directory of the source file.  This change may affect some
8004114237Snjlexisting makefiles, but it brings the behavior of the compiler in
8005114237Snjlline with other similar tools.  The location of the output files
8006114237Snjlcan be overridden with the -p command line switch.
8007107325Siwasaki
8008114237Snjl
8009107325Siwasaki----------------------------------------
8010107325Siwasaki11 November 2002.  Summary of changes for version 20021111.
8011107325Siwasaki
8012107325Siwasaki
8013114237Snjl0) ACPI Specification 2.0B is released and is now available at:
8014114237Snjlhttp://www.acpi.info/index.html
8015107325Siwasaki
8016107325Siwasaki
8017107325Siwasaki1) ACPI CA Core Subsystem:
8018107325Siwasaki
8019107325SiwasakiImplemented support for the ACPI 2.0 SMBus Operation Regions.
8020114237SnjlThis includes the early detection and handoff of the request to
8021114237Snjlthe SMBus region handler (avoiding all of the complex field
8022107325Siwasakisupport code), and support for the bidirectional return packet
8023107325Siwasakifrom an SMBus write operation.  This paves the way for the
8024107325Siwasakidevelopment of SMBus drivers in each host operating system.
8025107325Siwasaki
8026107325SiwasakiFixed a problem where the semaphore WAIT_FOREVER constant was
8027107325Siwasakidefined as 32 bits, but must be 16 bits according to the ACPI
8028107325Siwasakispecification.  This had the side effect of causing ASL
8029107325SiwasakiMutex/Event timeouts even though the ASL code requested a wait
8030107325Siwasakiforever.  Changed all internal references to the ACPI timeout
8031193267Sjkimparameter to 16 bits to prevent future problems.  Changed the name
8032126372Snjlof WAIT_FOREVER to ACPI_WAIT_FOREVER.
8033107325Siwasaki
8034193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8035126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8036126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8037126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8038126372Snjlversion of the code includes the debug output trace mechanism and
8039193267Sjkimhas a much larger code and data size.  Note that these values will
8040126372Snjlvary depending on the efficiency of the compiler and the compiler
8041126372Snjloptions used during generation.
8042107325Siwasaki
8043107325Siwasaki  Previous Release
8044107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8045107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8046107325Siwasaki  Current Release:
8047107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8048107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8049107325Siwasaki
8050107325Siwasaki
8051107325Siwasaki2) Linux
8052107325Siwasaki
8053107325SiwasakiModule loading/unloading fixes (John Cagle)
8054107325Siwasaki
8055107325Siwasaki
8056107325Siwasaki3) iASL Compiler/Disassembler
8057107325Siwasaki
8058107325SiwasakiAdded support for the SMBBlockProcessCall keyword (ACPI 2.0)
8059107325Siwasaki
8060107325SiwasakiImplemented support for the disassembly of all SMBus protocol
8061107325Siwasakikeywords (SMBQuick, SMBWord, etc.)
8062107325Siwasaki
8063107325Siwasaki----------------------------------------
8064107325Siwasaki01 November 2002.  Summary of changes for version 20021101.
8065107325Siwasaki
8066107325Siwasaki
8067107325Siwasaki1) ACPI CA Core Subsystem:
8068107325Siwasaki
8069193267SjkimFixed a problem where platforms that have a GPE1 block but no GPE0
8070126372Snjlblock were not handled correctly.  This resulted in a "GPE
8071114237Snjloverlap" error message.  GPE0 is no longer required.
8072107325Siwasaki
8073107325SiwasakiRemoved code added in the previous release that inserted nodes
8074114237Snjlinto the namespace in alphabetical order.  This caused some side-
8075114237Snjleffects on various machines.  The root cause of the problem is
8076114237Snjlstill under investigation since in theory, the internal ordering
8077114237Snjlof the namespace nodes should not matter.
8078107325Siwasaki
8079107325Siwasaki
8080114237SnjlEnhanced error reporting for the case where a named object is not
8081114237Snjlfound during control method execution.  The full ACPI namepath
8082114237Snjl(name reference) of the object that was not found is displayed in
8083114237Snjlthis case.
8084107325Siwasaki
8085193267SjkimNote: as a result of the overhaul of the namespace object types in
8086126372Snjlthe previous release, the namespace nodes for the predefined
8087114237Snjlscopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8088114237Snjlinstead of ACPI_TYPE_ANY.  This simplifies the namespace
8089114237Snjlmanagement code but may affect code that walks the namespace tree
8090114237Snjllooking for specific object types.
8091114237Snjl
8092193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8093126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8094126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8095126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8096126372Snjlversion of the code includes the debug output trace mechanism and
8097193267Sjkimhas a much larger code and data size.  Note that these values will
8098126372Snjlvary depending on the efficiency of the compiler and the compiler
8099126372Snjloptions used during generation.
8100107325Siwasaki
8101107325Siwasaki  Previous Release
8102107325Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8103107325Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8104107325Siwasaki  Current Release:
8105107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8106107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8107107325Siwasaki
8108107325Siwasaki
8109107325Siwasaki2) Linux
8110107325Siwasaki
8111107325SiwasakiFixed a problem introduced in the previous release where the
8112193267SjkimProcessor and Thermal objects were not recognized and installed in
8113193267Sjkim/proc.  This was related to the scope type change described above.
8114107325Siwasaki
8115107325Siwasaki
8116107325Siwasaki3) iASL Compiler/Disassembler
8117107325Siwasaki
8118114237SnjlImplemented the -g option to get all of the required ACPI tables
8119114237Snjlfrom the registry and save them to files (Windows version of the
8120193267Sjkimcompiler only.)  The required tables are the FADT, FACS, and DSDT.
8121107325Siwasaki
8122114237SnjlAdded ACPI table checksum validation during table disassembly in
8123114237Snjlorder to catch corrupted tables.
8124107325Siwasaki
8125107325Siwasaki
8126107325Siwasaki----------------------------------------
8127107325Siwasaki22 October 2002.  Summary of changes for version 20021022.
8128107325Siwasaki
8129107325Siwasaki1) ACPI CA Core Subsystem:
8130107325Siwasaki
8131114237SnjlImplemented a restriction on the Scope operator that the target
8132114237Snjlmust already exist in the namespace at the time the operator is
8133114237Snjlencountered (during table load or method execution).  In other
8134114237Snjlwords, forward references are not allowed and Scope() cannot
8135114237Snjlcreate a new object. This changes the previous behavior where the
8136193267Sjkiminterpreter would create the name if not found.  This new behavior
8137126372Snjlcorrectly enables the search-to-root algorithm during namespace
8138126372Snjllookup of the target name.  Because of this upsearch, this fixes
8139126372Snjlthe known Compaq _SB_.OKEC problem and makes both the AML
8140126372Snjlinterpreter and iASL compiler compatible with other ACPI
8141114237Snjlimplementations.
8142107325Siwasaki
8143114237SnjlCompleted a major overhaul of the internal ACPI object types for
8144114237Snjlthe ACPI Namespace and the associated operand objects.  Many of
8145114237Snjlthese types had become obsolete with the introduction of the two-
8146114237Snjlpass namespace load.  This cleanup simplifies the code and makes
8147114237Snjlthe entire namespace load mechanism much clearer and easier to
8148114237Snjlunderstand.
8149107325Siwasaki
8150114237SnjlImproved debug output for tracking scope opening/closing to help
8151114237Snjldiagnose scoping issues.  The old scope name as well as the new
8152114237Snjlscope name are displayed.  Also improved error messages for
8153114237Snjlproblems with ASL Mutex objects and error messages for GPE
8154114237Snjlproblems.
8155107325Siwasaki
8156107325SiwasakiCleaned up the namespace dump code, removed obsolete code.
8157107325Siwasaki
8158114237SnjlAll string output (for all namespace/object dumps) now uses the
8159193267Sjkimcommon ACPI string output procedure which handles escapes properly
8160126372Snjland does not emit non-printable characters.
8161107325Siwasaki
8162107325SiwasakiFixed some issues with constants in the 64-bit version of the
8163107325Siwasakilocal C library (utclib.c)
8164107325Siwasaki
8165107325Siwasaki
8166107325Siwasaki2) Linux
8167107325Siwasaki
8168107325SiwasakiEC Driver:  No longer attempts to acquire the Global Lock at
8169107325Siwasakiinterrupt level.
8170107325Siwasaki
8171107325Siwasaki
8172107325Siwasaki3) iASL Compiler/Disassembler
8173107325Siwasaki
8174193267SjkimImplemented ACPI 2.0B grammar change that disallows all Type 1 and
8175126372Snjl2 opcodes outside of a control method.  This means that the
8176114237Snjl"executable" operators (versus the "namespace" operators) cannot
8177193267Sjkimbe used at the table level; they can only be used within a control
8178126372Snjlmethod.
8179107325Siwasaki
8180107325SiwasakiImplemented the restriction on the Scope() operator where the
8181107325Siwasakitarget must already exist in the namespace at the time the
8182114237Snjloperator is encountered (during ASL compilation). In other words,
8183193267Sjkimforward references are not allowed and Scope() cannot create a new
8184126372Snjlobject.  This makes the iASL compiler compatible with other ACPI
8185193267Sjkimimplementations and makes the Scope() implementation adhere to the
8186126372SnjlACPI specification.
8187107325Siwasaki
8188193267SjkimFixed a problem where namepath optimization for the Alias operator
8189193267Sjkimwas optimizing the wrong path (of the two namepaths.)  This caused
8190126372Snjla "Missing alias link" error message.
8191107325Siwasaki
8192114237SnjlFixed a problem where an "unknown reserved name" warning could be
8193114237Snjlincorrectly generated for names like "_SB" when the trailing
8194114237Snjlunderscore is not used in the original ASL.
8195107325Siwasaki
8196107325SiwasakiFixed a problem where the reserved name check did not handle
8197114237SnjlNamePaths with multiple NameSegs correctly.  The first nameseg of
8198114237Snjlthe NamePath was examined instead of the last NameSeg.
8199107325Siwasaki
8200107325Siwasaki
8201107325Siwasaki----------------------------------------
8202107325Siwasaki
8203104470Siwasaki02 October 2002.  Summary of changes for this release.
8204104470Siwasaki
8205104470Siwasaki
8206104470Siwasaki1) ACPI CA Core Subsystem version 20021002:
8207104470Siwasaki
8208104470SiwasakiFixed a problem where a store/copy of a string to an existing
8209193267Sjkimstring did not always set the string length properly in the String
8210126372Snjlobject.
8211104470Siwasaki
8212104470SiwasakiFixed a reported problem with the ToString operator where the
8213193267Sjkimbehavior was identical to the ToHexString operator instead of just
8214126372Snjlsimply converting a raw buffer to a string data type.
8215104470Siwasaki
8216104470SiwasakiFixed a problem where CopyObject and the other "explicit"
8217193267Sjkimconversion operators were not updating the internal namespace node
8218126372Snjltype as part of the store operation.
8219104470Siwasaki
8220104470SiwasakiFixed a memory leak during implicit source operand conversion
8221193267Sjkimwhere the original object was not deleted if it was converted to a
8222126372Snjlnew object of a different type.
8223104470Siwasaki
8224193267SjkimEnhanced error messages for all problems associated with namespace
8225193267Sjkimlookups.  Common procedure generates and prints the lookup name as
8226126372Snjlwell as the formatted status.
8227104470Siwasaki
8228104470SiwasakiCompleted implementation of a new design for the Alias support
8229193267Sjkimwithin the namespace.  The existing design did not handle the case
8230193267Sjkimwhere a new object was assigned to one of the two names due to the
8231193267Sjkimuse of an explicit conversion operator, resulting in the two names
8232126372Snjlpointing to two different objects.  The new design simply points
8233126372Snjlthe Alias name to the original name node - not to the object.
8234193267SjkimThis results in a level of indirection that must be handled in the
8235126372Snjlname resolution mechanism.
8236104470Siwasaki
8237193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8238126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8239126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8240126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8241126372Snjlversion of the code includes the debug output trace mechanism and
8242193267Sjkimhas a larger code and data size.  Note that these values will vary
8243126372Snjldepending on the efficiency of the compiler and the compiler
8244126372Snjloptions used during generation.
8245104470Siwasaki
8246104470Siwasaki  Previous Release
8247104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8248104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8249104470Siwasaki  Current Release:
8250104470Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8251104470Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8252104470Siwasaki
8253104470Siwasaki
8254104470Siwasaki2) Linux
8255104470Siwasaki
8256104470SiwasakiInitialize thermal driver's timer before it is used. (Knut
8257104470SiwasakiNeumann)
8258104470Siwasaki
8259104470SiwasakiAllow handling negative celsius values. (Kochi Takayoshi)
8260104470Siwasaki
8261114237SnjlFix thermal management and make trip points. R/W (Pavel Machek)
8262104470Siwasaki
8263104470SiwasakiFix /proc/acpi/sleep. (P. Christeas)
8264104470Siwasaki
8265104470SiwasakiIA64 fixes. (David Mosberger)
8266104470Siwasaki
8267104470SiwasakiFix reversed logic in blacklist code. (Sergio Monteiro Basto)
8268104470Siwasaki
8269104470SiwasakiReplace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8270104470SiwasakiBrodowski)
8271104470Siwasaki
8272104470Siwasaki
8273104470Siwasaki3) iASL Compiler/Disassembler
8274104470Siwasaki
8275104470SiwasakiClarified some warning/error messages.
8276104470Siwasaki
8277104470Siwasaki
8278104470Siwasaki----------------------------------------
8279104470Siwasaki18 September 2002.  Summary of changes for this release.
8280104470Siwasaki
8281104470Siwasaki
8282104470Siwasaki1) ACPI CA Core Subsystem version 20020918:
8283104470Siwasaki
8284114237SnjlFixed a reported problem with reference chaining (via the Index()
8285193267Sjkimand RefOf() operators) in the ObjectType() and SizeOf() operators.
8286126372SnjlThe definition of these operators includes the dereferencing of
8287126372Snjlall chained references to return information on the base object.
8288104470Siwasaki
8289104470SiwasakiFixed a problem with stores to indexed package elements - the
8290104470Siwasakiexisting code would not complete the store if an "implicit
8291114237Snjlconversion" was not performed.  In other words, if the existing
8292114237Snjlobject (package element) was to be replaced completely, the code
8293114237Snjldidn't handle this case.
8294104470Siwasaki
8295104470SiwasakiRelaxed typechecking on the ASL "Scope" operator to allow the
8296104470Siwasakitarget name to refer to an object of type Integer, String, or
8297104470SiwasakiBuffer, in addition to the scoping object types (Device,
8298104470Siwasakipredefined Scopes, Processor, PowerResource, and ThermalZone.)
8299114237SnjlThis allows existing AML code that has workarounds for a bug in
8300193267SjkimWindows to function properly.  A warning is issued, however.  This
8301126372Snjlaffects both the AML interpreter and the iASL compiler. Below is
8302126372Snjlan example of this type of ASL code:
8303104470Siwasaki
8304104470Siwasaki      Name(DEB,0x00)
8305104470Siwasaki      Scope(DEB)
8306104470Siwasaki      {
8307104470Siwasaki
8308114237SnjlFixed some reported problems with 64-bit integer support in the
8309114237Snjllocal implementation of C library functions (clib.c)
8310104470Siwasaki
8311104470Siwasaki
8312104470Siwasaki2) Linux
8313104470Siwasaki
8314104470SiwasakiUse ACPI fix map region instead of IOAPIC region, since it is
8315104470Siwasakiundefined in non-SMP.
8316104470Siwasaki
8317114237SnjlEnsure that the SCI has the proper polarity and trigger, even on
8318114237Snjlsystems that do not have an interrupt override entry in the MADT.
8319104470Siwasaki
8320104470Siwasaki2.5 big driver reorganization (Pat Mochel)
8321104470Siwasaki
8322104470SiwasakiUse early table mapping code from acpitable.c (Andi Kleen)
8323104470Siwasaki
8324104470SiwasakiNew blacklist entries (Andi Kleen)
8325104470Siwasaki
8326114237SnjlBlacklist improvements. Split blacklist code out into a separate
8327114237Snjlfile. Move checking the blacklist to very early. Previously, we
8328114237Snjlwould use ACPI tables, and then halfway through init, check the
8329114237Snjlblacklist -- too late. Now, it's early enough to completely fall-
8330114237Snjlback to non-ACPI.
8331104470Siwasaki
8332104470Siwasaki
8333104470Siwasaki3) iASL Compiler/Disassembler version 20020918:
8334104470Siwasaki
8335114237SnjlFixed a problem where the typechecking code didn't know that an
8336114237Snjlalias could point to a method.  In other words, aliases were not
8337114237Snjlbeing dereferenced during typechecking.
8338104470Siwasaki
8339104470Siwasaki
8340104470Siwasaki----------------------------------------
8341104470Siwasaki29 August 2002.  Summary of changes for this release.
8342104470Siwasaki
8343104470Siwasaki1) ACPI CA Core Subsystem Version 20020829:
8344104470Siwasaki
8345114237SnjlIf the target of a Scope() operator already exists, it must be an
8346114237Snjlobject type that actually opens a scope -- such as a Device,
8347193267SjkimMethod, Scope, etc.  This is a fatal runtime error.  Similar error
8348126372Snjlcheck has been added to the iASL compiler also.
8349104470Siwasaki
8350114237SnjlTightened up the namespace load to disallow multiple names in the
8351114237Snjlsame scope.  This previously was allowed if both objects were of
8352114237Snjlthe same type.  (i.e., a lookup was the same as entering a new
8353114237Snjlname).
8354104470Siwasaki
8355104470Siwasaki
8356104470Siwasaki2) Linux
8357104470Siwasaki
8358104470SiwasakiEnsure that the ACPI interrupt has the proper trigger and
8359104470Siwasakipolarity.
8360104470Siwasaki
8361104470Siwasakilocal_irq_disable is extraneous. (Matthew Wilcox)
8362104470Siwasaki
8363104470SiwasakiMake "acpi=off" actually do what it says, and not use the ACPI
8364104470Siwasakiinterpreter *or* the tables.
8365104470Siwasaki
8366193267SjkimAdded arch-neutral support for parsing SLIT and SRAT tables (Kochi
8367126372SnjlTakayoshi)
8368104470Siwasaki
8369104470Siwasaki
8370104470Siwasaki3) iASL Compiler/Disassembler  Version 20020829:
8371104470Siwasaki
8372104470SiwasakiImplemented namepath optimization for name declarations.  For
8373104470Siwasakiexample, a declaration like "Method (\_SB_.ABCD)" would get
8374104470Siwasakioptimized to "Method (ABCD)" if the declaration is within the
8375104470Siwasaki\_SB_ scope.  This optimization is in addition to the named
8376104470Siwasakireference path optimization first released in the previous
8377114237Snjlversion. This would seem to complete all possible optimizations
8378114237Snjlfor namepaths within the ASL/AML.
8379104470Siwasaki
8380114237SnjlIf the target of a Scope() operator already exists, it must be an
8381114237Snjlobject type that actually opens a scope -- such as a Device,
8382114237SnjlMethod, Scope, etc.
8383104470Siwasaki
8384114237SnjlImplemented a check and warning for unreachable code in the same
8385114237Snjlblock below a Return() statement.
8386104470Siwasaki
8387114237SnjlFixed a problem where the listing file was not generated if the
8388114237Snjlcompiler aborted if the maximum error count was exceeded (200).
8389104470Siwasaki
8390193267SjkimFixed a problem where the typechecking of method return values was
8391126372Snjlbroken.  This includes the check for a return value when the
8392114237Snjlmethod is invoked as a TermArg (a return value is expected.)
8393104470Siwasaki
8394104470SiwasakiFixed a reported problem where EOF conditions during a quoted
8395104470Siwasakistring or comment caused a fault.
8396104470Siwasaki
8397104470Siwasaki
8398104470Siwasaki----------------------------------------
8399102550Siwasaki15 August 2002.  Summary of changes for this release.
8400102550Siwasaki
8401102550Siwasaki1) ACPI CA Core Subsystem Version 20020815:
8402102550Siwasaki
8403114237SnjlFixed a reported problem where a Store to a method argument that
8404193267Sjkimcontains a reference did not perform the indirect store correctly.
8405126372SnjlThis problem was created during the conversion to the new
8406126372Snjlreference object model - the indirect store to a method argument
8407126372Snjlcode was not updated to reflect the new model.
8408102550Siwasaki
8409114237SnjlReworked the ACPI mode change code to better conform to ACPI 2.0,
8410193267Sjkimhandle corner cases, and improve code legibility (Kochi Takayoshi)
8411102550Siwasaki
8412102550SiwasakiFixed a problem with the pathname parsing for the carat (^)
8413114237Snjlprefix.  The heavy use of the carat operator by the new namepath
8414193267Sjkimoptimization in the iASL compiler uncovered a problem with the AML
8415126372Snjlinterpreter handling of this prefix.  In the case where one or
8416126372Snjlmore carats precede a single nameseg, the nameseg was treated as
8417126372Snjlstandalone and the search rule (to root) was inadvertently
8418114237Snjlapplied.  This could cause both the iASL compiler and the
8419114237Snjlinterpreter to find the wrong object or to miss the error that
8420114237Snjlshould occur if the object does not exist at that exact pathname.
8421102550Siwasaki
8422114237SnjlFound and fixed the problem where the HP Pavilion DSDT would not
8423193267Sjkimload.  This was a relatively minor tweak to the table loading code
8424126372Snjl(a problem caused by the unexpected encounter with a method
8425193267Sjkiminvocation not within a control method), but it does not solve the
8426126372Snjloverall issue of the execution of AML code at the table level.
8427126372SnjlThis investigation is still ongoing.
8428102550Siwasaki
8429193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8430126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8431126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8432126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8433126372Snjlversion of the code includes the debug output trace mechanism and
8434193267Sjkimhas a larger code and data size.  Note that these values will vary
8435126372Snjldepending on the efficiency of the compiler and the compiler
8436126372Snjloptions used during generation.
8437102550Siwasaki
8438102550Siwasaki  Previous Release
8439104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8440104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8441102550Siwasaki  Current Release:
8442104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8443104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8444102550Siwasaki
8445102550Siwasaki
8446102550Siwasaki2) Linux
8447102550Siwasaki
8448102550SiwasakiRemove redundant slab.h include (Brad Hards)
8449102550Siwasaki
8450102550SiwasakiFix several bugs in thermal.c (Herbert Nachtnebel)
8451102550Siwasaki
8452102550SiwasakiMake CONFIG_ACPI_BOOT work properly (Pavel Machek)
8453102550Siwasaki
8454104470SiwasakiChange acpi_system_suspend to use updated irq functions (Pavel
8455104470SiwasakiMachek)
8456102550Siwasaki
8457102550SiwasakiExport acpi_get_firmware_table (Matthew Wilcox)
8458102550Siwasaki
8459102550SiwasakiUse proper root proc entry for ACPI (Kochi Takayoshi)
8460102550Siwasaki
8461102550SiwasakiFix early-boot table parsing (Bjorn Helgaas)
8462102550Siwasaki
8463102550Siwasaki
8464102550Siwasaki3) iASL Compiler/Disassembler
8465102550Siwasaki
8466114237SnjlReworked the compiler options to make them more consistent and to
8467114237Snjluse two-letter options where appropriate.  We were running out of
8468114237Snjlsensible letters.   This may break some makefiles, so check the
8469114237Snjlcurrent options list by invoking the compiler with no parameters.
8470102550Siwasaki
8471102550SiwasakiCompleted the design and implementation of the ASL namepath
8472114237Snjloptimization option for the compiler.  This option optimizes all
8473114237Snjlreferences to named objects to the shortest possible path.  The
8474193267Sjkimfirst attempt tries to utilize a single nameseg (4 characters) and
8475126372Snjlthe "search-to-root" algorithm used by the interpreter.  If that
8476126372Snjlcannot be used (because either the name is not in the search path
8477126372Snjlor there is a conflict with another object with the same name),
8478126372Snjlthe pathname is optimized using the carat prefix (usually a
8479126372Snjlshorter string than specifying the entire path from the root.)
8480102550Siwasaki
8481114237SnjlImplemented support to obtain the DSDT from the Windows registry
8482114237Snjl(when the disassembly option is specified with no input file).
8483114237SnjlAdded this code as the implementation for AcpiOsTableOverride in
8484114237Snjlthe Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8485114237Snjlutility) to scan memory for the DSDT to the AcpiOsTableOverride
8486114237Snjlfunction in the DOS OSL to make the disassembler truly OS
8487114237Snjlindependent.
8488102550Siwasaki
8489114237SnjlImplemented a new option to disassemble and compile in one step.
8490114237SnjlWhen used without an input filename, this option will grab the
8491193267SjkimDSDT from the local machine, disassemble it, and compile it in one
8492126372Snjlstep.
8493102550Siwasaki
8494114237SnjlAdded a warning message for invalid escapes (a backslash followed
8495114237Snjlby any character other than the allowable escapes).  This catches
8496114237Snjlthe quoted string error "\_SB_" (which should be "\\_SB_" ).
8497167802Sjkim
8498193267SjkimAlso, there are numerous instances in the ACPI specification where
8499126372Snjlthis error occurs.
8500102550Siwasaki
8501104470SiwasakiAdded a compiler option to disable all optimizations.  This is
8502114237Snjlbasically the "compatibility mode" because by using this option,
8503114237Snjlthe AML code will come out exactly the same as other ASL
8504114237Snjlcompilers.
8505102550Siwasaki
8506114237SnjlAdded error messages for incorrectly ordered dependent resource
8507114237Snjlfunctions.  This includes: missing EndDependentFn macro at end of
8508114237Snjldependent resource list, nested dependent function macros (both
8509114237Snjlstart and end), and missing StartDependentFn macro.  These are
8510114237Snjlcommon errors that should be caught at compile time.
8511102550Siwasaki
8512114237SnjlImplemented _OSI support for the disassembler and compiler.  _OSI
8513114237Snjlmust be included in the namespace for proper disassembly (because
8514114237Snjlthe disassembler must know the number of arguments.)
8515102550Siwasaki
8516104470SiwasakiAdded an "optimization" message type that is optional (off by
8517114237Snjldefault).  This message is used for all optimizations - including
8518193267Sjkimconstant folding, integer optimization, and namepath optimization.
8519102550Siwasaki
8520102550Siwasaki----------------------------------------
8521102550Siwasaki25 July 2002.  Summary of changes for this release.
8522102550Siwasaki
8523102550Siwasaki
8524102550Siwasaki1) ACPI CA Core Subsystem Version 20020725:
8525102550Siwasaki
8526114237SnjlThe AML Disassembler has been enhanced to produce compilable ASL
8527193267Sjkimcode and has been integrated into the iASL compiler (see below) as
8528126372Snjlwell as the single-step disassembly for the AML debugger and the
8529126372Snjldisassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8530126372Snjlresource templates and macros are fully supported.  The
8531114237Snjldisassembler has been tested on over 30 different AML files,
8532114237Snjlproducing identical AML when the resulting disassembled ASL file
8533114237Snjlis recompiled with the same ASL compiler.
8534102550Siwasaki
8535114237SnjlModified the Resource Manager to allow zero interrupts and zero
8536114237Snjldma channels during the GetCurrentResources call.  This was
8537114237Snjlcausing problems on some platforms.
8538102550Siwasaki
8539114237SnjlAdded the AcpiOsRedirectOutput interface to the OSL to simplify
8540114237Snjloutput redirection for the AcpiOsPrintf and AcpiOsVprintf
8541114237Snjlinterfaces.
8542102550Siwasaki
8543193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8544126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8545126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8546126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8547126372Snjlversion of the code includes the debug output trace mechanism and
8548193267Sjkimhas a larger code and data size.  Note that these values will vary
8549126372Snjldepending on the efficiency of the compiler and the compiler
8550126372Snjloptions used during generation.
8551102550Siwasaki
8552102550Siwasaki  Previous Release
8553104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8554104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8555102550Siwasaki  Current Release:
8556104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8557104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8558102550Siwasaki
8559102550Siwasaki
8560102550Siwasaki2) Linux
8561102550Siwasaki
8562102550SiwasakiFixed a panic in the EC driver (Dominik Brodowski)
8563102550Siwasaki
8564114237SnjlImplemented checksum of the R/XSDT itself during Linux table scan
8565114237Snjl(Richard Schaal)
8566102550Siwasaki
8567102550Siwasaki
8568102550Siwasaki3) iASL compiler
8569102550Siwasaki
8570114237SnjlThe AML disassembler is integrated into the compiler.  The "-d"
8571114237Snjloption invokes the disassembler  to completely disassemble an
8572114237Snjlinput AML file, producing as output a text ASL file with the
8573114237Snjlextension ".dsl" (to avoid name collisions with existing .asl
8574114237Snjlsource files.)  A future enhancement will allow the disassembler
8575114237Snjlto obtain the BIOS DSDT from the registry under Windows.
8576102550Siwasaki
8577102550SiwasakiFixed a problem with the VendorShort and VendorLong resource
8578102550Siwasakidescriptors where an invalid AML sequence was created.
8579102550Siwasaki
8580114237SnjlImplemented a fix for BufferData term in the ASL parser.  It was
8581114237Snjlinadvertently defined twice, allowing invalid syntax to pass and
8582114237Snjlcausing reduction conflicts.
8583102550Siwasaki
8584104470SiwasakiFixed a problem where the Ones opcode could get converted to a
8585193267Sjkimvalue of zero if "Ones" was used where a byte, word or dword value
8586126372Snjlwas expected.  The 64-bit value is now truncated to the correct
8587126372Snjlsize with the correct value.
8588102550Siwasaki
8589102550Siwasaki
8590167802Sjkim
8591102550Siwasaki----------------------------------------
8592102550Siwasaki02 July 2002.  Summary of changes for this release.
8593102550Siwasaki
8594102550Siwasaki
8595102550Siwasaki1) ACPI CA Core Subsystem Version 20020702:
8596102550Siwasaki
8597114237SnjlThe Table Manager code has been restructured to add several new
8598114237Snjlfeatures.  Tables that are not required by the core subsystem
8599114237Snjl(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8600193267Sjkimvalidated in any way and are returned from AcpiGetFirmwareTable if
8601126372Snjlrequested.  The AcpiOsTableOverride interface is now called for
8602126372Snjleach table that is loaded by the subsystem in order to allow the
8603126372Snjlhost to override any table it chooses.  Previously, only the DSDT
8604126372Snjlcould be overridden.  Added one new files, tbrsdt.c and
8605114237Snjltbgetall.c.
8606102550Siwasaki
8607193267SjkimFixed a problem with the conversion of internal package objects to
8608126372Snjlexternal objects (when a package is returned from a control
8609114237Snjlmethod.)  The return buffer length was set to zero instead of the
8610114237Snjlproper length of the package object.
8611102550Siwasaki
8612104470SiwasakiFixed a reported problem with the use of the RefOf and DeRefOf
8613114237Snjloperators when passing reference arguments to control methods.  A
8614114237Snjlnew type of Reference object is used internally for references
8615114237Snjlproduced by the RefOf operator.
8616102550Siwasaki
8617193267SjkimAdded additional error messages in the Resource Manager to explain
8618126372SnjlAE_BAD_DATA errors when they occur during resource parsing.
8619102550Siwasaki
8620104470SiwasakiSplit the AcpiEnableSubsystem into two primitives to enable a
8621193267Sjkimfiner granularity initialization sequence.  These two calls should
8622126372Snjlbe called in this order: AcpiEnableSubsystem (flags),
8623114237SnjlAcpiInitializeObjects (flags).  The flags parameter remains the
8624114237Snjlsame.
8625102550Siwasaki
8626102550Siwasaki
8627102550Siwasaki2) Linux
8628102550Siwasaki
8629114237SnjlUpdated the ACPI utilities module to understand the new style of
8630193267Sjkimfully resolved package objects that are now returned from the core
8631126372Snjlsubsystem.  This eliminates errors of the form:
8632102550Siwasaki
8633102550Siwasaki    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8634102550Siwasaki    acpi_utils-0430 [145] acpi_evaluate_reference:
8635102550Siwasaki        Invalid element in package (not a device reference)
8636102550Siwasaki
8637102550SiwasakiThe method evaluation utility uses the new buffer allocation
8638102550Siwasakischeme instead of calling AcpiEvaluate Object twice.
8639102550Siwasaki
8640102550SiwasakiAdded support for ECDT. This allows the use of the Embedded
8641167802Sjkim
8642114237SnjlController before the namespace has been fully initialized, which
8643114237Snjlis necessary for ACPI 2.0 support, and for some laptops to
8644114237Snjlinitialize properly. (Laptops using ECDT are still rare, so only
8645114237Snjllimited testing was performed of the added functionality.)
8646102550Siwasaki
8647102550SiwasakiFixed memory leaks in the EC driver.
8648102550Siwasaki
8649102550SiwasakiEliminated a brittle code structure in acpi_bus_init().
8650102550Siwasaki
8651114237SnjlEliminated the acpi_evaluate() helper function in utils.c. It is
8652114237Snjlno longer needed since acpi_evaluate_object can optionally
8653104470Siwasakiallocate memory for the return object.
8654102550Siwasaki
8655193267SjkimImplemented fix for keyboard hang when getting battery readings on
8656126372Snjlsome systems (Stephen White)
8657102550Siwasaki
8658102550SiwasakiPCI IRQ routing update (Dominik Brodowski)
8659102550Siwasaki
8660114237SnjlFix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8661114237Snjlsupport
8662102550Siwasaki
8663102550Siwasaki----------------------------------------
8664102550Siwasaki11 June 2002.  Summary of changes for this release.
8665102550Siwasaki
8666102550Siwasaki
8667102550Siwasaki1) ACPI CA Core Subsystem Version 20020611:
8668102550Siwasaki
8669104470SiwasakiFixed a reported problem where constants such as Zero and One
8670114237Snjlappearing within _PRT packages were not handled correctly within
8671114237Snjlthe resource manager code.  Originally reported against the ASL
8672114237Snjlcompiler because the code generator now optimizes integers to
8673193267Sjkimtheir minimal AML representation (i.e. AML constants if possible.)
8674126372SnjlThe _PRT code now handles all AML constant opcodes correctly
8675126372Snjl(Zero, One, Ones, Revision).
8676102550Siwasaki
8677102550SiwasakiFixed a problem with the Concatenate operator in the AML
8678193267Sjkiminterpreter where a buffer result object was incorrectly marked as
8679126372Snjlnot fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8680102550Siwasaki
8681104470SiwasakiAll package sub-objects are now fully resolved before they are
8682114237Snjlreturned from the external ACPI interfaces.  This means that name
8683114237Snjlstrings are resolved to object handles, and constant operators
8684114237Snjl(Zero, One, Ones, Revision) are resolved to Integers.
8685102550Siwasaki
8686102550SiwasakiImplemented immediate resolution of the AML Constant opcodes
8687104470Siwasaki(Zero, One, Ones, Revision) to Integer objects upon detection
8688104470Siwasakiwithin the AML stream. This has simplified and reduced the
8689104470Siwasakigenerated code size of the subsystem by eliminating about 10
8690104470Siwasakiswitch statements for these constants (which previously were
8691193267Sjkimcontained in Reference objects.)  The complicating issues are that
8692126372Snjlthe Zero opcode is used as a "placeholder" for unspecified
8693193267Sjkimoptional target operands and stores to constants are defined to be
8694126372Snjlno-ops.
8695102550Siwasaki
8696193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8697126372Snjlbelow. These are the code and data sizes for the acpica.lib
8698114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8699114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8700114237Snjlversion of the code includes the debug output trace mechanism and
8701193267Sjkimhas a larger code and data size.  Note that these values will vary
8702126372Snjldepending on the efficiency of the compiler and the compiler
8703114237Snjloptions used during generation.
8704102550Siwasaki
8705102550Siwasaki  Previous Release
8706104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8707104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8708102550Siwasaki  Current Release:
8709104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8710104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8711102550Siwasaki
8712102550Siwasaki
8713102550Siwasaki2) Linux
8714102550Siwasaki
8715167802Sjkim
8716104470SiwasakiAdded preliminary support for obtaining _TRA data for PCI root
8717104470Siwasakibridges (Bjorn Helgaas).
8718102550Siwasaki
8719102550Siwasaki
8720102550Siwasaki3) iASL Compiler Version X2046:
8721102550Siwasaki
8722193267SjkimFixed a problem where the "_DDN" reserved name was defined to be a
8723126372Snjlcontrol method with one argument.  There are no arguments, and
8724114237Snjl_DDN does not have to be a control method.
8725102550Siwasaki
8726114237SnjlFixed a problem with the Linux version of the compiler where the
8727114237Snjlsource lines printed with error messages were the wrong lines.
8728114237SnjlThis turned out to be the "LF versus CR/LF" difference between
8729114237SnjlWindows and Unix.  This appears to be the longstanding issue
8730114237Snjlconcerning listing output and error messages.
8731102550Siwasaki
8732114237SnjlFixed a problem with the Linux version of compiler where opcode
8733114237Snjlnames within error messages were wrong.  This was caused by a
8734114237Snjlslight difference in the output of the Flex tool on Linux versus
8735114237SnjlWindows.
8736102550Siwasaki
8737193267SjkimFixed a problem with the Linux compiler where the hex output files
8738126372Snjlcontained some garbage data caused by an internal buffer overrun.
8739102550Siwasaki
8740102550Siwasaki
8741102550Siwasaki----------------------------------------
8742102550Siwasaki17 May 2002.  Summary of changes for this release.
8743102550Siwasaki
8744102550Siwasaki
8745102550Siwasaki1) ACPI CA Core Subsystem Version 20020517:
8746102550Siwasaki
8747102550SiwasakiImplemented a workaround to an BIOS bug discovered on the HP
8748104470SiwasakiOmniBook where the FADT revision number and the table size are
8749193267Sjkiminconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
8750126372Snjlbehavior is to fallback to using only the ACPI 1.0 fields of the
8751126372SnjlFADT if the table is too small to be a ACPI 2.0 table as claimed
8752126372Snjlby the revision number.  Although this is a BIOS bug, this is a
8753126372Snjlcase where the workaround is simple enough and with no side
8754126372Snjleffects, so it seemed prudent to add it.  A warning message is
8755126372Snjlissued, however.
8756102550Siwasaki
8757193267SjkimImplemented minimum size checks for the fixed-length ACPI tables -
8758126372Snjl- the FADT and FACS, as well as consistency checks between the
8759114237Snjlrevision number and the table size.
8760102550Siwasaki
8761114237SnjlFixed a reported problem in the table override support where the
8762114237Snjlnew table pointer was incorrectly treated as a physical address
8763114237Snjlinstead of a logical address.
8764102550Siwasaki
8765114237SnjlEliminated the use of the AE_AML_ERROR exception and replaced it
8766114237Snjlwith more descriptive codes.
8767102550Siwasaki
8768193267SjkimFixed a problem where an exception would occur if an ASL Field was
8769126372Snjldefined with no named Field Units underneath it (used by some
8770114237Snjlindex fields).
8771102550Siwasaki
8772193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8773126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8774126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8775126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8776126372Snjlversion of the code includes the debug output trace mechanism and
8777193267Sjkimhas a larger code and data size.  Note that these values will vary
8778126372Snjldepending on the efficiency of the compiler and the compiler
8779126372Snjloptions used during generation.
8780102550Siwasaki
8781102550Siwasaki  Previous Release
8782104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8783104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8784102550Siwasaki  Current Release:
8785104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8786104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8787102550Siwasaki
8788102550Siwasaki
8789102550Siwasaki
8790102550Siwasaki2) Linux
8791102550Siwasaki
8792114237SnjlMuch work done on ACPI init (MADT and PCI IRQ routing support).
8793114237Snjl(Paul D. and Dominik Brodowski)
8794102550Siwasaki
8795102550SiwasakiFix PCI IRQ-related panic on boot (Sam Revitch)
8796102550Siwasaki
8797102550SiwasakiSet BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8798102550Siwasaki
8799102550SiwasakiFix "MHz" typo (Dominik Brodowski)
8800102550Siwasaki
8801102550SiwasakiFix RTC year 2000 issue (Dominik Brodowski)
8802102550Siwasaki
8803102550SiwasakiPreclude multiple button proc entries (Eric Brunet)
8804102550Siwasaki
8805102550SiwasakiMoved arch-specific code out of include/platform/aclinux.h
8806102550Siwasaki
8807102550Siwasaki3) iASL Compiler Version X2044:
8808102550Siwasaki
8809193267SjkimImplemented error checking for the string used in the EISAID macro
8810193267Sjkim(Usually used in the definition of the _HID object.)  The code now
8811126372Snjlstrictly enforces the PnP format - exactly 7 characters, 3
8812126372Snjluppercase letters and 4 hex digits.
8813102550Siwasaki
8814102550SiwasakiIf a raw string is used in the definition of the _HID object
8815102550Siwasaki(instead of the EISAID macro), the string must contain all
8816114237Snjlalphanumeric characters (e.g., "*PNP0011" is not allowed because
8817114237Snjlof the asterisk.)
8818102550Siwasaki
8819114237SnjlImplemented checking for invalid use of ACPI reserved names for
8820114237Snjlmost of the name creation operators (Name, Device, Event, Mutex,
8821114237SnjlOperationRegion, PowerResource, Processor, and ThermalZone.)
8822114237SnjlPreviously, this check was only performed for control methods.
8823102550Siwasaki
8824114237SnjlImplemented an additional check on the Name operator to emit an
8825114237Snjlerror if a reserved name that must be implemented in ASL as a
8826114237Snjlcontrol method is used.  We know that a reserved name must be a
8827114237Snjlmethod if it is defined with input arguments.
8828102550Siwasaki
8829193267SjkimThe warning emitted when a namespace object reference is not found
8830126372Snjlduring the cross reference phase has been changed into an error.
8831193267SjkimThe "External" directive should be used for names defined in other
8832126372Snjlmodules.
8833102550Siwasaki
8834102550Siwasaki
8835102550Siwasaki4) Tools and Utilities
8836102550Siwasaki
8837114237SnjlThe 16-bit tools (adump16 and aexec16) have been regenerated and
8838114237Snjltested.
8839102550Siwasaki
8840193267SjkimFixed a problem with the output of both acpidump and adump16 where
8841126372Snjlthe indentation of closing parentheses and brackets was not
8842167802Sjkim
8843114237Snjlaligned properly with the parent block.
8844102550Siwasaki
8845102550Siwasaki
8846102550Siwasaki----------------------------------------
8847102550Siwasaki03 May 2002.  Summary of changes for this release.
8848102550Siwasaki
8849102550Siwasaki
8850102550Siwasaki1) ACPI CA Core Subsystem Version 20020503:
8851102550Siwasaki
8852114237SnjlAdded support a new OSL interface that allows the host operating
8853167802Sjkim
8854114237Snjlsystem software to override the DSDT found in the firmware -
8855193267SjkimAcpiOsTableOverride.  With this interface, the OSL can examine the
8856126372Snjlversion of the firmware DSDT and replace it with a different one
8857126372Snjlif desired.
8858102550Siwasaki
8859114237SnjlAdded new external interfaces for accessing ACPI registers from
8860114237Snjldevice drivers and other system software - AcpiGetRegister and
8861114237SnjlAcpiSetRegister.  This was simply an externalization of the
8862114237Snjlexisting AcpiHwBitRegister interfaces.
8863102550Siwasaki
8864104470SiwasakiFixed a regression introduced in the previous build where the
8865104470SiwasakiASL/AML CreateField operator always returned an error,
8866102550Siwasaki"destination must be a NS Node".
8867102550Siwasaki
8868114237SnjlExtended the maximum time (before failure) to successfully enable
8869114237SnjlACPI mode to 3 seconds.
8870102550Siwasaki
8871193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8872126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8873126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8874126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8875126372Snjlversion of the code includes the debug output trace mechanism and
8876193267Sjkimhas a larger code and data size.  Note that these values will vary
8877126372Snjldepending on the efficiency of the compiler and the compiler
8878126372Snjloptions used during generation.
8879102550Siwasaki
8880102550Siwasaki  Previous Release
8881104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8882104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8883102550Siwasaki  Current Release:
8884104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8885104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8886102550Siwasaki
8887102550Siwasaki
8888102550Siwasaki2) Linux
8889102550Siwasaki
8890104470SiwasakiEnhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8891193267Sjkimfree. While 3 out of 4 of our in-house systems work fine, the last
8892126372Snjlone still hangs when testing the LAPIC timer.
8893102550Siwasaki
8894114237SnjlRenamed many files in 2.5 kernel release to omit "acpi_" from the
8895114237Snjlname.
8896102550Siwasaki
8897102550SiwasakiAdded warning on boot for Presario 711FR.
8898102550Siwasaki
8899102550SiwasakiSleep improvements (Pavel Machek)
8900102550Siwasaki
8901102550SiwasakiACPI can now be built without CONFIG_PCI enabled.
8902102550Siwasaki
8903102550SiwasakiIA64: Fixed memory map functions (JI Lee)
8904102550Siwasaki
8905102550Siwasaki
8906102550Siwasaki3) iASL Compiler Version X2043:
8907102550Siwasaki
8908114237SnjlAdded support to allow the compiler to be integrated into the MS
8909114237SnjlVC++ development environment for one-button compilation of single
8910114237Snjlfiles or entire projects -- with error-to-source-line mapping.
8911102550Siwasaki
8912104470SiwasakiImplemented support for compile-time constant folding for the
8913104470SiwasakiType3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8914104470Siwasakispecification.  This allows the ASL writer to use expressions
8915104470Siwasakiinstead of Integer/Buffer/String constants in terms that must
8916114237Snjlevaluate to constants at compile time and will also simplify the
8917114237Snjlemitted AML in any such sub-expressions that can be folded
8918104470Siwasaki(evaluated at compile-time.)  This increases the size of the
8919104470Siwasakicompiler significantly because a portion of the ACPI CA AML
8920104470Siwasakiinterpreter is included within the compiler in order to pre-
8921104470Siwasakievaluate constant expressions.
8922102550Siwasaki
8923114237Snjl
8924102550SiwasakiFixed a problem with the "Unicode" ASL macro that caused the
8925114237Snjlcompiler to fault.  (This macro is used in conjunction with the
8926114237Snjl_STR reserved name.)
8927102550Siwasaki
8928114237SnjlImplemented an AML opcode optimization to use the Zero, One, and
8929114237SnjlOnes opcodes where possible to further reduce the size of integer
8930114237Snjlconstants and thus reduce the overall size of the generated AML
8931114237Snjlcode.
8932102550Siwasaki
8933193267SjkimImplemented error checking for new reserved terms for ACPI version
8934126372Snjl2.0A.
8935102550Siwasaki
8936104470SiwasakiImplemented the -qr option to display the current list of ACPI
8937104470Siwasakireserved names known to the compiler.
8938102550Siwasaki
8939104470SiwasakiImplemented the -qc option to display the current list of ASL
8940104470Siwasakioperators that are allowed within constant expressions and can
8941193267Sjkimtherefore be folded at compile time if the operands are constants.
8942102550Siwasaki
8943102550Siwasaki
8944102550Siwasaki4) Documentation
8945102550Siwasaki
8946193267SjkimUpdated the Programmer's Reference for new interfaces, data types,
8947126372Snjland memory allocation model options.
8948102550Siwasaki
8949114237SnjlUpdated the iASL Compiler User Reference to apply new format and
8950114237Snjladd information about new features and options.
8951102550Siwasaki
8952102550Siwasaki----------------------------------------
8953102550Siwasaki19 April 2002.  Summary of changes for this release.
8954102550Siwasaki
8955102550Siwasaki1) ACPI CA Core Subsystem Version 20020419:
8956102550Siwasaki
8957114237SnjlThe source code base for the Core Subsystem has been completely
8958114237Snjlcleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8959114237Snjlversions.  The Lint option files used are included in the
8960114237Snjl/acpi/generate/lint directory.
8961102550Siwasaki
8962102550SiwasakiImplemented enhanced status/error checking across the entire
8963114237SnjlHardware manager subsystem.  Any hardware errors (reported from
8964114237Snjlthe OSL) are now bubbled up and will abort a running control
8965114237Snjlmethod.
8966102550Siwasaki
8967167802Sjkim
8968114237SnjlFixed a problem where the per-ACPI-table integer width (32 or 64)
8969114237Snjlwas stored only with control method nodes, causing a fault when
8970114237Snjlnon-control method code was executed during table loading.  The
8971114237Snjlsolution implemented uses a global variable to indicate table
8972114237Snjlwidth across the entire ACPI subsystem.  Therefore, ACPI CA does
8973114237Snjlnot support mixed integer widths across different ACPI tables
8974114237Snjl(DSDT, SSDT).
8975102550Siwasaki
8976114237SnjlFixed a problem where NULL extended fields (X fields) in an ACPI
8977114237Snjl2.0 ACPI FADT caused the table load to fail.  Although the
8978114237Snjlexisting ACPI specification is a bit fuzzy on this topic, the new
8979114237Snjlbehavior is to fall back on a ACPI 1.0 field if the corresponding
8980193267SjkimACPI 2.0 X field is zero (even though the table revision indicates
8981193267Sjkima full ACPI 2.0 table.)  The ACPI specification will be updated to
8982126372Snjlclarify this issue.
8983102550Siwasaki
8984104470SiwasakiFixed a problem with the SystemMemory operation region handler
8985104470Siwasakiwhere memory was always accessed byte-wise even if the AML-
8986104470Siwasakispecified access width was larger than a byte.  This caused
8987104470Siwasakiproblems on systems with memory-mapped I/O.  Memory is now
8988193267Sjkimaccessed with the width specified.  On systems that do not support
8989193267Sjkimnon-aligned transfers, a check is made to guarantee proper address
8990126372Snjlalignment before proceeding in order to avoid an AML-caused
8991126372Snjlalignment fault within the kernel.
8992102550Siwasaki
8993102550Siwasaki
8994114237SnjlFixed a problem with the ExtendedIrq resource where only one byte
8995114237Snjlof the 4-byte Irq field was extracted.
8996102550Siwasaki
8997114237SnjlFixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8998114237Snjlfunction was out of date and required a rewrite.
8999114237Snjl
9000193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9001126372Snjlbelow.  These are the code and data sizes for the acpica.lib
9002126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9003126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9004126372Snjlversion of the code includes the debug output trace mechanism and
9005193267Sjkimhas a larger code and data size.  Note that these values will vary
9006126372Snjldepending on the efficiency of the compiler and the compiler
9007126372Snjloptions used during generation.
9008102550Siwasaki
9009102550Siwasaki  Previous Release
9010104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9011104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9012102550Siwasaki  Current Release:
9013104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9014104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9015102550Siwasaki
9016102550Siwasaki
9017102550Siwasaki2) Linux
9018102550Siwasaki
9019102550SiwasakiPCI IRQ routing fixes (Dominik Brodowski)
9020102550Siwasaki
9021102550Siwasaki
9022102550Siwasaki3) iASL Compiler Version X2042:
9023102550Siwasaki
9024104470SiwasakiImplemented an additional compile-time error check for a field
9025104470Siwasakiunit whose size + minimum access width would cause a run-time
9026114237Snjlaccess beyond the end-of-region.  Previously, only the field size
9027114237Snjlitself was checked.
9028102550Siwasaki
9029104470SiwasakiThe Core subsystem and iASL compiler now share a common parse
9030104470Siwasakiobject in preparation for compile-time evaluation of the type
9031104470Siwasaki3/4/5 ASL operators.
9032102550Siwasaki
9033102550Siwasaki
9034102550Siwasaki----------------------------------------
9035102550SiwasakiSummary of changes for this release: 03_29_02
9036102550Siwasaki
9037102550Siwasaki1) ACPI CA Core Subsystem Version 20020329:
9038102550Siwasaki
9039104470SiwasakiImplemented support for late evaluation of TermArg operands to
9040193267SjkimBuffer and Package objects.  This allows complex expressions to be
9041126372Snjlused in the declarations of these object types.
9042102550Siwasaki
9043193267SjkimFixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
9044126372Snjl1.0, if the field was larger than 32 bits, it was returned as a
9045126372Snjlbuffer - otherwise it was returned as an integer.  In ACPI 2.0,
9046193267Sjkimthe field is returned as a buffer only if the field is larger than
9047126372Snjl64 bits.  The TableRevision is now considered when making this
9048126372Snjlconversion to avoid incompatibility with existing ASL code.
9049102550Siwasaki
9050104470SiwasakiImplemented logical addressing for AcpiOsGetRootPointer.  This
9051114237Snjlallows an RSDP with either a logical or physical address.  With
9052114237Snjlthis support, the host OS can now override all ACPI tables with
9053114237Snjlone logical RSDP.  Includes implementation of  "typed" pointer
9054114237Snjlsupport to allow a common data type for both physical and logical
9055114237Snjlpointers internally.  This required a change to the
9056114237SnjlAcpiOsGetRootPointer interface.
9057102550Siwasaki
9058193267SjkimImplemented the use of ACPI 2.0 Generic Address Structures for all
9059193267SjkimGPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9060126372Snjlmapped I/O for these ACPI features.
9061102550Siwasaki
9062102550SiwasakiInitialization now ignores not only non-required tables (All
9063114237Snjltables other than the FADT, FACS, DSDT, and SSDTs), but also does
9064114237Snjlnot validate the table headers of unrecognized tables.
9065102550Siwasaki
9066102550SiwasakiFixed a problem where a notify handler could only be
9067102550Siwasakiinstalled/removed on an object of type Device.  All "notify"
9068167802Sjkim
9069102550Siwasakiobjects are now supported -- Devices, Processor, Power, and
9070102550SiwasakiThermal.
9071102550Siwasaki
9072114237SnjlRemoved most verbosity from the ACPI_DB_INFO debug level.  Only
9073193267Sjkimcritical information is returned when this debug level is enabled.
9074102550Siwasaki
9075193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9076126372Snjlbelow.  These are the code and data sizes for the acpica.lib
9077126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9078126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9079126372Snjlversion of the code includes the debug output trace mechanism and
9080193267Sjkimhas a larger code and data size.  Note that these values will vary
9081126372Snjldepending on the efficiency of the compiler and the compiler
9082126372Snjloptions used during generation.
9083102550Siwasaki
9084102550Siwasaki  Previous Release
9085104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9086104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9087102550Siwasaki  Current Release:
9088104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9089104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9090102550Siwasaki
9091102550Siwasaki
9092102550Siwasaki2) Linux:
9093102550Siwasaki
9094114237SnjlThe processor driver (acpi_processor.c) now fully supports ACPI
9095114237Snjl2.0-based processor performance control (e.g. Intel(R)
9096114237SnjlSpeedStep(TM) technology) Note that older laptops that only have
9097114237Snjlthe Intel "applet" interface are not supported through this.  The
9098114237Snjl'limit' and 'performance' interface (/proc) are fully functional.
9099114237Snjl[Note that basic policy for controlling performance state
9100114237Snjltransitions will be included in the next version of ospmd.]  The
9101114237Snjlidle handler was modified to more aggressively use C2, and PIIX4
9102114237Snjlerrata handling underwent a complete overhaul (big thanks to
9103114237SnjlDominik Brodowski).
9104102550Siwasaki
9105114237SnjlAdded support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9106114237Snjlbased devices in the ACPI namespace are now dynamically bound
9107114237Snjl(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9108114237SnjlThis allows, among other things, ACPI to resolve bus numbers for
9109114237Snjlsubordinate PCI bridges.
9110102550Siwasaki
9111104470SiwasakiEnhanced PCI IRQ routing to get the proper bus number for _PRT
9112104470Siwasakientries defined underneath PCI bridges.
9113102550Siwasaki
9114104470SiwasakiAdded IBM 600E to bad bios list due to invalid _ADR value for
9115104470SiwasakiPIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9116102550Siwasaki
9117114237SnjlIn the process of adding full MADT support (e.g. IOAPIC) for IA32
9118114237Snjl(acpi.c, mpparse.c) -- stay tuned.
9119102550Siwasaki
9120102550SiwasakiAdded back visual differentiation between fixed-feature and
9121114237Snjlcontrol-method buttons in dmesg.  Buttons are also subtyped (e.g.
9122114237Snjlbutton/power/PWRF) to simplify button identification.
9123102550Siwasaki
9124114237SnjlWe no longer use -Wno-unused when compiling debug. Please ignore
9125114237Snjlany "_THIS_MODULE defined but not used" messages.
9126102550Siwasaki
9127102550SiwasakiCan now shut down the system using "magic sysrq" key.
9128102550Siwasaki
9129102550Siwasaki
9130102550Siwasaki3) iASL Compiler version 2041:
9131102550Siwasaki
9132104470SiwasakiFixed a problem where conversion errors for hex/octal/decimal
9133104470Siwasakiconstants were not reported.
9134102550Siwasaki
9135193267SjkimImplemented a fix for the General Register template Address field.
9136126372SnjlThis field was 8 bits when it should be 64.
9137102550Siwasaki
9138193267SjkimFixed a problem where errors/warnings were no longer being emitted
9139126372Snjlwithin the listing output file.
9140102550Siwasaki
9141114237SnjlImplemented the ACPI 2.0A restriction on ACPI Table Signatures to
9142114237Snjlexactly 4 characters, alphanumeric only.
9143102550Siwasaki
9144102550Siwasaki
9145102550Siwasaki
9146102550Siwasaki
9147102550Siwasaki----------------------------------------
9148102550SiwasakiSummary of changes for this release: 03_08_02
9149102550Siwasaki
9150102550Siwasaki
9151102550Siwasaki1) ACPI CA Core Subsystem Version 20020308:
9152102550Siwasaki
9153114237SnjlFixed a problem with AML Fields where the use of the "AccessAny"
9154193267Sjkimkeyword could cause an interpreter error due to attempting to read
9155126372Snjlor write beyond the end of the parent Operation Region.
9156102550Siwasaki
9157193267SjkimFixed a problem in the SystemMemory Operation Region handler where
9158126372Snjlan attempt was made to map memory beyond the end of the region.
9159126372SnjlThis was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9160126372Snjlerrors on some Linux systems.
9161102550Siwasaki
9162114237SnjlFixed a problem where the interpreter/namespace "search to root"
9163114237Snjlalgorithm was not functioning for some object types.  Relaxed the
9164114237Snjlinternal restriction on the search to allow upsearches for all
9165114237Snjlexternal object types as well as most internal types.
9166102550Siwasaki
9167102550Siwasaki
9168102550Siwasaki2) Linux:
9169102550Siwasaki
9170193267SjkimWe now use safe_halt() macro versus individual calls to sti | hlt.
9171102550Siwasaki
9172193267SjkimWriting to the processor limit interface should now work. "echo 1"
9173126372Snjlwill increase the limit, 2 will decrease, and 0 will reset to the
9174167802Sjkim
9175126372Snjldefault.
9176102550Siwasaki
9177102550Siwasaki
9178102550Siwasaki3) ASL compiler:
9179102550Siwasaki
9180102550SiwasakiFixed segfault on Linux version.
9181102550Siwasaki
9182102550Siwasaki
9183102550Siwasaki----------------------------------------
9184102550SiwasakiSummary of changes for this release: 02_25_02
9185102550Siwasaki
9186102550Siwasaki1) ACPI CA Core Subsystem:
9187102550Siwasaki
9188102550Siwasaki
9189102550SiwasakiFixed a problem where the GPE bit masks were not initialized
9190102550Siwasakiproperly, causing erratic GPE behavior.
9191102550Siwasaki
9192193267SjkimImplemented limited support for multiple calling conventions.  The
9193126372Snjlcode can be generated with either the VPL (variable parameter
9194114237Snjllist, or "C") convention, or the FPL (fixed parameter list, or
9195114237Snjl"Pascal") convention.  The core subsystem is about 3.4% smaller
9196114237Snjlwhen generated with FPL.
9197102550Siwasaki
9198102550Siwasaki
9199102550Siwasaki2) Linux
9200102550Siwasaki
9201114237SnjlRe-add some /proc/acpi/event functionality that was lost during
9202114237Snjlthe rewrite
9203102550Siwasaki
9204193267SjkimResolved issue with /proc events for fixed-feature buttons showing
9205126372Snjlup as the system device.
9206102550Siwasaki
9207193267SjkimFixed checks on C2/C3 latencies to be inclusive of maximum values.
9208102550Siwasaki
9209114237SnjlReplaced AE_ERRORs in acpi_osl.c with more specific error codes.
9210102550Siwasaki
9211114237SnjlChanged ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9212102550Siwasaki
9213104470SiwasakiFixed limit interface & usage to fix bugs with passive cooling
9214104470Siwasakihysterisis.
9215102550Siwasaki
9216102550SiwasakiRestructured PRT support.
9217102550Siwasaki
9218102550Siwasaki
9219102550Siwasaki----------------------------------------
9220102550SiwasakiSummary of changes for this label: 02_14_02
9221102550Siwasaki
9222102550Siwasaki
9223102550Siwasaki1) ACPI CA Core Subsystem:
9224102550Siwasaki
9225114237SnjlImplemented support in AcpiLoadTable to allow loading of FACS and
9226114237SnjlFADT tables.
9227102550Siwasaki
9228114237SnjlSuport for the now-obsolete interim 0.71 64-bit ACPI tables has
9229193267Sjkimbeen removed.  All 64-bit platforms should be migrated to the ACPI
9230193267Sjkim2.0 tables.  The actbl71.h header has been removed from the source
9231126372Snjltree.
9232102550Siwasaki
9233114237SnjlAll C macros defined within the subsystem have been prefixed with
9234114237Snjl"ACPI_" to avoid collision with other system include files.
9235102550Siwasaki
9236193267SjkimRemoved the return value for the two AcpiOsPrint interfaces, since
9237126372Snjlit is never used and causes lint warnings for ignoring the return
9238126372Snjlvalue.
9239102550Siwasaki
9240104470SiwasakiAdded error checking to all internal mutex acquire and release
9241104470Siwasakicalls.  Although a failure from one of these interfaces is
9242104470Siwasakiprobably a fatal system error, these checks will cause the
9243114237Snjlimmediate abort of the currently executing method or interface.
9244102550Siwasaki
9245114237SnjlFixed a problem where the AcpiSetCurrentResources interface could
9246193267Sjkimfault.  This was a side effect of the deployment of the new memory
9247126372Snjlallocation model.
9248102550Siwasaki
9249193267SjkimFixed a couple of problems with the Global Lock support introduced
9250193267Sjkimin the last major build.  The "common" (1.0/2.0) internal FACS was
9251126372Snjlbeing overwritten with the FACS signature and clobbering the
9252126372SnjlGlobal Lock pointer.  Also, the actual firmware FACS was being
9253126372Snjlunmapped after construction of the "common" FACS, preventing
9254126372Snjlaccess to the actual Global Lock field within it.  The "common"
9255126372Snjlinternal FACS is no longer installed as an actual ACPI table; it
9256126372Snjlis used simply as a global.
9257102550Siwasaki
9258193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9259126372Snjlbelow.  These are the code and data sizes for the acpica.lib
9260126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9261126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9262126372Snjlversion of the code includes the debug output trace mechanism and
9263193267Sjkimhas a larger code and data size.  Note that these values will vary
9264126372Snjldepending on the efficiency of the compiler and the compiler
9265126372Snjloptions used during generation.
9266102550Siwasaki
9267102550Siwasaki  Previous Release (02_07_01)
9268104470Siwasaki    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9269104470Siwasaki    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9270102550Siwasaki  Current Release:
9271104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9272104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9273102550Siwasaki
9274102550Siwasaki
9275102550Siwasaki2) Linux
9276102550Siwasaki
9277102550SiwasakiUpdated Linux-specific code for core macro and OSL interface
9278102550Siwasakichanges described above.
9279102550Siwasaki
9280114237SnjlImproved /proc/acpi/event. It now can be opened only once and has
9281114237Snjlproper poll functionality.
9282102550Siwasaki
9283102550SiwasakiFixed and restructured power management (acpi_bus).
9284102550Siwasaki
9285193267SjkimOnly create /proc "view by type" when devices of that class exist.
9286102550Siwasaki
9287104470SiwasakiFixed "charging/discharging" bug (and others) in acpi_battery.
9288102550Siwasaki
9289102550SiwasakiImproved thermal zone code.
9290102550Siwasaki
9291102550Siwasaki
9292102550Siwasaki3) ASL Compiler, version X2039:
9293102550Siwasaki
9294114237Snjl
9295114237SnjlImplemented the new compiler restriction on ASL String hex/octal
9296193267Sjkimescapes to non-null, ASCII values.  An error results if an invalid
9297126372Snjlvalue is used.  (This will require an ACPI 2.0 specification
9298126372Snjlchange.)
9299102550Siwasaki
9300193267SjkimAML object labels that are output to the optional C and ASM source
9301126372Snjlare now prefixed with both the ACPI table signature and table ID
9302126372Snjlto help guarantee uniqueness within a large BIOS project.
9303102550Siwasaki
9304102550Siwasaki
9305102550Siwasaki----------------------------------------
9306102550SiwasakiSummary of changes for this label: 02_01_02
9307102550Siwasaki
9308102550Siwasaki1) ACPI CA Core Subsystem:
9309102550Siwasaki
9310114237SnjlACPI 2.0 support is complete in the entire Core Subsystem and the
9311114237SnjlASL compiler. All new ACPI 2.0 operators are implemented and all
9312114237Snjlother changes for ACPI 2.0 support are complete.  With
9313193267Sjkimsimultaneous code and data optimizations throughout the subsystem,
9314126372SnjlACPI 2.0 support has been implemented with almost no additional
9315126372Snjlcost in terms of code and data size.
9316102550Siwasaki
9317114237SnjlImplemented a new mechanism for allocation of return buffers.  If
9318114237Snjlthe buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9319114237Snjlbe allocated on behalf of the caller.  Consolidated all return
9320114237Snjlbuffer validation and allocation to a common procedure.  Return
9321193267Sjkimbuffers will be allocated via the primary OSL allocation interface
9322193267Sjkimsince it appears that a separate pool is not needed by most users.
9323126372SnjlIf a separate pool is required for these buffers, the caller can
9324126372Snjlstill use the original mechanism and pre-allocate the buffer(s).
9325102550Siwasaki
9326102550SiwasakiImplemented support for string operands within the DerefOf
9327102550Siwasakioperator.
9328102550Siwasaki
9329114237SnjlRestructured the Hardware and Event managers to be table driven,
9330114237Snjlsimplifying the source code and reducing the amount of generated
9331114237Snjlcode.
9332102550Siwasaki
9333102550SiwasakiSplit the common read/write low-level ACPI register bitfield
9334104470Siwasakiprocedure into a separate read and write, simplifying the code
9335104470Siwasakiconsiderably.
9336102550Siwasaki
9337114237SnjlObsoleted the AcpiOsCallocate OSL interface.  This interface was
9338114237Snjlused only a handful of times and didn't have enough critical mass
9339193267Sjkimfor a separate interface.  Replaced with a common calloc procedure
9340126372Snjlin the core.
9341102550Siwasaki
9342104470SiwasakiFixed a reported problem with the GPE number mapping mechanism
9343104470Siwasakithat allows GPE1 numbers to be non-contiguous with GPE0.
9344114237SnjlReorganized the GPE information and shrunk a large array that was
9345114237Snjloriginally large enough to hold info for all possible GPEs (256)
9346114237Snjlto simply large enough to hold all GPEs up to the largest GPE
9347114237Snjlnumber on the machine.
9348102550Siwasaki
9349114237SnjlFixed a reported problem with resource structure alignment on 64-
9350114237Snjlbit platforms.
9351102550Siwasaki
9352102550SiwasakiChanged the AcpiEnableEvent and AcpiDisableEvent external
9353102550Siwasakiinterfaces to not require any flags for the common case of
9354102550Siwasakienabling/disabling a GPE.
9355102550Siwasaki
9356104470SiwasakiImplemented support to allow a "Notify" on a Processor object.
9357102550Siwasaki
9358114237SnjlMost TBDs in comments within the source code have been resolved
9359114237Snjland eliminated.
9360102550Siwasaki
9361167802Sjkim
9362102550SiwasakiFixed a problem in the interpreter where a standalone parent
9363102550Siwasakiprefix (^) was not handled correctly in the interpreter and
9364102550Siwasakidebugger.
9365102550Siwasaki
9366102550SiwasakiRemoved obsolete and unnecessary GPE save/restore code.
9367102550Siwasaki
9368193267SjkimImplemented Field support in the ASL Load operator.  This allows a
9369126372Snjltable to be loaded from a named field, in addition to loading a
9370114237Snjltable directly from an Operation Region.
9371102550Siwasaki
9372193267SjkimImplemented timeout and handle support in the external Global Lock
9373126372Snjlinterfaces.
9374102550Siwasaki
9375114237SnjlFixed a problem in the AcpiDump utility where pathnames were no
9376193267Sjkimlonger being generated correctly during the dump of named objects.
9377102550Siwasaki
9378102550SiwasakiModified the AML debugger to give a full display of if/while
9379102550Siwasakipredicates instead of just one AML opcode at a time.  (The
9380193267Sjkimpredicate can have several nested ASL statements.)  The old method
9381126372Snjlwas confusing during single stepping.
9382102550Siwasaki
9383193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9384126372Snjlbelow. These are the code and data sizes for the acpica.lib
9385114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9386114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9387114237Snjlversion of the code includes the debug output trace mechanism and
9388193267Sjkimhas a larger code and data size.  Note that these values will vary
9389126372Snjldepending on the efficiency of the compiler and the compiler
9390114237Snjloptions used during generation.
9391102550Siwasaki
9392102550Siwasaki  Previous Release (12_18_01)
9393114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9394114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9395102550Siwasaki   Current Release:
9396114237Snjl     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9397114237Snjl     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9398102550Siwasaki
9399102550Siwasaki2) Linux
9400102550Siwasaki
9401104470Siwasaki Implemented fix for PIIX reverse throttling errata (Processor
9402104470Siwasakidriver)
9403102550Siwasaki
9404102550SiwasakiAdded new Limit interface (Processor and Thermal drivers)
9405102550Siwasaki
9406102550SiwasakiNew thermal policy (Thermal driver)
9407102550Siwasaki
9408102550SiwasakiMany updates to /proc
9409102550Siwasaki
9410102550SiwasakiBattery "low" event support (Battery driver)
9411102550Siwasaki
9412104470SiwasakiSupports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9413102550Siwasaki
9414104470SiwasakiIA32 - IA64 initialization unification, no longer experimental
9415102550Siwasaki
9416102550SiwasakiMenuconfig options redesigned
9417102550Siwasaki
9418102550Siwasaki3) ASL Compiler, version X2037:
9419102550Siwasaki
9420193267SjkimImplemented several new output features to simplify integration of
9421126372SnjlAML code into  firmware: 1) Output the AML in C source code with
9422193267Sjkimlabels for each named ASL object.  The    original ASL source code
9423193267Sjkimis interleaved as C comments. 2) Output the AML in ASM source code
9424126372Snjlwith labels and interleaved ASL    source. 3) Output the AML in
9425126372Snjlraw hex table form, in either C or ASM.
9426102550Siwasaki
9427102550SiwasakiImplemented support for optional string parameters to the
9428102550SiwasakiLoadTable operator.
9429102550Siwasaki
9430104470SiwasakiCompleted support for embedded escape sequences within string
9431114237Snjlliterals.  The compiler now supports all single character escapes
9432114237Snjlas well as the Octal and Hex escapes.  Note: the insertion of a
9433114237Snjlnull byte into a string literal (via the hex/octal escape) causes
9434114237Snjlthe string to be immediately terminated.  A warning is issued.
9435102550Siwasaki
9436104470SiwasakiFixed a problem where incorrect AML was generated for the case
9437104470Siwasakiwhere an ASL namepath consists of a single parent prefix (
9438102550Siwasaki
9439102550Siwasaki) with no trailing name segments.
9440102550Siwasaki
9441102550SiwasakiThe compiler has been successfully generated with a 64-bit C
9442102550Siwasakicompiler.
9443102550Siwasaki
9444102550Siwasaki
9445102550Siwasaki
9446102550Siwasaki
9447102550Siwasaki----------------------------------------
9448102550SiwasakiSummary of changes for this label: 12_18_01
9449102550Siwasaki
9450102550Siwasaki1) Linux
9451102550Siwasaki
9452114237SnjlEnhanced blacklist with reason and severity fields. Any table's
9453114237Snjlsignature may now be used to identify a blacklisted system.
9454102550Siwasaki
9455114237SnjlCall _PIC control method to inform the firmware which interrupt
9456114237Snjlmodel the OS is using. Turn on any disabled link devices.
9457102550Siwasaki
9458102550SiwasakiCleaned up busmgr /proc error handling (Andreas Dilger)
9459102550Siwasaki
9460102550Siwasaki 2) ACPI CA Core Subsystem:
9461102550Siwasaki
9462193267SjkimImplemented ACPI 2.0 semantics for the "Break" operator (Exit from
9463126372Snjlwhile loop)
9464102550Siwasaki
9465102550SiwasakiCompleted implementation of the ACPI 2.0 "Continue",
9466102550Siwasaki"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9467193267Sjkimoperators.  All new ACPI 2.0 operators are now implemented in both
9468193267Sjkimthe ASL compiler and the AML interpreter.  The only remaining ACPI
9469126372Snjl2.0 task is support for the String data type in the DerefOf
9470193267Sjkimoperator.  Fixed a problem with AcquireMutex where the status code
9471126372Snjlwas lost if the caller had to actually wait for the mutex.
9472102550Siwasaki
9473104470SiwasakiIncreased the maximum ASL Field size from 64K bits to 4G bits.
9474102550Siwasaki
9475193267SjkimCompleted implementation of the external Global Lock interfaces --
9476126372SnjlAcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9477126372SnjlHandler parameters were added.
9478102550Siwasaki
9479102550SiwasakiCompleted another pass at removing warnings and issues when
9480114237Snjlcompiling with 64-bit compilers.  The code now compiles cleanly
9481114237Snjlwith the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9482114237Snjladd and subtract (diff) macros have changed considerably.
9483102550Siwasaki
9484167802Sjkim
9485114237SnjlCreated and deployed a new ACPI_SIZE type that is 64-bits wide on
9486114237Snjl64-bit platforms, 32-bits on all others.  This type is used
9487193267Sjkimwherever memory allocation and/or the C sizeof() operator is used,
9488126372Snjland affects the OSL memory allocation interfaces AcpiOsAllocate
9489126372Snjland AcpiOsCallocate.
9490102550Siwasaki
9491102550SiwasakiImplemented sticky user breakpoints in the AML debugger.
9492102550Siwasaki
9493193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9494126372Snjlbelow. These are the code and data sizes for the acpica.lib
9495114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9496114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9497114237Snjlversion of the code includes the debug output trace mechanism and
9498114237Snjlhas a larger code and data size. Note that these values will vary
9499114237Snjldepending on the efficiency of the compiler and the compiler
9500114237Snjloptions used during generation.
9501102550Siwasaki
9502102550Siwasaki  Previous Release (12_05_01)
9503114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9504114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9505102550Siwasaki   Current Release:
9506114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9507114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9508102550Siwasaki
9509102550Siwasaki 3) ASL Compiler, version X2034:
9510102550Siwasaki
9511114237SnjlNow checks for (and generates an error if detected) the use of a
9512114237SnjlBreak or Continue statement without an enclosing While statement.
9513102550Siwasaki
9514167802Sjkim
9515102550SiwasakiSuccessfully generated the compiler with the Intel 64-bit C
9516102550Siwasakicompiler.
9517102550Siwasaki
9518102550Siwasaki ----------------------------------------
9519102550SiwasakiSummary of changes for this label: 12_05_01
9520102550Siwasaki
9521102550Siwasaki 1) ACPI CA Core Subsystem:
9522102550Siwasaki
9523102550SiwasakiThe ACPI 2.0 CopyObject operator is fully implemented.  This
9524104470Siwasakioperator creates a new copy of an object (and is also used to
9525193267Sjkimbypass the "implicit conversion" mechanism of the Store operator.)
9526102550Siwasaki
9527102550SiwasakiThe ACPI 2.0 semantics for the SizeOf operator are fully
9528102550Siwasakiimplemented.  The change is that performing a SizeOf on a
9529114237Snjlreference object causes an automatic dereference of the object to
9530114237Snjltha actual value before the size is evaluated. This behavior was
9531114237Snjlundefined in ACPI 1.0.
9532102550Siwasaki
9533114237SnjlThe ACPI 2.0 semantics for the Extended IRQ resource descriptor
9534114237Snjlhave been implemented.  The interrupt polarity and mode are now
9535114237Snjlindependently set.
9536102550Siwasaki
9537114237SnjlFixed a problem where ASL Constants (Zero, One, Ones, Revision)
9538114237Snjlappearing in Package objects were not properly converted to
9539114237Snjlintegers when the internal Package was converted to an external
9540114237Snjlobject (via the AcpiEvaluateObject interface.)
9541102550Siwasaki
9542114237SnjlFixed a problem with the namespace object deletion mechanism for
9543114237Snjlobjects created by control methods.  There were two parts to this
9544193267Sjkimproblem: 1) Objects created during the initialization phase method
9545193267Sjkimparse were not being deleted, and 2) The object owner ID mechanism
9546126372Snjlto track objects was broken.
9547102550Siwasaki
9548114237SnjlFixed a problem where the use of the ASL Scope operator within a
9549114237Snjlcontrol method would result in an invalid opcode exception.
9550102550Siwasaki
9551114237SnjlFixed a problem introduced in the previous label where the buffer
9552114237Snjllength required for the _PRT structure was not being returned
9553114237Snjlcorrectly.
9554102550Siwasaki
9555193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9556126372Snjlbelow. These are the code and data sizes for the acpica.lib
9557114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9558114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9559114237Snjlversion of the code includes the debug output trace mechanism and
9560193267Sjkimhas a larger code and data size.  Note that these values will vary
9561126372Snjldepending on the efficiency of the compiler and the compiler
9562114237Snjloptions used during generation.
9563102550Siwasaki
9564102550Siwasaki  Previous Release (11_20_01)
9565114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9566114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9567102550Siwasaki
9568102550Siwasaki  Current Release:
9569114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9570114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9571102550Siwasaki
9572102550Siwasaki 2) Linux:
9573102550Siwasaki
9574102550SiwasakiUpdated all files to apply cleanly against 2.4.16.
9575102550Siwasaki
9576104470SiwasakiAdded basic PCI Interrupt Routing Table (PRT) support for IA32
9577114237Snjl(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9578114237Snjlversion supports both static and dyanmic PRT entries, but dynamic
9579114237Snjlentries are treated as if they were static (not yet
9580114237Snjlreconfigurable).  Architecture- specific code to use this data is
9581114237Snjlabsent on IA32 but should be available shortly.
9582102550Siwasaki
9583114237SnjlChanged the initialization sequence to start the ACPI interpreter
9584114237Snjl(acpi_init) prior to initialization of the PCI driver (pci_init)
9585114237Snjlin init/main.c.  This ordering is required to support PRT and
9586114237Snjlfacilitate other (future) enhancement.  A side effect is that the
9587193267SjkimACPI bus driver and certain device drivers can no longer be loaded
9588126372Snjlas modules.
9589102550Siwasaki
9590104470SiwasakiModified the 'make menuconfig' options to allow PCI Interrupt
9591104470SiwasakiRouting support to be included without the ACPI Bus and other
9592104470Siwasakidevice drivers.
9593102550Siwasaki
9594102550Siwasaki 3) ASL Compiler, version X2033:
9595102550Siwasaki
9596102550SiwasakiFixed some issues with the use of the new CopyObject and
9597102550SiwasakiDataTableRegion operators.  Both are fully functional.
9598102550Siwasaki
9599102550Siwasaki ----------------------------------------
9600102550SiwasakiSummary of changes for this label: 11_20_01
9601102550Siwasaki
9602102550Siwasaki 20 November 2001.  Summary of changes for this release.
9603102550Siwasaki
9604102550Siwasaki 1) ACPI CA Core Subsystem:
9605102550Siwasaki
9606104470SiwasakiUpdated Index support to match ACPI 2.0 semantics.  Storing a
9607193267SjkimInteger, String, or Buffer to an Index of a Buffer will store only
9608126372Snjlthe least-significant byte of the source to the Indexed buffer
9609126372Snjlbyte.  Multiple writes are not performed.
9610102550Siwasaki
9611104470SiwasakiFixed a problem where the access type used in an AccessAs ASL
9612104470Siwasakioperator was not recorded correctly into the field object.
9613102550Siwasaki
9614102550SiwasakiFixed a problem where ASL Event objects were created in a
9615114237Snjlsignalled state. Events are now created in an unsignalled state.
9616102550Siwasaki
9617114237SnjlThe internal object cache is now purged after table loading and
9618114237Snjlinitialization to reduce the use of dynamic kernel memory -- on
9619114237Snjlthe assumption that object use is greatest during the parse phase
9620193267Sjkimof the entire table (versus the run-time use of individual control
9621126372Snjlmethods.)
9622102550Siwasaki
9623102550SiwasakiACPI 2.0 variable-length packages are now fully operational.
9624102550Siwasaki
9625193267SjkimCode and Data Size: Code and Data optimizations have permitted new
9626126372Snjlfeature development with an actual reduction in the library size.
9627126372SnjlCurrent core subsystem library sizes are shown below.  These are
9628126372Snjlthe code and data sizes for the acpica.lib produced by the
9629193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9630126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9631126372Snjlincludes the debug output trace mechanism and has a larger code
9632126372Snjland data size.  Note that these values will vary depending on the
9633126372Snjlefficiency of the compiler and the compiler options used during
9634126372Snjlgeneration.
9635102550Siwasaki
9636102550Siwasaki  Previous Release (11_09_01):
9637114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9638114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9639102550Siwasaki
9640102550Siwasaki  Current Release:
9641114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9642114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9643102550Siwasaki
9644102550Siwasaki 2) Linux:
9645102550Siwasaki
9646114237SnjlEnhanced the ACPI boot-time initialization code to allow the use
9647114237Snjlof Local APIC tables for processor enumeration on IA-32, and to
9648114237Snjlpave the way for a fully MPS-free boot (on SMP systems) in the
9649114237Snjlnear future.  This functionality replaces
9650114237Snjlarch/i386/kernel/acpitables.c, which was introduced in an earlier
9651114237Snjl2.4.15-preX release.  To enable this feature you must add
9652114237Snjl"acpi_boot=on" to the kernel command line -- see the help entry
9653193267Sjkimfor CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
9654126372Snjlthe works...
9655102550Siwasaki
9656114237SnjlRestructured the configuration options to allow boot-time table
9657114237Snjlparsing support without inclusion of the ACPI Interpreter (and
9658114237Snjlother) code.
9659102550Siwasaki
9660193267SjkimNOTE: This release does not include fixes for the reported events,
9661126372Snjlpower-down, and thermal passive cooling issues (coming soon).
9662102550Siwasaki
9663102550Siwasaki 3) ASL Compiler:
9664102550Siwasaki
9665114237SnjlAdded additional typechecking for Fields within restricted access
9666114237SnjlOperation Regions.  All fields within EC and CMOS regions must be
9667114237Snjldeclared with ByteAcc. All fields withing SMBus regions must be
9668114237Snjldeclared with the BufferAcc access type.
9669102550Siwasaki
9670114237SnjlFixed a problem where the listing file output of control methods
9671114237Snjlno longer interleaved the actual AML code with the ASL source
9672114237Snjlcode.
9673102550Siwasaki
9674102550Siwasaki
9675102550Siwasaki
9676167802Sjkim
9677102550Siwasaki----------------------------------------
9678102550SiwasakiSummary of changes for this label: 11_09_01
9679102550Siwasaki
9680102550Siwasaki1) ACPI CA Core Subsystem:
9681102550Siwasaki
9682114237SnjlImplemented ACPI 2.0-defined support for writes to fields with a
9683193267SjkimBuffer, String, or Integer source operand that is smaller than the
9684126372Snjltarget field. In these cases, the source operand is zero-extended
9685126372Snjlto fill the target field.
9686102550Siwasaki
9687104470SiwasakiFixed a problem where a Field starting bit offset (within the
9688104470Siwasakiparent operation region) was calculated incorrectly if the
9689167802Sjkim
9690104470Siwasakialignment of the field differed from the access width.  This
9691114237Snjlaffected CreateWordField, CreateDwordField, CreateQwordField, and
9692114237Snjlpossibly other fields that use the "AccessAny" keyword.
9693102550Siwasaki
9694114237SnjlFixed a problem introduced in the 11_02_01 release where indirect
9695114237Snjlstores through method arguments did not operate correctly.
9696102550Siwasaki
9697102550Siwasaki2) Linux:
9698102550Siwasaki
9699102550SiwasakiImplemented boot-time ACPI table parsing support
9700114237Snjl(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
9701114237Snjlfacilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9702114237Snjllegacy BIOS interfaces (e.g. MPS) for the configuration of system
9703193267Sjkimprocessors, memory, and interrupts during setup_arch().  Note that
9704126372Snjlthis patch does not include the required architecture-specific
9705126372Snjlchanges required to apply this information -- subsequent patches
9706126372Snjlwill be posted for both IA32 and IA64 to achieve this.
9707102550Siwasaki
9708114237SnjlAdded low-level sleep support for IA32 platforms, courtesy of Pat
9709114237SnjlMochel. This allows IA32 systems to transition to/from various
9710114237Snjlsleeping states (e.g. S1, S3), although the lack of a centralized
9711114237Snjldriver model and power-manageable drivers will prevent its
9712114237Snjl(successful) use on most systems.
9713102550Siwasaki
9714114237SnjlRevamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9715193267Sjkimsubmenu, unified IA32 and IA64 options, added new "Boot using ACPI
9716126372Snjltables" option, etc.
9717102550Siwasaki
9718114237SnjlIncreased the default timeout for the EC driver from 1ms to 10ms
9719114237Snjl(1000 cycles of 10us) to try to address AE_TIME errors during EC
9720114237Snjltransactions.
9721102550Siwasaki
9722102550Siwasaki ----------------------------------------
9723102550SiwasakiSummary of changes for this label: 11_02_01
9724102550Siwasaki
9725102550Siwasaki1) ACPI CA Core Subsystem:
9726102550Siwasaki
9727102550SiwasakiACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9728102550Siwasaki(QWordAcc keyword). All ACPI 2.0 64-bit support is now
9729102550Siwasakiimplemented.
9730102550Siwasaki
9731114237SnjlOSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9732114237Snjlchanges to support ACPI 2.0 Qword field access.  Read/Write
9733193267SjkimPciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9734126372Snjlaccept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
9735193267Sjkimthe value parameter for the address space handler interface is now
9736193267Sjkiman ACPI_INTEGER.  OSL implementations of these interfaces must now
9737126372Snjlhandle the case where the Width parameter is 64.
9738102550Siwasaki
9739104470SiwasakiIndex Fields: Fixed a problem where unaligned bit assembly and
9740104470Siwasakidisassembly for IndexFields was not supported correctly.
9741102550Siwasaki
9742102550SiwasakiIndex and Bank Fields:  Nested Index and Bank Fields are now
9743104470Siwasakisupported. During field access, a check is performed to ensure
9744114237Snjlthat the value written to an Index or Bank register is not out of
9745114237Snjlthe range of the register.  The Index (or Bank) register is
9746114237Snjlwritten before each access to the field data. Future support will
9747114237Snjlinclude allowing individual IndexFields to be wider than the
9748114237SnjlDataRegister width.
9749102550Siwasaki
9750114237SnjlFields: Fixed a problem where the AML interpreter was incorrectly
9751114237Snjlattempting to write beyond the end of a Field/OpRegion.  This was
9752114237Snjla boundary case that occurred when a DWORD field was written to a
9753114237SnjlBYTE access OpRegion, forcing multiple writes and causing the
9754114237Snjlinterpreter to write one datum too many.
9755102550Siwasaki
9756102550SiwasakiFields: Fixed a problem with Field/OpRegion access where the
9757114237Snjlstarting bit address of a field was incorrectly calculated if the
9758114237Snjlcurrent access type was wider than a byte (WordAcc, DwordAcc, or
9759114237SnjlQwordAcc).
9760102550Siwasaki
9761104470SiwasakiFields: Fixed a problem where forward references to individual
9762193267SjkimFieldUnits (individual Field names within a Field definition) were
9763126372Snjlnot resolved during the AML table load.
9764102550Siwasaki
9765104470SiwasakiFields: Fixed a problem where forward references from a Field
9766104470Siwasakidefinition to the parent Operation Region definition were not
9767104470Siwasakiresolved during the AML table load.
9768104470Siwasaki
9769114237SnjlFields: Duplicate FieldUnit names within a scope are now detected
9770114237Snjlduring AML table load.
9771102550Siwasaki
9772193267SjkimAcpi Interfaces: Fixed a problem where the AcpiGetName() interface
9773126372Snjlreturned an incorrect name for the root node.
9774102550Siwasaki
9775193267SjkimCode and Data Size: Code and Data optimizations have permitted new
9776126372Snjlfeature development with an actual reduction in the library size.
9777126372SnjlCurrent core subsystem library sizes are shown below.  These are
9778126372Snjlthe code and data sizes for the acpica.lib produced by the
9779193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9780126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9781126372Snjlincludes the debug output trace mechanism and has a larger code
9782126372Snjland data size.  Note that these values will vary depending on the
9783126372Snjlefficiency of the compiler and the compiler options used during
9784126372Snjlgeneration.
9785102550Siwasaki
9786102550Siwasaki  Previous Release (10_18_01):
9787114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9788114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9789102550Siwasaki
9790102550Siwasaki  Current Release:
9791114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9792114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9793102550Siwasaki
9794102550Siwasaki 2) Linux:
9795102550Siwasaki
9796102550SiwasakiImproved /proc processor output (Pavel Machek) Re-added
9797102550SiwasakiMODULE_LICENSE("GPL") to all modules.
9798102550Siwasaki
9799102550Siwasaki 3) ASL Compiler version X2030:
9800102550Siwasaki
9801104470SiwasakiDuplicate FieldUnit names within a scope are now detected and
9802104470Siwasakiflagged as errors.
9803102550Siwasaki
9804102550Siwasaki 4) Documentation:
9805102550Siwasaki
9806104470SiwasakiProgrammer Reference updated to reflect OSL and address space
9807104470Siwasakihandler interface changes described above.
9808102550Siwasaki
9809102550Siwasaki----------------------------------------
9810102550SiwasakiSummary of changes for this label: 10_18_01
9811102550Siwasaki
9812102550SiwasakiACPI CA Core Subsystem:
9813102550Siwasaki
9814193267SjkimFixed a problem with the internal object reference count mechanism
9815126372Snjlthat occasionally caused premature object deletion. This resolves
9816126372Snjlall of the outstanding problem reports where an object is deleted
9817193267Sjkimin the middle of an interpreter evaluation.  Although this problem
9818126372Snjlonly showed up in rather obscure cases, the solution to the
9819126372Snjlproblem involved an adjustment of all reference counts involving
9820126372Snjlobjects attached to namespace nodes.
9821102550Siwasaki
9822102550SiwasakiFixed a problem with Field support in the interpreter where
9823114237Snjlwriting to an aligned field whose length is an exact multiple (2
9824193267Sjkimor greater) of the field access granularity would cause an attempt
9825126372Snjlto write beyond the end of the field.
9826102550Siwasaki
9827102550SiwasakiThe top level AML opcode execution functions within the
9828102550Siwasakiinterpreter have been renamed with a more meaningful and
9829102550Siwasakiconsistent naming convention.  The modules exmonad.c and
9830102550Siwasakiexdyadic.c were eliminated.  New modules are exoparg1.c,
9831102550Siwasakiexoparg2.c, exoparg3.c, and exoparg6.c.
9832102550Siwasaki
9833114237SnjlSupport for the ACPI 2.0 "Mid" ASL operator has been implemented.
9834102550Siwasaki
9835114237SnjlFixed a problem where the AML debugger was causing some internal
9836114237Snjlobjects to not be deleted during subsystem termination.
9837102550Siwasaki
9838104470SiwasakiFixed a problem with the external AcpiEvaluateObject interface
9839104470Siwasakiwhere the subsystem would fault if the named object to be
9840104470Siwasakievaluated refered to a constant such as Zero, Ones, etc.
9841102550Siwasaki
9842102550SiwasakiFixed a problem with IndexFields and BankFields where the
9843114237Snjlsubsystem would fault if the index, data, or bank registers were
9844114237Snjlnot defined in the same scope as the field itself.
9845102550Siwasaki
9846104470SiwasakiAdded printf format string checking for compilers that support
9847104470Siwasakithis feature.  Corrected more than 50 instances of issues with
9848104470Siwasakiformat specifiers within invocations of ACPI_DEBUG_PRINT
9849104470Siwasakithroughout the core subsystem code.
9850102550Siwasaki
9851104470SiwasakiThe ASL "Revision" operator now returns the ACPI support level
9852193267Sjkimimplemented in the core - the value "2" since the ACPI 2.0 support
9853126372Snjlis more than 50% implemented.
9854102550Siwasaki
9855114237SnjlEnhanced the output of the AML debugger "dump namespace" command
9856114237Snjlto output in a more human-readable form.
9857102550Siwasaki
9858114237SnjlCurrent core subsystem library code sizes are shown below.  These
9859167802Sjkim
9860114237Snjlare the code and data sizes for the acpica.lib produced by the
9861193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9862126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9863126372Snjlincludes the full debug trace mechanism -- leading to a much
9864167802Sjkim
9865114237Snjllarger code and data size.  Note that these values will vary
9866114237Snjldepending on the efficiency of the compiler and the compiler
9867114237Snjloptions used during generation.
9868102550Siwasaki
9869102550Siwasaki     Previous Label (09_20_01):
9870114237Snjl     Non-Debug Version:    65K Code,     5K Data,     70K Total
9871114237Snjl     Debug Version:       138K Code,    58K Data,    196K Total
9872102550Siwasaki
9873102550Siwasaki     This Label:
9874102550Siwasaki
9875114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9876114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9877114237Snjl
9878102550SiwasakiLinux:
9879102550Siwasaki
9880104470SiwasakiImplemented a "Bad BIOS Blacklist" to track machines that have
9881104470Siwasakiknown ASL/AML problems.
9882102550Siwasaki
9883193267SjkimEnhanced the /proc interface for the thermal zone driver and added
9884126372Snjlsupport for _HOT (the critical suspend trip point).  The 'info'
9885193267Sjkimfile now includes threshold/policy information, and allows setting
9886126372Snjlof _SCP (cooling preference) and _TZP (polling frequency) values
9887193267Sjkimto the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9888126372Snjlfrequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9889126372Snjlpreference to the passive/quiet mode (if supported by the ASL).
9890102550Siwasaki
9891104470SiwasakiImplemented a workaround for a gcc bug that resuted in an OOPs
9892104470Siwasakiwhen loading the control method battery driver.
9893102550Siwasaki
9894102550Siwasaki ----------------------------------------
9895102550SiwasakiSummary of changes for this label: 09_20_01
9896102550Siwasaki
9897102550Siwasaki ACPI CA Core Subsystem:
9898102550Siwasaki
9899104470SiwasakiThe AcpiEnableEvent and AcpiDisableEvent interfaces have been
9900104470Siwasakimodified to allow individual GPE levels to be flagged as wake-
9901114237Snjlenabled (i.e., these GPEs are to remain enabled when the platform
9902114237Snjlsleeps.)
9903102550Siwasaki
9904104470SiwasakiThe AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9905104470Siwasakisupport wake-enabled GPEs.  This means that upon entering the
9906104470Siwasakisleep state, all GPEs that are not wake-enabled are disabled.
9907104470SiwasakiWhen leaving the sleep state, these GPEs are reenabled.
9908102550Siwasaki
9909114237SnjlA local double-precision divide/modulo module has been added to
9910114237Snjlenhance portability to OS kernels where a 64-bit math library is
9911114237Snjlnot available.  The new module is "utmath.c".
9912102550Siwasaki
9913104470SiwasakiSeveral optimizations have been made to reduce the use of CPU
9914114237Snjlstack.  Originally over 2K, the maximum stack usage is now below
9915114237Snjl2K at 1860  bytes (1.82k)
9916102550Siwasaki
9917114237SnjlFixed a problem with the AcpiGetFirmwareTable interface where the
9918193267Sjkimroot table pointer was not mapped into a logical address properly.
9919102550Siwasaki
9920193267SjkimFixed a problem where a NULL pointer was being dereferenced in the
9921126372Snjlinterpreter code for the ASL Notify operator.
9922102550Siwasaki
9923102550SiwasakiFixed a problem where the use of the ASL Revision operator
9924114237Snjlreturned an error. This operator now returns the current version
9925114237Snjlof the ACPI CA core subsystem.
9926102550Siwasaki
9927114237SnjlFixed a problem where objects passed as control method parameters
9928114237Snjlto AcpiEvaluateObject were always deleted at method termination.
9929114237SnjlHowever, these objects may end up being stored into the namespace
9930114237Snjlby the called method.  The object reference count mechanism was
9931114237Snjlapplied to these objects instead of a force delete.
9932102550Siwasaki
9933114237SnjlFixed a problem where static strings or buffers (contained in the
9934114237SnjlAML code) that are declared as package elements within the ASL
9935114237Snjlcode could cause a fault because the interpreter would attempt to
9936114237Snjldelete them.  These objects are now marked with the "static
9937114237Snjlobject" flag to prevent any attempt to delete them.
9938102550Siwasaki
9939114237SnjlImplemented an interpreter optimization to use operands directly
9940114237Snjlfrom the state object instead of extracting the operands to local
9941114237Snjlvariables.  This reduces stack use and code size, and improves
9942114237Snjlperformance.
9943102550Siwasaki
9944193267SjkimThe module exxface.c was eliminated as it was an unnecessary extra
9945126372Snjllayer of code.
9946102550Siwasaki
9947114237SnjlCurrent core subsystem library code sizes are shown below.  These
9948114237Snjlare the code and data sizes for the acpica.lib produced by the
9949193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9950126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9951126372Snjlincludes the full debug trace mechanism -- leading to a much
9952114237Snjllarger code and data size.  Note that these values will vary
9953114237Snjldepending on the efficiency of the compiler and the compiler
9954114237Snjloptions used during generation.
9955102550Siwasaki
9956102550Siwasaki  Non-Debug Version:  65K Code,   5K Data,   70K Total
9957114237Snjl(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9958114237SnjlTotal  (Previously 195K)
9959102550Siwasaki
9960102550SiwasakiLinux:
9961102550Siwasaki
9962114237SnjlSupport for ACPI 2.0 64-bit integers has been added.   All ACPI
9963114237SnjlInteger objects are now 64 bits wide
9964102550Siwasaki
9965114237SnjlAll Acpi data types and structures are now in lower case.  Only
9966114237SnjlAcpi macros are upper case for differentiation.
9967102550Siwasaki
9968102550Siwasaki Documentation:
9969102550Siwasaki
9970102550SiwasakiChanges to the external interfaces as described above.
9971102550Siwasaki
9972102550Siwasaki ----------------------------------------
9973102550SiwasakiSummary of changes for this label: 08_31_01
9974102550Siwasaki
9975102550Siwasaki ACPI CA Core Subsystem:
9976102550Siwasaki
9977114237SnjlA bug with interpreter implementation of the ASL Divide operator
9978114237Snjlwas found and fixed.  The implicit function return value (not the
9979114237Snjlexplicit store operands) was returning the remainder instead of
9980114237Snjlthe quotient.  This was a longstanding bug and it fixes several
9981114237Snjlknown outstanding issues on various platforms.
9982102550Siwasaki
9983104470SiwasakiThe ACPI_DEBUG_PRINT and function trace entry/exit macros have
9984193267Sjkimbeen further optimized for size.  There are 700 invocations of the
9985126372SnjlDEBUG_PRINT macro alone, so each optimization reduces the size of
9986126372Snjlthe debug version of the subsystem significantly.
9987102550Siwasaki
9988114237SnjlA stack trace mechanism has been implemented.  The maximum stack
9989193267Sjkimusage is about 2K on 32-bit platforms.  The debugger command "stat
9990126372Snjlstack" will display the current maximum stack usage.
9991102550Siwasaki
9992114237SnjlAll public symbols and global variables within the subsystem are
9993114237Snjlnow prefixed with the string "Acpi".  This keeps all of the
9994114237Snjlsymbols grouped together in a kernel map, and avoids conflicts
9995114237Snjlwith other kernel subsystems.
9996102550Siwasaki
9997114237SnjlMost of the internal fixed lookup tables have been moved into the
9998114237Snjlcode segment via the const operator.
9999102550Siwasaki
10000104470SiwasakiSeveral enhancements have been made to the interpreter to both
10001104470Siwasakireduce the code size and improve performance.
10002102550Siwasaki
10003114237SnjlCurrent core subsystem library code sizes are shown below.  These
10004114237Snjlare the code and data sizes for the acpica.lib produced by the
10005193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
10006126372Snjlany ACPI driver or OSPM code.  The debug version of the code
10007126372Snjlincludes the full debug trace mechanism which contains over 700
10008126372Snjlinvocations of the DEBUG_PRINT macro, 500 function entry macro
10009126372Snjlinvocations, and over 900 function exit macro invocations --
10010126372Snjlleading to a much larger code and data size.  Note that these
10011114237Snjlvalues will vary depending on the efficiency of the compiler and
10012114237Snjlthe compiler options used during generation.
10013102550Siwasaki
10014102550Siwasaki        Non-Debug Version:  64K Code,   5K Data,   69K Total
10015102550SiwasakiDebug Version:     137K Code,  58K Data,  195K Total
10016102550Siwasaki
10017102550Siwasaki Linux:
10018102550Siwasaki
10019104470SiwasakiImplemented wbinvd() macro, pending a kernel-wide definition.
10020102550Siwasaki
10021102550SiwasakiFixed /proc/acpi/event to handle poll() and short reads.
10022102550Siwasaki
10023102550Siwasaki ASL Compiler, version X2026:
10024102550Siwasaki
10025104470SiwasakiFixed a problem introduced in the previous label where the AML
10026167802Sjkim
10027104470Siwasakicode emitted for package objects produced packages with zero
10028104470Siwasakilength.
10029102550Siwasaki
10030102550Siwasaki ----------------------------------------
10031102550SiwasakiSummary of changes for this label: 08_16_01
10032102550Siwasaki
10033102550SiwasakiACPI CA Core Subsystem:
10034102550Siwasaki
10035114237SnjlThe following ACPI 2.0 ASL operators have been implemented in the
10036114237SnjlAML interpreter (These are already supported by the Intel ASL
10037193267Sjkimcompiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
10038126372SnjlToBuffer.  Support for 64-bit AML constants is implemented in the
10039126372SnjlAML parser, debugger, and disassembler.
10040102550Siwasaki
10041114237SnjlThe internal memory tracking mechanism (leak detection code) has
10042114237Snjlbeen upgraded to reduce the memory overhead (a separate tracking
10043114237Snjlblock is no longer allocated for each memory allocation), and now
10044114237Snjlsupports all of the internal object caches.
10045102550Siwasaki
10046114237SnjlThe data structures and code for the internal object caches have
10047114237Snjlbeen coelesced and optimized so that there is a single cache and
10048114237Snjlmemory list data structure and a single group of functions that
10049114237Snjlimplement generic cache management.  This has reduced the code
10050114237Snjlsize in both the debug and release versions of the subsystem.
10051102550Siwasaki
10052193267SjkimThe DEBUG_PRINT macro(s) have been optimized for size and replaced
10053126372Snjlby ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10054126372Snjldifferent, because it generates a single call to an internal
10055126372Snjlfunction.  This results in a savings of about 90 bytes per
10056193267Sjkiminvocation, resulting in an overall code and data savings of about
10057126372Snjl16% in the debug version of the subsystem.
10058102550Siwasaki
10059102550Siwasaki Linux:
10060102550Siwasaki
10061114237SnjlFixed C3 disk corruption problems and re-enabled C3 on supporting
10062114237Snjlmachines.
10063102550Siwasaki
10064102550SiwasakiIntegrated low-level sleep code by Patrick Mochel.
10065102550Siwasaki
10066102550SiwasakiFurther tweaked source code Linuxization.
10067102550Siwasaki
10068102550SiwasakiOther minor fixes.
10069102550Siwasaki
10070102550Siwasaki ASL Compiler:
10071102550Siwasaki
10072114237SnjlSupport for ACPI 2.0 variable length packages is fixed/completed.
10073102550Siwasaki
10074114237SnjlFixed a problem where the optional length parameter for the ACPI
10075114237Snjl2.0 ToString operator.
10076102550Siwasaki
10077114237SnjlFixed multiple extraneous error messages when a syntax error is
10078114237Snjldetected within the declaration line of a control method.
10079102550Siwasaki
10080102550Siwasaki ----------------------------------------
10081102550SiwasakiSummary of changes for this label: 07_17_01
10082102550Siwasaki
10083102550SiwasakiACPI CA Core Subsystem:
10084102550Siwasaki
10085104470SiwasakiAdded a new interface named AcpiGetFirmwareTable to obtain any
10086193267SjkimACPI table via the ACPI signature.  The interface can be called at
10087126372Snjlany time during kernel initialization, even before the kernel
10088193267Sjkimvirtual memory manager is initialized and paging is enabled.  This
10089126372Snjlallows kernel subsystems to obtain ACPI tables very early, even
10090126372Snjlbefore the ACPI CA subsystem is initialized.
10091102550Siwasaki
10092104470SiwasakiFixed a problem where Fields defined with the AnyAcc attribute
10093104470Siwasakicould be resolved to the incorrect address under the following
10094114237Snjlconditions: 1) the field width is larger than 8 bits and 2) the
10095114237Snjlparent operation region is not defined on a DWORD boundary.
10096102550Siwasaki
10097114237SnjlFixed a problem where the interpreter is not being locked during
10098114237Snjlnamespace initialization (during execution of the _INI control
10099114237Snjlmethods), causing an error when an attempt is made to release it
10100114237Snjllater.
10101102550Siwasaki
10102104470SiwasakiACPI 2.0 support in the AML Interpreter has begun and will be
10103114237Snjlongoing throughout the rest of this year.  In this label, The Mod
10104114237Snjloperator is implemented.
10105102550Siwasaki
10106102550SiwasakiAdded a new data type to contain full PCI addresses named
10107193267SjkimACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10108126372Snjland Function values.
10109102550Siwasaki
10110102550Siwasaki Linux:
10111102550Siwasaki
10112102550SiwasakiEnhanced the Linux version of the source code to change most
10113102550Siwasakicapitalized ACPI type names to lowercase. For example, all
10114114237Snjlinstances of ACPI_STATUS are changed to acpi_status.  This will
10115114237Snjlresult in a large diff, but the change is strictly cosmetic and
10116114237Snjlaligns the CA code closer to the Linux coding standard.
10117102550Siwasaki
10118102550SiwasakiOSL Interfaces:
10119102550Siwasaki
10120193267SjkimThe interfaces to the PCI configuration space have been changed to
10121193267Sjkimadd the PCI Segment number and to split the single 32-bit combined
10122126372SnjlDeviceFunction field into two 16-bit fields.  This was
10123114237Snjlaccomplished by moving the four values that define an address in
10124114237SnjlPCI configuration space (segment, bus, device, and function) to
10125114237Snjlthe new ACPI_PCI_ID structure.
10126102550Siwasaki
10127104470SiwasakiThe changes to the PCI configuration space interfaces led to a
10128104470Siwasakireexamination of the complete set of address space access
10129114237Snjlinterfaces for PCI, I/O, and Memory.  The previously existing 18
10130114237Snjlinterfaces have proven difficult to maintain (any small change
10131193267Sjkimmust be propagated across at least 6 interfaces) and do not easily
10132193267Sjkimallow for future expansion to 64 bits if necessary.  Also, on some
10133126372Snjlsystems, it would not be appropriate to demultiplex the access
10134126372Snjlwidth (8, 16, 32,or 64) before calling the OSL if the
10135114237Snjlcorresponding native OS interfaces contain a similar access width
10136114237Snjlparameter.  For these reasons, the 18 address space interfaces
10137114237Snjlhave been replaced by these 6 new ones:
10138102550Siwasaki
10139102550SiwasakiAcpiOsReadPciConfiguration
10140102550SiwasakiAcpiOsWritePciConfiguration
10141102550SiwasakiAcpiOsReadMemory
10142102550SiwasakiAcpiOsWriteMemory
10143102550SiwasakiAcpiOsReadPort
10144102550SiwasakiAcpiOsWritePort
10145102550Siwasaki
10146114237SnjlAdded a new interface named AcpiOsGetRootPointer to allow the OSL
10147114237Snjlto perform the platform and/or OS-specific actions necessary to
10148114237Snjlobtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10149114237Snjlinterface will simply call down to the CA core to perform the low-
10150114237Snjlmemory search for the table.  On IA-64, the RSDP is obtained from
10151114237SnjlEFI.  Migrating this interface to the OSL allows the CA core to
10152167802Sjkim
10153114237Snjlremain OS and platform independent.
10154102550Siwasaki
10155104470SiwasakiAdded a new interface named AcpiOsSignal to provide a generic
10156114237Snjl"function code and pointer" interface for various miscellaneous
10157114237Snjlsignals and notifications that must be made to the host OS.   The
10158114237Snjlfirst such signals are intended to support the ASL Fatal and
10159114237SnjlBreakpoint operators.  In the latter case, the AcpiOsBreakpoint
10160114237Snjlinterface has been obsoleted.
10161102550Siwasaki
10162102550SiwasakiThe definition of the AcpiFormatException interface has been
10163114237Snjlchanged to simplify its use.  The caller no longer must supply a
10164114237Snjlbuffer to the call; A pointer to a const string is now returned
10165114237Snjldirectly.  This allows the call to be easily used in printf
10166114237Snjlstatements, etc. since the caller does not have to manage a local
10167114237Snjlbuffer.
10168102550Siwasaki
10169114237Snjl
10170102550Siwasaki ASL Compiler, Version X2025:
10171102550Siwasaki
10172114237SnjlThe ACPI 2.0 Switch/Case/Default operators have been implemented
10173114237Snjland are fully functional.  They will work with all ACPI 1.0
10174193267Sjkiminterpreters, since the operators are simply translated to If/Else
10175126372Snjlpairs.
10176102550Siwasaki
10177104470SiwasakiThe ACPI 2.0 ElseIf operator is implemented and will also work
10178104470Siwasakiwith 1.0 interpreters, for the same reason.
10179102550Siwasaki
10180114237SnjlImplemented support for ACPI 2.0 variable-length packages.  These
10181114237Snjlpackages have a separate opcode, and their size is determined by
10182114237Snjlthe interpreter at run-time.
10183102550Siwasaki
10184193267SjkimDocumentation The ACPI CA Programmer Reference has been updated to
10185126372Snjlreflect the new interfaces and changes to existing interfaces.
10186102550Siwasaki
10187102550Siwasaki ------------------------------------------
10188102550SiwasakiSummary of changes for this label: 06_15_01
10189102550Siwasaki
10190102550Siwasaki ACPI CA Core Subsystem:
10191102550Siwasaki
10192102550SiwasakiFixed a problem where a DWORD-accessed field within a Buffer
10193114237Snjlobject would get its byte address inadvertently rounded down to
10194114237Snjlthe nearest DWORD.  Buffers are always Byte-accessible.
10195102550Siwasaki
10196102550Siwasaki ASL Compiler, version X2024:
10197102550Siwasaki
10198114237SnjlFixed a problem where the Switch() operator would either fault or
10199114237Snjlhang the compiler.  Note however, that the AML code for this ACPI
10200114237Snjl2.0 operator is not yet implemented.
10201102550Siwasaki
10202114237SnjlCompiler uses the new AcpiOsGetTimer interface to obtain compile
10203114237Snjltimings.
10204102550Siwasaki
10205114237SnjlImplementation of the CreateField operator automatically converts
10206114237Snjla reference to a named field within a resource descriptor from a
10207114237Snjlbyte offset to a bit offset if required.
10208102550Siwasaki
10209102550SiwasakiAdded some missing named fields from the resource descriptor
10210193267Sjkimsupport. These are the names that are automatically created by the
10211126372Snjlcompiler to reference fields within a descriptor.  They are only
10212126372Snjlvalid at compile time and are not passed through to the AML
10213114237Snjlinterpreter.
10214102550Siwasaki
10215104470SiwasakiResource descriptor named fields are now typed as Integers and
10216104470Siwasakisubject to compile-time typechecking when used in expressions.
10217102550Siwasaki
10218102550Siwasaki ------------------------------------------
10219102550SiwasakiSummary of changes for this label: 05_18_01
10220102550Siwasaki
10221102550Siwasaki ACPI CA Core Subsystem:
10222102550Siwasaki
10223114237SnjlFixed a couple of problems in the Field support code where bits
10224193267Sjkimfrom adjacent fields could be returned along with the proper field
10225126372Snjlbits. Restructured the field support code to improve performance,
10226126372Snjlreadability and maintainability.
10227102550Siwasaki
10228114237SnjlNew DEBUG_PRINTP macro automatically inserts the procedure name
10229114237Snjlinto the output, saving hundreds of copies of procedure name
10230114237Snjlstrings within the source, shrinking the memory footprint of the
10231114237Snjldebug version of the core subsystem.
10232102550Siwasaki
10233102550Siwasaki Source Code Structure:
10234102550Siwasaki
10235104470SiwasakiThe source code directory tree was restructured to reflect the
10236114237Snjlcurrent organization of the component architecture.  Some files
10237114237Snjland directories have been moved and/or renamed.
10238102550Siwasaki
10239102550Siwasaki Linux:
10240102550Siwasaki
10241102550SiwasakiFixed leaking kacpidpc processes.
10242102550Siwasaki
10243102550SiwasakiFixed queueing event data even when /proc/acpi/event is not
10244102550Siwasakiopened.
10245102550Siwasaki
10246102550Siwasaki ASL Compiler, version X2020:
10247102550Siwasaki
10248114237SnjlMemory allocation performance enhancement - over 24X compile time
10249114237Snjlimprovement on large ASL files.  Parse nodes and namestring
10250114237Snjlbuffers are now allocated from a large internal compiler buffer.
10251102550Siwasaki
10252102550SiwasakiThe temporary .SRC file is deleted unless the "-s" option is
10253102550Siwasakispecified
10254102550Siwasaki
10255193267SjkimThe "-d" debug output option now sends all output to the .DBG file
10256126372Snjlinstead of the console.
10257102550Siwasaki
10258102550Siwasaki"External" second parameter is now optional
10259102550Siwasaki
10260102550Siwasaki"ElseIf" syntax now properly allows the predicate
10261102550Siwasaki
10262102550SiwasakiLast operand to "Load" now recognized as a Target operand
10263102550Siwasaki
10264102550SiwasakiDebug object can now be used anywhere as a normal object.
10265102550Siwasaki
10266102550SiwasakiResourceTemplate now returns an object of type BUFFER
10267102550Siwasaki
10268102550SiwasakiEISAID now returns an object of type INTEGER
10269102550Siwasaki
10270102550Siwasaki"Index" now works with a STRING operand
10271102550Siwasaki
10272102550Siwasaki"LoadTable" now accepts optional parameters
10273102550Siwasaki
10274102550Siwasaki"ToString" length parameter is now optional
10275102550Siwasaki
10276102550Siwasaki"Interrupt (ResourceType," parse error fixed.
10277102550Siwasaki
10278104470Siwasaki"Register" with a user-defined region space parse error fixed
10279102550Siwasaki
10280114237SnjlEscaped backslash at the end of a string ("\\") scan/parse error
10281114237Snjlfixed
10282102550Siwasaki
10283102550Siwasaki"Revision" is now an object of type INTEGER.
10284102550Siwasaki
10285102550Siwasaki
10286102550Siwasaki
10287102550Siwasaki------------------------------------------
10288102550SiwasakiSummary of changes for this label: 05_02_01
10289102550Siwasaki
10290102550SiwasakiLinux:
10291102550Siwasaki
10292102550Siwasaki/proc/acpi/event now blocks properly.
10293102550Siwasaki
10294102550SiwasakiRemoved /proc/sys/acpi. You can still dump your DSDT from
10295102550Siwasaki/proc/acpi/dsdt.
10296102550Siwasaki
10297102550Siwasaki ACPI CA Core Subsystem:
10298102550Siwasaki
10299193267SjkimFixed a problem introduced in the previous label where some of the
10300126372Snjl"small" resource descriptor types were not recognized.
10301102550Siwasaki
10302193267SjkimImproved error messages for the case where an ASL Field is outside
10303126372Snjlthe range of the parent operation region.
10304102550Siwasaki
10305102550Siwasaki ASL Compiler, version X2018:
10306102550Siwasaki
10307167802Sjkim
10308193267SjkimAdded error detection for ASL Fields that extend beyond the length
10309126372Snjlof the parent operation region (only if the length of the region
10310126372Snjlis known at compile time.)  This includes fields that have a
10311126372Snjlminimum access width that is smaller than the parent region, and
10312126372Snjlindividual field units that are partially or entirely beyond the
10313126372Snjlextent of the parent.
10314102550Siwasaki
10315102550Siwasaki
10316102550Siwasaki
10317102550Siwasaki------------------------------------------
10318102550SiwasakiSummary of changes for this label: 04_27_01
10319102550Siwasaki
10320102550Siwasaki ACPI CA Core Subsystem:
10321102550Siwasaki
10322193267SjkimFixed a problem where the namespace mutex could be released at the
10323126372Snjlwrong time during execution of AcpiRemoveAddressSpaceHandler.
10324102550Siwasaki
10325104470SiwasakiAdded optional thread ID output for debug traces, to simplify
10326114237Snjldebugging of multiple threads.  Added context switch notification
10327114237Snjlwhen the debug code realizes that a different thread is now
10328114237Snjlexecuting ACPI code.
10329102550Siwasaki
10330114237SnjlSome additional external data types have been prefixed with the
10331114237Snjlstring "ACPI_" for consistency.  This may effect existing code.
10332193267SjkimThe data types affected are the external callback typedefs - e.g.,
10333167802Sjkim
10334126372SnjlWALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10335102550Siwasaki
10336102550Siwasaki Linux:
10337102550Siwasaki
10338102550SiwasakiFixed an issue with the OSL semaphore implementation where a
10339102550Siwasakithread was waking up with an error from receiving a SIGCHLD
10340102550Siwasakisignal.
10341102550Siwasaki
10342114237SnjlLinux version of ACPI CA now uses the system C library for string
10343114237Snjlmanipulation routines instead of a local implementation.
10344102550Siwasaki
10345102550SiwasakiCleaned up comments and removed TBDs.
10346102550Siwasaki
10347102550Siwasaki ASL Compiler, version X2017:
10348102550Siwasaki
10349102550SiwasakiEnhanced error detection and reporting for all file I/O
10350102550Siwasakioperations.
10351102550Siwasaki
10352102550Siwasaki Documentation:
10353102550Siwasaki
10354102550SiwasakiProgrammer Reference updated to version 1.06.
10355102550Siwasaki
10356102550Siwasaki
10357102550Siwasaki
10358102550Siwasaki------------------------------------------
10359102550SiwasakiSummary of changes for this label: 04_13_01
10360102550Siwasaki
10361102550Siwasaki ACPI CA Core Subsystem:
10362102550Siwasaki
10363102550SiwasakiRestructured support for BufferFields and RegionFields.
10364104470SiwasakiBankFields support is now fully operational.  All known 32-bit
10365114237Snjllimitations on field sizes have been removed.  Both BufferFields
10366114237Snjland (Operation) RegionFields are now supported by the same field
10367114237Snjlmanagement code.
10368102550Siwasaki
10369114237SnjlResource support now supports QWORD address and IO resources. The
10370114237Snjl16/32/64 bit address structures and the Extended IRQ structure
10371114237Snjlhave been changed to properly handle Source Resource strings.
10372102550Siwasaki
10373114237SnjlA ThreadId of -1 is now used to indicate a "mutex not acquired"
10374193267Sjkimcondition internally and must never be returned by AcpiOsThreadId.
10375126372SnjlThis reserved value was changed from 0 since Unix systems allow a
10376126372Snjlthread ID of 0.
10377102550Siwasaki
10378102550SiwasakiLinux:
10379102550Siwasaki
10380102550SiwasakiDriver code reorganized to enhance portability
10381102550Siwasaki
10382102550SiwasakiAdded a kernel configuration option to control ACPI_DEBUG
10383102550Siwasaki
10384102550SiwasakiFixed the EC driver to honor _GLK.
10385102550Siwasaki
10386102550SiwasakiASL Compiler, version X2016:
10387102550Siwasaki
10388114237SnjlFixed support for the "FixedHw" keyword.  Previously, the FixedHw
10389114237Snjladdress space was set to 0, not 0x7f as it should be.
10390102550Siwasaki
10391102550Siwasaki ------------------------------------------
10392102550SiwasakiSummary of changes for this label: 03_13_01
10393102550Siwasaki
10394102550Siwasaki ACPI CA Core Subsystem:
10395102550Siwasaki
10396104470SiwasakiDuring ACPI initialization, the _SB_._INI method is now run if
10397104470Siwasakipresent.
10398102550Siwasaki
10399193267SjkimNotify handler fix - notifies are deferred until the parent method
10400126372Snjlcompletes execution.  This fixes the "mutex already acquired"
10401126372Snjlissue seen occasionally.
10402102550Siwasaki
10403104470SiwasakiPart of the "implicit conversion" rules in ACPI 2.0 have been
10404114237Snjlfound to cause compatibility problems with existing ASL/AML.  The
10405114237Snjlconvert "result-to-target-type" implementation has been removed
10406114237Snjlfor stores to method Args and Locals.  Source operand conversion
10407114237Snjlis still fully implemented.  Possible changes to ACPI 2.0
10408114237Snjlspecification pending.
10409102550Siwasaki
10410104470SiwasakiFix to AcpiRsCalculatePciRoutingTableLength to return correct
10411104470Siwasakilength.
10412102550Siwasaki
10413102550SiwasakiFix for compiler warnings for 64-bit compiles.
10414102550Siwasaki
10415102550Siwasaki Linux:
10416102550Siwasaki
10417102550Siwasaki/proc output aligned for easier parsing.
10418102550Siwasaki
10419102550SiwasakiRelease-version compile problem fixed.
10420102550Siwasaki
10421104470SiwasakiNew kernel configuration options documented in Configure.help.
10422102550Siwasaki
10423102550SiwasakiIBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10424102550Siwasakicontext" message.
10425102550Siwasaki
10426102550Siwasaki OSPM:
10427102550Siwasaki
10428102550SiwasakiPower resource driver integrated with bus manager.
10429102550Siwasaki
10430102550SiwasakiFixed kernel fault during active cooling for thermal zones.
10431102550Siwasaki
10432102550SiwasakiSource Code:
10433102550Siwasaki
10434102550SiwasakiThe source code tree has been restructured.
10435102550Siwasaki
10436102550Siwasaki
10437102550Siwasaki
10438102550Siwasaki------------------------------------------
10439102550SiwasakiSummary of changes for this label: 03_02_01
10440102550Siwasaki
10441102550Siwasaki Linux OS Services Layer (OSL):
10442102550Siwasaki
10443102550SiwasakiMajor revision of all Linux-specific code.
10444102550Siwasaki
10445102550SiwasakiModularized all ACPI-specific drivers.
10446102550Siwasaki
10447102550SiwasakiAdded new thermal zone and power resource drivers.
10448102550Siwasaki
10449114237SnjlRevamped /proc interface (new functionality is under /proc/acpi).
10450102550Siwasaki
10451102550SiwasakiNew kernel configuration options.
10452102550Siwasaki
10453102550Siwasaki Linux known issues:
10454102550Siwasaki
10455114237SnjlNew kernel configuration options not documented in Configure.help
10456114237Snjlyet.
10457102550Siwasaki
10458114237Snjl
10459102550SiwasakiModule dependencies not currently implemented. If used, they
10460102550Siwasakishould be loaded in this order: busmgr, power, ec, system,
10461102550Siwasakiprocessor, battery, ac_adapter, button, thermal.
10462102550Siwasaki
10463102550SiwasakiModules will not load if CONFIG_MODVERSION is set.
10464102550Siwasaki
10465102550SiwasakiIBM 600E - entering S5 may reboot instead of shutting down.
10466102550Siwasaki
10467104470SiwasakiIBM 600E - Sleep button may generate "Invalid <NULL> context"
10468104470Siwasakimessage.
10469102550Siwasaki
10470104470SiwasakiSome systems may fail with "execution mutex already acquired"
10471104470Siwasakimessage.
10472102550Siwasaki
10473102550Siwasaki ACPI CA Core Subsystem:
10474102550Siwasaki
10475114237SnjlAdded a new OSL Interface, AcpiOsGetThreadId.  This was required
10476193267Sjkimfor the  deadlock detection code. Defined to return a non-zero, 32-
10477126372Snjlbit thread ID for the currently executing thread.  May be a non-
10478126372Snjlzero constant integer on single-thread systems.
10479102550Siwasaki
10480193267SjkimImplemented deadlock detection for internal subsystem mutexes.  We
10481126372Snjlmay add conditional compilation for this code (debug only) later.
10482102550Siwasaki
10483104470SiwasakiASL/AML Mutex object semantics are now fully supported.  This
10484114237Snjlincludes multiple acquires/releases by owner and support for the
10485167802Sjkim
10486114237SnjlMutex SyncLevel parameter.
10487102550Siwasaki
10488102550SiwasakiA new "Force Release" mechanism automatically frees all ASL
10489104470SiwasakiMutexes that have been acquired but not released when a thread
10490114237Snjlexits the interpreter.  This forces conformance to the ACPI spec
10491114237Snjl("All mutexes must be released when an invocation exits") and
10492114237Snjlprevents deadlocked ASL threads.  This mechanism can be expanded
10493114237Snjl(later) to monitor other resource acquisitions if OEM ASL code
10494114237Snjlcontinues to misbehave (which it will).
10495102550Siwasaki
10496104470SiwasakiSeveral new ACPI exception codes have been added for the Mutex
10497104470Siwasakisupport.
10498102550Siwasaki
10499104470SiwasakiRecursive method calls are now allowed and supported (the ACPI
10500114237Snjlspec does in fact allow recursive method calls.)  The number of
10501114237Snjlrecursive calls is subject to the restrictions imposed by the
10502114237SnjlSERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10503104470Siwasakiparameter.
10504102550Siwasaki
10505102550SiwasakiImplemented support for the SyncLevel parameter for control
10506102550Siwasakimethods (ACPI 2.0 feature)
10507102550Siwasaki
10508114237SnjlFixed a deadlock problem when multiple threads attempted to use
10509114237Snjlthe interpreter.
10510102550Siwasaki
10511102550SiwasakiFixed a problem where the string length of a String package
10512102550Siwasakielement was not always set in a package returned from
10513102550SiwasakiAcpiEvaluateObject.
10514102550Siwasaki
10515114237SnjlFixed a problem where the length of a String package element was
10516114237Snjlnot always included in the length of the overall package returned
10517114237Snjlfrom AcpiEvaluateObject.
10518102550Siwasaki
10519102550SiwasakiAdded external interfaces (Acpi*) to the ACPI debug memory
10520102550Siwasakimanager.  This manager keeps a list of all outstanding
10521193267Sjkimallocations, and can therefore detect memory leaks and attempts to
10522126372Snjlfree memory blocks more than once. Useful for code such as the
10523114237Snjlpower manager, etc.  May not be appropriate for device drivers.
10524114237SnjlPerformance with the debug code enabled is slow.
10525102550Siwasaki
10526102550SiwasakiThe ACPI Global Lock is now an optional hardware element.
10527102550Siwasaki
10528102550Siwasaki ASL Compiler Version X2015:
10529102550Siwasaki
10530102550SiwasakiIntegrated changes to allow the compiler to be generated on
10531102550Siwasakimultiple platforms.
10532102550Siwasaki
10533102550SiwasakiLinux makefile added to generate the compiler on Linux
10534102550Siwasaki
10535102550Siwasaki Source Code:
10536102550Siwasaki
10537102550SiwasakiAll platform-specific headers have been moved to their own
10538102550Siwasakisubdirectory, Include/Platform.
10539102550Siwasaki
10540102550SiwasakiNew source file added, Interpreter/ammutex.c
10541102550Siwasaki
10542102550SiwasakiNew header file, Include/acstruct.h
10543102550Siwasaki
10544102550Siwasaki Documentation:
10545102550Siwasaki
10546114237SnjlThe programmer reference has been updated for the following new
10547114237Snjlinterfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10548102550Siwasaki
10549102550Siwasaki ------------------------------------------
10550102550SiwasakiSummary of changes for this label: 02_08_01
10551102550Siwasaki
10552102550SiwasakiCore ACPI CA Subsystem: Fixed a problem where an error was
10553193267Sjkimincorrectly returned if the return resource buffer was larger than
10554126372Snjlthe actual data (in the resource interfaces).
10555102550Siwasaki
10556114237SnjlReferences to named objects within packages are resolved to the
10557167802Sjkim
10558114237Snjlfull pathname string before packages are returned directly (via
10559114237Snjlthe AcpiEvaluateObject interface) or indirectly via the resource
10560114237Snjlinterfaces.
10561102550Siwasaki
10562102550SiwasakiLinux OS Services Layer (OSL):
10563102550Siwasaki
10564102550SiwasakiImproved /proc battery interface.
10565102550Siwasaki
10566102550Siwasaki
10567104470SiwasakiAdded C-state debugging output and other miscellaneous fixes.
10568102550Siwasaki
10569102550SiwasakiASL Compiler Version X2014:
10570102550Siwasaki
10571114237SnjlAll defined method arguments can now be used as local variables,
10572114237Snjlincluding the ones that are not actually passed in as parameters.
10573114237SnjlThe compiler tracks initialization of the arguments and issues an
10574114237Snjlexception if they are used without prior assignment (just like
10575114237Snjllocals).
10576102550Siwasaki
10577193267SjkimThe -o option now specifies a filename prefix that is used for all
10578126372Snjloutput files, including the AML output file.  Otherwise, the
10579114237Snjldefault behavior is as follows:  1) the AML goes to the file
10580114237Snjlspecified in the DSDT.  2) all other output files use the input
10581114237Snjlsource filename as the base.
10582102550Siwasaki
10583102550Siwasaki ------------------------------------------
10584102550SiwasakiSummary of changes for this label: 01_25_01
10585102550Siwasaki
10586114237SnjlCore ACPI CA Subsystem: Restructured the implementation of object
10587114237Snjlstore support within the  interpreter.  This includes support for
10588114237Snjlthe Store operator as well  as any ASL operators that include a
10589114237Snjltarget operand.
10590102550Siwasaki
10591102550SiwasakiPartially implemented support for Implicit Result-to-Target
10592114237Snjlconversion. This is when a result object is converted on the fly
10593114237Snjlto the type of  an existing target object.  Completion of this
10594114237Snjlsupport is pending  further analysis of the ACPI specification
10595114237Snjlconcerning this matter.
10596102550Siwasaki
10597114237SnjlCPU-specific code has been removed from the subsystem (hardware
10598114237Snjldirectory).
10599102550Siwasaki
10600102550SiwasakiNew Power Management Timer functions added
10601102550Siwasaki
10602114237SnjlLinux OS Services Layer (OSL): Moved system state transition code
10603114237Snjlto the core, fixed it, and modified  Linux OSL accordingly.
10604102550Siwasaki
10605102550SiwasakiFixed C2 and C3 latency calculations.
10606102550Siwasaki
10607102550Siwasaki
10608114237SnjlWe no longer use the compilation date for the version message on
10609193267Sjkiminitialization, but retrieve the version from AcpiGetSystemInfo().
10610102550Siwasaki
10611102550SiwasakiIncorporated for fix Sony VAIO machines.
10612102550Siwasaki
10613104470SiwasakiDocumentation:  The Programmer Reference has been updated and
10614104470Siwasakireformatted.
10615102550Siwasaki
10616102550Siwasaki
10617102550SiwasakiASL Compiler:  Version X2013: Fixed a problem where the line
10618102550Siwasakinumbering and error reporting could get out  of sync in the
10619102550Siwasakipresence of multiple include files.
10620102550Siwasaki
10621102550Siwasaki ------------------------------------------
10622102550SiwasakiSummary of changes for this label: 01_15_01
10623102550Siwasaki
10624102550SiwasakiCore ACPI CA Subsystem:
10625102550Siwasaki
10626114237SnjlImplemented support for type conversions in the execution of the
10627114237SnjlASL  Concatenate operator (The second operand is converted to
10628114237Snjlmatch the type  of the first operand before concatenation.)
10629102550Siwasaki
10630102550SiwasakiSupport for implicit source operand conversion is partially
10631114237Snjlimplemented.   The ASL source operand types Integer, Buffer, and
10632114237SnjlString are freely  interchangeable for most ASL operators and are
10633114237Snjlconverted by the interpreter  on the fly as required.  Implicit
10634114237SnjlTarget operand conversion (where the  result is converted to the
10635114237Snjltarget type before storing) is not yet implemented.
10636102550Siwasaki
10637102550SiwasakiSupport for 32-bit and 64-bit BCD integers is implemented.
10638102550Siwasaki
10639193267SjkimProblem fixed where a field read on an aligned field could cause a
10640126372Snjlread  past the end of the field.
10641102550Siwasaki
10642114237SnjlNew exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10643114237Snjldoes not return a value, but the caller expects one.  (The ASL
10644114237Snjlcompiler flags this as a warning.)
10645102550Siwasaki
10646102550SiwasakiASL Compiler:
10647102550Siwasaki
10648102550SiwasakiVersion X2011:
10649102550Siwasaki1. Static typechecking of all operands is implemented. This
10650193267Sjkimprevents the use of invalid objects (such as using a Package where
10651126372Snjlan Integer is required) at compile time instead of at interpreter
10652126372Snjlrun-time.
10653114237Snjl2. The ASL source line is printed with ALL errors and warnings.
10654102550Siwasaki3. Bug fix for source EOF without final linefeed.
10655193267Sjkim4. Debug option is split into a parse trace and a namespace trace.
10656102550Siwasaki5. Namespace output option (-n) includes initial values for
10657102550Siwasakiintegers and strings.
10658102550Siwasaki6. Parse-only option added for quick syntax checking.
10659102550Siwasaki7. Compiler checks for duplicate ACPI name declarations
10660102550Siwasaki
10661102550SiwasakiVersion X2012:
10662102550Siwasaki1. Relaxed typechecking to allow interchangeability between
10663114237Snjlstrings, integers, and buffers.  These types are now converted by
10664114237Snjlthe interpreter at runtime.
10665114237Snjl2. Compiler reports time taken by each internal subsystem in the
10666114237Snjldebug         output file.
10667102550Siwasaki
10668102550Siwasaki
10669102550Siwasaki ------------------------------------------
10670102550SiwasakiSummary of changes for this label: 12_14_00
10671102550Siwasaki
10672102550SiwasakiASL Compiler:
10673102550Siwasaki
10674104470SiwasakiThis is the first official release of the compiler. Since the
10675104470Siwasakicompiler requires elements of the Core Subsystem, this label
10676104470Siwasakisynchronizes everything.
10677102550Siwasaki
10678102550Siwasaki------------------------------------------
10679102550SiwasakiSummary of changes for this label: 12_08_00
10680102550Siwasaki
10681102550Siwasaki
10682114237SnjlFixed a problem where named references within the ASL definition
10683114237Snjlof both OperationRegions and CreateXXXFields did not work
10684114237Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
10685114237Snjlinitialization of the region/field. This is similar (but not
10686114237Snjlrelated internally) to the problem that was fixed in the last
10687114237Snjllabel.
10688114237Snjl
10689102550SiwasakiImplemented both 32-bit and 64-bit support for the BCD ASL
10690102550Siwasakifunctions ToBCD and FromBCD.
10691102550Siwasaki
10692102550SiwasakiUpdated all legal headers to include "2000" in the copyright
10693102550Siwasakiyears.
10694102550Siwasaki
10695102550Siwasaki ------------------------------------------
10696102550SiwasakiSummary of changes for this label: 12_01_00
10697102550Siwasaki
10698193267SjkimFixed a problem where method invocations within the ASL definition
10699126372Snjlof both OperationRegions and CreateXXXFields did not work
10700126372Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
10701114237Snjlinitialization of the region/field:
10702102550Siwasaki
10703114237Snjl  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10704114237Snjl[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10705114237Snjl(0x3005)
10706102550Siwasaki
10707102550SiwasakiFixed a problem where operators with more than one nested
10708104470Siwasakisubexpression would fail.  The symptoms were varied, by mostly
10709114237SnjlAE_AML_OPERAND_TYPE errors.  This was actually a rather serious
10710114237Snjlproblem that has gone unnoticed until now.
10711102550Siwasaki
10712102550Siwasaki  Subtract (Add (1,2), Multiply (3,4))
10713102550Siwasaki
10714114237SnjlFixed a problem where AcpiGetHandle didn't quite get fixed in the
10715114237Snjlprevious build (The prefix part of a relative path was handled
10716114237Snjlincorrectly).
10717102550Siwasaki
10718114237SnjlFixed a problem where Operation Region initialization failed if
10719114237Snjlthe operation region name was a "namepath" instead of a simple
10720114237Snjl"nameseg". Symptom was an AE_NO_OPERAND error.
10721102550Siwasaki
10722114237SnjlFixed a problem where an assignment to a local variable via the
10723114237Snjlindirect RefOf mechanism only worked for the first such
10724102550Siwasakiassignment.  Subsequent assignments were ignored.
10725102550Siwasaki
10726102550Siwasaki ------------------------------------------
10727102550SiwasakiSummary of changes for this label: 11_15_00
10728102550Siwasaki
10729193267SjkimACPI 2.0 table support with backwards support for ACPI 1.0 and the
10730193267Sjkim0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
10731126372Snjlthe AML  interpreter does NOT have support for the new 2.0 ASL
10732126372Snjlgrammar terms at this time.
10733102550Siwasaki
10734193267SjkimAll ACPI hardware access is via the GAS structures in the ACPI 2.0
10735126372SnjlFADT.
10736102550Siwasaki
10737193267SjkimAll physical memory addresses across all platforms are now 64 bits
10738126372Snjlwide. Logical address width remains dependent on the platform
10739126372Snjl(i.e., "void *").
10740102550Siwasaki
10741114237SnjlAcpiOsMapMemory interface changed to a 64-bit physical address.
10742102550Siwasaki
10743114237SnjlThe AML interpreter integer size is now 64 bits, as per the ACPI
10744114237Snjl2.0 specification.
10745102550Siwasaki
10746104470SiwasakiFor backwards compatibility with ACPI 1.0, ACPI tables with a
10747104470Siwasakirevision number less than 2 use 32-bit integers only.
10748102550Siwasaki
10749114237SnjlFixed a problem where the evaluation of OpRegion operands did not
10750114237Snjlalways resolve them to numbers properly.
10751102550Siwasaki
10752102550Siwasaki------------------------------------------
10753102550SiwasakiSummary of changes for this label: 10_20_00
10754102550Siwasaki
10755114237SnjlFix for CBN_._STA issue.  This fix will allow correct access to
10756114237SnjlCBN_ OpRegions when the _STA returns 0x8.
10757102550Siwasaki
10758104470SiwasakiSupport to convert ACPI constants (Ones, Zeros, One) to actual
10759104470Siwasakivalues before a package object is returned
10760102550Siwasaki
10761104470SiwasakiFix for method call as predicate to if/while construct causing
10762104470Siwasakiincorrect if/while behavior
10763102550Siwasaki
10764114237SnjlFix for Else block package lengths sometimes calculated wrong (if
10765114237Snjlblock > 63 bytes)
10766102550Siwasaki
10767102550SiwasakiFix for Processor object length field, was always zero
10768102550Siwasaki
10769102550SiwasakiTable load abort if FACP sanity check fails
10770102550Siwasaki
10771102550SiwasakiFix for problem with Scope(name) if name already exists
10772102550Siwasaki
10773102550SiwasakiWarning emitted if a named object referenced cannot be found
10774102550Siwasaki(resolved) during method execution.
10775102550Siwasaki
10776102550Siwasaki
10777102550Siwasaki
10778102550Siwasaki
10779102550Siwasaki
10780102550Siwasaki------------------------------------------
10781102550SiwasakiSummary of changes for this label: 9_29_00
10782102550Siwasaki
10783114237SnjlNew table initialization interfaces: AcpiInitializeSubsystem no
10784114237Snjllonger has any parameters AcpiFindRootPointer - Find the RSDP (if
10785114237Snjlnecessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10786114237Snjl>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10787114237SnjlAcpiLoadTables
10788102550Siwasaki
10789193267SjkimNote: These interface changes require changes to all existing OSDs
10790102550Siwasaki
10791114237SnjlThe PCI_Config default address space handler is always installed
10792114237Snjlat the root namespace object.
10793102550Siwasaki
10794102550Siwasaki-------------------------------------------
10795102550SiwasakiSummary of changes for this label: 09_15_00
10796102550Siwasaki
10797102550SiwasakiThe new initialization architecture is implemented.  New
10798114237Snjlinterfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10799114237SnjlAcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10800167802Sjkim
10801114237Snjl(Namespace is automatically loaded when a table is loaded)
10802102550Siwasaki
10803193267SjkimThe ACPI_OPERAND_OBJECT has been optimized to shrink its size from
10804126372Snjl52 bytes to 32 bytes.  There is usually one of these for every
10805126372Snjlnamespace object, so the memory savings is significant.
10806102550Siwasaki
10807114237SnjlImplemented just-in-time evaluation of the CreateField operators.
10808102550Siwasaki
10809102550SiwasakiBug fixes for IA-64 support have been integrated.
10810102550Siwasaki
10811102550SiwasakiAdditional code review comments have been implemented
10812102550Siwasaki
10813193267SjkimThe so-called "third pass parse" has been replaced by a final walk
10814193267Sjkimthrough the namespace to initialize all operation regions (address
10815126372Snjlspaces) and fields that have not yet been initialized during the
10816126372Snjlexecution of the various _INI and REG methods.
10817102550Siwasaki
10818102550SiwasakiNew file - namespace/nsinit.c
10819102550Siwasaki
10820102550Siwasaki-------------------------------------------
10821102550SiwasakiSummary of changes for this label: 09_01_00
10822102550Siwasaki
10823193267SjkimNamespace manager data structures have been reworked to change the
10824126372Snjlprimary  object from a table to a single object.  This has
10825193267Sjkimresulted in dynamic memory  savings of 3X within the namespace and
10826126372Snjl2X overall in the ACPI CA subsystem.
10827102550Siwasaki
10828102550SiwasakiFixed problem where the call to AcpiEvFindPciRootBuses was
10829102550Siwasakiinadvertently left  commented out.
10830102550Siwasaki
10831114237SnjlReduced the warning count when generating the source with the GCC
10832114237Snjlcompiler.
10833102550Siwasaki
10834102550SiwasakiRevision numbers added to each module header showing the
10835104470SiwasakiSourceSafe version of the file.  Please refer to this version
10836114237Snjlnumber when giving us feedback or comments on individual modules.
10837102550Siwasaki
10838114237SnjlThe main object types within the subsystem have been renamed to
10839114237Snjlclarify their  purpose:
10840102550Siwasaki
10841102550SiwasakiACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10842102550SiwasakiACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10843102550SiwasakiACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10844102550Siwasaki
10845114237SnjlNOTE: no changes to the initialization sequence are included in
10846114237Snjlthis label.
10847102550Siwasaki
10848102550Siwasaki-------------------------------------------
10849102550SiwasakiSummary of changes for this label: 08_23_00
10850102550Siwasaki
10851102550SiwasakiFixed problem where TerminateControlMethod was being called
10852102550Siwasakimultiple times per  method
10853102550Siwasaki
10854193267SjkimFixed debugger problem where single stepping caused a semaphore to
10855126372Snjlbe  oversignalled
10856102550Siwasaki
10857104470SiwasakiImproved performance through additional parse object caching -
10858104470Siwasakiadded  ACPI_EXTENDED_OP type
10859102550Siwasaki
10860102550Siwasaki-------------------------------------------
10861102550SiwasakiSummary of changes for this label: 08_10_00
10862102550Siwasaki
10863102550SiwasakiParser/Interpreter integration:  Eliminated the creation of
10864102550Siwasakicomplete parse trees  for ACPI tables and control methods.
10865114237SnjlInstead, parse subtrees are created and  then deleted as soon as
10866193267Sjkimthey are processed (Either entered into the namespace or  executed
10867126372Snjlby the interpreter).  This reduces the use of dynamic kernel
10868126372Snjlmemory  significantly. (about 10X)
10869102550Siwasaki
10870114237SnjlException codes broken into classes and renumbered.  Be sure to
10871114237Snjlrecompile all  code that includes acexcep.h.  Hopefully we won't
10872114237Snjlhave to renumber the codes  again now that they are split into
10873114237Snjlclasses (environment, programmer, AML code,  ACPI table, and
10874114237Snjlinternal).
10875102550Siwasaki
10876104470SiwasakiFixed some additional alignment issues in the Resource Manager
10877104470Siwasakisubcomponent
10878102550Siwasaki
10879114237SnjlImplemented semaphore tracking in the AcpiExec utility, and fixed
10880114237Snjlseveral places  where mutexes/semaphores were being unlocked
10881114237Snjlwithout a corresponding lock  operation.  There are no known
10882114237Snjlsemaphore or mutex "leaks" at this time.
10883102550Siwasaki
10884114237SnjlFixed the case where an ASL Return operator is used to return an
10885114237Snjlunnamed  package.
10886102550Siwasaki
10887102550Siwasaki-------------------------------------------
10888102550SiwasakiSummary of changes for this label: 07_28_00
10889102550Siwasaki
10890102550SiwasakiFixed a problem with the way addresses were calculated in
10891114237SnjlAcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10892114237Snjlmanifested itself when a Field was  created with WordAccess or
10893193267SjkimDwordAccess, but the field unit defined within the  Field was less
10894167802Sjkim
10895126372Snjlthan a Word or Dword.
10896102550Siwasaki
10897102550SiwasakiFixed a problem in AmlDumpOperands() module's loop to pull
10898104470Siwasakioperands off of the  operand stack to display information. The
10899114237Snjlproblem manifested itself as a TLB  error on 64-bit systems when
10900114237Snjlaccessing an operand stack with two or more  operands.
10901102550Siwasaki
10902114237SnjlFixed a problem with the PCI configuration space handlers where
10903114237Snjlcontext was  getting confused between accesses. This required a
10904114237Snjlchange to the generic address  space handler and address space
10905193267Sjkimsetup definitions. Handlers now get both a  global handler context
10906126372Snjl(this is the one passed in by the user when executing
10907114237SnjlAcpiInstallAddressSpaceHandler() and a specific region context
10908114237Snjlthat is unique to  each region (For example, the _ADR, _SEG and
10909114237Snjl_BBN values associated with a  specific region). The generic
10910114237Snjlfunction definitions have changed to the  following:
10911102550Siwasaki
10912114237Snjltypedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10913114237SnjlUINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10914104470Siwasaki*HandlerContext, // This used to be void *Context void
10915102550Siwasaki*RegionContext); // This is an additional parameter
10916102550Siwasaki
10917102550Siwasakitypedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10918102550SiwasakiRegionHandle, UINT32 Function, void *HandlerContext,  void
10919102550Siwasaki**RegionContext); // This used to be **ReturnContext
10920102550Siwasaki
10921102550Siwasaki-------------------------------------------
10922102550SiwasakiSummary of changes for this label: 07_21_00
10923102550Siwasaki
10924102550SiwasakiMajor file consolidation and rename.  All files within the
10925193267Sjkiminterpreter have been  renamed as well as most header files.  This
10926126372Snjlwas done to prevent collisions with  existing files in the host
10927126372SnjlOSs -- filenames such as "config.h" and "global.h"  seem to be
10928126372Snjlquite common.  The VC project files have been updated.  All
10929114237Snjlmakefiles  will require modification.
10930102550Siwasaki
10931114237SnjlThe parser/interpreter integration continues in Phase 5 with the
10932114237Snjlimplementation  of a complete 2-pass parse (the AML is parsed
10933114237Snjltwice) for each table;  This  avoids the construction of a huge
10934114237Snjlparse tree and therefore reduces the amount of  dynamic memory
10935114237Snjlrequired by the subsystem.  Greater use of the parse object cache
10936114237Snjlmeans that performance is unaffected.
10937102550Siwasaki
10938102550SiwasakiMany comments from the two code reviews have been rolled in.
10939102550Siwasaki
10940102550SiwasakiThe 64-bit alignment support is complete.
10941102550Siwasaki
10942102550Siwasaki-------------------------------------------
10943102550SiwasakiSummary of changes for this label: 06_30_00
10944102550Siwasaki
10945114237SnjlWith a nod and a tip of the hat to the technology of yesteryear,
10946114237Snjlwe've added  support in the source code for 80 column output
10947114237Snjldevices.  The code is now mostly  constrained to 80 columns or
10948114237Snjlless to support environments and editors that 1)  cannot display
10949114237Snjlor print more than 80 characters on a single line, and 2) cannot
10950114237Snjldisable line wrapping.
10951102550Siwasaki
10952104470SiwasakiA major restructuring of the namespace data structure has been
10953104470Siwasakicompleted.  The  result is 1) cleaner and more
10954114237Snjlunderstandable/maintainable code, and 2) a  significant reduction
10955114237Snjlin the dynamic memory requirement for each named ACPI  object
10956114237Snjl(almost half).
10957102550Siwasaki
10958102550Siwasaki-------------------------------------------
10959102550SiwasakiSummary of changes for this label: 06_23_00
10960102550Siwasaki
10961114237SnjlLinux support has been added.  In order to obtain approval to get
10962114237Snjlthe ACPI CA  subsystem into the Linux kernel, we've had to make
10963114237Snjlquite a few changes to the  base subsystem that will affect all
10964114237Snjlusers (all the changes are generic and OS- independent).  The
10965114237Snjleffects of these global changes have been somewhat far  reaching.
10966114237SnjlFiles have been merged and/or renamed and interfaces have been
10967114237Snjlrenamed.   The major changes are described below.
10968102550Siwasaki
10969102550SiwasakiOsd* interfaces renamed to AcpiOs* to eliminate namespace
10970102550Siwasakipollution/confusion  within our target kernels.  All OSD
10971114237Snjlinterfaces must be modified to match the new  naming convention.
10972102550Siwasaki
10973193267SjkimFiles merged across the subsystem.  A number of the smaller source
10974126372Snjland header  files have been merged to reduce the file count and
10975126372Snjlincrease the density of the  existing files.  There are too many
10976126372Snjlto list here.  In general, makefiles that  call out individual
10977126372Snjlfiles will require rebuilding.
10978102550Siwasaki
10979104470SiwasakiInterpreter files renamed.  All interpreter files now have the
10980104470Siwasakiprefix am*  instead of ie* and is*.
10981102550Siwasaki
10982104470SiwasakiHeader files renamed:  The acapi.h file is now acpixf.h.  The
10983114237Snjlacpiosd.h file is  now acpiosxf.h.  We are removing references to
10984114237Snjlthe acronym "API" since it is  somewhat windowsy. The new name is
10985114237Snjl"external interface" or xface or xf in the  filenames.j
10986102550Siwasaki
10987102550Siwasaki
10988114237SnjlAll manifest constants have been forced to upper case (some were
10989193267Sjkimmixed case.)   Also, the string "ACPI_" has been prepended to many
10990126372Snjl(not all) of the constants,  typedefs, and structs.
10991102550Siwasaki
10992102550SiwasakiThe globals "DebugLevel" and "DebugLayer" have been renamed
10993102550Siwasaki"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10994102550Siwasaki
10995102550SiwasakiAll other globals within the subsystem are now prefixed with
10996102550Siwasaki"AcpiGbl_" Internal procedures within the subsystem are now
10997114237Snjlprefixed with "Acpi" (with only  a few exceptions).  The original
10998193267Sjkimtwo-letter abbreviation for the subcomponent  remains after "Acpi"
10999126372Snjl- for example, CmCallocate became AcpiCmCallocate.
11000102550Siwasaki
11001102550SiwasakiAdded a source code translation/conversion utility.  Used to
11002114237Snjlgenerate the Linux  source code, it can be modified to generate
11003114237Snjlother types of source as well. Can  also be used to cleanup
11004114237Snjlexisting source by removing extraneous spaces and blank  lines.
11005114237SnjlFound in tools/acpisrc/*
11006102550Siwasaki
11007102550SiwasakiOsdUnMapMemory was renamed to OsdUnmapMemory and then
11008102550SiwasakiAcpiOsUnmapMemory.  (UnMap  became Unmap).
11009102550Siwasaki
11010114237SnjlA "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
11011114237SnjlWhen set to  one, this indicates that the caller wants to use the
11012167802Sjkim
11013114237Snjlsemaphore as a mutex, not a  counting semaphore.  ACPI CA uses
11014114237Snjlboth types.  However, implementers of this  call may want to use
11015114237Snjldifferent OS primitives depending on the type of semaphore
11016114237Snjlrequested.  For example, some operating systems provide separate
11017167802Sjkim
11018193267Sjkim"mutex" and  "semaphore" interfaces - where the mutex interface is
11019126372Snjlmuch faster because it  doesn't have all the overhead of a full
11020126372Snjlsemaphore implementation.
11021102550Siwasaki
11022104470SiwasakiFixed a deadlock problem where a method that accesses the PCI
11023114237Snjladdress space can  block forever if it is the first access to the
11024114237Snjlspace.
11025102550Siwasaki
11026102550Siwasaki-------------------------------------------
11027102550SiwasakiSummary of changes for this label: 06_02_00
11028102550Siwasaki
11029102550SiwasakiSupport for environments that cannot handle unaligned data
11030114237Snjlaccesses (e.g.  firmware and OS environments devoid of alignment
11031193267Sjkimhandler technology namely  SAL/EFI and the IA-64 Linux kernel) has
11032126372Snjlbeen added (via configurable macros) in  these three areas: -
11033114237SnjlTransfer of data from the raw AML byte stream is done via byte
11034193267Sjkimmoves instead of    word/dword/qword moves. - External objects are
11035126372Snjlaligned within the user buffer, including package   elements (sub-
11036193267Sjkimobjects). - Conversion of name strings to UINT32 Acpi Names is now
11037126372Snjldone byte-wise.
11038102550Siwasaki
11039102550SiwasakiThe Store operator was modified to mimic Microsoft's
11040102550Siwasakiimplementation when storing  to a Buffer Field.
11041102550Siwasaki
11042102550SiwasakiAdded a check of the BM_STS bit before entering C3.
11043102550Siwasaki
11044114237SnjlThe methods subdirectory has been obsoleted and removed.  A new
11045114237Snjlfile, cmeval.c  subsumes the functionality.
11046102550Siwasaki
11047102550SiwasakiA 16-bit (DOS) version of AcpiExec has been developed.  The
11048102550Siwasakimakefile is under  the acpiexec directory.
11049