]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
Import compiler-rt r147467.
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 23 November 2011. Summary of changes for version 20111123:
3
4 This release is available at www.acpica.org/downloads
5 The ACPI 5.0 specification is available at www.acpi.info
6
7 0) ACPI 5.0 Support:
8
9 This release contains full support for the ACPI 5.0 specification, as 
10 summarized below.
11
12 Reduced Hardware Support:
13 -------------------------
14
15 This support allows for ACPI systems without the usual ACPI hardware. This 
16 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
17 not attempt to initialize or use any of the usual ACPI hardware. Note, when 
18 this flag is set, all of the following ACPI hardware is assumed to be not 
19 present and is not initialized or accessed:
20
21     General Purpose Events (GPEs)
22     Fixed Events (PM1a/PM1b and PM Control)
23     Power Management Timer and Console Buttons (power/sleep)
24     Real-time Clock Alarm
25     Global Lock
26     System Control Interrupt (SCI)
27     The FACS is assumed to be non-existent
28
29 ACPI Tables:
30 ------------
31
32 All new tables and updates to existing tables are fully supported in the 
33 ACPICA headers (for use by device drivers), the disassembler, and the iASL 
34 Data Table Compiler. ACPI 5.0 defines these new tables:
35
36     BGRT        /* Boot Graphics Resource Table */
37     DRTM        /* Dynamic Root of Trust for Measurement table */
38     FPDT        /* Firmware Performance Data Table */
39     GTDT        /* Generic Timer Description Table */
40     MPST        /* Memory Power State Table */
41     PCCT        /* Platform Communications Channel Table */
42     PMTT        /* Platform Memory Topology Table */
43     RASF        /* RAS Feature table */
44
45 Operation Regions/SpaceIDs:
46 ---------------------------
47
48 All new operation regions are fully supported by the iASL compiler, the 
49 disassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
50 The new operation region Space IDs are:
51
52     GeneralPurposeIo
53     GenericSerialBus
54
55 Resource Descriptors:
56 ---------------------
57
58 All new ASL resource descriptors are fully supported by the iASL compiler, the 
59 ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
60 all new predefined resource tags). New descriptors are:
61
62     FixedDma
63     GpioIo
64     GpioInt
65     I2cSerialBus
66     SpiSerialBus
67     UartSerialBus
68
69 ASL/AML Operators, New and Modified:
70 ------------------------------------
71
72 One new operator is added, the Connection operator, which is used to associate 
73 a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
74 field objects within an operation region. Several new protocols are associated 
75 with the AccessAs operator. All are fully supported by the iASL compiler, 
76 disassembler, and runtime ACPICA AML interpreter:
77
78     Connection                      // Declare Field Connection attributes
79     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
80     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
81     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
82     RawDataBuffer                       // Data type for Vendor Data fields
83
84 Predefined ASL/AML Objects:
85 ---------------------------
86
87 All new predefined objects/control-methods are supported by the iASL compiler 
88 and the ACPICA runtime validation/repair (arguments and return values.) New 
89 predefined names include the following:
90
91 Standard Predefined Names (Objects or Control Methods):
92     _AEI, _CLS, _CPC, _CWS, _DEP,
93     _DLM, _EVT, _GCP, _CRT, _GWS,
94     _HRV, _PRE, _PSE, _SRT, _SUB.
95
96 Resource Tags (Names used to access individual fields within resource 
97 descriptors):
98     _DBT, _DPL, _DRS, _END, _FLC,
99     _IOR, _LIN, _MOD, _PAR, _PHA,
100     _PIN, _PPI, _POL, _RXL, _SLV,
101     _SPE, _STB, _TXL, _VEN.
102
103 ACPICA External Interfaces:
104 ---------------------------
105
106 Several new interfaces have been defined for use by ACPI-related device 
107 drivers and other host OS services:
108
109 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
110 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
111 provided by the BIOS. They are intended to be used in conjunction with the 
112 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
113 mutual exclusion with the AML code/interpreter.
114
115 AcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
116 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
117 resource descriptors associated with hardware-reduced platform events, similar 
118 to the AcpiGetCurrentResources interface.
119
120 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
121 operation regions, information about the Connection() object and any optional 
122 length information is passed to the region handler within the Context 
123 parameter.
124
125 AcpiBufferToResource: This interface converts a raw AML buffer containing a 
126 resource template or resource descriptor to the ACPI_RESOURCE internal format 
127 suitable for use by device drivers. Can be used by an operation region handler 
128 to convert the Connection() buffer object into a ACPI_RESOURCE.
129
130 Miscellaneous/Tools/TestSuites: 
131 -------------------------------
132
133 Support for extended _HID names (Four alpha characters instead of three).
134 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
135 Support for ACPI 5.0 features in the ASLTS test suite.
136 Fully updated documentation (ACPICA and iASL reference documents.)
137
138 ACPI Table Definition Language:
139 -------------------------------
140
141 Support for this language was implemented and released as a subsystem of the 
142 iASL compiler in 2010. (See the iASL compiler User Guide.)
143
144
145 Non-ACPI 5.0 changes for this release:
146 --------------------------------------
147
148 1) ACPICA Core Subsystem:
149
150 Fix a problem with operation region declarations where a failure can occur if 
151 the region name and an argument that evaluates to an object (such as the 
152 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
153
154 Do not abort an ACPI table load if an invalid space ID is found within. This 
155 will be caught later if the offending method is executed. ACPICA BZ 925.
156
157 Fixed an issue with the FFixedHW space ID where the ID was not always 
158 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
159
160 Fixed a problem with the 32-bit generation of the unix-specific OSL 
161 (osunixxf.c). Lin Ming, ACPICA BZ 936.
162
163 Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
164 935.
165
166 New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
167 field registers out-of-range.
168
169 2) iASL Compiler/Disassembler and Tools:
170
171 iASL: Implemented the __PATH__ operator, which returns the full pathname of 
172 the current source file.
173
174 AcpiHelp: Automatically display expanded keyword information for all ASL 
175 operators.
176
177 Debugger: Add "Template" command to disassemble/dump resource template 
178 buffers.
179
180 Added a new master script to generate and execute the ASLTS test suite. 
181 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
182
183 iASL: Fix problem with listing generation during processing of the Switch() 
184 operator where AML listing was disabled until the entire Switch block was 
185 completed.
186
187 iASL: Improve support for semicolon statement terminators. Fix "invalid 
188 character" message for some cases when the semicolon is used. Semicolons are 
189 now allowed after every <Term> grammar element. ACPICA BZ 927.
190
191 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
192
193 Disassembler: Fix problem with disassembly of the DataTableRegion operator 
194 where an inadvertent "Unhandled deferred opcode" message could be generated.
195
196 3) Example Code and Data Size
197
198 These are the sizes for the OS-independent acpica.lib produced by the 
199 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
200 includes the debug output trace mechanism and has a much larger code and data 
201 size.
202
203   Previous Release:
204     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
205     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
206   Current Release:
207     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
208     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
209
210 ----------------------------------------
211 22 September 2011. Summary of changes for version 20110922:
212
213 0) ACPI 5.0 News:
214
215 Support for ACPI 5.0 in ACPICA has been underway for several months and will 
216 be released at the same time that ACPI 5.0 is officially released.
217
218 The ACPI 5.0 specification is on track for release in the next few months.
219  
220 1) ACPICA Core Subsystem:
221
222 Fixed a problem where the maximum sleep time for the Sleep() operator was 
223 intended to be limited to two seconds, but was inadvertently limited to 20 
224 seconds instead.
225
226 Linux and Unix makefiles: Added header file dependencies to ensure correct 
227 generation of ACPICA core code and utilities. Also simplified the makefiles 
228 considerably through the use of the vpath variable to specify search paths. 
229 ACPICA BZ 924.
230
231 2) iASL Compiler/Disassembler and Tools:
232
233 iASL: Implemented support to check the access length for all fields created to 
234 access named Resource Descriptor fields. For example, if a resource field is 
235 defined to be two bits, a warning is issued if a CreateXxxxField() is used 
236 with an incorrect bit length. This is implemented for all current resource 
237 descriptor names. ACPICA BZ 930.
238   
239 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
240 bit integers.
241
242 iASL: Fixed a couple of issues associated with variable-length package 
243 objects. 1) properly handle constants like One, Ones, Zero -- do not make a 
244 VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
245 opcode (in addition to PACKAGE) when validating object types for predefined 
246 names.
247
248 iASL: Emit statistics for all output files (instead of just the ASL input and 
249 AML output). Includes listings, hex files, etc.
250
251 iASL: Added -G option to the table compiler to allow the compilation of custom 
252 ACPI tables. The only part of a table that is required is the standard 36-byte 
253 ACPI header.
254
255 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
256 which also adds correct 64-bit support. Also, now all output filenames are 
257 completely lower case.
258
259 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
260 loading table files. A warning is issued for any such tables. The only 
261 exception is an FADT. This also fixes a possible fault when attempting to load 
262 non-AML tables. ACPICA BZ 932.
263
264 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
265 missing table terminator could cause a fault when using the -p option.
266
267 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
268 statistics.
269
270 3) Example Code and Data Size
271
272 These are the sizes for the OS-independent acpica.lib produced by the 
273 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
274 includes the debug output trace mechanism and has a much larger code and data 
275 size.
276
277   Previous Release (VC 9.0):
278     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
279     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
280   Current Release (VC 9.0):
281     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
282     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
283
284
285 ----------------------------------------
286 23 June 2011. Summary of changes for version 20110623:
287
288 1) ACPI CA Core Subsystem:
289
290 Updated the predefined name repair mechanism to not attempt repair of a _TSS 
291 return object if a _PSS object is present. We can only sort the _TSS return 
292 package if there is no _PSS within the same scope. This is because if _PSS is 
293 present, the ACPI specification dictates that the _TSS Power Dissipation field 
294 is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
295 Power field(s). In this case, it is best to just return the _TSS package as-
296 is. Reported by, and fixed with assistance from Fenghua Yu.
297
298 Added an option to globally disable the control method return value validation 
299 and repair. This runtime option can be used to disable return value repair if 
300 this is causing a problem on a particular machine. Also added an option to 
301 AcpiExec (-dr) to set this disable flag.
302
303 All makefiles and project files: Major changes to improve generation of ACPICA 
304 tools. ACPICA BZ 912:
305     Reduce default optimization levels to improve compatibility
306     For Linux, add strict-aliasing=0 for gcc 4
307     Cleanup and simplify use of command line defines
308     Cleanup multithread library support
309     Improve usage messages
310
311 Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
312 bit case, improve casting to eliminate possible warnings, especially with the 
313 acpica tools.
314
315 Example Code and Data Size: These are the sizes for the OS-independent 
316 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
317 version of the code includes the debug output trace mechanism and has a much 
318 larger code and data size.
319
320   Previous Release (VC 9.0):
321     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
322     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
323   Current Release (VC 9.0):
324     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
325     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
326
327 2) iASL Compiler/Disassembler and Tools:
328
329 With this release, a new utility named "acpihelp" has been added to the ACPICA 
330 package. This utility summarizes the ACPI specification chapters for the ASL 
331 and AML languages. It generates under Linux/Unix as well as Windows, and 
332 provides the following functionality:
333     Find/display ASL operator(s) -- with description and syntax.
334     Find/display ASL keyword(s) -- with exact spelling and descriptions.
335     Find/display ACPI predefined name(s) -- with description, number
336         of arguments, and the return value data type.
337     Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
338     Decode/display AML opcode -- with opcode name, arguments, and grammar.
339
340 Service Layers: Make multi-thread support configurable. Conditionally compile 
341 the multi-thread support so that threading libraries will not be linked if not 
342 necessary. The only tool that requires multi-thread support is AcpiExec.
343
344 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
345 Bison appear to want the interface to yyerror to be a const char * (or at 
346 least this is a problem when generating iASL on some systems.) ACPICA BZ 923 
347 Pierre Lejeune.
348
349 Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
350 versions of the tools.
351
352 ----------------------------------------
353 27 May 2011. Summary of changes for version 20110527:
354
355 1) ACPI CA Core Subsystem:
356
357 ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
358 signature. Now, only allow SSDT, OEMx, and a null signature. History:
359     1) Originally, we checked the table signature for "SSDT" or "PSDT".
360        (PSDT is now obsolete.)
361     2) We added support for OEMx tables, signature "OEM" plus a fourth
362        "don't care" character.
363     3) Valid tables were encountered with a null signature, so we just
364        gave up on validating the signature, (05/2008).
365     4) We encountered non-AML tables such as the MADT, which caused
366        interpreter errors and kernel faults. So now, we once again allow
367        only SSDT, OEMx, and now, also a null signature. (05/2011).
368
369 Added the missing _TDL predefined name to the global name list in order to 
370 enable validation. Affects both the core ACPICA code and the iASL compiler.
371
372 Example Code and Data Size: These are the sizes for the OS-independent 
373 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
374 version of the code includes the debug output trace mechanism and has a much 
375 larger code and data size.
376
377   Previous Release (VC 9.0):
378     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
379     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
380   Current Release (VC 9.0):
381     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
382     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
383
384 2) iASL Compiler/Disassembler and Tools:
385
386 Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
387 debugger command line. This adds support beyond simple integers -- including 
388 Strings, Buffers, and Packages. Includes support for nested packages. 
389 Increased the default command line buffer size to accommodate these arguments. 
390 See the ACPICA reference for details and syntax. ACPICA BZ 917.
391  
392 Debugger/AcpiExec: Implemented support for "default" method arguments for the 
393 Execute/Debug command. Now, the debugger will always invoke a control method 
394 with the required number of arguments -- even if the command line specifies 
395 none or insufficient arguments. It uses default integer values for any missing 
396 arguments. Also fixes a bug where only six method arguments maximum were 
397 supported instead of the required seven.
398
399 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
400 also return status in order to prevent buffer overruns. See the ACPICA 
401 reference for details and syntax. ACPICA BZ 921
402
403 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
404 makefiles to simplify support for the two different but similar parser 
405 generators, bison and yacc.
406
407 Updated the generic unix makefile for gcc 4. The default gcc version is now 
408 expected to be 4 or greater, since options specific to gcc 4 are used.
409
410 ----------------------------------------
411 13 April 2011. Summary of changes for version 20110413:
412
413 1) ACPI CA Core Subsystem:
414
415 Implemented support to execute a so-called "orphan" _REG method under the EC 
416 device. This change will force the execution of a _REG method underneath the 
417 EC 
418 device even if there is no corresponding operation region of type 
419 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
420 compatible with Windows behavior. ACPICA BZ 875.
421
422 Added more predefined methods that are eligible for automatic NULL package 
423 element removal. This change adds another group of predefined names to the 
424 list 
425 of names that can be repaired by having NULL package elements dynamically 
426 removed. This group are those methods that return a single variable-length 
427 package containing simple data types such as integers, buffers, strings. This 
428 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
429 _Sx, 
430 and _TZD. ACPICA BZ 914.
431
432 Split and segregated all internal global lock functions to a new file, 
433 evglock.c.
434
435 Updated internal address SpaceID for DataTable regions. Moved this internal 
436 space 
437 id in preparation for ACPI 5.0 changes that will include some new space IDs. 
438 This 
439 change should not affect user/host code.
440
441 Example Code and Data Size: These are the sizes for the OS-independent 
442 acpica.lib 
443 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
444 the code includes the debug output trace mechanism and has a much larger code 
445 and 
446 data size.
447
448   Previous Release (VC 9.0):
449     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
450     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
451   Current Release (VC 9.0):
452     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
453     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
454
455 2) iASL Compiler/Disassembler and Tools:
456
457 iASL/DTC: Major update for new grammar features. Allow generic data types in 
458 custom ACPI tables. Field names are now optional. Any line can be split to 
459 multiple lines using the continuation char (\). Large buffers now use line-
460 continuation character(s) and no colon on the continuation lines. See the 
461 grammar 
462 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
463
464 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
465 Since the parser stuffs a "zero" as the return value for these statements (due 
466 to 
467 the underlying AML grammar), they were seen as "return with value" by the iASL 
468 semantic checking. They are now seen correctly as "null" return statements.
469
470 iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
471 check for each _REG to ensure that there is in fact a corresponding operation 
472 region declaration in the same scope. If not, the _REG method is not very 
473 useful 
474 since it probably won't be executed. ACPICA BZ 915.
475
476 iASL/DTC: Finish support for expression evaluation. Added a new expression 
477 parser 
478 that implements c-style operator precedence and parenthesization. ACPICA 
479 bugzilla 
480 908.
481
482 Disassembler/DTC: Remove support for () and <> style comments in data tables. 
483 Now 
484 that DTC has full expression support, we don't want to have comment strings 
485 that 
486 start with a parentheses or a less-than symbol. Now, only the standard /* and 
487 // 
488 comments are supported, as well as the bracket [] comments.
489
490 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
491 "unusual" 
492 headers in the acpidump file. Update the header validation to support these 
493 tables. Problem introduced in previous AcpiXtract version in the change to 
494 support "wrong checksum" error messages emitted by acpidump utility.
495
496 iASL: Add a * option to generate all template files (as a synonym for ALL) as 
497 in 
498 "iasl -T *" or "iasl -T ALL".
499
500 iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
501 abort the compiler on "fatal" errors, simply should abort the current compile. 
502 This allows multiple compiles with a single (possibly wildcard) compiler 
503 invocation.
504
505 ----------------------------------------
506 16 March 2011. Summary of changes for version 20110316:
507
508 1) ACPI CA Core Subsystem:
509
510 Fixed a problem caused by a _PRW method appearing at the namespace root scope 
511 during the setup of wake GPEs. A fault could occur if a _PRW directly under 
512 the 
513 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
514
515 Implemented support for "spurious" Global Lock interrupts. On some systems, a 
516 global lock interrupt can occur without the pending flag being set. Upon a GL 
517 interrupt, we now ensure that a thread is actually waiting for the lock before 
518 signaling GL availability. Rafael Wysocki, Bob Moore.
519
520 Example Code and Data Size: These are the sizes for the OS-independent 
521 acpica.lib 
522 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
523 the code includes the debug output trace mechanism and has a much larger code 
524 and 
525 data size.
526
527   Previous Release (VC 9.0):
528     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
529     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
530   Current Release (VC 9.0):
531     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
532     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
533
534 2) iASL Compiler/Disassembler and Tools:
535
536 Implemented full support for the "SLIC" ACPI table. Includes support in the 
537 header files, disassembler, table compiler, and template generator. Bob Moore, 
538 Lin Ming.
539
540 AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
541 Apparently some or all versions of acpidump will occasionally emit a comment 
542 like 
543 "Wrong checksum", etc., into the dump file. This was causing problems for 
544 AcpiXtract. ACPICA BZ 905.
545
546 iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
547 ACPICA BZ 913.
548
549 AcpiExec: Update installation of operation region handlers. Install one 
550 handler 
551 for a user-defined address space. This is used by the ASL test suite (ASLTS).
552
553 ----------------------------------------
554 11 February 2011. Summary of changes for version 20110211:
555
556 1) ACPI CA Core Subsystem:
557
558 Added a mechanism to defer _REG methods for some early-installed handlers. 
559 Most user handlers should be installed before call to AcpiEnableSubsystem. 
560 However, Event handlers and region handlers should be installed after 
561 AcpiInitializeObjects. Override handlers for the "default" regions should be 
562 installed early, however. This change executes all _REG methods for the 
563 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
564 chicken/egg issues between them. ACPICA BZ 848.
565
566 Implemented an optimization for GPE detection. This optimization will simply 
567 ignore GPE registers that contain no enabled GPEs -- there is no need to 
568 read the register since this information is available internally. This 
569 becomes more important on machines with a large GPE space. ACPICA bugzilla 
570 884. Lin Ming. Suggestion from Joe Liu.
571
572 Removed all use of the highly unreliable FADT revision field. The revision 
573 number in the FADT has been found to be completely unreliable and cannot be 
574 trusted. Only the actual table length can be used to infer the version. This 
575 change updates the ACPICA core and the disassembler so that both no longer 
576 even look at the FADT version and instead depend solely upon the FADT 
577 length.
578
579 Fix an unresolved name issue for the no-debug and no-error-message source 
580 generation cases. The _AcpiModuleName was left undefined in these cases, but 
581 it is actually needed as a parameter to some interfaces. Define 
582 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
583
584 Split several large files (makefiles and project files updated)
585   utglobal.c   -> utdecode.c
586   dbcomds.c    -> dbmethod.c dbnames.c
587   dsopcode.c   -> dsargs.c dscontrol.c
588   dsload.c     -> dsload2.c
589   aslanalyze.c -> aslbtypes.c aslwalks.c
590
591 Example Code and Data Size: These are the sizes for the OS-independent 
592 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
593 debug version of the code includes the debug output trace mechanism and has 
594 a much larger code and data size.
595
596   Previous Release (VC 9.0):
597     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
598     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
599   Current Release (VC 9.0):
600     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
601     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
602
603 2) iASL Compiler/Disassembler and Tools:
604
605 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
606 These are useful C-style macros with the standard definitions. ACPICA 
607 bugzilla 898.
608
609 iASL/DTC: Added support for integer expressions and labels. Support for full 
610 expressions for all integer fields in all ACPI tables. Support for labels in 
611 "generic" portions of tables such as UEFI. See the iASL reference manual.
612
613 Debugger: Added a command to display the status of global handlers. The 
614 "handlers" command will display op region, fixed event, and miscellaneous 
615 global handlers. installation status -- and for op regions, whether default 
616 or user-installed handler will be used.
617
618 iASL: Warn if reserved method incorrectly returns a value. Many predefined 
619 names are defined such that they do not return a value. If implemented as a 
620 method, issue a warning if such a name explicitly returns a value. ACPICA 
621 Bugzilla 855.
622
623 iASL: Added detection of GPE method name conflicts. Detects a conflict where 
624 there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
625 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
626
627 iASL/DTC: Fixed a couple input scanner issues with comments and line 
628 numbers. Comment remover could get confused and miss a comment ending. Fixed 
629 a problem with line counter maintenance.
630
631 iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
632 no need to abort on simple errors within a field definition.
633
634 Debugger: Simplified the output of the help command. All help output now in 
635 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
636
637 ----------------------------------------
638 12 January 2011. Summary of changes for version 20110112:
639
640 1) ACPI CA Core Subsystem:
641
642 Fixed a race condition between method execution and namespace walks that can 
643 possibly cause a fault. The problem was apparently introduced in version 
644 20100528 as a result of a performance optimization that reduces the number of 
645 namespace walks upon method exit by using the delete_namespace_subtree 
646 function instead of the delete_namespace_by_owner function used previously. 
647 Bug is a missing namespace lock in the delete_namespace_subtree function. 
648 dana.myers@oracle.com
649
650 Fixed several issues and a possible fault with the automatic "serialized" 
651 method support. History: This support changes a method to "serialized" on the 
652 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
653 possibility that it cannot handle reentrancy. This fix repairs a couple of 
654 issues seen in the field, especially on machines with many cores:
655
656     1) Delete method children only upon the exit of the last thread,
657        so as to not delete objects out from under other running threads
658       (and possibly causing a fault.)
659     2) Set the "serialized" bit for the method only upon the exit of the
660        Last thread, so as to not cause deadlock when running threads
661        attempt to exit.
662     3) Cleanup the use of the AML "MethodFlags" and internal method flags
663        so that there is no longer any confusion between the two.
664
665     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
666
667 Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
668 issues if the namespace is changing dynamically underneath the debugger. 
669 Especially affects temporary namespace nodes, since the debugger displays 
670 these also.
671
672 Updated the ordering of include files. The ACPICA headers should appear 
673 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
674 any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
675 and utilities.
676
677 Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
678 to all module headers and signons, including the Linux header. This affects 
679 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
680 utilities.
681
682 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
683 project files for VC++ 6.0 are now obsolete. New project files can be found 
684 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
685 details.
686
687 Example Code and Data Size: These are the sizes for the OS-independent 
688 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
689 debug version of the code includes the debug output trace mechanism and has a 
690 much larger code and data size.
691
692   Previous Release (VC 6.0):
693     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
694     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
695   Current Release (VC 9.0):
696     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
697     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
698
699 2) iASL Compiler/Disassembler and Tools:
700
701 iASL: Added generic data types to the Data Table compiler. Add "generic" data 
702 types such as UINT32, String, Unicode, etc., to simplify the generation of 
703 platform-defined tables such as UEFI. Lin Ming.
704
705 iASL: Added listing support for the Data Table Compiler. Adds listing support 
706 (-l) to display actual binary output for each line of input code.
707
708 ----------------------------------------
709 09 December 2010. Summary of changes for version 20101209:
710
711 1) ACPI CA Core Subsystem:
712
713 Completed the major overhaul of the GPE support code that was begun in July 
714 2010. Major features include: removal of _PRW execution in ACPICA (host 
715 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
716 changes to existing interfaces, simplification of GPE handler operation, and 
717 a handful of new interfaces:
718
719     AcpiUpdateAllGpes
720     AcpiFinishGpe
721     AcpiSetupGpeForWake
722     AcpiSetGpeWakeMask
723     One new file, evxfgpe.c to consolidate all external GPE interfaces.
724
725 See the ACPICA Programmer Reference for full details and programming 
726 information. See the new section 4.4 "General Purpose Event (GPE) Support" 
727 for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
728 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
729 Bob Moore, Rafael Wysocki.
730
731 Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
732 GPE Notify". This feature will automatically issue a Notify(2) on a device 
733 when a Wake GPE is received if there is no corresponding GPE method or 
734 handler. ACPICA BZ 870.
735
736 Fixed a problem with the Scope() operator during table parse and load phase. 
737 During load phase (table load or method execution), the scope operator should 
738 not enter the target into the namespace. Instead, it should open a new scope 
739 at the target location. Linux BZ 19462, ACPICA BZ 882.
740
741 Example Code and Data Size: These are the sizes for the OS-independent 
742 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
743 debug version of the code includes the debug output trace mechanism and has a 
744 much larger code and data size.
745
746   Previous Release:
747     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
748     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
749   Current Release:
750     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
751     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
752
753 2) iASL Compiler/Disassembler and Tools:
754
755 iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
756 "bus-specific" per the ACPI specification, and therefore any characters are 
757 acceptable. The only checks that can be performed are for a null string and 
758 perhaps for a leading asterisk. ACPICA BZ 886.
759
760 iASL: Fixed a problem where a syntax error that caused a premature EOF 
761 condition on the source file emitted a very confusing error message. The 
762 premature EOF is now detected correctly. ACPICA BZ 891.
763
764 Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
765 access, word access, etc.) Note, this field does not allow arbitrary bit 
766 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
767
768 New: AcpiNames utility - Example namespace dump utility. Shows an example of 
769 ACPICA configuration for a minimal namespace dump utility. Uses table and 
770 namespace managers, but no AML interpreter. Does not add any functionality 
771 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
772 partition and configure ACPICA. ACPICA BZ 883.
773
774 AML Debugger: Increased the debugger buffer size for method return objects. 
775 Was 4K, increased to 16K. Also enhanced error messages for debugger method 
776 execution, including the buffer overflow case.
777
778 ----------------------------------------
779 13 October 2010. Summary of changes for version 20101013:
780
781 1) ACPI CA Core Subsystem:
782
783 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
784 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
785 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
786
787 Changed the type of the predefined namespace object _TZ from ThermalZone to 
788 Device. This was found to be confusing to the host software that processes 
789 the various thermal zones, since _TZ is not really a ThermalZone. However, a 
790 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
791 Zhang.
792
793 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
794 string is "Windows 2006 SP2".
795
796 Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
797 code automatically repairs _HID-related strings, this type of code is no 
798 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
799
800 Example Code and Data Size: These are the sizes for the OS-independent 
801 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
802 debug version of the code includes the debug output trace mechanism and has a 
803 much larger code and data size.
804
805   Previous Release:
806     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
807     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
808   Current Release:
809     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
810     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
811
812 2) iASL Compiler/Disassembler and Tools:
813
814 iASL: Implemented additional compile-time validation for _HID strings. The 
815 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
816 the string must be exactly seven or eight characters. For both _HID and _CID 
817 strings, all characters must be alphanumeric. ACPICA BZ 874.
818
819 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
820 descriptors that are mostly or all zeros, with the expectation that they will 
821 be filled in at runtime. iASL now allows this as long as there is a "resource 
822 tag" (name) associated with the descriptor, which gives the ASL a handle 
823 needed to modify the descriptor. ACPICA BZ 873.
824
825 Added single-thread support to the generic Unix application OSL. Primarily 
826 for iASL support, this change removes the use of semaphores in the single-
827 threaded ACPICA tools/applications - increasing performance. The 
828 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
829 option. ACPICA BZ 879.
830
831 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
832 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
833
834 iASL: Moved all compiler messages to a new file, aslmessages.h.
835
836 ----------------------------------------
837 15 September 2010. Summary of changes for version 20100915:
838
839 1) ACPI CA Core Subsystem:
840
841 Removed the AcpiOsDerivePciId OSL interface. The various host implementations 
842 of this function were not OS-dependent and are now obsolete and can be 
843 removed from all host OSLs. This function has been replaced by 
844 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
845 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
846 module, hwpci.c. ACPICA BZ 857.
847
848 Implemented a dynamic repair for _HID and _CID strings. The following 
849 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
850 string, and 2) the entire string is uppercased. Both repairs are in 
851 accordance with the ACPI specification and will simplify host driver code. 
852 ACPICA BZ 871.
853
854 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
855 always UINT64. This simplifies the ACPICA code, especially any printf output. 
856 UINT64 is the only common data type for all thread_id types across all 
857 operating systems. It is now up to the host OSL to cast the native thread_id 
858 type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
859 Lin Ming, Bob Moore.
860
861 Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
862 keyword is not standard across compilers, and this type allows inline to be 
863 configured on a per-compiler basis. Lin Ming.
864
865 Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
866 Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
867 during suspend/restore operations. ACPICA BZ 869.
868
869 All code that implements error/warning messages with the "ACPI:" prefix has 
870 been moved to a new module, utxferror.c.
871
872 The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
873 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
874
875 Example Code and Data Size: These are the sizes for the OS-independent 
876 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
877 debug version of the code includes the debug output trace mechanism and has a 
878 much larger code and data size.
879
880   Previous Release:
881     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
882     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
883   Current Release:
884     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
885     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
886
887 2) iASL Compiler/Disassembler and Tools:
888
889 iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
890 This keeps the output files free of random error messages that may originate 
891 from within the namespace/interpreter code. Used this opportunity to merge 
892 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
893 866. Lin Ming, Bob Moore.
894
895 Tools: update some printfs for ansi warnings on size_t. Handle width change 
896 of size_t on 32-bit versus 64-bit generations. Lin Ming.
897
898 ----------------------------------------
899 06 August 2010. Summary of changes for version 20100806:
900
901 1) ACPI CA Core Subsystem:
902
903 Designed and implemented a new host interface to the _OSI support code. This 
904 will allow the host to dynamically add or remove multiple _OSI strings, as 
905 well as install an optional handler that is called for each _OSI invocation. 
906 Also added a new AML debugger command, 'osi' to display and modify the global 
907 _OSI string table, and test support in the AcpiExec utility. See the ACPICA 
908 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
909 New Functions:
910     AcpiInstallInterface - Add an _OSI string.
911     AcpiRemoveInterface - Delete an _OSI string.
912     AcpiInstallInterfaceHandler - Install optional _OSI handler.
913 Obsolete Functions:
914     AcpiOsValidateInterface - no longer used.
915 New Files:
916     source/components/utilities/utosi.c
917
918 Re-introduced the support to enable multi-byte transfers for Embedded 
919 Controller (EC) operation regions. A reported problem was found to be a bug 
920 in the host OS, not in the multi-byte support. Previously, the maximum data 
921 size passed to the EC operation region handler was a single byte. There are 
922 often EC Fields larger than one byte that need to be transferred, and it is 
923 useful for the EC driver to lock these as a single transaction. This change 
924 enables single transfers larger than 8 bits. This effectively changes the 
925 access to the EC space from ByteAcc to AnyAcc, and will probably require 
926 changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
927 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
928
929 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
930 prototype in acpiosxf.h had the output value pointer as a (void *).
931 It should be a (UINT64 *). This may affect some host OSL code.
932
933 Fixed a couple problems with the recently modified Linux makefiles for iASL 
934 and AcpiExec. These new makefiles place the generated object files in the 
935 local directory so that there can be no collisions between the files that are 
936 shared between them that are compiled with different options.
937
938 Example Code and Data Size: These are the sizes for the OS-independent 
939 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
940 debug version of the code includes the debug output trace mechanism and has a 
941 much larger code and data size.
942
943   Previous Release:
944     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
945     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
946   Current Release:
947     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
948     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
949
950 2) iASL Compiler/Disassembler and Tools:
951
952 iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
953 namespace from and disassemble an entire group of AML files. Useful for 
954 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
955 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
956
957 iASL: Allow multiple invocations of -e option. This change allows multiple 
958 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
959 Lin Ming.
960
961 ----------------------------------------
962 02 July 2010. Summary of changes for version 20100702:
963
964 1) ACPI CA Core Subsystem:
965
966 Implemented several updates to the recently added GPE reference count 
967 support. The model for "wake" GPEs is changing to give the host OS complete 
968 control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
969 methods, since the host already must execute them. Also, additional changes 
970 were made to help ensure that the reference counts are kept in proper 
971 synchronization with reality. Rafael J. Wysocki.
972
973 1) Ensure that GPEs are not enabled twice during initialization.
974 2) Ensure that GPE enable masks stay in sync with the reference count.
975 3) Do not inadvertently enable GPEs when writing GPE registers.
976 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
977 interface. This interface will set or clear individual GPEs for wakeup.
978 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
979 are now used for "runtime" GPEs only.
980
981 Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
982 no longer disabled during this process, as it was found to cause problems on 
983 some machines. Rafael J. Wysocki.
984
985 Reverted a change introduced in version 20100528 to enable Embedded 
986 Controller multi-byte transfers. This change was found to cause problems with 
987 Index Fields and possibly Bank Fields. It will be reintroduced when these 
988 problems have been resolved.
989
990 Fixed a problem with references to Alias objects within Package Objects. A 
991 reference to an Alias within the definition of a Package was not always 
992 resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
993 were resolved to the actual object instead of a reference to the object as it 
994 should be. Package objects are only allowed to contain integer, string, 
995 buffer, package, and reference objects. Redhat bugzilla 608648.
996
997 Example Code and Data Size: These are the sizes for the OS-independent 
998 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
999 debug version of the code includes the debug output trace mechanism and has a 
1000 much larger code and data size.
1001
1002   Previous Release:
1003     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1004     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1005   Current Release:
1006     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1007     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1008
1009 2) iASL Compiler/Disassembler and Tools:
1010
1011 iASL: Implemented a new compiler subsystem to allow definition and 
1012 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1013 are called "ACPI Data Tables", and the new compiler is the "Data Table 
1014 Compiler". This compiler is intended to simplify the existing error-prone 
1015 process of creating these tables for the BIOS, as well as allowing the 
1016 disassembly, modification, recompilation, and override of existing ACPI data 
1017 tables. See the iASL User Guide for detailed information.
1018
1019 iASL: Implemented a new Template Generator option in support of the new Data 
1020 Table Compiler. This option will create examples of all known ACPI tables 
1021 that can be used as the basis for table development. See the iASL 
1022 documentation and the -T option.
1023
1024 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1025 Descriptor Table).
1026
1027 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
1028 object files in the local directory so that there can be no collisions 
1029 between the shared files between them that are generated with different 
1030 options.
1031
1032 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1033 the #define __APPLE__ to enable this support.
1034
1035 ----------------------------------------
1036 28 May 2010. Summary of changes for version 20100528:
1037
1038 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
1039 available at www.acpi.info. This is primarily an errata release.
1040
1041 1) ACPI CA Core Subsystem:
1042
1043 Undefined ACPI tables: We are looking for the definitions for the following 
1044 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1045
1046 Implemented support to enable multi-byte transfers for Embedded Controller 
1047 (EC) operation regions. Previously, the maximum data size passed to the EC 
1048 operation region handler was a single byte. There are often EC Fields larger 
1049 than one byte that need to be transferred, and it is useful for the EC driver 
1050 to lock these as a single transaction. This change enables single transfers 
1051 larger than 8 bits. This effectively changes the access to the EC space from 
1052 ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1053 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1054 transfers. Alexey Starikovskiy, Lin Ming
1055
1056 Implemented a performance enhancement for namespace search and access. This 
1057 change enhances the performance of namespace searches and walks by adding a 
1058 backpointer to the parent in each namespace node. On large namespaces, this 
1059 change can improve overall ACPI performance by up to 9X. Adding a pointer to 
1060 each namespace node increases the overall size of the internal namespace by 
1061 about 5%, since each namespace entry usually consists of both a namespace 
1062 node and an ACPI operand object. However, this is the first growth of the 
1063 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1064
1065 Implemented a performance optimization that reduces the number of namespace 
1066 walks. On control method exit, only walk the namespace if the method is known 
1067 to have created namespace objects outside of its local scope. Previously, the 
1068 entire namespace was traversed on each control method exit. This change can 
1069 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1070
1071 Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
1072 Some ASL code has been seen in the field that inadvertently has bits set 
1073 above bit 15. This feature is optional and is enabled if the BIOS requests 
1074 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
1075 Garrett, Bob Moore.
1076
1077 Added support to limit the maximum time for the ASL Sleep() operator. To 
1078 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
1079 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
1080 bugzilla 854.
1081
1082 Added run-time validation support for the _WDG and_WED Microsoft predefined 
1083 methods. These objects are defined by "Windows Instrumentation", and are not 
1084 part of the ACPI spec. ACPICA BZ 860.
1085
1086 Expanded all statistic counters used during namespace and device 
1087 initialization from 16 to 32 bits in order to support very large namespaces.
1088
1089 Replaced all instances of %d in printf format specifiers with %u since nearly 
1090 all integers in ACPICA are unsigned.
1091
1092 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1093 as AE_NO_HANDLER.
1094
1095 Example Code and Data Size: These are the sizes for the OS-independent 
1096 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1097 debug version of the code includes the debug output trace mechanism and has a 
1098 much larger code and data size.
1099
1100   Previous Release:
1101     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1102     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1103   Current Release:
1104     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1105     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1106
1107 2) iASL Compiler/Disassembler and Tools:
1108
1109 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1110 methods. These objects are defined by "Windows Instrumentation", and are not 
1111 part of the ACPI spec. ACPICA BZ 860.
1112
1113 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
1114 option will disable the tracking mechanism, which improves performance 
1115 considerably.
1116
1117 AcpiExec: Restructured the command line options into -d (disable) and -e 
1118 (enable) options.
1119
1120 ----------------------------------------
1121 28 April 2010. Summary of changes for version 20100428:
1122
1123 1) ACPI CA Core Subsystem:
1124
1125 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1126 including FADT-based and GPE Block Devices, execute any _PRW methods in the 
1127 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1128 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1129 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1130 Devices. Provides compatibility with other ACPI implementations. Two new 
1131 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1132
1133 Fixed a regression introduced in version 20100331 within the table manager 
1134 where initial table loading could fail. This was introduced in the fix for 
1135 AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1136 data structures to clarify their meaning and use.
1137
1138 Fixed a possible allocation overrun during internal object copy in 
1139 AcpiUtCopySimpleObject. The original code did not correctly handle the case 
1140 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1141
1142 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1143 possible access beyond end-of-allocation. Also, now fully validate descriptor 
1144 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1145
1146 Example Code and Data Size: These are the sizes for the OS-independent 
1147 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1148 debug version of the code includes the debug output trace mechanism and has a 
1149 much larger code and data size.
1150
1151   Previous Release:
1152     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1153     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1154   Current Release:
1155     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1156     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1157
1158 2) iASL Compiler/Disassembler and Tools:
1159
1160 iASL: Implemented Min/Max/Len/Gran validation for address resource 
1161 descriptors. This change implements validation for the address fields that 
1162 are common to all address-type resource descriptors. These checks are 
1163 implemented: Checks for valid Min/Max, length within the Min/Max window, 
1164 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1165 table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1166 and aslrestype2.c files into five new files. ACPICA BZ 840.
1167
1168 iASL: Added support for the _Wxx predefined names. This support was missing 
1169 and these names were not recognized by the compiler as valid predefined 
1170 names. ACPICA BZ 851.
1171
1172 iASL: Added an error for all predefined names that are defined to return no 
1173 value and thus must be implemented as Control Methods. These include all of 
1174 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1175 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1176
1177 iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1178 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1179 dynamically loaded via the Load() operator. Also cleaned up output for the -
1180 ta and -tc options. ACPICA BZ 853.
1181
1182 Tests: Added a new file with examples of extended iASL error checking. 
1183 Demonstrates the advanced error checking ability of the iASL compiler. 
1184 Available at tests/misc/badcode.asl.
1185
1186 ----------------------------------------
1187 31 March 2010. Summary of changes for version 20100331:
1188
1189 1) ACPI CA Core Subsystem:
1190
1191 Completed a major update for the GPE support in order to improve support for 
1192 shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1193 count mechanism to support shared GPEs that require multiple device drivers. 
1194 Several external interfaces have changed. One external interface has been 
1195 removed. One new external interface was added. Most of the GPE external 
1196 interfaces now use the GPE spinlock instead of the events mutex (and the 
1197 Flags parameter for many GPE interfaces has been removed.) See the updated 
1198 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1199 Wysocki. ACPICA BZ 831.
1200
1201 Changed:
1202     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1203 Removed:
1204     AcpiSetGpeType
1205 New:
1206     AcpiSetGpe
1207
1208 Implemented write support for DataTable operation regions. These regions are 
1209 defined via the DataTableRegion() operator. Previously, only read support was 
1210 implemented. The ACPI specification allows DataTableRegions to be read/write, 
1211 however.
1212
1213 Implemented a new subsystem option to force a copy of the DSDT to local 
1214 memory. Optionally copy the entire DSDT to local memory (instead of simply 
1215 mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1216 the original DSDT, creating the need for this option. Default is FALSE, do 
1217 not copy the DSDT.
1218
1219 Implemented detection of a corrupted or replaced DSDT. This change adds 
1220 support to detect a DSDT that has been corrupted and/or replaced from outside 
1221 the OS (by firmware). This is typically catastrophic for the system, but has 
1222 been seen on some machines. Once this problem has been detected, the DSDT 
1223 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1224
1225 Fixed two problems with AcpiReallocateRootTable during the root table copy. 
1226 When copying the root table to the new allocation, the length used was 
1227 incorrect. The new size was used instead of the current table size, meaning 
1228 too much data was copied. Also, the count of available slots for ACPI tables 
1229 was not set correctly. Alexey Starikovskiy, Bob Moore.
1230
1231 Example Code and Data Size: These are the sizes for the OS-independent 
1232 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1233 debug version of the code includes the debug output trace mechanism and has a 
1234 much larger code and data size.
1235
1236   Previous Release:
1237     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1238     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1239   Current Release:
1240     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1241     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1242
1243 2) iASL Compiler/Disassembler and Tools:
1244
1245 iASL: Implement limited typechecking for values returned from predefined 
1246 control methods. The type of any returned static (unnamed) object is now 
1247 validated. For example, Return(1). ACPICA BZ 786.
1248
1249 iASL: Fixed a predefined name object verification regression. Fixes a problem 
1250 introduced in version 20100304. An error is incorrectly generated if a 
1251 predefined name is declared as a static named object with a value defined 
1252 using the keywords "Zero", "One", or "Ones". Lin Ming.
1253
1254 iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1255 reducing the requested registry access rights. ACPICA BZ 842.
1256
1257 Disassembler: fixed a possible fault when generating External() statements. 
1258 Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1259 (carat). Fixes a string length allocation calculation. Lin Ming.
1260
1261 ----------------------------------------
1262 04 March 2010. Summary of changes for version 20100304:
1263
1264 1) ACPI CA Core Subsystem:
1265
1266 Fixed a possible problem with the AML Mutex handling function 
1267 AcpiExReleaseMutex where the function could fault under the very rare 
1268 condition when the interpreter has blocked, the interpreter lock is released, 
1269 the interpreter is then reentered via the same thread, and attempts to 
1270 acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1271 Ming.
1272
1273 Implemented additional configuration support for the AML "Debug Object". 
1274 Output from the debug object can now be enabled via a global variable, 
1275 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1276 This debug output is now available in the release version of ACPICA instead 
1277 of just the debug version. Also, the entire debug output module can now be 
1278 configured out of the ACPICA build if desired. One new file added, 
1279 executer/exdebug.c. Lin Ming, Bob Moore.
1280
1281 Added header support for the ACPI MCHI table (Management Controller Host 
1282 Interface Table). This table was added in ACPI 4.0, but the defining document 
1283 has only recently become available.
1284
1285 Standardized output of integer values for ACPICA warnings/errors. Always use 
1286 0x prefix for hex output, always use %u for unsigned integer decimal output. 
1287 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1288 invocations.) These invocations were converted from the original 
1289 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1290
1291 Example Code and Data Size: These are the sizes for the OS-independent 
1292 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1293 debug version of the code includes the debug output trace mechanism and has a 
1294 much larger code and data size.
1295
1296   Previous Release:
1297     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1298     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1299   Current Release:
1300     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1301     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1302
1303 2) iASL Compiler/Disassembler and Tools:
1304
1305 iASL: Implemented typechecking support for static (non-control method) 
1306 predefined named objects that are declared with the Name() operator. For 
1307 example, the type of this object is now validated to be of type Integer: 
1308 Name(_BBN, 1). This change migrates the compiler to using the core predefined 
1309 name table instead of maintaining a local version. Added a new file, 
1310 aslpredef.c. ACPICA BZ 832.
1311
1312 Disassembler: Added support for the ACPI 4.0 MCHI table.
1313
1314 ----------------------------------------
1315 21 January 2010. Summary of changes for version 20100121:
1316
1317 1) ACPI CA Core Subsystem:
1318
1319 Added the 2010 copyright to all module headers and signons. This affects 
1320 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
1321 tools/utilities, and the test suites.
1322
1323 Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1324 invocations of the _STA method. In the case where a specific _HID is 
1325 requested, do not run _STA until a _HID match is found. This eliminates 
1326 potentially dozens of _STA calls during a search for a particular device/HID, 
1327 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1328
1329 Implemented an additional repair for predefined method return values. Attempt 
1330 to repair unexpected NULL elements within returned Package objects. Create an 
1331 Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1332 ACPICA BZ 818. Lin Ming, Bob Moore.
1333
1334 Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
1335 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
1336 64-bit AML integers). It is now obsolete and this change removes it from the 
1337 ACPICA code base, replaced by UINT64. The original typedef has been retained 
1338 for now for compatibility with existing device driver code. ACPICA BZ 824.
1339
1340 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
1341 the parse tree object.
1342
1343 Added additional warning options for the gcc-4 generation. Updated the source 
1344 accordingly. This includes some code restructuring to eliminate unreachable 
1345 code, elimination of some gotos, elimination of unused return values, some 
1346 additional casting, and removal of redundant declarations.
1347
1348 Example Code and Data Size: These are the sizes for the OS-independent 
1349 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1350 debug version of the code includes the debug output trace mechanism and has a 
1351 much larger code and data size.
1352
1353   Previous Release:
1354     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1355     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1356   Current Release:
1357     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1358     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1359
1360 2) iASL Compiler/Disassembler and Tools:
1361
1362 No functional changes for this release.
1363
1364 ----------------------------------------
1365 14 December 2009. Summary of changes for version 20091214:
1366
1367 1) ACPI CA Core Subsystem:
1368
1369 Enhanced automatic data type conversions for predefined name repairs. This 
1370 change expands the automatic repairs/conversions for predefined name return 
1371 values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1372 Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1373 module was completely restructured. Lin Ming, Bob Moore.
1374
1375 Implemented automatic removal of null package elements during predefined name 
1376 repairs. This change will automatically remove embedded and trailing NULL 
1377 package elements from returned package objects that are defined to contain a 
1378 variable number of sub-packages. The driver is then presented with a package 
1379 with no null elements to deal with. ACPICA BZ 819.
1380
1381 Implemented a repair for the predefined _FDE and _GTM names. The expected 
1382 return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1383 possible problems (both seen in the field), where a package of integers is 
1384 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1385
1386 Implemented additional module-level code support. This change will properly 
1387 execute module-level code that is not at the root of the namespace (under a 
1388 Device object, etc.). Now executes the code within the current scope instead 
1389 of the root. ACPICA BZ 762. Lin Ming.
1390
1391 Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
1392 problem where mutex errors can occur when running a _REG method that is in 
1393 the same scope as a method-defined operation region or an operation region 
1394 under a module-level IF block. This type of code is rare, so the problem has 
1395 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1396
1397 Fixed a possible memory leak during module-level code execution. An object 
1398 could be leaked for each block of executed module-level code if the 
1399 interpreter slack mode is enabled This change deletes any implicitly returned 
1400 object from the module-level code block. Lin Ming.
1401
1402 Removed messages for successful predefined repair(s). The repair mechanism 
1403 was considered too wordy. Now, messages are only unconditionally emitted if 
1404 the return object cannot be repaired. Existing messages for successful 
1405 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1406
1407 Example Code and Data Size: These are the sizes for the OS-independent 
1408 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1409 debug version of the code includes the debug output trace mechanism and has a 
1410 much larger code and data size.
1411
1412   Previous Release:
1413     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1414     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1415   Current Release:
1416     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1417     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1418
1419 2) iASL Compiler/Disassembler and Tools:
1420
1421 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
1422 were no longer automatically removed at the termination of the compile.
1423
1424 acpiexec: Implemented the -f option to specify default region fill value. 
1425 This option specifies the value used to initialize buffers that simulate 
1426 operation regions. Default value is zero. Useful for debugging problems that 
1427 depend on a specific initial value for a region or field.
1428
1429 ----------------------------------------
1430 12 November 2009. Summary of changes for version 20091112:
1431
1432 1) ACPI CA Core Subsystem:
1433
1434 Implemented a post-order callback to AcpiWalkNamespace. The existing 
1435 interface only has a pre-order callback. This change adds an additional 
1436 parameter for a post-order callback which will be more useful for bus scans. 
1437 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1438
1439 Modified the behavior of the operation region memory mapping cache for 
1440 SystemMemory. Ensure that the memory mappings created for operation regions 
1441 do not cross 4K page boundaries. Crossing a page boundary while mapping 
1442 regions can cause kernel warnings on some hosts if the pages have different 
1443 attributes. Such regions are probably BIOS bugs, and this is the workaround. 
1444 Linux BZ 14445. Lin Ming.
1445
1446 Implemented an automatic repair for predefined methods that must return 
1447 sorted lists. This change will repair (by sorting) packages returned by _ALR, 
1448 _PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
1449 and do not contain NULL package elements. Adds one new file, 
1450 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1451
1452 Fixed a possible fault during predefined name validation if a return Package 
1453 object contains NULL elements. Also adds a warning if a NULL element is 
1454 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
1455 include repair or removal of all such NULL elements where possible.
1456
1457 Implemented additional module-level executable AML code support. This change 
1458 will execute module-level code that is not at the root of the namespace 
1459 (under a Device object, etc.) at table load time. Module-level executable AML 
1460 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1461
1462 Implemented a new internal function to create Integer objects. This function 
1463 simplifies miscellaneous object creation code. ACPICA BZ 823.
1464
1465 Reduced the severity of predefined repair messages, Warning to Info. Since 
1466 the object was successfully repaired, a warning is too severe. Reduced to an 
1467 info message for now. These messages may eventually be changed to debug-only. 
1468 ACPICA BZ 812.
1469
1470 Example Code and Data Size: These are the sizes for the OS-independent 
1471 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1472 debug version of the code includes the debug output trace mechanism and has a 
1473 much larger code and data size.
1474
1475   Previous Release:
1476     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1477     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1478   Current Release:
1479     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1480     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1481
1482 2) iASL Compiler/Disassembler and Tools:
1483
1484 iASL: Implemented Switch() with While(1) so that Break works correctly. This 
1485 change correctly implements the Switch operator with a surrounding While(1) 
1486 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1487
1488 iASL: Added a message if a package initializer list is shorter than package 
1489 length. Adds a new remark for a Package() declaration if an initializer list 
1490 exists, but is shorter than the declared length of the package. Although 
1491 technically legal, this is probably a coding error and it is seen in the 
1492 field. ACPICA BZ 815. Lin Ming, Bob Moore.
1493
1494 iASL: Fixed a problem where the compiler could fault after the maximum number 
1495 of errors was reached (200).
1496
1497 acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
1498 level set very high.
1499
1500 ----------------------------------------
1501 13 October 2009. Summary of changes for version 20091013:
1502
1503 1) ACPI CA Core Subsystem:
1504
1505 Fixed a problem where an Operation Region _REG method could be executed more 
1506 than once. If a custom address space handler is installed by the host before 
1507 the "initialize operation regions" phase of the ACPICA initialization, any 
1508 _REG methods for that address space could be executed twice. This change 
1509 fixes the problem. ACPICA BZ 427. Lin Ming.
1510
1511 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
1512 invocation of "Scope(\)" is executed (change scope to root), one internal 
1513 operand object was leaked. Lin Ming.
1514
1515 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
1516 return value is defined as a Field object in the AML, and the field
1517 size is less than or equal to the default width of an integer (32 or 64),_MAT 
1518 can incorrectly return an Integer instead of a Buffer. ACPICA now 
1519 automatically repairs this problem. ACPICA BZ 810.
1520
1521 Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
1522 "OEM Information" field is often incorrectly returned as an Integer with 
1523 value zero if the field is not supported by the platform. This is due to an 
1524 ambiguity in the ACPI specification. The field should always be a string. 
1525 ACPICA now automatically repairs this problem by returning a NULL string 
1526 within the returned Package. ACPICA BZ 807.
1527
1528 Example Code and Data Size: These are the sizes for the OS-independent 
1529 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1530 debug version of the code includes the debug output trace mechanism and has a 
1531 much larger code and data size.
1532
1533   Previous Release:
1534     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1535     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1536   Current Release:
1537     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1538     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1539
1540 2) iASL Compiler/Disassembler and Tools:
1541
1542 Disassembler: Fixed a problem where references to external symbols that 
1543 contained one or more parent-prefixes (carats) were not handled correctly, 
1544 possibly causing a fault. ACPICA BZ 806. Lin Ming.
1545
1546 Disassembler: Restructured the code so that all functions that handle 
1547 external symbols are in a single module. One new file is added, 
1548 common/dmextern.c.
1549
1550 AML Debugger: Added a max count argument for the Batch command (which 
1551 executes multiple predefined methods within the namespace.)
1552
1553 iASL: Updated the compiler documentation (User Reference.) Available at 
1554 http://www.acpica.org/documentation/. ACPICA BZ 750.
1555
1556 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
1557 files.
1558
1559 ----------------------------------------
1560 03 September 2009. Summary of changes for version 20090903:
1561
1562 1) ACPI CA Core Subsystem:
1563
1564 For Windows Vista compatibility, added the automatic execution of an _INI 
1565 method located at the namespace root (\_INI). This method is executed at 
1566 table load time. This support is in addition to the automatic execution of 
1567 \_SB._INI. Lin Ming.
1568
1569 Fixed a possible memory leak in the interpreter for AML package objects if 
1570 the package initializer list is longer than the defined size of the package. 
1571 This apparently can only happen if the BIOS changes the package size on the 
1572 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
1573 interpreter will truncate the package to the defined size (and issue an error 
1574 message), but previously could leave the extra objects undeleted if they were 
1575 pre-created during the argument processing (such is the case if the package 
1576 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1577
1578 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
1579 This has been reported in the field. Previously, ACPICA would zero out the 
1580 buffer/string. Now, the operation is treated as a noop. Provides Windows 
1581 compatibility. ACPICA BZ 803. Lin Ming.
1582
1583 Removed an extraneous error message for ASL constructs of the form 
1584 Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
1585 are seen in many BIOSs and are once again treated as NOOPs and no error is 
1586 emitted when they are encountered. ACPICA BZ 785.
1587
1588 Fixed an extraneous warning message if a _DSM reserved method returns a 
1589 Package object. _DSM can return any type of object, so validation on the 
1590 return type cannot be performed. ACPICA BZ 802.
1591
1592 Example Code and Data Size: These are the sizes for the OS-independent 
1593 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1594 debug version of the code includes the debug output trace mechanism and has a 
1595 much larger code and data size.
1596
1597   Previous Release:
1598     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1599     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1600   Current Release:
1601     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1602     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1603
1604 2) iASL Compiler/Disassembler and Tools:
1605
1606 iASL: Fixed a problem with the use of the Alias operator and Resource 
1607 Templates. The correct alias is now constructed and no error is emitted. 
1608 ACPICA BZ 738.
1609
1610 iASL: Implemented the -I option to specify additional search directories for 
1611 include files. Allows multiple additional search paths for include files. 
1612 Directories are searched in the order specified on the command line (after 
1613 the local directory is searched.) ACPICA BZ 800.
1614
1615 iASL: Fixed a problem where the full pathname for include files was not 
1616 emitted for warnings/errors. This caused the IDE support to not work 
1617 properly. ACPICA BZ 765.
1618
1619 iASL: Implemented the -@ option to specify a Windows-style response file 
1620 containing additional command line options. ACPICA BZ 801.
1621
1622 AcpiExec: Added support to load multiple AML files simultaneously (such as a 
1623 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
1624 pathname. These features allow all machine tables to be easily loaded and 
1625 debugged together. ACPICA BZ 804.
1626
1627 Disassembler: Added missing support for disassembly of HEST table Error Bank 
1628 subtables. 
1629
1630 ----------------------------------------
1631 30 July 2009. Summary of changes for version 20090730:
1632
1633 The ACPI 4.0 implementation for ACPICA is complete with this release.
1634
1635 1) ACPI CA Core Subsystem:
1636
1637 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
1638 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
1639 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
1640 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
1641 have been some ACPI 4.0 changes to other existing tables. Split the large 
1642 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1643
1644 ACPI 4.0: Implemented predefined name validation for all new names. There are 
1645 31 new names in ACPI 4.0. The predefined validation module was split into two 
1646 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1647
1648 Implemented support for so-called "module-level executable code". This is 
1649 executable AML code that exists outside of any control method and is intended 
1650 to be executed at table load time. Although illegal since ACPI 2.0, this type 
1651 of code still exists and is apparently still being created. Blocks of this 
1652 code are now detected and executed as intended. Currently, the code blocks 
1653 must exist under either an If, Else, or While construct; these are the 
1654 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
1655
1656 Implemented an automatic dynamic repair for predefined names that return 
1657 nested Package objects. This applies to predefined names that are defined to 
1658 return a variable-length Package of sub-packages. If the number of sub-
1659 packages is one, BIOS code is occasionally seen that creates a simple single 
1660 package with no sub-packages. This code attempts to fix the problem by 
1661 wrapping a new package object around the existing package. These methods can 
1662 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
1663 790.
1664
1665 Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
1666 The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
1667 BZ 793.
1668
1669 Fixed a problem with AcpiReset where the reset would silently fail if the 
1670 register was one of the protected I/O ports. AcpiReset now bypasses the port 
1671 validation mechanism. This may eventually be driven into the AcpiRead/Write 
1672 interfaces.
1673
1674 Fixed a regression related to the recent update of the AcpiRead/Write 
1675 interfaces. A sleep/suspend could fail if the optional PM2 Control register 
1676 does not exist during an attempt to write the Bus Master Arbitration bit. 
1677 (However, some hosts already delete the code that writes this bit, and the 
1678 code may in fact be obsolete at this date.) ACPICA BZ 799.
1679
1680 Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
1681 in succession. ACPICA BZ 795.
1682
1683 Example Code and Data Size: These are the sizes for the OS-independent 
1684 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1685 debug version of the code includes the debug output trace mechanism and has a 
1686 much larger code and data size.
1687
1688   Previous Release:
1689     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1690     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1691   Current Release:
1692     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1693     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1694
1695 2) iASL Compiler/Disassembler and Tools:
1696
1697 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
1698 changes to existing tables. ACPICA BZ 775.
1699
1700 ----------------------------------------
1701 25 June 2009. Summary of changes for version 20090625:
1702
1703 The ACPI 4.0 Specification was released on June 16 and is available at 
1704 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
1705 continue for the next few releases.
1706
1707 1) ACPI CA Core Subsystem:
1708
1709 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
1710 address space. Includes support for bi-directional data buffers and an IPMI 
1711 address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
1712 773. Lin Ming.
1713
1714 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
1715 support in both the header files and the disassembler.
1716
1717 Completed a major update for the AcpiGetObjectInfo external interface. 
1718 Changes include:
1719  - Support for variable, unlimited length HID, UID, and CID strings.
1720  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
1721  - Call the _SxW power methods on behalf of a device object.
1722  - Determine if a device is a PCI root bridge.
1723  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1724 These changes will require an update to all callers of this interface. See 
1725 the updated ACPICA Programmer Reference for details. One new source file has 
1726 been added - utilities/utids.c. ACPICA BZ 368, 780.
1727
1728 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
1729 transfers. The Value parameter has been extended from 32 bits to 64 bits in 
1730 order to support new ACPI 4.0 tables. These changes will require an update to 
1731 all callers of these interfaces. See the ACPICA Programmer Reference for 
1732 details. ACPICA BZ 768.
1733
1734 Fixed several problems with AcpiAttachData. The handler was not invoked when 
1735 the host node was deleted. The data sub-object was not automatically deleted 
1736 when the host node was deleted. The interface to the handler had an unused 
1737 parameter, this was removed. ACPICA BZ 778.
1738
1739 Enhanced the function that dumps ACPI table headers. All non-printable 
1740 characters in the string fields are now replaced with '?' (Signature, OemId, 
1741 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
1742 these fields are occasionally seen in the field. ACPICA BZ 788.
1743
1744 Fixed a problem with predefined method repair code where the code that 
1745 attempts to repair/convert an object of incorrect type is only executed on 
1746 the first time the predefined method is called. The mechanism that disables 
1747 warnings on subsequent calls was interfering with the repair mechanism. 
1748 ACPICA BZ 781.
1749
1750 Fixed a possible memory leak in the predefined validation/repair code when a 
1751 buffer is automatically converted to an expected string object.
1752
1753 Removed obsolete 16-bit files from the distribution and from the current git 
1754 tree head. ACPICA BZ 776.
1755
1756 Example Code and Data Size: These are the sizes for the OS-independent 
1757 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1758 debug version of the code includes the debug output trace mechanism and has a 
1759 much larger code and data size.
1760
1761   Previous Release:
1762     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1763     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1764   Current Release:
1765     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1766     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1767
1768 2) iASL Compiler/Disassembler and Tools:
1769
1770 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
1771 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
1772
1773 ACPI 4.0: iASL - implemented compile-time validation support for all new 
1774 predefined names and control methods (31 total). ACPICA BZ 769.
1775
1776 ----------------------------------------
1777 21 May 2009. Summary of changes for version 20090521:
1778
1779 1) ACPI CA Core Subsystem:
1780
1781 Disabled the preservation of the SCI enable bit in the PM1 control register. 
1782 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
1783 a "preserved" bit - "OSPM always preserves this bit position", section 
1784 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
1785 because the bit needs to be explicitly set by the OS as a workaround. No 
1786 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
1787 attempts to preserve this bit.
1788
1789 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
1790 incorrectly formed _PRT package could cause a fault. Added validation to 
1791 ensure that each package element is actually a sub-package.
1792
1793 Implemented a new interface to install or override a single control method, 
1794 AcpiInstallMethod. This interface is useful when debugging in order to repair 
1795 an existing method or to install a missing method without having to override 
1796 the entire ACPI table. See the ACPICA Programmer Reference for use and 
1797 examples. Lin Ming, Bob Moore.
1798
1799 Fixed several reference count issues with the DdbHandle object that is 
1800 created from a Load or LoadTable operator. Prevent premature deletion of the 
1801 object. Also, mark the object as invalid once the table has been unloaded. 
1802 This is needed because the handle itself may not be deleted after the table 
1803 unload, depending on whether it has been stored in a named object by the 
1804 caller. Lin Ming.
1805
1806 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
1807 mutexes of the same sync level are acquired but then not released in strict 
1808 opposite order, the internally maintained Current Sync Level becomes confused 
1809 and can cause subsequent execution errors. ACPICA BZ 471.
1810
1811 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
1812 specification has been changed to make the SyncLevel for mutex objects more 
1813 useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
1814 same as the current sync level. This makes more sense than the previous rule 
1815 (SyncLevel less than or equal). This change updates the code to match the 
1816 specification.
1817
1818 Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
1819 (local) cache must be locked during all cache object deletions. Andrew 
1820 Baumann.
1821
1822 Updated the Load operator to use operation region interfaces. This replaces 
1823 direct memory mapping with region access calls. Now, all region accesses go 
1824 through the installed region handler as they should.
1825
1826 Simplified and optimized the NsGetNextNode function. Reduced parameter count 
1827 and reduced code for this frequently used function.
1828
1829 Example Code and Data Size: These are the sizes for the OS-independent 
1830 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1831 debug version of the code includes the debug output trace mechanism and has a 
1832 much larger code and data size.
1833
1834   Previous Release:
1835     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1836     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1837   Current Release:
1838     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1839     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1840
1841 2) iASL Compiler/Disassembler and Tools:
1842
1843 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
1844 with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
1845 after an invalid sub-table ID.
1846
1847 ----------------------------------------
1848 22 April 2009. Summary of changes for version 20090422:
1849
1850 1) ACPI CA Core Subsystem:
1851
1852 Fixed a compatibility issue with the recently released I/O port protection 
1853 mechanism. For windows compatibility, 1) On a port protection violation, 
1854 simply ignore the request and do not return an exception (allow the control 
1855 method to continue execution.) 2) If only part of the request overlaps a 
1856 protected port, read/write the individual ports that are not protected. Linux 
1857 BZ 13036. Lin Ming
1858
1859 Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
1860 breaks into the AML debugger if the debugger is present. This matches the 
1861 ACPI-defined behavior.
1862
1863 Fixed several possible warnings related to the use of the configurable 
1864 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
1865 pointer with no warnings. Also fixes several warnings in printf-like 
1866 statements for the 64-bit build when the type is configured as a pointer. 
1867 ACPICA BZ 766, 767.
1868
1869 Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
1870 warning options.) Examples include printf formats, aliasing, unused globals, 
1871 missing prototypes, missing switch default statements, use of non-ANSI 
1872 library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
1873 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1874
1875 Example Code and Data Size: These are the sizes for the OS-independent 
1876 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1877 debug version of the code includes the debug output trace mechanism and has a 
1878 much larger code and data size.
1879
1880   Previous Release:
1881     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1882     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1883   Current Release:
1884     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1885     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1886
1887 2) iASL Compiler/Disassembler and Tools:
1888
1889 iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
1890 the 64-bit build.
1891
1892 iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
1893 correctly digest Windows/DOS formatted files (with CR/LF).
1894
1895 iASL: Added a new option for "quiet mode" (-va) that produces only the 
1896 compilation summary, not individual errors and warnings. Useful for large 
1897 batch compilations.
1898
1899 AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
1900 timeout that can be used to detect hang conditions during execution of AML 
1901 code (includes both internal semaphores and AML-defined mutexes and events.)
1902
1903 Added new makefiles for the generation of acpica in a generic unix-like 
1904 environment. These makefiles are intended to generate the acpica tools and 
1905 utilities from the original acpica git source tree structure.
1906
1907 Test Suites: Updated and cleaned up the documentation files. Updated the 
1908 copyrights to 2009, affecting all source files. Use the new version of iASL 
1909 with quiet mode. Increased the number of available semaphores in the Windows 
1910 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
1911 an alternate implementation of the semaphore timeout to allow aslts to 
1912 execute fully on Cygwin.
1913
1914 ----------------------------------------
1915 20 March 2009. Summary of changes for version 20090320:
1916
1917 1) ACPI CA Core Subsystem:
1918
1919 Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
1920 unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
1921 namespace walks (readers), but block a dynamic table unload until it can gain 
1922 exclusive write access to the namespace. This fixes a problem where a table 
1923 unload could (possibly catastrophically) delete the portion of the namespace 
1924 that is currently being examined by a walk. Adds a new file, utlock.c, that 
1925 implements the reader/writer lock mechanism. ACPICA BZ 749.
1926
1927 Fixed a regression introduced in version 20090220 where a change to the FADT 
1928 handling could cause the ACPICA subsystem to access non-existent I/O ports.
1929
1930 Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
1931 FADT can contain both 32-bit and 64-bit versions of these addresses. 
1932 Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
1933 versions were valid, but not equal, the 64-bit version was used. This was 
1934 found to cause some machines to fail. Now, in this case, the 32-bit version 
1935 is used instead. This now matches the Windows behavior.
1936
1937 Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
1938 compatibility and protects the standard PC I/O ports from access via AML 
1939 code. Adds a new file, hwvalid.c
1940
1941 Fixed a possible extraneous warning message from the FADT support. The 
1942 message warns of a 32/64 length mismatch between the legacy and GAS 
1943 definitions for a register.
1944
1945 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
1946 made obsolete by the port protection mechanism above. It was previously used 
1947 to validate the entire address range of an operation region, which could be 
1948 incorrect if the range included illegal ports, but fields within the 
1949 operation region did not actually access those ports. Validation is now 
1950 performed on a per-field basis instead of the entire region.
1951
1952 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
1953 Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
1954 means a read/modify/write when writing to the register. However, for status 
1955 registers, writing a one means clear the event. Writing a zero means preserve 
1956 the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
1957 and the ACPICA code now simply always writes a zero to the ignored bit.
1958
1959 Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
1960 per the ACPI specification, for the control registers, preserve 
1961 (read/modify/write) all bits that are defined as either reserved or ignored.
1962
1963 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
1964 When reading the register, zero the write-only bits as per the ACPI spec. 
1965 ACPICA BZ 443. Lin Ming.
1966
1967 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
1968 wants to reply true to this request. The Windows strings are the only paths 
1969 through the AML that are tested and known to work properly.
1970
1971   Previous Release:
1972     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1973     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1974   Current Release:
1975     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1976     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1977
1978 2) iASL Compiler/Disassembler and Tools:
1979
1980 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
1981 aetables.c
1982
1983 ----------------------------------------
1984 20 February 2009. Summary of changes for version 20090220:
1985
1986 1) ACPI CA Core Subsystem:
1987
1988 Optimized the ACPI register locking. Removed locking for reads from the ACPI 
1989 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
1990 not required when reading the single-bit registers. The 
1991 AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
1992 This will improve performance for reads on these registers. ACPICA BZ 760.
1993
1994 Fixed the parameter validation for AcpiRead/Write. Now return 
1995 AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
1996 the register has an address of zero. Previously, these cases simply returned 
1997 AE_OK. For optional registers such as PM1B status/enable/control, the caller 
1998 should check for a valid register address before calling. ACPICA BZ 748.
1999
2000 Renamed the external ACPI bit register access functions. Renamed 
2001 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2002 functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2003 Also, restructured the code for these functions by simplifying the code path 
2004 and condensing duplicate code to reduce code size.
2005
2006 Added new functions to transparently handle the possibly split PM1 A/B 
2007 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2008 now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2009 746.
2010
2011 Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2012 This function writes both of the PM1 control registers (A/B). These registers 
2013 are different than the PM1 A/B status and enable registers in that different 
2014 values can be written to the A/B registers. Most notably, the SLP_TYP bits 
2015 can be different, as per the values returned from the _Sx predefined methods.
2016
2017 Removed an extra register write within AcpiHwClearAcpiStatus. This function 
2018 was writing an optional PM1B status register twice. The existing call to the 
2019 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2020 register. ACPICA BZ 751.
2021
2022 Split out the PM1 Status registers from the FADT. Added new globals for these 
2023 registers (A/B), similar to the way the PM1 Enable registers are handled. 
2024 Instead of overloading the FADT Event Register blocks. This makes the code 
2025 clearer and less prone to error.
2026
2027 Fixed the warning message for when the platform contains too many ACPI tables 
2028 for the default size of the global root table data structure. The calculation 
2029 for the truncation value was incorrect.
2030
2031 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2032 obsolete macro, since it is now a simple reference to ->common.type. There 
2033 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2034
2035 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2036 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2037 simply SLEEP_TYPE. ACPICA BZ 754.
2038
2039 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2040 function is only needed on 64-bit host operating systems and is thus not 
2041 included for 32-bit hosts.
2042
2043 Debug output: print the input and result for invocations of the _OSI reserved 
2044 control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2045 verbosity of this debug level. Len Brown.
2046
2047 Example Code and Data Size: These are the sizes for the OS-independent 
2048 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2049 debug version of the code includes the debug output trace mechanism and has a 
2050 much larger code and data size.
2051
2052   Previous Release:
2053     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2054     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2055   Current Release:
2056     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2057     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2058
2059 2) iASL Compiler/Disassembler and Tools:
2060
2061 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2062 various legal performance profiles.
2063
2064 ----------------------------------------
2065 23 January 2009. Summary of changes for version 20090123:
2066
2067 1) ACPI CA Core Subsystem:
2068
2069 Added the 2009 copyright to all module headers and signons. This affects 
2070 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2071 the tools/utilities.
2072
2073 Implemented a change to allow the host to override any ACPI table, including 
2074 dynamically loaded tables. Previously, only the DSDT could be replaced by the 
2075 host. With this change, the AcpiOsTableOverride interface is called for each 
2076 table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2077 a table is dynamically loaded via the AML Load operator.
2078
2079 Updated FADT flag definitions, especially the Boot Architecture flags.
2080
2081 Debugger: For the Find command, automatically pad the input ACPI name with 
2082 underscores if the name is shorter than 4 characters. This enables a match 
2083 with the actual namespace entry which is itself padded with underscores.
2084
2085 Example Code and Data Size: These are the sizes for the OS-independent 
2086 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2087 debug version of the code includes the debug output trace mechanism and has a 
2088 much larger code and data size.
2089
2090   Previous Release:
2091     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2092     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2093   Current Release:
2094     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2095     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2096
2097 2) iASL Compiler/Disassembler and Tools:
2098
2099 Fix build error under Bison-2.4.
2100
2101 Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2102 flags. Now decode all flags, regardless of the FADT version. Flag output 
2103 includes the FADT version which first defined each flag.
2104
2105 The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2106 DSDT). Windows only.
2107
2108 ----------------------------------------
2109 04 December 2008. Summary of changes for version 20081204:
2110
2111 1) ACPI CA Core Subsystem:
2112
2113 The ACPICA Programmer Reference has been completely updated and revamped for 
2114 this release. This includes updates to the external interfaces, OSL 
2115 interfaces, the overview sections, and the debugger reference.
2116
2117 Several new ACPICA interfaces have been implemented and documented in the 
2118 programmer reference:
2119 AcpiReset - Writes the reset value to the FADT-defined reset register.
2120 AcpiDisableAllGpes - Disable all available GPEs.
2121 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2122 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2123 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2124 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2125 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2126
2127 Most of the public ACPI hardware-related interfaces have been moved to a new 
2128 file, components/hardware/hwxface.c
2129
2130 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
2131 register lengths within the FADT are now used, and the low level ACPI 
2132 register access no longer hardcodes the ACPI register lengths. Given that 
2133 there may be some risk in actually trusting the FADT register lengths, a run-
2134 time option was added to fall back to the default hardcoded lengths if the 
2135 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2136 option is set to true for now, and a warning is issued if a suspicious FADT 
2137 register length is overridden with the default value.
2138
2139 Fixed a reference count issue in NsRepairObject. This problem was introduced 
2140 in version 20081031 as part of a fix to repair Buffer objects within 
2141 Packages. Lin Ming.
2142
2143 Added semaphore support to the Linux/Unix application OS-services layer 
2144 (OSL). ACPICA BZ 448. Lin Ming.
2145
2146 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2147 be implemented in the OSL, or will binary semaphores be used instead.
2148
2149 Example Code and Data Size: These are the sizes for the OS-independent 
2150 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2151 debug version of the code includes the debug output trace mechanism and has a 
2152 much larger code and data size.
2153
2154   Previous Release:
2155     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2156     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2157   Current Release:
2158     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2159     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2160
2161 2) iASL Compiler/Disassembler and Tools:
2162
2163 iASL: Completed the '-e' option to include additional ACPI tables in order to 
2164 aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2165 Ming.
2166
2167 iASL: Removed the "named object in while loop" error. The compiler cannot 
2168 determine how many times a loop will execute. ACPICA BZ 730.
2169
2170 Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2171 BZ 743.
2172
2173 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2174
2175 ----------------------------------------
2176 31 October 2008. Summary of changes for version 20081031:
2177
2178 1) ACPI CA Core Subsystem:
2179
2180 Restructured the ACPICA header files into public/private. acpi.h now includes 
2181 only the "public" acpica headers. All other acpica headers are "private" and 
2182 should not be included by acpica users. One new file, accommon.h is used to 
2183 include the commonly used private headers for acpica code generation. Future 
2184 plans include moving all private headers to a new subdirectory.
2185
2186 Implemented an automatic Buffer->String return value conversion for 
2187 predefined ACPI methods. For these methods (such as _BIF), added automatic 
2188 conversion for return objects that are required to be a String, but a Buffer 
2189 was found instead. This can happen when reading string battery data from an 
2190 operation region, because it used to be difficult to convert the data from 
2191 buffer to string from within the ASL. Ensures that the host OS is provided 
2192 with a valid null-terminated string. Linux BZ 11822.
2193
2194 Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2195 into two: one for the 32-bit vector, another for the 64-bit vector. This is 
2196 required because the host OS must setup the wake much differently for each 
2197 vector (real vs. protected mode, etc.) and the interface itself should not be 
2198 deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2199 interface, as it served no purpose (only the firmware reads the vector, OS 
2200 only writes the vector.) ACPICA BZ 731.
2201
2202 Implemented a mechanism to escape infinite AML While() loops. Added a loop 
2203 counter to force exit from AML While loops if the count becomes too large. 
2204 This can occur in poorly written AML when the hardware does not respond 
2205 within a while loop and the loop does not implement a timeout. The maximum 
2206 loop count is configurable. A new exception code is returned when a loop is 
2207 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2208
2209 Optimized the execution of AML While loops. Previously, a control state 
2210 object was allocated and freed for each execution of the loop. The 
2211 optimization is to simply reuse the control state for each iteration. This 
2212 speeds up the raw loop execution time by about 5%.
2213
2214 Enhanced the implicit return mechanism. For Windows compatibility, return an 
2215 implicit integer of value zero for methods that contain no executable code. 
2216 Such methods are seen in the field as stubs (presumably), and can cause 
2217 drivers to fail if they expect a return value. Lin Ming.
2218
2219 Allow multiple backslashes as root prefixes in namepaths. In a fully 
2220 qualified namepath, allow multiple backslash prefixes. This can happen (and 
2221 is seen in the field) because of the use of a double-backslash in strings 
2222 (since backslash is the escape character) causing confusion. ACPICA BZ 739 
2223 Lin Ming.
2224
2225 Emit a warning if two different FACS or DSDT tables are discovered in the 
2226 FADT. Checks if there are two valid but different addresses for the FACS and 
2227 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2228
2229 Consolidated the method argument count validation code. Merged the code that 
2230 validates control method argument counts into the predefined validation 
2231 module. Eliminates possible multiple warnings for incorrect argument counts.
2232
2233 Implemented ACPICA example code. Includes code for ACPICA initialization, 
2234 handler installation, and calling a control method. Available at 
2235 source/tools/examples.
2236
2237 Added a global pointer for FACS table to simplify internal FACS access. Use 
2238 the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2239 This simplifies the code for the Global Lock and the Firmware Waking 
2240 Vector(s).
2241
2242 Example Code and Data Size: These are the sizes for the OS-independent 
2243 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2244 debug version of the code includes the debug output trace mechanism and has a 
2245 much larger code and data size.
2246
2247   Previous Release:
2248     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2249     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2250   Current Release:
2251     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2252     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2253
2254 2) iASL Compiler/Disassembler and Tools:
2255
2256 iASL: Improved disassembly of external method calls. Added the -e option to 
2257 allow the inclusion of additional ACPI tables to help with the disassembly of 
2258 method invocations and the generation of external declarations during the 
2259 disassembly. Certain external method invocations cannot be disassembled 
2260 properly without the actual declaration of the method. Use the -e option to 
2261 include the table where the external method(s) are actually declared. Most 
2262 useful for disassembling SSDTs that make method calls back to the master 
2263 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2264 -e dsdt.aml ssdt1.aml
2265
2266 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2267 problem where the use of an alias within a namepath would result in a not 
2268 found error or cause the compiler to fault. Also now allows forward 
2269 references from the Alias operator itself. ACPICA BZ 738.
2270
2271 ----------------------------------------
2272 26 September 2008. Summary of changes for version 20080926:
2273
2274 1) ACPI CA Core Subsystem:
2275
2276 Designed and implemented a mechanism to validate predefined ACPI methods and 
2277 objects. This code validates the predefined ACPI objects (objects whose names 
2278 start with underscore) that appear in the namespace, at the time they are 
2279 evaluated. The argument count and the type of the returned object are 
2280 validated against the ACPI specification. The purpose of this validation is 
2281 to detect problems with the BIOS-implemented predefined ACPI objects before 
2282 the results are returned to the ACPI-related drivers. Future enhancements may 
2283 include actual repair of incorrect return objects where possible. Two new 
2284 files are nspredef.c and acpredef.h.
2285
2286 Fixed a fault in the AML parser if a memory allocation fails during the Op 
2287 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2288
2289 Fixed an issue with implicit return compatibility. This change improves the 
2290 implicit return mechanism to be more compatible with the MS interpreter. Lin 
2291 Ming, ACPICA BZ 349.
2292
2293 Implemented support for zero-length buffer-to-string conversions. Allow zero 
2294 length strings during interpreter buffer-to-string conversions. For example, 
2295 during the ToDecimalString and ToHexString operators, as well as implicit 
2296 conversions. Fiodor Suietov, ACPICA BZ 585.
2297
2298 Fixed two possible memory leaks in the error exit paths of 
2299 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2300 similar in that they use a stack of state objects in order to eliminate 
2301 recursion. The stack must be fully unwound and deallocated if an error 
2302 occurs. Lin Ming. ACPICA BZ 383.
2303
2304 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2305 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2306 Moore ACPICA BZ 442.
2307
2308 Removed the obsolete version number in module headers. Removed the 
2309 "$Revision" number that appeared in each module header. This version number 
2310 was useful under SourceSafe and CVS, but has no meaning under git. It is not 
2311 only incorrect, it could also be misleading.
2312
2313 Example Code and Data Size: These are the sizes for the OS-independent 
2314 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2315 debug version of the code includes the debug output trace mechanism and has a 
2316 much larger code and data size.
2317
2318   Previous Release:
2319     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2320     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2321   Current Release:
2322     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2323     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2324
2325 ----------------------------------------
2326 29 August 2008. Summary of changes for version 20080829:
2327
2328 1) ACPI CA Core Subsystem:
2329
2330 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2331 Reference. Changes include the elimination of cheating on the Object field 
2332 for the DdbHandle subtype, addition of a reference class field to 
2333 differentiate the various reference types (instead of an AML opcode), and the 
2334 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2335
2336 Reduce an error to a warning for an incorrect method argument count. 
2337 Previously aborted with an error if too few arguments were passed to a 
2338 control method via the external ACPICA interface. Now issue a warning instead 
2339 and continue. Handles the case where the method inadvertently declares too 
2340 many arguments, but does not actually use the extra ones. Applies mainly to 
2341 the predefined methods. Lin Ming. Linux BZ 11032.
2342
2343 Disallow the evaluation of named object types with no intrinsic value. Return 
2344 AE_TYPE for objects that have no value and therefore evaluation is undefined: 
2345 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
2346 these types were allowed, but an exception would be generated at some point 
2347 during the evaluation. Now, the error is generated up front.
2348
2349 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
2350 (nsnames.c). Fixes a leak in the error exit path.
2351
2352 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2353 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2354 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2355 ACPI_LV_EVENTS.
2356
2357 Removed obsolete and/or unused exception codes from the acexcep.h header. 
2358 There is the possibility that certain device drivers may be affected if they 
2359 use any of these exceptions.
2360
2361 The ACPICA documentation has been added to the public git source tree, under 
2362 acpica/documents. Included are the ACPICA programmer reference, the iASL 
2363 compiler reference, and the changes.txt release logfile.
2364
2365 Example Code and Data Size: These are the sizes for the OS-independent 
2366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2367 debug version of the code includes the debug output trace mechanism and has a 
2368 much larger code and data size.
2369
2370   Previous Release:
2371     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2372     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2373   Current Release:
2374     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2375     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2376
2377 2) iASL Compiler/Disassembler and Tools:
2378
2379 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2380 defines _SCP with 3 arguments. Previous versions defined it with only 1 
2381 argument. iASL now allows both definitions.
2382
2383 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2384 length subtables when disassembling ACPI tables. Also fixed a couple of 
2385 errors where a full 16-bit table type field was not extracted from the input 
2386 properly.
2387
2388 acpisrc: Improve comment counting mechanism for generating source code 
2389 statistics. Count first and last lines of multi-line comments as whitespace, 
2390 not comment lines. Handle Linux legal header in addition to standard acpica 
2391 header.
2392
2393 ----------------------------------------
2394
2395 29 July 2008. Summary of changes for version 20080729:
2396
2397 1) ACPI CA Core Subsystem:
2398
2399 Fix a possible deadlock in the GPE dispatch. Remove call to 
2400 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2401 to acquire the GPE lock but can deadlock since the GPE lock is already held 
2402 at dispatch time. This code was introduced in version 20060831 as a response 
2403 to Linux BZ 6881 and has since been removed from Linux.
2404
2405 Add a function to dereference returned reference objects. Examines the return 
2406 object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2407 automatically dereferenced in an attempt to return something useful (these 
2408 reference types cannot be converted into an external ACPI_OBJECT.) Provides 
2409 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2410
2411 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2412 subtables for the MADT and one new subtable for the SRAT. Includes 
2413 disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2414 Specification, June 2008.
2415
2416 Additional error checking for pathname utilities. Add error check after all 
2417 calls to AcpiNsGetPathnameLength. Add status return from 
2418 AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2419 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2420
2421 Return status from the global init function AcpiUtGlobalInitialize. This is 
2422 used by both the kernel subsystem and the utilities such as iASL compiler. 
2423 The function could possibly fail when the caches are initialized. Yang Yi.
2424
2425 Add a function to decode reference object types to strings. Created for 
2426 improved error messages. 
2427
2428 Improve object conversion error messages. Better error messages during object 
2429 conversion from internal to the external ACPI_OBJECT. Used for external calls 
2430 to AcpiEvaluateObject.
2431
2432 Example Code and Data Size: These are the sizes for the OS-independent 
2433 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2434 debug version of the code includes the debug output trace mechanism and has a 
2435 much larger code and data size.
2436
2437   Previous Release:
2438     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2439     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2440   Current Release:
2441     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2442     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2443
2444 2) iASL Compiler/Disassembler and Tools:
2445
2446 Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2447 introduced in version 20080701. If the object being evaluated (via execute 
2448 command) is not a method, the debugger can hang while trying to obtain non-
2449 existent parameters.
2450
2451 iASL: relax error for using reserved "_T_x" identifiers. These names can 
2452 appear in a disassembled ASL file if they were emitted by the original 
2453 compiler. Instead of issuing an error or warning and forcing the user to 
2454 manually change these names, issue a remark instead.
2455
2456 iASL: error if named object created in while loop. Emit an error if any named 
2457 object is created within a While loop. If allowed, this code will generate a 
2458 run-time error on the second iteration of the loop when an attempt is made to 
2459 create the same named object twice. ACPICA bugzilla 730.
2460
2461 iASL: Support absolute pathnames for include files. Add support for absolute 
2462 pathnames within the Include operator. previously, only relative pathnames 
2463 were supported.
2464
2465 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
2466 The ACPI spec requires one interrupt minimum. BZ 423
2467
2468 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2469 Handles the case for the Interrupt Resource Descriptor where
2470 the ResourceSource argument is omitted but ResourceSourceIndex
2471 is present. Now leave room for the Index. BZ 426
2472
2473 iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2474 where an error message is emitted if the target does not exist. BZ 516
2475
2476 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2477 (get ACPI tables on Windows). This was apparently broken in version 20070919.
2478
2479 AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
2480 the EOF happens immediately after the last table in the input file. Print 
2481 completion message. Previously, no message was displayed in this case.
2482
2483 ----------------------------------------
2484 01 July 2008. Summary of changes for version 20080701:
2485
2486 0) Git source tree / acpica.org
2487
2488 Fixed a problem where a git-clone from http would not transfer the entire 
2489 source tree.
2490
2491 1) ACPI CA Core Subsystem:
2492
2493 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2494 enable bit. Now performs a read-change-write of the enable register instead 
2495 of simply writing out the cached enable mask. This will prevent inadvertent 
2496 enabling of GPEs if a rogue GPE is received during initialization (before GPE 
2497 handlers are installed.)
2498
2499 Implemented a copy for dynamically loaded tables. Previously, dynamically 
2500 loaded tables were simply mapped - but on some machines this memory is 
2501 corrupted after suspend. Now copy the table to a local buffer. For the 
2502 OpRegion case, added checksum verify. Use the table length from the table 
2503 header, not the region length. For the Buffer case, use the table length 
2504 also. Dennis Noordsij, Bob Moore. BZ 10734
2505
2506 Fixed a problem where the same ACPI table could not be dynamically loaded and 
2507 unloaded more than once. Without this change, a table cannot be loaded again 
2508 once it has been loaded/unloaded one time. The current mechanism does not 
2509 unregister a table upon an unload. During a load, if the same table is found, 
2510 this no longer returns an exception. BZ 722
2511
2512 Fixed a problem where the wrong descriptor length was calculated for the 
2513 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2514 are calculated as 12 bytes long, but the actual length in the internal 
2515 descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2516 by Linn Crosetto. BZ 728
2517
2518 Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
2519 by Load() did not have its reference count decremented during unload, leading 
2520 to a memory leak. Lin Ming. BZ 727
2521
2522 Fixed a possible memory leak when deleting thermal/processor objects. Any 
2523 associated notify handlers (and objects) were not being deleted. Fiodor 
2524 Suietov. BZ 506
2525
2526 Fixed the ordering of the ASCII names in the global mutex table to match the 
2527 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
2528 Vegard Nossum. BZ 726
2529
2530 Enhanced the AcpiGetObjectInfo interface to return the number of required 
2531 arguments if the object is a control method. Added this call to the debugger 
2532 so the proper number of default arguments are passed to a method. This 
2533 prevents a warning when executing methods from AcpiExec.
2534
2535 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
2536 AE_BAD_PARAMETER if input handle is invalid. BZ 474
2537
2538 Fixed an extraneous warning from exconfig.c on the 64-bit build.
2539
2540 Example Code and Data Size: These are the sizes for the OS-independent 
2541 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2542 debug version of the code includes the debug output trace mechanism and has a 
2543 much larger code and data size.
2544
2545   Previous Release:
2546     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2547     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2548   Current Release:
2549     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2550     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2551
2552 2) iASL Compiler/Disassembler and Tools:
2553
2554 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2555 resource descriptor names.
2556
2557 iASL: Detect invalid ASCII characters in input (windows version). Removed the 
2558 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
2559 characters in the input. BZ 441
2560
2561 iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2562 "result of operation not used" warning when the DDB handle returned from 
2563 LoadTable is not used. The warning is not needed. BZ 590
2564
2565 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
2566 pass address of table to the AML. Added option to disable OpRegion simulation 
2567 to allow creation of an OpRegion with a real address that was passed to _CFG. 
2568 All of this allows testing of the Load and Unload operators from AcpiExec.
2569
2570 Debugger: update tables command for unloaded tables. Handle unloaded tables 
2571 and use the standard table header output routine.
2572
2573 ----------------------------------------
2574 09 June 2008. Summary of changes for version 20080609:
2575
2576 1) ACPI CA Core Subsystem:
2577
2578 Implemented a workaround for reversed _PRT entries. A significant number of 
2579 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2580 change dynamically detects and repairs this problem. Provides compatibility 
2581 with MS ACPI. BZ 6859
2582
2583 Simplified the internal ACPI hardware interfaces to eliminate the locking 
2584 flag parameter from Register Read/Write. Added a new external interface, 
2585 AcpiGetRegisterUnlocked.
2586
2587 Fixed a problem where the invocation of a GPE control method could hang. This 
2588 was a regression introduced in 20080514. The new method argument count 
2589 validation mechanism can enter an infinite loop when a GPE method is 
2590 dispatched. Problem fixed by removing the obsolete code that passed GPE block 
2591 information to the notify handler via the control method parameter pointer.
2592
2593 Fixed a problem where the _SST execution status was incorrectly returned to 
2594 the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
2595 20080514. _SST is optional and a NOT_FOUND exception should never be 
2596 returned. BZ 716
2597
2598 Fixed a problem where a deleted object could be accessed from within the AML 
2599 parser. This was a regression introduced in version 20080123 as a fix for the 
2600 Unload operator. Lin Ming. BZ 10669
2601
2602 Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
2603 and eliminated the use of a negative index in a loop. Operands are now 
2604 displayed in the correct order, not backwards. This also fixes a regression 
2605 introduced in 20080514 on 64-bit systems where the elimination of 
2606 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
2607
2608 Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
2609 path did not delete a locally allocated structure.
2610
2611 Updated definitions for the DMAR and SRAT tables to synchronize with the 
2612 current specifications. Includes disassembler support.
2613
2614 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
2615 loop termination value was used. Loop terminated on iteration early, missing 
2616 one mutex. Linn Crosetto
2617
2618 Example Code and Data Size: These are the sizes for the OS-independent 
2619 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2620 debug version of the code includes the debug output trace mechanism and has a 
2621 much larger code and data size.
2622
2623   Previous Release:
2624     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2625     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2626   Current Release:
2627     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2628     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2629
2630 2) iASL Compiler/Disassembler and Tools:
2631
2632 Disassembler: Implemented support for EisaId() within _CID objects. Now 
2633 disassemble integer _CID objects back to EisaId invocations, including 
2634 multiple integers within _CID packages. Includes single-step support for 
2635 debugger also.
2636
2637 Disassembler: Added support for DMAR and SRAT table definition changes.
2638
2639 ----------------------------------------
2640 14 May 2008. Summary of changes for version 20080514:
2641
2642 1) ACPI CA Core Subsystem:
2643
2644 Fixed a problem where GPEs were enabled too early during the ACPICA 
2645 initialization. This could lead to "handler not installed" errors on some 
2646 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
2647 ensures that all operation regions and devices throughout the namespace have 
2648 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2649
2650 Implemented a change to the enter sleep code. Moved execution of the _GTS 
2651 method to just before setting sleep enable bit. The execution was moved from 
2652 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
2653 immediately before the SLP_EN bit is set, as per the ACPI specification. 
2654 Luming Yu, BZ 1653.
2655
2656 Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
2657 the GPE, even if ACPICA thinks that that it is already disabled. It is 
2658 possible that the AML or some other code has enabled the GPE unbeknownst to 
2659 the ACPICA code.
2660
2661 Fixed a problem with the Field operator where zero-length fields would return 
2662 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
2663 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
2664
2665 Implemented a fix for the Load operator, now load the table at the namespace 
2666 root. This reverts a change introduced in version 20071019. The table is now 
2667 loaded at the namespace root even though this goes against the ACPI 
2668 specification. This provides compatibility with other ACPI implementations. 
2669 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
2670
2671 Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
2672 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
2673 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
2674 Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
2675 signatures, ACPICA must be compatible. BZ 10454.
2676
2677 Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
2678 fields to the exception string arrays to eliminate a -1 subtraction on the 
2679 SubStatus field.
2680
2681 Updated the debug tracking macros to reduce overall code and data size. 
2682 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
2683 instead of pointers to static strings. Jan Beulich and Bob Moore.
2684
2685 Implemented argument count checking in control method invocation via 
2686 AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
2687 many. This applies only to extern programmatic control method execution, not 
2688 method-to-method calls within the AML. Lin Ming.
2689
2690 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
2691 longer needed, especially with the removal of 16-bit support. It was replaced 
2692 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
2693 32/64-bit platforms is required.
2694
2695 Added the C const qualifier for appropriate string constants -- mostly 
2696 MODULE_NAME and printf format strings. Jan Beulich.
2697
2698 Example Code and Data Size: These are the sizes for the OS-independent 
2699 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2700 debug version of the code includes the debug output trace mechanism and has a 
2701 much larger code and data size.
2702
2703   Previous Release:
2704     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2705     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2706   Current Release:
2707     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2708     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2709
2710 2) iASL Compiler/Disassembler and Tools:
2711
2712 Implemented ACPI table revision ID validation in the disassembler. Zero is 
2713 always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
2714 means 32-bit and this is unusual. 2 or greater is 64-bit.
2715
2716 ----------------------------------------
2717 21 March 2008. Summary of changes for version 20080321:
2718
2719 1) ACPI CA Core Subsystem:
2720
2721 Implemented an additional change to the GPE support in order to suppress 
2722 spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
2723 disable incoming GPEs that are neither enabled nor disabled -- meaning that 
2724 the GPE is unknown to the system. This should prevent future interrupt floods 
2725 from that GPE. BZ 6217 (Zhang Rui)
2726
2727 Fixed a problem where NULL package elements were not returned to the 
2728 AcpiEvaluateObject interface correctly. The element was simply ignored 
2729 instead of returning a NULL ACPI_OBJECT package element, potentially causing 
2730 a buffer overflow and/or confusing the caller who expected a fixed number of 
2731 elements. BZ 10132 (Lin Ming, Bob Moore)
2732
2733 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
2734 Qword), Field, BankField, and IndexField operators when invoked from inside 
2735 an executing control method. In this case, these operators created namespace 
2736 nodes that were incorrectly left marked as permanent nodes instead of 
2737 temporary nodes. This could cause a problem if there is race condition 
2738 between an exiting control method and a running namespace walk. (Reported by 
2739 Linn Crosetto)
2740
2741 Fixed a problem where the CreateField and CreateXXXField operators would 
2742 incorrectly allow duplicate names (the name of the field) with no exception 
2743 generated.
2744
2745 Implemented several changes for Notify handling. Added support for new Notify 
2746 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
2747 PowerResource objects is no longer allowed, as per the ACPI specification. 
2748 (Bob Moore, Zhang Rui)
2749
2750 All Reference Objects returned via the AcpiEvaluateObject interface are now 
2751 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
2752 NULL objects - either NULL package elements or unresolved named references.
2753
2754 Fixed a problem where an extraneous debug message was produced for package 
2755 objects (when debugging enabled). The message "Package List length larger 
2756 than NumElements count" is now produced in the correct case, and is now an 
2757 error message rather than a debug message. Added a debug message for the 
2758 opposite case, where NumElements is larger than the Package List (the package 
2759 will be padded out with NULL elements as per the ACPI spec.)
2760
2761 Implemented several improvements for the output of the ASL "Debug" object to 
2762 clarify and keep all data for a given object on one output line.
2763
2764 Fixed two size calculation issues with the variable-length Start Dependent 
2765 resource descriptor.
2766
2767 Example Code and Data Size: These are the sizes for the OS-independent 
2768 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2769 debug version of the code includes the debug output trace mechanism and has 
2770 a much larger code and data size.
2771
2772   Previous Release:
2773     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2774     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2775   Current Release:
2776     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2777     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2778
2779 2) iASL Compiler/Disassembler and Tools:
2780
2781 Fixed a problem with the use of the Switch operator where execution of the 
2782 containing method by multiple concurrent threads could cause an 
2783 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
2784 actual Switch opcode, it must be simulated with local named temporary 
2785 variables and if/else pairs. The solution chosen was to mark any method that 
2786 uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2787
2788 ----------------------------------------
2789 13 February 2008. Summary of changes for version 20080213:
2790
2791 1) ACPI CA Core Subsystem:
2792
2793 Implemented another MS compatibility design change for GPE/Notify handling. 
2794 GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
2795 complete first. It is expected that the OSL will queue the enable request 
2796 behind all pending notify requests (may require changes to the local host OSL 
2797 in AcpiOsExecute). Alexey Starikovskiy.
2798
2799 Fixed a problem where buffer and package objects passed as arguments to a 
2800 control method via the external AcpiEvaluateObject interface could cause an 
2801 AE_AML_INTERNAL exception depending on the order and type of operators 
2802 executed by the target control method.
2803
2804 Fixed a problem where resource descriptor size optimization could cause a 
2805 problem when a _CRS resource template is passed to a _SRS method. The _SRS 
2806 resource template must use the same descriptors (with the same size) as 
2807 returned from _CRS. This change affects the following resource descriptors: 
2808 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2809
2810 Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
2811 objects did not perform an implicit conversion as it should. These types must 
2812 retain their initial type permanently as per the ACPI specification. However, 
2813 a CopyObject to all other object types should not perform an implicit 
2814 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2815
2816 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
2817 match device CIDs did not examine the entire list of available CIDs, but 
2818 instead aborted on the first non-matching CID. Andrew Patterson.
2819
2820 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
2821 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
2822 truncating the upper dword of a 64-bit value. This macro is only used to 
2823 display debug output, so no incorrect calculations were made. Also, 
2824 reimplemented the macro so that a 64-bit shift is not performed by 
2825 inefficient compilers.
2826
2827 Added missing va_end statements that should correspond with each va_start 
2828 statement.
2829
2830 Example Code and Data Size: These are the sizes for the OS-independent 
2831 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2832 debug version of the code includes the debug output trace mechanism and has 
2833 a much larger code and data size.
2834
2835   Previous Release:
2836     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2837     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2838   Current Release:
2839     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2840     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2841
2842 2) iASL Compiler/Disassembler and Tools:
2843
2844 Implemented full disassembler support for the following new ACPI tables: 
2845 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
2846 complicated HEST table. These tables support the Windows Hardware Error 
2847 Architecture (WHEA).
2848
2849 ----------------------------------------
2850 23 January 2008. Summary of changes for version 20080123:
2851
2852 1) ACPI CA Core Subsystem:
2853
2854 Added the 2008 copyright to all module headers and signons. This affects 
2855 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2856 the tools/utilities.
2857
2858 Fixed a problem with the SizeOf operator when used with Package and Buffer 
2859 objects. These objects have deferred execution for some arguments, and the 
2860 execution is now completed before the SizeOf is executed. This problem caused 
2861 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
2862 9558
2863
2864 Implemented an enhancement to the interpreter "slack mode". In the absence of 
2865 an explicit return or an implicitly returned object from the last executed 
2866 opcode, a control method will now implicitly return an integer of value 0 for 
2867 Microsoft compatibility. (Lin Ming) BZ 392
2868
2869 Fixed a problem with the Load operator where an exception was not returned in 
2870 the case where the table is already loaded. (Lin Ming) BZ 463
2871
2872 Implemented support for the use of DDBHandles as an Indexed Reference, as per 
2873 the ACPI spec. (Lin Ming) BZ 486
2874
2875 Implemented support for UserTerm (Method invocation) for the Unload operator 
2876 as per the ACPI spec. (Lin Ming) BZ 580
2877
2878 Fixed a problem with the LoadTable operator where the OemId and OemTableId 
2879 input strings could cause unexpected failures if they were shorter than the 
2880 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2881
2882 Implemented support for UserTerm (Method invocation) for the Unload operator 
2883 as per the ACPI spec. (Lin Ming) BZ 580
2884
2885 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
2886 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
2887
2888 Example Code and Data Size: These are the sizes for the OS-independent 
2889 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2890 debug version of the code includes the debug output trace mechanism and has 
2891 a much larger code and data size.
2892
2893   Previous Release:
2894     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2895     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2896   Current Release:
2897     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2898     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2899
2900 2) iASL Compiler/Disassembler and Tools:
2901
2902 Implemented support in the disassembler for checksum validation on incoming 
2903 binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
2904 header dump at the start of the disassembly.
2905
2906 Implemented additional debugging information in the namespace listing file 
2907 created during compilation. In addition to the namespace hierarchy, the full 
2908 pathname to each namespace object is displayed.
2909
2910 Fixed a problem with the disassembler where invalid ACPI tables could cause 
2911 faults or infinite loops.
2912
2913 Fixed an unexpected parse error when using the optional "parameter types" 
2914 list in a control method declaration. (Lin Ming) BZ 397
2915
2916 Fixed a problem where two External declarations with the same name did not 
2917 cause an error (Lin Ming) BZ 509
2918
2919 Implemented support for full TermArgs (adding Argx, Localx and method 
2920 invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
2921 Ming) BZ 583,587
2922
2923 ----------------------------------------
2924 19 December 2007. Summary of changes for version 20071219:
2925
2926 1) ACPI CA Core Subsystem:
2927
2928 Implemented full support for deferred execution for the TermArg string 
2929 arguments for DataTableRegion. This enables forward references and full 
2930 operand resolution for the three string arguments. Similar to OperationRegion 
2931 deferred argument execution.) Lin Ming. BZ 430
2932
2933 Implemented full argument resolution support for the BankValue argument to 
2934 BankField. Previously, only constants were supported, now any TermArg may be 
2935 used. Lin Ming BZ 387, 393
2936
2937 Fixed a problem with AcpiGetDevices where the search of a branch of the 
2938 device tree could be terminated prematurely. In accordance with the ACPI 
2939 specification, the search down the current branch is terminated if a device 
2940 is both not present and not functional (instead of just not present.) Yakui 
2941 Zhao.
2942
2943 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
2944 the underlying AML code changed the GPE enable registers. Now, any unknown 
2945 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
2946 instead of simply ignored. Rui Zhang.
2947
2948 Fixed a problem with Index Fields where the Index register was incorrectly 
2949 limited to a maximum of 32 bits. Now any size may be used.
2950
2951 Fixed a couple memory leaks associated with "implicit return" objects when 
2952 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
2953
2954 Example Code and Data Size: These are the sizes for the OS-independent 
2955 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2956 debug version of the code includes the debug output trace mechanism and has 
2957 a much larger code and data size.
2958
2959   Previous Release:
2960     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2961     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2962   Current Release:
2963     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2964     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2965
2966 ----------------------------------------
2967 14 November 2007. Summary of changes for version 20071114:
2968
2969 1) ACPI CA Core Subsystem:
2970
2971 Implemented event counters for each of the Fixed Events, the ACPI SCI 
2972 (interrupt) itself, and control methods executed. Named 
2973 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
2974 should be useful for debugging and statistics.
2975
2976 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
2977 contents of the various event counters. Returns the current values for 
2978 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
2979 AcpiMethodCount. The interface can be expanded in the future if new counters 
2980 are added. Device drivers should use this interface rather than access the 
2981 counters directly.
2982
2983 Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
2984 the ShortDivide function worked incorrectly, causing problems with the BCD 
2985 functions with large input values. A truncation from 64-bit to 32-bit 
2986 inadvertently occurred. Internal BZ 435. Lin Ming
2987
2988 Fixed a problem with Index references passed as method arguments. References 
2989 passed as arguments to control methods were dereferenced immediately (before 
2990 control was passed to the called method). The references are now correctly 
2991 passed directly to the called method. BZ 5389. Lin Ming
2992
2993 Fixed a problem with CopyObject used in conjunction with the Index operator. 
2994 The reference was incorrectly dereferenced before the copy. The reference is 
2995 now correctly copied. BZ 5391. Lin Ming
2996
2997 Fixed a problem with Control Method references within Package objects. These 
2998 references are now correctly generated. This completes the package 
2999 construction overhaul that began in version 20071019.
3000
3001 Example Code and Data Size: These are the sizes for the OS-independent 
3002 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3003 debug version of the code includes the debug output trace mechanism and has 
3004 a much larger code and data size.
3005
3006   Previous Release:
3007     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3008     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3009   Current Release:
3010     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3011     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3012
3013
3014 2) iASL Compiler/Disassembler and Tools:
3015
3016 The AcpiExec utility now installs handlers for all of the predefined 
3017 Operation Region types. New types supported are: PCI_Config, CMOS, and 
3018 PCIBARTarget.
3019
3020 Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3021 bit) address fields for the DSDT and FACS within the FADT were not being 
3022 used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3023 and Bob Moore
3024
3025 ----------------------------------------
3026 19 October 2007. Summary of changes for version 20071019:
3027
3028 1) ACPI CA Core Subsystem:
3029
3030 Fixed a problem with the Alias operator when the target of the alias is a 
3031 named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3032 Processor, and ThermalZone. In these cases, any children of the original 
3033 operator could not be accessed via the alias, potentially causing unexpected 
3034 AE_NOT_FOUND exceptions. (BZ 9067)
3035
3036 Fixed a problem with the Package operator where all named references were 
3037 created as object references and left otherwise unresolved. According to the 
3038 ACPI specification, a Package can only contain Data Objects or references to 
3039 control methods. The implication is that named references to Data Objects 
3040 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3041 immediately upon package creation. This is the approach taken with this 
3042 change. References to all other named objects (Methods, Devices, Scopes, 
3043 etc.) are all now properly created as reference objects. (BZ 5328)
3044
3045 Reverted a change to Notify handling that was introduced in version 
3046 20070508. This version changed the Notify handling from asynchronous to 
3047 fully synchronous (Device driver Notify handling with respect to the Notify 
3048 ASL operator). It was found that this change caused more problems than it 
3049 solved and was removed by most users.
3050
3051 Fixed a problem with the Increment and Decrement operators where the type of 
3052 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
3053 Lin Ming.
3054
3055 Fixed a problem with the Load and LoadTable operators where the table 
3056 location within the namespace was ignored. Instead, the table was always 
3057 loaded into the root or current scope. Lin Ming.
3058
3059 Fixed a problem with the Load operator when loading a table from a buffer 
3060 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3061
3062 Fixed a problem with the Debug object where a store of a DdbHandle reference 
3063 object to the Debug object could cause a fault.
3064
3065 Added a table checksum verification for the Load operator, in the case where 
3066 the load is from a buffer. (BZ 578).
3067
3068 Implemented additional parameter validation for the LoadTable operator. The 
3069 length of the input strings SignatureString, OemIdString, and OemTableId are 
3070 now checked for maximum lengths. (BZ 582) Lin Ming.
3071
3072 Example Code and Data Size: These are the sizes for the OS-independent 
3073 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3074 debug version of the code includes the debug output trace mechanism and has 
3075 a much larger code and data size.
3076
3077   Previous Release:
3078     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3079     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3080   Current Release:
3081     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3082     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3083
3084
3085 2) iASL Compiler/Disassembler:
3086
3087 Fixed a problem where if a single file was specified and the file did not 
3088 exist, no error message was emitted. (Introduced with wildcard support in 
3089 version 20070917.)
3090
3091 ----------------------------------------
3092 19 September 2007. Summary of changes for version 20070919:
3093
3094 1) ACPI CA Core Subsystem:
3095
3096 Designed and implemented new external interfaces to install and remove 
3097 handlers for ACPI table-related events. Current events that are defined are 
3098 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3099 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3100 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3101
3102 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3103 (acpi_serialized option on Linux) could cause some systems to hang during 
3104 initialization. (Bob Moore) BZ 8171
3105
3106 Fixed a problem where objects of certain types (Device, ThermalZone, 
3107 Processor, PowerResource) can be not found if they are declared and 
3108 referenced from within the same control method (Lin Ming) BZ 341
3109
3110 Example Code and Data Size: These are the sizes for the OS-independent 
3111 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3112 debug version of the code includes the debug output trace mechanism and has 
3113 a much larger code and data size.
3114
3115   Previous Release:
3116     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3117     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3118   Current Release:
3119     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3120     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3121
3122
3123 2) iASL Compiler/Disassembler:
3124
3125 Implemented support to allow multiple files to be compiled/disassembled in a 
3126 single invocation. This includes command line wildcard support for both the 
3127 Windows and Unix versions of the compiler. This feature simplifies the 
3128 disassembly and compilation of multiple ACPI tables in a single directory.
3129
3130 ----------------------------------------
3131 08 May 2007. Summary of changes for version 20070508:
3132
3133 1) ACPI CA Core Subsystem:
3134
3135 Implemented a Microsoft compatibility design change for the handling of the 
3136 Notify AML operator. Previously, notify handlers were dispatched and 
3137 executed completely asynchronously in a deferred thread. The new design 
3138 still executes the notify handlers in a different thread, but the original 
3139 thread that executed the Notify() now waits at a synchronization point for 
3140 the notify handler to complete. Some machines depend on a synchronous Notify 
3141 operator in order to operate correctly.
3142
3143 Implemented support to allow Package objects to be passed as method 
3144 arguments to the external AcpiEvaluateObject interface. Previously, this 
3145 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3146 implemented since there were no reserved control methods that required it 
3147 until recently.
3148
3149 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3150 contained invalid non-zero values in reserved fields could cause later 
3151 failures because these fields have meaning in later revisions of the FADT. 
3152 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3153 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3154
3155 Fixed a problem where the Global Lock handle was not properly updated if a 
3156 thread that acquired the Global Lock via executing AML code then attempted 
3157 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3158 Liu.
3159
3160 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3161 could be corrupted if the interrupt being removed was at the head of the 
3162 list. Reported by Linn Crosetto.
3163
3164 Example Code and Data Size: These are the sizes for the OS-independent 
3165 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3166 debug version of the code includes the debug output trace mechanism and has 
3167 a much larger code and data size.
3168
3169   Previous Release:
3170     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3171     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3172   Current Release:
3173     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3174     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3175
3176 ----------------------------------------
3177 20 March 2007. Summary of changes for version 20070320:
3178
3179 1) ACPI CA Core Subsystem:
3180
3181 Implemented a change to the order of interpretation and evaluation of AML 
3182 operand objects within the AML interpreter. The interpreter now evaluates 
3183 operands in the order that they appear in the AML stream (and the 
3184 corresponding ASL code), instead of in the reverse order (after the entire 
3185 operand list has been parsed). The previous behavior caused several subtle 
3186 incompatibilities with the Microsoft AML interpreter as well as being 
3187 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3188
3189 Implemented a change to the ACPI Global Lock support. All interfaces to the 
3190 global lock now allow the same thread to acquire the lock multiple times. 
3191 This affects the AcpiAcquireGlobalLock external interface to the global lock 
3192 as well as the internal use of the global lock to support AML fields -- a 
3193 control method that is holding the global lock can now simultaneously access 
3194 AML fields that require global lock protection. Previously, in both cases, 
3195 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3196 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3197 Controller. There is no change to the behavior of the AML Acquire operator, 
3198 as this can already be used to acquire a mutex multiple times by the same 
3199 thread. BZ 8066. With assistance from Alexey Starikovskiy.
3200
3201 Fixed a problem where invalid objects could be referenced in the AML 
3202 Interpreter after error conditions. During operand evaluation, ensure that 
3203 the internal "Return Object" field is cleared on error and only valid 
3204 pointers are stored there. Caused occasional access to deleted objects that 
3205 resulted in "large reference count" warning messages. Valery Podrezov.
3206
3207 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3208 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3209 Podrezov.
3210
3211 Fixed an internal problem with the handling of result objects on the 
3212 interpreter result stack. BZ 7872. Valery Podrezov.
3213
3214 Removed obsolete code that handled the case where AML_NAME_OP is the target 
3215 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
3216 7874. Valery Podrezov.
3217
3218 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3219 remnant from the previously discontinued 16-bit support.
3220
3221 Example Code and Data Size: These are the sizes for the OS-independent 
3222 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3223 debug version of the code includes the debug output trace mechanism and has 
3224 a much larger code and data size.
3225
3226   Previous Release:
3227     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3228     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3229   Current Release:
3230     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3231     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3232
3233 ----------------------------------------
3234 26 January 2007. Summary of changes for version 20070126:
3235
3236 1) ACPI CA Core Subsystem:
3237
3238 Added the 2007 copyright to all module headers and signons. This affects 
3239 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3240 the utilities.
3241
3242 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3243 during a table load. A bad pointer was passed in the case where the DSDT is 
3244 overridden, causing a fault in this case.
3245
3246 Example Code and Data Size: These are the sizes for the OS-independent 
3247 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3248 debug version of the code includes the debug output trace mechanism and has 
3249 a much larger code and data size.
3250
3251   Previous Release:
3252     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3253     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3254   Current Release:
3255     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3256     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3257
3258 ----------------------------------------
3259 15 December 2006. Summary of changes for version 20061215:
3260
3261 1) ACPI CA Core Subsystem:
3262
3263 Support for 16-bit ACPICA has been completely removed since it is no longer 
3264 necessary and it clutters the code. All 16-bit macros, types, and 
3265 conditional compiles have been removed, cleaning up and simplifying the code 
3266 across the entire subsystem. DOS support is no longer needed since the 
3267 bootable Linux firmware kit is now available.
3268
3269 The handler for the Global Lock is now removed during AcpiTerminate to 
3270 enable a clean subsystem restart, via the implementation of the 
3271 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3272 HP)
3273
3274 Implemented enhancements to the multithreading support within the debugger 
3275 to enable improved multithreading debugging and evaluation of the subsystem. 
3276 (Valery Podrezov)
3277
3278 Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3279 memory used during the execution, as well as the maximum memory consumed by 
3280 each of the various object types. (Valery Podrezov)
3281
3282 Example Code and Data Size: These are the sizes for the OS-independent 
3283 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3284 debug version of the code includes the debug output trace mechanism and has 
3285 a much larger code and data size.
3286
3287   Previous Release:
3288     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3289     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3290   Current Release:
3291     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3292     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3293
3294
3295 2) iASL Compiler/Disassembler and Tools:
3296
3297 AcpiExec: Implemented a new option (-m) to display full memory use 
3298 statistics upon subsystem/program termination. (Valery Podrezov)
3299
3300 ----------------------------------------
3301 09 November 2006. Summary of changes for version 20061109:
3302
3303 1) ACPI CA Core Subsystem:
3304
3305 Optimized the Load ASL operator in the case where the source operand is an 
3306 operation region. Simply map the operation region memory, instead of 
3307 performing a bytewise read. (Region must be of type SystemMemory, see 
3308 below.)
3309
3310 Fixed the Load ASL operator for the case where the source operand is a 
3311 region field. A buffer object is also allowed as the source operand. BZ 480
3312
3313 Fixed a problem where the Load ASL operator allowed the source operand to be 
3314 an operation region of any type. It is now restricted to regions of type 
3315 SystemMemory, as per the ACPI specification. BZ 481
3316
3317 Additional cleanup and optimizations for the new Table Manager code.
3318
3319 AcpiEnable will now fail if all of the required ACPI tables are not loaded 
3320 (FADT, FACS, DSDT). BZ 477
3321
3322 Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3323 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3324 manually optimized to be aligned and will not work if it is byte-packed. 
3325
3326 Example Code and Data Size: These are the sizes for the OS-independent 
3327 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3328 debug version of the code includes the debug output trace mechanism and has 
3329 a much larger code and data size.
3330
3331   Previous Release:
3332     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3333     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3334   Current Release:
3335     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3336     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3337
3338
3339 2) iASL Compiler/Disassembler and Tools:
3340
3341 Fixed a problem where the presence of the _OSI predefined control method 
3342 within complex expressions could cause an internal compiler error.
3343
3344 AcpiExec: Implemented full region support for multiple address spaces. 
3345 SpaceId is now part of the REGION object. BZ 429
3346
3347 ----------------------------------------
3348 11 October 2006. Summary of changes for version 20061011:
3349
3350 1) ACPI CA Core Subsystem:
3351
3352 Completed an AML interpreter performance enhancement for control method 
3353 execution. Previously a 2-pass parse/execution, control methods are now 
3354 completely parsed and executed in a single pass. This improves overall 
3355 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
3356 use. (Valery Podrezov + interpreter changes in version 20051202 that 
3357 eliminated namespace loading during the pass one parse.)
3358
3359 Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
3360 match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3361 obtained and also checked for an ID match.
3362
3363 Implemented additional support for the PCI _ADR execution: upsearch until a 
3364 device scope is found before executing _ADR. This allows PCI_Config 
3365 operation regions to be declared locally within control methods underneath 
3366 PCI device objects.
3367
3368 Fixed a problem with a possible race condition between threads executing 
3369 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
3370 modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3371 entries created during any concurrent control method execution. An 
3372 additional namespace race condition is known to exist between 
3373 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3374 investigation.
3375
3376 Restructured the AML ParseLoop function, breaking it into several 
3377 subfunctions in order to reduce CPU stack use and improve maintainability. 
3378 (Mikhail Kouzmich)
3379
3380 AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3381 of prefix handle and pathname. BZ 478
3382
3383 Example Code and Data Size: These are the sizes for the OS-independent 
3384 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3385 debug version of the code includes the debug output trace mechanism and has 
3386 a much larger code and data size.
3387
3388   Previous Release:
3389     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3390     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3391   Current Release:
3392     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3393     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3394
3395 2) iASL Compiler/Disassembler and Tools:
3396
3397 Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3398 to restore original behavior.
3399
3400 ----------------------------------------
3401 27 September 2006. Summary of changes for version 20060927:
3402
3403 1) ACPI CA Core Subsystem:
3404
3405 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3406 These functions now use a spinlock for mutual exclusion and the interrupt 
3407 level indication flag is not needed.
3408
3409 Fixed a problem with the Global Lock where the lock could appear to be 
3410 obtained before it is actually obtained. The global lock semaphore was 
3411 inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3412 Suietov.
3413
3414 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3415 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3416
3417 Example Code and Data Size: These are the sizes for the OS-independent 
3418 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3419 debug version of the code includes the debug output trace mechanism and has 
3420 a much larger code and data size.
3421
3422   Previous Release:
3423     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3424     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3425   Current Release:
3426     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3427     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3428
3429
3430 2) iASL Compiler/Disassembler and Tools:
3431
3432 Fixed a compilation problem with the pre-defined Resource Descriptor field 
3433 names where an "object does not exist" error could be incorrectly generated 
3434 if the parent ResourceTemplate pathname places the template within a 
3435 different namespace scope than the current scope. (BZ 7212)
3436
3437 Fixed a problem where the compiler could hang after syntax errors detected 
3438 in an ElseIf construct. (BZ 453)
3439
3440 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3441 operator. An incorrect output filename was produced when this parameter was 
3442 a null string (""). Now, the original input filename is used as the AML 
3443 output filename, with an ".aml" extension.
3444
3445 Implemented a generic batch command mode for the AcpiExec utility (execute 
3446 any AML debugger command) (Valery Podrezov).
3447
3448 ----------------------------------------
3449 12 September 2006. Summary of changes for version 20060912:
3450
3451 1) ACPI CA Core Subsystem:
3452
3453 Enhanced the implementation of the "serialized mode" of the interpreter 
3454 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3455 specified, instead of creating a serialization semaphore per control method, 
3456 the interpreter lock is simply no longer released before a blocking 
3457 operation during control method execution. This effectively makes the AML 
3458 Interpreter single-threaded. The overhead of a semaphore per-method is 
3459 eliminated.
3460
3461 Fixed a regression where an error was no longer emitted if a control method 
3462 attempts to create 2 objects of the same name. This once again returns 
3463 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3464 will dynamically serialize the control method to possible prevent future 
3465 errors. (BZ 440)
3466
3467 Integrated a fix for a problem with PCI Express HID detection in the PCI 
3468 Config Space setup procedure. (BZ 7145)
3469
3470 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3471 AcpiHwInitialize function - the FADT registers are now validated when the 
3472 table is loaded.
3473
3474 Added two new warnings during FADT verification - 1) if the FADT is larger 
3475 than the largest known FADT version, and 2) if there is a mismatch between a 
3476 32-bit block address and the 64-bit X counterpart (when both are non-zero.)
3477
3478 Example Code and Data Size: These are the sizes for the OS-independent 
3479 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3480 debug version of the code includes the debug output trace mechanism and has 
3481 a much larger code and data size.
3482
3483   Previous Release:
3484     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3485     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3486   Current Release:
3487     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3488     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3489
3490
3491 2) iASL Compiler/Disassembler and Tools:
3492
3493 Fixed a problem with the implementation of the Switch() operator where the 
3494 temporary variable was declared too close to the actual Switch, instead of 
3495 at method level. This could cause a problem if the Switch() operator is 
3496 within a while loop, causing an error on the second iteration. (BZ 460)
3497
3498 Disassembler - fix for error emitted for unknown type for target of scope 
3499 operator. Now, ignore it and continue.
3500
3501 Disassembly of an FADT now verifies the input FADT and reports any errors 
3502 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3503
3504 Disassembly of raw data buffers with byte initialization data now prefixes 
3505 each output line with the current buffer offset.
3506
3507 Disassembly of ASF! table now includes all variable-length data fields at 
3508 the end of some of the subtables.
3509
3510 The disassembler now emits a comment if a buffer appears to be a 
3511 ResourceTemplate, but cannot be disassembled as such because the EndTag does 
3512 not appear at the very end of the buffer.
3513
3514 AcpiExec - Added the "-t" command line option to enable the serialized mode 
3515 of the AML interpreter.
3516
3517 ----------------------------------------
3518 31 August 2006. Summary of changes for version 20060831:
3519
3520 1) ACPI CA Core Subsystem:
3521
3522 Miscellaneous fixes for the Table Manager:
3523 - Correctly initialize internal common FADT for all 64-bit "X" fields
3524 - Fixed a couple table mapping issues during table load
3525 - Fixed a couple alignment issues for IA64
3526 - Initialize input array to zero in AcpiInitializeTables
3527 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3528 AcpiGetTableByIndex
3529
3530 Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3531 immediately disabled to prevent the waking GPE from firing again and to 
3532 prevent other wake GPEs from interrupting the wake process.
3533
3534 Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
3535 be used for debugging systems with a large number of ACPI interrupts.
3536
3537 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3538 both the ACPICA headers and the disassembler.
3539
3540 Example Code and Data Size: These are the sizes for the OS-independent 
3541 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3542 debug version of the code includes the debug output trace mechanism and has 
3543 a much larger code and data size.
3544
3545   Previous Release:
3546     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3547     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3548   Current Release:
3549     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3550     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3551
3552
3553 2) iASL Compiler/Disassembler and Tools:
3554
3555 Disassembler support for the DMAR ACPI table.
3556
3557 ----------------------------------------
3558 23 August 2006. Summary of changes for version 20060823:
3559
3560 1) ACPI CA Core Subsystem:
3561
3562 The Table Manager component has been completely redesigned and 
3563 reimplemented. The new design is much simpler, and reduces the overall code 
3564 and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3565 now possible to obtain the ACPI tables very early during kernel 
3566 initialization, even before dynamic memory management is initialized. 
3567 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3568
3569 Obsolete ACPICA interfaces:
3570
3571 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3572 time).
3573 - AcpiLoadTable: Not needed.
3574 - AcpiUnloadTable: Not needed.
3575
3576 New ACPICA interfaces:
3577
3578 - AcpiInitializeTables: Must be called before the table manager can be used.
3579 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3580 allocated memory after it becomes available.
3581 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
3582 in the RSDT/XSDT.
3583
3584 Other ACPICA changes:
3585
3586 - AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
3587 AcpiOsUnmapMemory to free this mapping.
3588 - AcpiGetTable returns the actual mapped table. The mapping is managed 
3589 internally and must not be deleted by the caller. Use of this interface 
3590 causes no additional dynamic memory allocation.
3591 - AcpiFindRootPointer: Support for physical addressing has been eliminated, 
3592 it appeared to be unused.
3593 - The interface to AcpiOsMapMemory has changed to be consistent with the 
3594 other allocation interfaces.
3595 - The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
3596 parameters.
3597 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
3598 bit platforms. Was previously 64 bits on all platforms.
3599 - The interface to the ACPI Global Lock acquire/release macros have changed 
3600 slightly since ACPICA no longer keeps a local copy of the FACS with a 
3601 constructed pointer to the actual global lock.
3602
3603 Porting to the new table manager:
3604
3605 - AcpiInitializeTables: Must be called once, and can be called anytime 
3606 during the OS initialization process. It allows the host to specify an area 
3607 of memory to be used to store the internal version of the RSDT/XSDT (root 
3608 table). This allows the host to access ACPI tables before memory management 
3609 is initialized and running.
3610 - AcpiReallocateRootTable: Can be called after memory management is running 
3611 to copy the root table to a dynamically allocated array, freeing up the 
3612 scratch memory specified in the call to AcpiInitializeTables.
3613 - AcpiSubsystemInitialize: This existing interface is independent of the 
3614 Table Manager, and does not have to be called before the Table Manager can 
3615 be used, it only must be called before the rest of ACPICA can be used.
3616 - ACPI Tables: Some changes have been made to the names and structure of the 
3617 actbl.h and actbl1.h header files and may require changes to existing code. 
3618 For example, bitfields have been completely removed because of their lack of 
3619 portability across C compilers.
3620 - Update interfaces to the Global Lock acquire/release macros if local 
3621 versions are used. (see acwin.h)
3622
3623 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3624
3625 New files: tbfind.c
3626
3627 Example Code and Data Size: These are the sizes for the OS-independent 
3628 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3629 debug version of the code includes the debug output trace mechanism and has 
3630 a much larger code and data size.
3631
3632   Previous Release:
3633     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3634     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3635   Current Release:
3636     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3637     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3638
3639
3640 2) iASL Compiler/Disassembler and Tools:
3641
3642 No changes for this release.
3643
3644 ----------------------------------------
3645 21 July 2006. Summary of changes for version 20060721:
3646
3647 1) ACPI CA Core Subsystem:
3648
3649 The full source code for the ASL test suite used to validate the iASL 
3650 compiler and the ACPICA core subsystem is being released with the ACPICA 
3651 source for the first time. The source is contained in a separate package and 
3652 consists of over 1100 files that exercise all ASL/AML operators. The package 
3653 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
3654 Suietov)
3655
3656 Completed a new design and implementation for support of the ACPI Global 
3657 Lock. On the OS side, the global lock is now treated as a standard AML 
3658 mutex. Previously, multiple OS threads could "acquire" the global lock 
3659 simultaneously. However, this could cause the BIOS to be starved out of the 
3660 lock - especially in cases such as the Embedded Controller driver where 
3661 there is a tight coupling between the OS and the BIOS.
3662
3663 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
3664 The Global Lock interrupt handler no longer queues the execution of a 
3665 separate thread to signal the global lock semaphore. Instead, the semaphore 
3666 is signaled directly from the interrupt handler.
3667
3668 Implemented support within the AML interpreter for package objects that 
3669 contain a larger AML length (package list length) than the package element 
3670 count. In this case, the length of the package is truncated to match the 
3671 package element count. Some BIOS code apparently modifies the package length 
3672 on the fly, and this change supports this behavior. Provides compatibility 
3673 with the MS AML interpreter. (With assistance from Fiodor Suietov)
3674
3675 Implemented a temporary fix for the BankValue parameter of a Bank Field to 
3676 support all constant values, now including the Zero and One opcodes. 
3677 Evaluation of this parameter must eventually be converted to a full TermArg 
3678 evaluation. A not-implemented error is now returned (temporarily) for non-
3679 constant values for this parameter.
3680
3681 Fixed problem reports (Fiodor Suietov) integrated:
3682 - Fix for premature object deletion after CopyObject on Operation Region (BZ 
3683 350)
3684
3685 Example Code and Data Size: These are the sizes for the OS-independent 
3686 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3687 debug version of the code includes the debug output trace mechanism and has 
3688 a much larger code and data size.
3689
3690   Previous Release:
3691     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
3692     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
3693   Current Release:
3694     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3695     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3696
3697
3698 2) iASL Compiler/Disassembler and Tools:
3699
3700 No changes for this release.
3701
3702 ----------------------------------------
3703 07 July 2006. Summary of changes for version 20060707:
3704
3705 1) ACPI CA Core Subsystem:
3706
3707 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
3708 that do not allow the initialization of address pointers within packed 
3709 structures - even though the hardware itself may support misaligned 
3710 transfers. Some of the debug data structures are packed by default to 
3711 minimize size.
3712
3713 Added an error message for the case where AcpiOsGetThreadId() returns zero. 
3714 A non-zero value is required by the core ACPICA code to ensure the proper 
3715 operation of AML mutexes and recursive control methods.
3716
3717 The DSDT is now the only ACPI table that determines whether the AML 
3718 interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
3719 the hooks for per-table 32/64 switching have been removed from the code. A 
3720 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
3721
3722 Fixed a possible leak of an OwnerID in the error path of 
3723 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
3724 deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
3725 when using the AcpiTbDeleteTablesByType interface (with assistance from 
3726 Lance Ortiz.)
3727
3728 Fixed a problem with Serialized control methods where the semaphore 
3729 associated with the method could be over-signaled after multiple method 
3730 invocations.
3731
3732 Fixed two issues with the locking of the internal namespace data structure. 
3733 Both the Unload() operator and AcpiUnloadTable interface now lock the 
3734 namespace during the namespace deletion associated with the table unload 
3735 (with assistance from Linn Crosetto.)
3736
3737 Fixed problem reports (Valery Podrezov) integrated:
3738 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3739
3740 Fixed problem reports (Fiodor Suietov) integrated:
3741 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3742 - On Address Space handler deletion, needless deactivation call (BZ 374)
3743 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3744 - Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
3745 (BZ 376)
3746 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3747 - Minimum Length of RSDT should be validated (BZ 379)
3748 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
3749 Handler (BZ (380)
3750 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
3751 (BZ 381)
3752
3753 Example Code and Data Size: These are the sizes for the OS-independent 
3754 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3755 debug version of the code includes the debug output trace mechanism and has 
3756 a much larger code and data size.
3757
3758   Previous Release:
3759     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3760     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3761   Current Release:
3762     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3763     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3764
3765
3766 2) iASL Compiler/Disassembler and Tools:
3767
3768 Fixed problem reports:
3769 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
3770 436)
3771
3772 ----------------------------------------
3773 23 June 2006. Summary of changes for version 20060623:
3774
3775 1) ACPI CA Core Subsystem:
3776
3777 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
3778 allows the type to be customized to the host OS for improved efficiency 
3779 (since a spinlock is usually a very small object.)
3780
3781 Implemented support for "ignored" bits in the ACPI registers. According to 
3782 the ACPI specification, these bits should be preserved when writing the 
3783 registers via a read/modify/write cycle. There are 3 bits preserved in this 
3784 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3785
3786 Implemented the initial deployment of new OSL mutex interfaces. Since some 
3787 host operating systems have separate mutex and semaphore objects, this 
3788 feature was requested. The base code now uses mutexes (and the new mutex 
3789 interfaces) wherever a binary semaphore was used previously. However, for 
3790 the current release, the mutex interfaces are defined as macros to map them 
3791 to the existing semaphore interfaces. Therefore, no OSL changes are required 
3792 at this time. (See acpiosxf.h)
3793
3794 Fixed several problems with the support for the control method SyncLevel 
3795 parameter. The SyncLevel now works according to the ACPI specification and 
3796 in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
3797 is a property of the executing thread. Mutual exclusion for control methods 
3798 is now implemented with a mutex instead of a semaphore.
3799
3800 Fixed three instances of the use of the C shift operator in the bitfield 
3801 support code (exfldio.c) to avoid the use of a shift value larger than the 
3802 target data width. The behavior of C compilers is undefined in this case and 
3803 can cause unpredictable results, and therefore the case must be detected and 
3804 avoided. (Fiodor Suietov)
3805
3806 Added an info message whenever an SSDT or OEM table is loaded dynamically 
3807 via the Load() or LoadTable() ASL operators. This should improve debugging 
3808 capability since it will show exactly what tables have been loaded (beyond 
3809 the tables present in the RSDT/XSDT.)
3810
3811 Example Code and Data Size: These are the sizes for the OS-independent 
3812 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3813 debug version of the code includes the debug output trace mechanism and has 
3814 a much larger code and data size.
3815
3816   Previous Release:
3817     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3818     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3819   Current Release:
3820     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3821     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3822
3823
3824 2) iASL Compiler/Disassembler and Tools:
3825
3826 No changes for this release.
3827
3828 ----------------------------------------
3829 08 June 2006. Summary of changes for version 20060608:
3830
3831 1) ACPI CA Core Subsystem:
3832
3833 Converted the locking mutex used for the ACPI hardware to a spinlock. This 
3834 change should eliminate all problems caused by attempting to acquire a 
3835 semaphore at interrupt level, and it means that all ACPICA external 
3836 interfaces that directly access the ACPI hardware can be safely called from 
3837 interrupt level. OSL code that implements the semaphore interfaces should be 
3838 able to eliminate any workarounds for being called at interrupt level.
3839
3840 Fixed a regression introduced in 20060526 where the ACPI device 
3841 initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
3842 did not have an optional _INI method.
3843
3844 Fixed an IndexField issue where a write to the Data Register should be 
3845 limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
3846 Fiodor Suietov)
3847
3848 Fixed problem reports (Valery Podrezov) integrated:
3849 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3850
3851 Fixed problem reports (Fiodor Suietov) integrated:
3852 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3853
3854 Removed four global mutexes that were obsolete and were no longer being 
3855 used.
3856
3857 Example Code and Data Size: These are the sizes for the OS-independent 
3858 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3859 debug version of the code includes the debug output trace mechanism and has 
3860 a much larger code and data size.
3861
3862   Previous Release:
3863     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3864     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3865   Current Release:
3866     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3867     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3868
3869
3870 2) iASL Compiler/Disassembler and Tools:
3871
3872 Fixed a fault when using -g option (get tables from registry) on Windows 
3873 machines.
3874
3875 Fixed problem reports integrated:
3876 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
3877 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
3878 Suietov)
3879 - Global table revision override (-r) is ignored (BZ 413)
3880
3881 ----------------------------------------
3882 26 May 2006. Summary of changes for version 20060526:
3883
3884 1) ACPI CA Core Subsystem:
3885
3886 Restructured, flattened, and simplified the internal interfaces for 
3887 namespace object evaluation - resulting in smaller code, less CPU stack use, 
3888 and fewer interfaces. (With assistance from Mikhail Kouzmich)
3889
3890 Fixed a problem with the CopyObject operator where the first parameter was 
3891 not typed correctly for the parser, interpreter, compiler, and disassembler. 
3892 Caused various errors and unexpected behavior.
3893
3894 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
3895 produced incorrect results with some C compilers. Since the behavior of C 
3896 compilers when the shift value is larger than the datatype width is 
3897 apparently not well defined, the interpreter now detects this condition and 
3898 simply returns zero as expected in all such cases. (BZ 395)
3899
3900 Fixed problem reports (Valery Podrezov) integrated:
3901 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3902 - Allow interpreter to handle nested method declarations (BZ 5361)
3903
3904 Fixed problem reports (Fiodor Suietov) integrated:
3905 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3906 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3907 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3908 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3909 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3910 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3911 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3912 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3913 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3914 - Status of the Global Initialization Handler call not used (BZ 366)
3915 - Incorrect object parameter to Global Initialization Handler (BZ 367)
3916
3917 Example Code and Data Size: These are the sizes for the OS-independent 
3918 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3919 debug version of the code includes the debug output trace mechanism and has 
3920 a much larger code and data size.
3921
3922   Previous Release:
3923     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3924     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3925   Current Release:
3926     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3927     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3928
3929
3930 2) iASL Compiler/Disassembler and Tools:
3931
3932 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
3933 namespace identifiers with no collision with existing resource descriptor 
3934 macro names. This provides compatibility with other ASL compilers and is 
3935 most useful for disassembly/recompilation of existing tables without parse 
3936 errors. (With assistance from Thomas Renninger)
3937
3938 Disassembler: fixed an incorrect disassembly problem with the 
3939 DataTableRegion and CopyObject operators. Fixed a possible fault during 
3940 disassembly of some Alias operators.
3941
3942 ----------------------------------------
3943 12 May 2006. Summary of changes for version 20060512:
3944
3945 1) ACPI CA Core Subsystem:
3946
3947 Replaced the AcpiOsQueueForExecution interface with a new interface named 
3948 AcpiOsExecute. The major difference is that the new interface does not have 
3949 a Priority parameter, this appeared to be useless and has been replaced by a 
3950 Type parameter. The Type tells the host what type of execution is being 
3951 requested, such as global lock handler, notify handler, GPE handler, etc. 
3952 This allows the host to queue and execute the request as appropriate for the 
3953 request type, possibly using different work queues and different priorities 
3954 for the various request types. This enables fixes for multithreading 
3955 deadlock problems such as BZ #5534, and will require changes to all existing 
3956 OS interface layers. (Alexey Starikovskiy and Bob Moore)
3957
3958 Fixed a possible memory leak associated with the support for the so-called 
3959 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
3960 Suietov)
3961
3962 Fixed a problem with the Load() operator where a table load from an 
3963 operation region could overwrite an internal table buffer by up to 7 bytes 
3964 and cause alignment faults on IPF systems. (With assistance from Luming Yu)
3965
3966 Example Code and Data Size: These are the sizes for the OS-independent 
3967 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3968 debug version of the code includes the debug output trace mechanism and has 
3969 a much larger code and data size.
3970
3971   Previous Release:
3972     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3973     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3974   Current Release:
3975     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3976     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3977
3978
3979
3980 2) iASL Compiler/Disassembler and Tools:
3981
3982 Disassembler: Implemented support to cross reference the internal namespace 
3983 and automatically generate ASL External() statements for symbols not defined 
3984 within the current table being disassembled. This will simplify the 
3985 disassembly and recompilation of interdependent tables such as SSDTs since 
3986 these statements will no longer have to be added manually.
3987
3988 Disassembler: Implemented experimental support to automatically detect 
3989 invocations of external control methods and generate appropriate External() 
3990 statements. This is problematic because the AML cannot be correctly parsed 
3991 until the number of arguments for each control method is known. Currently, 
3992 standalone method invocations and invocations as the source operand of a 
3993 Store() statement are supported.
3994
3995 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
3996 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
3997 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
3998 more readable and likely closer to the original ASL source.
3999
4000 ----------------------------------------
4001 21 April 2006. Summary of changes for version 20060421:
4002
4003 1) ACPI CA Core Subsystem:
4004
4005 Removed a device initialization optimization introduced in 20051216 where 
4006 the _STA method was not run unless an _INI was also present for the same 
4007 device. This optimization could cause problems because it could allow _INI 
4008 methods to be run within a not-present device subtree. (If a not-present 
4009 device had no _INI, _STA would not be run, the not-present status would not 
4010 be discovered, and the children of the device would be incorrectly 
4011 traversed.)
4012
4013 Implemented a new _STA optimization where namespace subtrees that do not 
4014 contain _INI are identified and ignored during device initialization. 
4015 Selectively running _STA can significantly improve boot time on large 
4016 machines (with assistance from Len Brown.)
4017
4018 Implemented support for the device initialization case where the returned 
4019 _STA flags indicate a device not-present but functioning. In this case, _INI 
4020 is not run, but the device children are examined for presence, as per the 
4021 ACPI specification.
4022
4023 Implemented an additional change to the IndexField support in order to 
4024 conform to MS behavior. The value written to the Index Register is not 
4025 simply a byte offset, it is a byte offset in units of the access width of 
4026 the parent Index Field. (Fiodor Suietov)
4027
4028 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4029 interface is called during the creation of all AML operation regions, and 
4030 allows the host OS to exert control over what addresses it will allow the 
4031 AML code to access. Operation Regions whose addresses are disallowed will 
4032 cause a runtime exception when they are actually accessed (will not affect 
4033 or abort table loading.) See oswinxf or osunixxf for an example 
4034 implementation.
4035
4036 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4037 interface allows the host OS to match the various "optional" 
4038 interface/behavior strings for the _OSI predefined control method as 
4039 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4040 for an example implementation.
4041
4042 Restructured and corrected various problems in the exception handling code 
4043 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4044 (with assistance from Takayoshi Kochi.)
4045
4046 Modified the Linux source converter to ignore quoted string literals while 
4047 converting identifiers from mixed to lower case. This will correct problems 
4048 with the disassembler and other areas where such strings must not be 
4049 modified.
4050
4051 The ACPI_FUNCTION_* macros no longer require quotes around the function 
4052 name. This allows the Linux source converter to convert the names, now that 
4053 the converter ignores quoted strings.
4054
4055 Example Code and Data Size: These are the sizes for the OS-independent 
4056 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4057 debug version of the code includes the debug output trace mechanism and has 
4058 a much larger code and data size.
4059
4060   Previous Release:
4061
4062     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4063     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4064   Current Release:
4065     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4066     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4067
4068
4069 2) iASL Compiler/Disassembler and Tools:
4070
4071 Implemented 3 new warnings for iASL, and implemented multiple warning levels 
4072 (w2 flag).
4073
4074 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4075 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4076 check for the possible timeout, a warning is issued.
4077
4078 2) Useless operators: If an ASL operator does not specify an optional target 
4079 operand and it also does not use the function return value from the 
4080 operator, a warning is issued since the operator effectively does nothing.
4081
4082 3) Unreferenced objects: If a namespace object is created, but never 
4083 referenced, a warning is issued. This is a warning level 2 since there are 
4084 cases where this is ok, such as when a secondary table is loaded that uses 
4085 the unreferenced objects. Even so, care is taken to only flag objects that 
4086 don't look like they will ever be used. For example, the reserved methods 
4087 (starting with an underscore) are usually not referenced because it is 
4088 expected that the OS will invoke them.
4089
4090 ----------------------------------------
4091 31 March 2006. Summary of changes for version 20060331:
4092
4093 1) ACPI CA Core Subsystem:
4094
4095 Implemented header file support for the following additional ACPI tables: 
4096 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4097 all current and known ACPI tables are now defined in the ACPICA headers and 
4098 are available for use by device drivers and other software.
4099
4100 Implemented support to allow tables that contain ACPI names with invalid 
4101 characters to be loaded. Previously, this would cause the table load to 
4102 fail, but since there are several known cases of such tables on existing 
4103 machines, this change was made to enable ACPI support for them. Also, this 
4104 matches the behavior of the Microsoft ACPI implementation.
4105
4106 Fixed a couple regressions introduced during the memory optimization in the 
4107 20060317 release. The namespace node definition required additional 
4108 reorganization and an internal datatype that had been changed to 8-bit was 
4109 restored to 32-bit. (Valery Podrezov)
4110
4111 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4112 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
4113 null pointers are now trapped and ignored, matching the behavior of the 
4114 previous implementation before the deployment of AcpiOsReleaseObject.
4115 (Valery Podrezov, Fiodor Suietov)
4116
4117 Fixed a memory mapping leak during the deletion of a SystemMemory operation 
4118 region where a cached memory mapping was not deleted. This became a 
4119 noticeable problem for operation regions that are defined within frequently 
4120 used control methods. (Dana Meyers)
4121
4122 Reorganized the ACPI table header files into two main files: one for the 
4123 ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4124 ACPI tables that are consumed by the drivers and other software. The various 
4125 FADT definitions were merged into one common section and three different 
4126 tables (ACPI 1.0, 1.0+, and 2.0)
4127
4128 Example Code and Data Size: These are the sizes for the OS-independent 
4129 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4130 debug version of the code includes the debug output trace mechanism and has 
4131 a much larger code and data size.
4132
4133   Previous Release:
4134     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4135     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4136   Current Release:
4137     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4138     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4139
4140
4141 2) iASL Compiler/Disassembler and Tools:
4142
4143 Disassembler: Implemented support to decode and format all non-AML ACPI 
4144 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
4145 added to the ACPICA headers, therefore all current and known ACPI tables are 
4146 supported.
4147
4148 Disassembler: The change to allow ACPI names with invalid characters also 
4149 enables the disassembly of such tables. Invalid characters within names are 
4150 changed to '*' to make the name printable; the iASL compiler will still 
4151 generate an error for such names, however, since this is an invalid ACPI 
4152 character.
4153
4154 Implemented an option for AcpiXtract (-a) to extract all tables found in the 
4155 input file. The default invocation extracts only the DSDTs and SSDTs.
4156
4157 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4158 makefile for the AcpiXtract utility.
4159
4160 ----------------------------------------
4161 17 March 2006. Summary of changes for version 20060317:
4162
4163 1) ACPI CA Core Subsystem:
4164
4165 Implemented the use of a cache object for all internal namespace nodes. 
4166 Since there are about 1000 static nodes in a typical system, this will 
4167 decrease memory use for cache implementations that minimize per-allocation 
4168 overhead (such as a slab allocator.)
4169
4170 Removed the reference count mechanism for internal namespace nodes, since it 
4171 was deemed unnecessary. This reduces the size of each namespace node by 
4172 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4173 and 32 bytes for the 64-bit case.
4174
4175 Optimized several internal data structures to reduce object size on 64-bit 
4176 platforms by packing data within the 64-bit alignment. This includes the 
4177 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4178 instances corresponding to the namespace objects.
4179
4180 Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4181 and "Windows 2006".
4182
4183 Split the allocation tracking mechanism out to a separate file, from 
4184 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
4185 application-level code. Kernels may wish to not include uttrack.c in 
4186 distributions.
4187
4188 Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4189 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4190 macros.)
4191
4192 Code and Data Size: These are the sizes for the acpica.lib produced by the 
4193 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4194 driver or OSPM code. The debug version of the code includes the debug output 
4195 trace mechanism and has a much larger code and data size. Note that these 
4196 values will vary depending on the efficiency of the compiler and the 
4197 compiler options used during generation.
4198
4199   Previous Release:
4200     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4201     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4202   Current Release:
4203     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4204     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4205
4206
4207 2) iASL Compiler/Disassembler and Tools:
4208
4209 Implemented an ANSI C version of the acpixtract utility. This version will 
4210 automatically extract the DSDT and all SSDTs from the input acpidump text 
4211 file and dump the binary output to separate files. It can also display a 
4212 summary of the input file including the headers for each table found and 
4213 will extract any single ACPI table, with any signature. (See 
4214 source/tools/acpixtract)
4215
4216 ----------------------------------------
4217 10 March 2006. Summary of changes for version 20060310:
4218
4219 1) ACPI CA Core Subsystem:
4220
4221 Tagged all external interfaces to the subsystem with the new 
4222 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4223 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4224 macro. The default definition is NULL.
4225
4226 Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4227 This allows the host to define this as necessary to simplify kernel 
4228 integration. The default definition is ACPI_NATIVE_UINT.
4229
4230 Fixed two interpreter problems related to error processing, the deletion of 
4231 objects, and placing invalid pointers onto the internal operator result 
4232 stack. BZ 6028, 6151 (Valery Podrezov)
4233
4234 Increased the reference count threshold where a warning is emitted for large 
4235 reference counts in order to eliminate unnecessary warnings on systems with 
4236 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
4237 0x800.
4238
4239 Due to universal disagreement as to the meaning of the 'c' in the calloc() 
4240 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
4241 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4242 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4243 ACPI_FREE.
4244
4245 Code and Data Size: These are the sizes for the acpica.lib produced by the 
4246 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4247 driver or OSPM code. The debug version of the code includes the debug output 
4248 trace mechanism and has a much larger code and data size. Note that these 
4249 values will vary depending on the efficiency of the compiler and the 
4250 compiler options used during generation.
4251
4252   Previous Release:
4253     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4254     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4255   Current Release:
4256     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4257     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4258
4259
4260 2) iASL Compiler/Disassembler:
4261
4262 Disassembler: implemented support for symbolic resource descriptor 
4263 references. If a CreateXxxxField operator references a fixed offset within a 
4264 resource descriptor, a name is assigned to the descriptor and the offset is 
4265 translated to the appropriate resource tag and pathname. The addition of 
4266 this support brings the disassembled code very close to the original ASL 
4267 source code and helps eliminate run-time errors when the disassembled code 
4268 is modified (and recompiled) in such a way as to invalidate the original 
4269 fixed offsets.
4270
4271 Implemented support for a Descriptor Name as the last parameter to the ASL 
4272 Register() macro. This parameter was inadvertently left out of the ACPI 
4273 specification, and will be added for ACPI 3.0b.
4274
4275 Fixed a problem where the use of the "_OSI" string (versus the full path 
4276 "\_OSI") caused an internal compiler error. ("No back ptr to op")
4277
4278 Fixed a problem with the error message that occurs when an invalid string is 
4279 used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4280 The correct message is now displayed.
4281
4282 ----------------------------------------
4283 17 February 2006. Summary of changes for version 20060217:
4284
4285 1) ACPI CA Core Subsystem:
4286
4287 Implemented a change to the IndexField support to match the behavior of the 
4288 Microsoft AML interpreter. The value written to the Index register is now a 
4289 byte offset, no longer an index based upon the width of the Data register. 
4290 This should fix IndexField problems seen on some machines where the Data 
4291 register is not exactly one byte wide. The ACPI specification will be 
4292 clarified on this point.
4293
4294 Fixed a problem where several resource descriptor types could overrun the 
4295 internal descriptor buffer due to size miscalculation: VendorShort, 
4296 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4297 affect all platforms.
4298
4299 Fixed a problem where individual resource descriptors were misaligned within 
4300 the internal buffer, causing alignment faults on IA64 platforms.
4301
4302 Code and Data Size: These are the sizes for the acpica.lib produced by the 
4303 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4304 driver or OSPM code. The debug version of the code includes the debug output 
4305 trace mechanism and has a much larger code and data size. Note that these 
4306 values will vary depending on the efficiency of the compiler and the 
4307 compiler options used during generation.
4308
4309   Previous Release:
4310     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4311     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4312   Current Release:
4313     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4314     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4315
4316
4317 2) iASL Compiler/Disassembler:
4318
4319 Implemented support for new reserved names: _WDG and _WED are Microsoft 
4320 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4321 defined method (Throttling Depth Limit.)
4322
4323 Fixed a problem where a zero-length VendorShort or VendorLong resource 
4324 descriptor was incorrectly emitted as a descriptor of length one.
4325
4326 ----------------------------------------
4327 10 February 2006. Summary of changes for version 20060210:
4328
4329 1) ACPI CA Core Subsystem:
4330
4331 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
4332 normal execution. These became apparent after the conversion from 
4333 ACPI_DEBUG_PRINT.
4334
4335 Fixed a problem where the CreateField operator could hang if the BitIndex or 
4336 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4337
4338 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
4339 failed with an exception. This also fixes a couple of related RefOf and 
4340 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4341
4342 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4343 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
4344 5480)
4345
4346 Implemented a memory cleanup at the end of the execution of each iteration 
4347 of an AML While() loop, preventing the accumulation of outstanding objects. 
4348 (Valery Podrezov, BZ 5427)
4349
4350 Eliminated a chunk of duplicate code in the object resolution code. (Valery 
4351 Podrezov, BZ 5336)
4352
4353 Fixed several warnings during the 64-bit code generation.
4354
4355 The AcpiSrc source code conversion tool now inserts one line of whitespace 
4356 after an if() statement that is followed immediately by a comment, improving 
4357 readability of the Linux code.
4358
4359 Code and Data Size: The current and previous library sizes for the core 
4360 subsystem are shown below. These are the code and data sizes for the 
4361 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4362 values do not include any ACPI driver or OSPM code. The debug version of the 
4363 code includes the debug output trace mechanism and has a much larger code 
4364 and data size. Note that these values will vary depending on the efficiency 
4365 of the compiler and the compiler options used during generation.
4366
4367   Previous Release:
4368     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4369     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4370   Current Release:
4371     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4372     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4373
4374
4375 2) iASL Compiler/Disassembler:
4376
4377 Fixed a problem with the disassembly of a BankField operator with a complex 
4378 expression for the BankValue parameter.
4379
4380 ----------------------------------------
4381 27 January 2006. Summary of changes for version 20060127:
4382
4383 1) ACPI CA Core Subsystem:
4384
4385 Implemented support in the Resource Manager to allow unresolved namestring 
4386 references within resource package objects for the _PRT method. This support 
4387 is in addition to the previously implemented unresolved reference support 
4388 within the AML parser. If the interpreter slack mode is enabled, these 
4389 unresolved references will be passed through to the caller as a NULL package 
4390 entry.
4391
4392 Implemented and deployed new macros and functions for error and warning 
4393 messages across the subsystem. These macros are simpler and generate less 
4394 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4395 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4396 macros remain defined to allow ACPI drivers time to migrate to the new 
4397 macros.
4398
4399 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4400 Acquire/Release Lock OSL interfaces.
4401
4402 Fixed a problem where Alias ASL operators are sometimes not correctly 
4403 resolved, in both the interpreter and the iASL compiler.
4404
4405 Fixed several problems with the implementation of the ConcatenateResTemplate 
4406 ASL operator. As per the ACPI specification, zero length buffers are now 
4407 treated as a single EndTag. One-length buffers always cause a fatal 
4408 exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4409 cause a fatal exception.
4410
4411 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
4412 interface. (With assistance from Thomas Renninger)
4413
4414 Code and Data Size: The current and previous library sizes for the core 
4415 subsystem are shown below. These are the code and data sizes for the 
4416 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4417 values do not include any ACPI driver or OSPM code. The debug version of the 
4418 code includes the debug output trace mechanism and has a much larger code 
4419 and data size. Note that these values will vary depending on the efficiency 
4420 of the compiler and the compiler options used during generation.
4421
4422   Previous Release:
4423     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4424     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4425   Current Release:
4426     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4427     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4428
4429
4430 2) iASL Compiler/Disassembler:
4431
4432 Fixed an internal error that was generated for any forward references to ASL 
4433 Alias objects.
4434
4435 ----------------------------------------
4436 13 January 2006. Summary of changes for version 20060113:
4437
4438 1) ACPI CA Core Subsystem:
4439
4440 Added 2006 copyright to all module headers and signons. This affects 
4441 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
4442 utilities.
4443  
4444 Enhanced the ACPICA error reporting in order to simplify user migration to 
4445 the non-debug version of ACPICA. Replaced all instances of the 
4446 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4447 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4448 respectively. This preserves all error and warning messages in the non-debug 
4449 version of the ACPICA code (this has been referred to as the "debug lite" 
4450 option.) Over 200 cases were converted to create a total of over 380 
4451 error/warning messages across the ACPICA code. This increases the code and 
4452 data size of the default non-debug version of the code somewhat (about 13K), 
4453 but all error/warning reporting may be disabled if desired (and code 
4454 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4455 configuration option. The size of the debug version of ACPICA remains about 
4456 the same.
4457
4458 Fixed a memory leak within the AML Debugger "Set" command. One object was 
4459 not properly deleted for every successful invocation of the command.
4460
4461 Code and Data Size: The current and previous library sizes for the core 
4462 subsystem are shown below. These are the code and data sizes for the 
4463 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4464 values do not include any ACPI driver or OSPM code. The debug version of the 
4465 code includes the debug output trace mechanism and has a much larger code 
4466 and data size. Note that these values will vary depending on the efficiency 
4467 of the compiler and the compiler options used during generation.
4468
4469   Previous Release:
4470     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4471     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4472   Current Release:
4473     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4474     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4475
4476
4477 2) iASL Compiler/Disassembler:
4478
4479 The compiler now officially supports the ACPI 3.0a specification that was 
4480 released on December 30, 2005. (Specification is available at www.acpi.info)
4481
4482 ----------------------------------------
4483 16 December 2005. Summary of changes for version 20051216:
4484
4485 1) ACPI CA Core Subsystem:
4486
4487 Implemented optional support to allow unresolved names within ASL Package 
4488 objects. A null object is inserted in the package when a named reference 
4489 cannot be located in the current namespace. Enabled via the interpreter 
4490 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4491 that contain such code.
4492
4493 Implemented an optimization to the initialization sequence that can improve 
4494 boot time. During ACPI device initialization, the _STA method is now run if 
4495 and only if the _INI method exists. The _STA method is used to determine if 
4496 the device is present; An _INI can only be run if _STA returns present, but 
4497 it is a waste of time to run the _STA method if the _INI does not exist. 
4498 (Prototype and assistance from Dong Wei)
4499
4500 Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
4501 available in the current compiler. Otherwise, the default (void *) cast is 
4502 used as before.
4503
4504 Fixed some possible memory leaks found within the execution path of the 
4505 Break, Continue, If, and CreateField operators. (Valery Podrezov)
4506
4507 Fixed a problem introduced in the 20051202 release where an exception is 
4508 generated during method execution if a control method attempts to declare 
4509 another method.
4510
4511 Moved resource descriptor string constants that are used by both the AML 
4512 disassembler and AML debugger to the common utilities directory so that 
4513 these components are independent.
4514
4515 Implemented support in the AcpiExec utility (-e switch) to globally ignore 
4516 exceptions during control method execution (method is not aborted.)
4517
4518 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4519 generation.
4520
4521 Code and Data Size: The current and previous library sizes for the core 
4522 subsystem are shown below. These are the code and data sizes for the 
4523 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4524 values do not include any ACPI driver or OSPM code. The debug version of the 
4525 code includes the debug output trace mechanism and has a much larger code 
4526 and data size. Note that these values will vary depending on the efficiency 
4527 of the compiler and the compiler options used during generation.
4528
4529   Previous Release:
4530     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4531     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4532   Current Release:
4533     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4534     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4535
4536
4537 2) iASL Compiler/Disassembler:
4538
4539 Fixed a problem where a CPU stack overflow fault could occur if a recursive 
4540 method call was made from within a Return statement.
4541
4542 ----------------------------------------
4543 02 December 2005. Summary of changes for version 20051202:
4544
4545 1) ACPI CA Core Subsystem:
4546
4547 Modified the parsing of control methods to no longer create namespace 
4548 objects during the first pass of the parse. Objects are now created only 
4549 during the execute phase, at the moment the namespace creation operator is 
4550 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4551 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
4552 reentrant control methods are protected by an AML mutex. The mutex will now 
4553 correctly block multiple threads from attempting to create the same object 
4554 more than once.
4555
4556 Increased the number of available Owner Ids for namespace object tracking 
4557 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4558 some machines with a large number of ACPI tables (either static or dynamic).
4559
4560 Fixed a problem with the AcpiExec utility where a fault could occur when the 
4561 -b switch (batch mode) is used.
4562
4563 Enhanced the namespace dump routine to output the owner ID for each 
4564 namespace object.
4565
4566 Code and Data Size: The current and previous library sizes for the core 
4567 subsystem are shown below. These are the code and data sizes for the 
4568 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4569 values do not include any ACPI driver or OSPM code. The debug version of the 
4570 code includes the debug output trace mechanism and has a much larger code 
4571 and data size. Note that these values will vary depending on the efficiency 
4572 of the compiler and the compiler options used during generation.
4573
4574   Previous Release:
4575     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4576     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4577   Current Release:
4578     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4579     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4580
4581
4582 2) iASL Compiler/Disassembler:
4583
4584 Fixed a parse error during compilation of certain Switch/Case constructs. To 
4585 simplify the parse, the grammar now allows for multiple Default statements 
4586 and this error is now detected and flagged during the analysis phase.
4587
4588 Disassembler: The disassembly now includes the contents of the original 
4589 table header within a comment at the start of the file. This includes the 
4590 name and version of the original ASL compiler.
4591
4592 ----------------------------------------
4593 17 November 2005. Summary of changes for version 20051117:
4594
4595 1) ACPI CA Core Subsystem:
4596
4597 Fixed a problem in the AML parser where the method thread count could be 
4598 decremented below zero if any errors occurred during the method parse phase. 
4599 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
4600 This also fixed a related regression with the mechanism that detects and 
4601 corrects methods that cannot properly handle reentrancy (related to the 
4602 deployment of the new OwnerId mechanism.)
4603
4604 Eliminated the pre-parsing of control methods (to detect errors) during 
4605 table load. Related to the problem above, this was causing unwind issues if 
4606 any errors occurred during the parse, and it seemed to be overkill. A table 
4607 load should not be aborted if there are problems with any single control 
4608 method, thus rendering this feature rather pointless.
4609
4610 Fixed a problem with the new table-driven resource manager where an internal 
4611 buffer overflow could occur for small resource templates.
4612
4613 Implemented a new external interface, AcpiGetVendorResource. This interface 
4614 will find and return a vendor-defined resource descriptor within a _CRS or 
4615 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
4616
4617 Removed the length limit (200) on string objects as per the upcoming ACPI 
4618 3.0A specification. This affects the following areas of the interpreter: 1) 
4619 any implicit conversion of a Buffer to a String, 2) a String object result 
4620 of the ASL Concatentate operator, 3) the String object result of the ASL 
4621 ToString operator.
4622
4623 Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
4624 on a semaphore object would incorrectly timeout. This allows the 
4625 multithreading features of the AcpiExec utility to work properly under 
4626 Windows.
4627
4628 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
4629 the recently added file named "utresrc.c".
4630
4631 Code and Data Size: The current and previous library sizes for the core 
4632 subsystem are shown below. These are the code and data sizes for the 
4633 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4634 values do not include any ACPI driver or OSPM code. The debug version of the 
4635 code includes the debug output trace mechanism and has a much larger code 
4636 and data size. Note that these values will vary depending on the efficiency 
4637 of the compiler and the compiler options used during generation.
4638
4639   Previous Release:
4640     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4641     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4642   Current Release:
4643     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4644     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4645
4646
4647 2) iASL Compiler/Disassembler:
4648
4649 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
4650 specification. For the iASL compiler, this means that string literals within 
4651 the source ASL can be of any length. 
4652
4653 Enhanced the listing output to dump the AML code for resource descriptors 
4654 immediately after the ASL code for each descriptor, instead of in a block at 
4655 the end of the entire resource template.
4656
4657 Enhanced the compiler debug output to dump the entire original parse tree 
4658 constructed during the parse phase, before any transforms are applied to the 
4659 tree. The transformed tree is dumped also.
4660
4661 ----------------------------------------
4662 02 November 2005. Summary of changes for version 20051102:
4663
4664 1) ACPI CA Core Subsystem:
4665
4666 Modified the subsystem initialization sequence to improve GPE support. The 
4667 GPE initialization has been split into two parts in order to defer execution 
4668 of the _PRW methods (Power Resources for Wake) until after the hardware is 
4669 fully initialized and the SCI handler is installed. This allows the _PRW 
4670 methods to access fields protected by the Global Lock. This will fix systems 
4671 where a NO_GLOBAL_LOCK exception has been seen during initialization.
4672
4673 Converted the ACPI internal object disassemble and display code within the 
4674 AML debugger to fully table-driven operation, reducing code size and 
4675 increasing maintainability.
4676
4677 Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
4678 in the 20051021 release.
4679
4680 Implemented support for "local" internal ACPI object types within the 
4681 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
4682 These local types include RegionFields, BankFields, IndexFields, Alias, and 
4683 reference objects.
4684
4685 Moved common AML resource handling code into a new file, "utresrc.c". This 
4686 code is shared by both the Resource Manager and the AML Debugger.
4687
4688 Code and Data Size: The current and previous library sizes for the core 
4689 subsystem are shown below. These are the code and data sizes for the 
4690 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4691 values do not include any ACPI driver or OSPM code. The debug version of the 
4692 code includes the debug output trace mechanism and has a much larger code 
4693 and data size. Note that these values will vary depending on the efficiency 
4694 of the compiler and the compiler options used during generation.
4695
4696   Previous Release:
4697     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4698     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4699   Current Release:
4700     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4701     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4702
4703
4704 2) iASL Compiler/Disassembler:
4705
4706 Fixed a problem with very large initializer lists (more than 4000 elements) 
4707 for both Buffer and Package objects where the parse stack could overflow.
4708
4709 Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
4710 characters within comment fields. The scan is now always performed and is no 
4711 longer optional, detecting invalid characters within a source file 
4712 immediately rather than during the parse phase or later.
4713
4714 Enhanced the ASL grammar definition to force early reductions on all list-
4715 style grammar elements so that the overall parse stack usage is greatly 
4716 reduced. This should improve performance and reduce the possibility of parse 
4717 stack overflow.
4718
4719 Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
4720 with the addition of a %expected statement, the compiler generates from 
4721 source with no warnings.
4722
4723 Fixed a possible segment fault in the disassembler if the input filename 
4724 does not contain a "dot" extension (Thomas Renninger).
4725
4726 ----------------------------------------
4727 21 October 2005. Summary of changes for version 20051021:
4728
4729 1) ACPI CA Core Subsystem:
4730
4731 Implemented support for the EM64T and other x86-64 processors. This 
4732 essentially entails recognizing that these processors support non-aligned 
4733 memory transfers. Previously, all 64-bit processors were assumed to lack 
4734 hardware support for non-aligned transfers.
4735
4736 Completed conversion of the Resource Manager to nearly full table-driven 
4737 operation. Specifically, the resource conversion code (convert AML to 
4738 internal format and the reverse) and the debug code to dump internal 
4739 resource descriptors are fully table-driven, reducing code and data size and 
4740 improving maintainability.
4741
4742 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
4743 on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
4744 Alexey Starikovskiy)
4745
4746 Implemented support within the resource conversion code for the Type-
4747 Specific byte within the various ACPI 3.0 *WordSpace macros.
4748
4749 Fixed some issues within the resource conversion code for the type-specific 
4750 flags for both Memory and I/O address resource descriptors. For Memory, 
4751 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
4752 TTP flags into two separate fields.
4753
4754 Code and Data Size: The current and previous library sizes for the core 
4755 subsystem are shown below. These are the code and data sizes for the 
4756 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4757 values do not include any ACPI driver or OSPM code. The debug version of the 
4758 code includes the debug output trace mechanism and has a much larger code 
4759 and data size. Note that these values will vary depending on the efficiency 
4760 of the compiler and the compiler options used during generation.
4761
4762   Previous Release:
4763     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4764     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4765   Current Release:
4766     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4767     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4768
4769
4770
4771 2) iASL Compiler/Disassembler:
4772
4773 Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
4774 corresponding ResourceSource string was not also present in a resource 
4775 descriptor declaration. This restriction caused problems with existing 
4776 AML/ASL code that includes the Index byte without the string. When such AML 
4777 was disassembled, it could not be compiled without modification. Further, 
4778 the modified code created a resource template with a different size than the 
4779 original, breaking code that used fixed offsets into the resource template 
4780 buffer.
4781
4782 Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
4783 byte. This byte is now emitted if present so that the exact AML can be 
4784 reproduced when the disassembled code is recompiled.
4785
4786 Improved comments and text alignment for the resource descriptor code 
4787 emitted by the disassembler.
4788
4789 Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
4790 Register() resource descriptor.
4791
4792 ----------------------------------------
4793 30 September 2005. Summary of changes for version 20050930:
4794
4795 1) ACPI CA Core Subsystem:
4796
4797 Completed a major overhaul of the Resource Manager code - specifically, 
4798 optimizations in the area of the AML/internal resource conversion code. The 
4799 code has been optimized to simplify and eliminate duplicated code, CPU stack 
4800 use has been decreased by optimizing function parameters and local 
4801 variables, and naming conventions across the manager have been standardized 
4802 for clarity and ease of maintenance (this includes function, parameter, 
4803 variable, and struct/typedef names.) The update may force changes in some 
4804 driver code, depending on how resources are handled by the host OS.
4805
4806 All Resource Manager dispatch and information tables have been moved to a 
4807 single location for clarity and ease of maintenance. One new file was 
4808 created, named "rsinfo.c".
4809
4810 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
4811 guarantee that the argument is not evaluated twice, making them less prone 
4812 to macro side-effects. However, since there exists the possibility of 
4813 additional stack use if a particular compiler cannot optimize them (such as 
4814 in the debug generation case), the original macros are optionally available.  
4815 Note that some invocations of the return_VALUE macro may now cause size 
4816 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
4817 eliminate these. (From Randy Dunlap)
4818
4819 Implemented a new mechanism to enable debug tracing for individual control 
4820 methods. A new external interface, AcpiDebugTrace, is provided to enable 
4821 this mechanism. The intent is to allow the host OS to easily enable and 
4822 disable tracing for problematic control methods. This interface can be 
4823 easily exposed to a user or debugger interface if desired. See the file 
4824 psxface.c for details.
4825
4826 AcpiUtCallocate will now return a valid pointer if a length of zero is 
4827 specified - a length of one is used and a warning is issued. This matches 
4828 the behavior of AcpiUtAllocate.
4829
4830 Code and Data Size: The current and previous library sizes for the core 
4831 subsystem are shown below. These are the code and data sizes for the 
4832 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4833 values do not include any ACPI driver or OSPM code. The debug version of the 
4834 code includes the debug output trace mechanism and has a much larger code 
4835 and data size. Note that these values will vary depending on the efficiency 
4836 of the compiler and the compiler options used during generation.
4837
4838   Previous Release:
4839     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4840     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4841   Current Release:
4842     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4843     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4844
4845
4846 2) iASL Compiler/Disassembler:
4847
4848 A remark is issued if the effective compile-time length of a package or 
4849 buffer is zero. Previously, this was a warning.
4850
4851 ----------------------------------------
4852 16 September 2005. Summary of changes for version 20050916:
4853
4854 1) ACPI CA Core Subsystem:
4855
4856 Fixed a problem within the Resource Manager where support for the Generic 
4857 Register descriptor was not fully implemented. This descriptor is now fully 
4858 recognized, parsed, disassembled, and displayed.
4859
4860 Completely restructured the Resource Manager code to utilize table-driven 
4861 dispatch and lookup, eliminating many of the large switch() statements. This 
4862 reduces overall subsystem code size and code complexity. Affects the 
4863 resource parsing and construction, disassembly, and debug dump output.
4864
4865 Cleaned up and restructured the debug dump output for all resource 
4866 descriptors. Improved readability of the output and reduced code size.
4867
4868 Fixed a problem where changes to internal data structures caused the 
4869 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4870
4871 Code and Data Size: The current and previous library sizes for the core 
4872 subsystem are shown below. These are the code and data sizes for the 
4873 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4874 values do not include any ACPI driver or OSPM code. The debug version of the 
4875 code includes the debug output trace mechanism and has a much larger code 
4876 and data size. Note that these values will vary depending on the efficiency 
4877 of the compiler and the compiler options used during generation.
4878
4879   Previous Release:
4880     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4881     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4882   Current Release:
4883     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4884     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4885
4886
4887 2) iASL Compiler/Disassembler:
4888
4889 Updated the disassembler to automatically insert an EndDependentFn() macro 
4890 into the ASL stream if this macro is missing in the original AML code, 
4891 simplifying compilation of the resulting ASL module.
4892
4893 Fixed a problem in the disassembler where a disassembled ResourceSource 
4894 string (within a large resource descriptor) was not surrounded by quotes and 
4895 not followed by a comma, causing errors when the resulting ASL module was 
4896 compiled. Also, escape sequences within a ResourceSource string are now 
4897 handled correctly (especially "\\")
4898
4899 ----------------------------------------
4900 02 September 2005. Summary of changes for version 20050902:
4901
4902 1) ACPI CA Core Subsystem:
4903
4904 Fixed a problem with the internal Owner ID allocation and deallocation 
4905 mechanisms for control method execution and recursive method invocation. 
4906 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
4907 messages seen on some systems. Recursive method invocation depth is 
4908 currently limited to 255. (Alexey Starikovskiy)
4909
4910 Completely eliminated all vestiges of support for the "module-level 
4911 executable code" until this support is fully implemented and debugged. This 
4912 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
4913 some systems that invoke this support.
4914
4915 Fixed a problem within the resource manager code where the transaction flags 
4916 for a 64-bit address descriptor were handled incorrectly in the type-
4917 specific flag byte.
4918
4919 Consolidated duplicate code within the address descriptor resource manager 
4920 code, reducing overall subsystem code size.
4921
4922 Fixed a fault when using the AML debugger "disassemble" command to 
4923 disassemble individual control methods.
4924
4925 Removed references to the "release_current" directory within the Unix 
4926 release package.
4927
4928 Code and Data Size: The current and previous core subsystem library sizes 
4929 are shown below. These are the code and data sizes for the acpica.lib 
4930 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
4931 include any ACPI driver or OSPM code. The debug version of the code includes 
4932 the debug output trace mechanism and has a much larger code and data size. 
4933 Note that these values will vary depending on the efficiency of the compiler 
4934 and the compiler options used during generation.
4935
4936   Previous Release:
4937     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4938     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4939   Current Release:
4940     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4941     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4942
4943
4944 2) iASL Compiler/Disassembler:
4945
4946 Implemented an error check for illegal duplicate values in the interrupt and 
4947 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
4948 Interrupt().
4949
4950 Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
4951 too many values in the interrupt list (16 max) and invalid values in the 
4952 list (range 0 - 15)
4953
4954 The maximum length string literal within an ASL file is now restricted to 
4955 200 characters as per the ACPI specification.
4956
4957 Fixed a fault when using the -ln option (generate namespace listing).
4958
4959 Implemented an error check to determine if a DescriptorName within a 
4960 resource descriptor has already been used within the current scope.
4961
4962 ----------------------------------------
4963 15 August 2005.  Summary of changes for version 20050815:
4964  
4965 1) ACPI CA Core Subsystem:
4966  
4967 Implemented a full bytewise compare to determine if a table load request is 
4968 attempting to load a duplicate table. The compare is performed if the table 
4969 signatures and table lengths match. This will allow different tables with 
4970 the same OEM Table ID and revision to be loaded - probably against the ACPI 
4971 specification, but discovered in the field nonetheless.
4972  
4973 Added the changes.txt logfile to each of the zipped release packages.
4974  
4975 Code and Data Size: Current and previous core subsystem library sizes are 
4976 shown below. These are the code and data sizes for the acpica.lib produced 
4977 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4978 any ACPI driver or OSPM code. The debug version of the code includes the 
4979 debug output trace mechanism and has a much larger code and data size. Note 
4980 that these values will vary depending on the efficiency of the compiler and 
4981 the compiler options used during generation.
4982  
4983   Previous Release:
4984     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4985     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4986   Current Release:
4987     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4988     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4989  
4990  
4991 2) iASL Compiler/Disassembler:
4992  
4993 Fixed a problem where incorrect AML code could be generated for Package 
4994 objects if optimization is disabled (via the -oa switch).
4995  
4996 Fixed a problem with where incorrect AML code is generated for variable-
4997 length packages when the package length is not specified and the number of 
4998 initializer values is greater than 255.
4999  
5000
5001 ----------------------------------------
5002 29 July 2005.  Summary of changes for version 20050729:
5003
5004 1) ACPI CA Core Subsystem:
5005
5006 Implemented support to ignore an attempt to install/load a particular ACPI 
5007 table more than once. Apparently there exists BIOS code that repeatedly 
5008 attempts to load the same SSDT upon certain events. With assistance from 
5009 Venkatesh Pallipadi.
5010
5011 Restructured the main interface to the AML parser in order to correctly 
5012 handle all exceptional conditions. This will prevent leakage of the OwnerId 
5013 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5014 machines. With assistance from Alexey Starikovskiy.
5015
5016 Support for "module level code" has been disabled in this version due to a 
5017 number of issues that have appeared on various machines. The support can be 
5018 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5019 compilation. When the issues are fully resolved, the code will be enabled by 
5020 default again.
5021
5022 Modified the internal functions for debug print support to define the 
5023 FunctionName parameter as a (const char *) for compatibility with compiler 
5024 built-in macros such as __FUNCTION__, etc.
5025
5026 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5027
5028 Implemented support to display an object count summary for the AML Debugger 
5029 commands Object and Methods.
5030
5031 Code and Data Size: Current and previous core subsystem library sizes are 
5032 shown below. These are the code and data sizes for the acpica.lib produced 
5033 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5034 any ACPI driver or OSPM code. The debug version of the code includes the 
5035 debug output trace mechanism and has a much larger code and data size. Note 
5036 that these values will vary depending on the efficiency of the compiler and 
5037 the compiler options used during generation.
5038
5039   Previous Release:
5040     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5041     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5042   Current Release:
5043     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5044     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5045
5046
5047 2) iASL Compiler/Disassembler:
5048
5049 Fixed a regression that appeared in the 20050708 version of the compiler 
5050 where an error message was inadvertently emitted for invocations of the _OSI 
5051 reserved control method.
5052
5053 ----------------------------------------
5054 08 July 2005.  Summary of changes for version 20050708:
5055
5056 1) ACPI CA Core Subsystem:
5057
5058 The use of the CPU stack in the debug version of the subsystem has been 
5059 considerably reduced. Previously, a debug structure was declared in every 
5060 function that used the debug macros. This structure has been removed in 
5061 favor of declaring the individual elements as parameters to the debug 
5062 functions. This reduces the cumulative stack use during nested execution of 
5063 ACPI function calls at the cost of a small increase in the code size of the 
5064 debug version of the subsystem. With assistance from Alexey Starikovskiy and 
5065 Len Brown.
5066
5067 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5068 headers to define a macro that will return the current function name at 
5069 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5070 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5071 compiler-dependent header, the function name is saved on the CPU stack (one 
5072 pointer per function.) This mechanism is used because apparently there 
5073 exists no standard ANSI-C defined macro that that returns the function name.
5074
5075 Redesigned and reimplemented the "Owner ID" mechanism used to track 
5076 namespace objects created/deleted by ACPI tables and control method 
5077 execution. A bitmap is now used to allocate and free the IDs, thus solving 
5078 the wraparound problem present in the previous implementation. The size of 
5079 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5080 Starikovskiy).
5081
5082 Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5083 flag definitions within the headers for the predefined ACPI tables. These 
5084 have been replaced by UINT8_BIT in order to increase the code portability of 
5085 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
5086 eliminate bitfields entirely because of a lack of portability.
5087
5088 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5089 is a frequently used function and this improvement increases the performance 
5090 of the entire subsystem (Alexey Starikovskiy).
5091
5092 Fixed several possible memory leaks and the inverse - premature object 
5093 deletion (Alexey Starikovskiy).
5094
5095 Code and Data Size: Current and previous core subsystem library sizes are 
5096 shown below. These are the code and data sizes for the acpica.lib produced 
5097 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5098 any ACPI driver or OSPM code. The debug version of the code includes the 
5099 debug output trace mechanism and has a much larger code and data size. Note 
5100 that these values will vary depending on the efficiency of the compiler and 
5101 the compiler options used during generation.
5102
5103   Previous Release:
5104     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5105     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5106   Current Release:
5107     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5108     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5109
5110 ----------------------------------------
5111 24 June 2005.  Summary of changes for version 20050624:
5112
5113 1) ACPI CA Core Subsystem:
5114
5115 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5116 the host-defined cache object. This allows the OSL implementation to define 
5117 and type this object in any manner desired, simplifying the OSL 
5118 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5119 Linux, and should be defined in the OS-specific header file for other 
5120 operating systems as required.
5121
5122 Changed the interface to AcpiOsAcquireObject to directly return the 
5123 requested object as the function return (instead of ACPI_STATUS.) This 
5124 change was made for performance reasons, since this is the purpose of the 
5125 interface in the first place. AcpiOsAcquireObject is now similar to the 
5126 AcpiOsAllocate interface.
5127
5128 Implemented a new AML debugger command named Businfo. This command displays 
5129 information about all devices that have an associate _PRT object. The _ADR, 
5130 _HID, _UID, and _CID are displayed for these devices.
5131
5132 Modified the initialization sequence in AcpiInitializeSubsystem to call the 
5133 OSL interface AcpiOslInitialize first, before any local initialization. This 
5134 change was required because the global initialization now calls OSL 
5135 interfaces.
5136
5137 Enhanced the Dump command to display the entire contents of Package objects 
5138 (including all sub-objects and their values.) 
5139
5140 Restructured the code base to split some files because of size and/or 
5141 because the code logically belonged in a separate file. New files are listed 
5142 below. All makefiles and project files included in the ACPI CA release have 
5143 been updated.
5144     utilities/utcache.c           /* Local cache interfaces */
5145     utilities/utmutex.c           /* Local mutex support */
5146     utilities/utstate.c           /* State object support */
5147     interpreter/parser/psloop.c   /* Main AML parse loop */
5148
5149 Code and Data Size: Current and previous core subsystem library sizes are 
5150 shown below. These are the code and data sizes for the acpica.lib produced 
5151 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5152 any ACPI driver or OSPM code. The debug version of the code includes the 
5153 debug output trace mechanism and has a much larger code and data size. Note 
5154 that these values will vary depending on the efficiency of the compiler and 
5155 the compiler options used during generation.
5156
5157   Previous Release:
5158     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5159     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5160   Current Release:
5161     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5162     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5163
5164
5165 2) iASL Compiler/Disassembler:
5166
5167 Fixed a regression introduced in version 20050513 where the use of a Package 
5168 object within a Case() statement caused a compile time exception. The 
5169 original behavior has been restored (a Match() operator is emitted.)
5170
5171 ----------------------------------------
5172 17 June 2005.  Summary of changes for version 20050617:
5173
5174 1) ACPI CA Core Subsystem:
5175
5176 Moved the object cache operations into the OS interface layer (OSL) to allow 
5177 the host OS to handle these operations if desired (for example, the Linux 
5178 OSL will invoke the slab allocator). This support is optional; the compile 
5179 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5180 code in the ACPI CA core. The new OSL interfaces are shown below. See 
5181 utalloc.c for an example implementation, and acpiosxf.h for the exact 
5182 interface definitions. With assistance from Alexey Starikovskiy.
5183     AcpiOsCreateCache
5184     AcpiOsDeleteCache
5185     AcpiOsPurgeCache
5186     AcpiOsAcquireObject
5187     AcpiOsReleaseObject
5188
5189 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5190 and restore a flags parameter. This fits better with many OS lock models. 
5191 Note: the current execution state (interrupt handler or not) is no longer 
5192 passed to these interfaces. If necessary, the OSL must determine this state 
5193 by itself, a simple and fast operation. With assistance from Alexey 
5194 Starikovskiy.
5195
5196 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
5197 present if the revision of the RSDP was 2 or greater. According to the ACPI 
5198 specification, the XSDT is optional in all cases, and the table manager 
5199 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5200 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5201 only the RSDT.
5202
5203 Fixed an interpreter problem with the Mid() operator in the case of an input 
5204 string where the resulting output string is of zero length. It now correctly 
5205 returns a valid, null terminated string object instead of a string object 
5206 with a null pointer.
5207
5208 Fixed a problem with the control method argument handling to allow a store 
5209 to an Arg object that already contains an object of type Device. The Device 
5210 object is now correctly overwritten. Previously, an error was returned.
5211
5212
5213 Enhanced the debugger Find command to emit object values in addition to the 
5214 found object pathnames. The output format is the same as the dump namespace 
5215 command.
5216
5217 Enhanced the debugger Set command. It now has the ability to set the value 
5218 of any Named integer object in the namespace (Previously, only method locals 
5219 and args could be set.)
5220
5221 Code and Data Size: Current and previous core subsystem library sizes are 
5222 shown below. These are the code and data sizes for the acpica.lib produced 
5223 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5224 any ACPI driver or OSPM code. The debug version of the code includes the 
5225 debug output trace mechanism and has a much larger code and data size. Note 
5226 that these values will vary depending on the efficiency of the compiler and 
5227 the compiler options used during generation.
5228
5229   Previous Release:
5230     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5231     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5232   Current Release:
5233     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5234     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5235
5236
5237 2) iASL Compiler/Disassembler:
5238
5239 Fixed a regression in the disassembler where if/else/while constructs were 
5240 output incorrectly. This problem was introduced in the previous release 
5241 (20050526). This problem also affected the single-step disassembly in the 
5242 debugger.
5243
5244 Fixed a problem where compiling the reserved _OSI method would randomly (but 
5245 rarely) produce compile errors.
5246
5247 Enhanced the disassembler to emit compilable code in the face of incorrect 
5248 AML resource descriptors. If the optional ResourceSourceIndex is present, 
5249 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5250 disassembly. Otherwise, the resulting code cannot be compiled without 
5251 errors.
5252
5253 ----------------------------------------
5254 26 May 2005.  Summary of changes for version 20050526:
5255
5256 1) ACPI CA Core Subsystem:
5257
5258 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5259 the module level (not within a control method.) These opcodes are executed 
5260 exactly once at the time the table is loaded. This type of code was legal up 
5261 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5262 order to provide backwards compatibility with earlier BIOS implementations. 
5263 This eliminates the "Encountered executable code at module level" warning 
5264 that was previously generated upon detection of such code.
5265
5266 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5267 inadvertently be generated during the lookup of namespace objects in the 
5268 second pass parse of ACPI tables and control methods. It appears that this 
5269 problem could occur during the resolution of forward references to namespace 
5270 objects.
5271
5272 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5273 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5274 allows the deadlock detection debug code to be compiled out in the normal 
5275 case, improving mutex performance (and overall subsystem performance) 
5276 considerably.
5277
5278 Implemented a handful of miscellaneous fixes for possible memory leaks on 
5279 error conditions and error handling control paths. These fixes were 
5280 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5281
5282 Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5283 to prevent a fault in this error case.
5284
5285 Code and Data Size: Current and previous core subsystem library sizes are 
5286 shown below. These are the code and data sizes for the acpica.lib produced 
5287 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5288 any ACPI driver or OSPM code. The debug version of the code includes the 
5289 debug output trace mechanism and has a much larger code and data size. Note 
5290 that these values will vary depending on the efficiency of the compiler and 
5291 the compiler options used during generation.
5292
5293   Previous Release:
5294     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5295     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5296   Current Release:
5297     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5298     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5299
5300
5301 2) iASL Compiler/Disassembler:
5302
5303 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
5304 the module level (not within a control method.) These operators will be 
5305 executed once at the time the table is loaded. This type of code was legal 
5306 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5307 compiler in order to provide backwards compatibility with earlier BIOS ASL 
5308 code.
5309
5310 The ACPI integer width (specified via the table revision ID or the -r 
5311 override, 32 or 64 bits) is now used internally during compile-time constant 
5312 folding to ensure that constants are truncated to 32 bits if necessary. 
5313 Previously, the revision ID value was only emitted in the AML table header.
5314
5315 An error message is now generated for the Mutex and Method operators if the 
5316 SyncLevel parameter is outside the legal range of 0 through 15.
5317
5318 Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
5319 3.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5320 The actual underlying implementation of method argument typechecking is 
5321 still under development, however.
5322
5323 ----------------------------------------
5324 13 May 2005.  Summary of changes for version 20050513:
5325
5326 1) ACPI CA Core Subsystem:
5327
5328 Implemented support for PCI Express root bridges -- added support for device 
5329 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5330
5331 The interpreter now automatically truncates incoming 64-bit constants to 32 
5332 bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5333 also affects the iASL compiler constant folding. (Note: as per below, the 
5334 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5335
5336 Fixed a problem where string and buffer objects with "static" pointers 
5337 (pointers to initialization data within an ACPI table) were not handled 
5338 consistently. The internal object copy operation now always copies the data 
5339 to a newly allocated buffer, regardless of whether the source object is 
5340 static or not.
5341
5342 Fixed a problem with the FromBCD operator where an implicit result 
5343 conversion was improperly performed while storing the result to the target 
5344 operand. Since this is an "explicit conversion" operator, the implicit 
5345 conversion should never be performed on the output.
5346
5347 Fixed a problem with the CopyObject operator where a copy to an existing 
5348 named object did not always completely overwrite the existing object stored 
5349 at name. Specifically, a buffer-to-buffer copy did not delete the existing 
5350 buffer.
5351
5352 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5353 structs for consistency.
5354
5355 Code and Data Size: Current and previous core subsystem library sizes are 
5356 shown below. These are the code and data sizes for the acpica.lib produced 
5357 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5358 any ACPI driver or OSPM code. The debug version of the code includes the 
5359 debug output trace mechanism and has a much larger code and data size. Note 
5360 that these values will vary depending on the efficiency of the compiler and 
5361 the compiler options used during generation.
5362
5363   Previous Release:
5364     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5365     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5366   Current Release: (Same sizes)
5367     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5368     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5369
5370
5371 2) iASL Compiler/Disassembler:
5372
5373 The compiler now emits a warning if an attempt is made to generate a 64-bit 
5374 integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
5375 is truncated to 32 bits.
5376
5377 Fixed a problem with large package objects: if the static length of the 
5378 package is greater than 255, the "variable length package" opcode is 
5379 emitted. Previously, this caused an error. This requires an update to the 
5380 ACPI spec, since it currently (incorrectly) states that packages larger than 
5381 255 elements are not allowed.
5382
5383 The disassembler now correctly handles variable length packages and packages 
5384 larger than 255 elements.
5385
5386 ----------------------------------------
5387 08 April 2005.  Summary of changes for version 20050408:
5388
5389 1) ACPI CA Core Subsystem:
5390
5391 Fixed three cases in the interpreter where an "index" argument to an ASL 
5392 function was still (internally) 32 bits instead of the required 64 bits. 
5393 This was the Index argument to the Index, Mid, and Match operators.
5394
5395 The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5396 not a POSIX-defined function and not present in most kernel-level C 
5397 libraries. All references to the C library strupr function have been removed 
5398 from the headers.
5399
5400 Completed the deployment of static functions/prototypes. All prototypes with 
5401 the static attribute have been moved from the headers to the owning C file.
5402
5403 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
5404 utility). This option allows the utility to extract individual ACPI tables 
5405 from the output of AcpiDmp. It provides the same functionality of the 
5406 acpixtract.pl perl script without the worry of setting the correct perl 
5407 options. AcpiBin runs on Windows and has not yet been generated/validated in 
5408 the Linux/Unix environment (but should be soon).
5409  
5410 Updated and fixed the table dump option for AcpiBin (-d). This option 
5411 converts a single ACPI table to a hex/ascii file, similar to the output of 
5412 AcpiDmp.
5413
5414 Code and Data Size: Current and previous core subsystem library sizes are 
5415 shown below. These are the code and data sizes for the acpica.lib produced 
5416 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5417 any ACPI driver or OSPM code. The debug version of the code includes the 
5418 debug output trace mechanism and has a much larger code and data size. Note 
5419 that these values will vary depending on the efficiency of the compiler and 
5420 the compiler options used during generation.
5421
5422   Previous Release:
5423     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5424     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5425   Current Release:
5426     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5427     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5428
5429
5430 2) iASL Compiler/Disassembler:
5431
5432 Disassembler fix: Added a check to ensure that the table length found in the 
5433 ACPI table header within the input file is not longer than the actual input 
5434 file size. This indicates some kind of file or table corruption.
5435
5436 ----------------------------------------
5437 29 March 2005.  Summary of changes for version 20050329:
5438
5439 1) ACPI CA Core Subsystem:
5440
5441 An error is now generated if an attempt is made to create a Buffer Field of 
5442 length zero (A CreateField with a length operand of zero.)
5443
5444 The interpreter now issues a warning whenever executable code at the module 
5445 level is detected during ACPI table load. This will give some idea of the 
5446 prevalence of this type of code.
5447
5448 Implemented support for references to named objects (other than control 
5449 methods) within package objects.
5450
5451 Enhanced package object output for the debug object. Package objects are now 
5452 completely dumped, showing all elements.
5453
5454 Enhanced miscellaneous object output for the debug object. Any object can 
5455 now be written to the debug object (for example, a device object can be 
5456 written, and the type of the object will be displayed.)
5457
5458 The "static" qualifier has been added to all local functions across both the 
5459 core subsystem and the iASL compiler.
5460
5461 The number of "long" lines (> 80 chars) within the source has been 
5462 significantly reduced, by about 1/3.
5463
5464 Cleaned up all header files to ensure that all CA/iASL functions are 
5465 prototyped (even static functions) and the formatting is consistent.
5466
5467 Two new header files have been added, acopcode.h and acnames.h.
5468
5469 Removed several obsolete functions that were no longer used.
5470
5471 Code and Data Size: Current and previous core subsystem library sizes are 
5472 shown below. These are the code and data sizes for the acpica.lib produced 
5473 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5474 any ACPI driver or OSPM code. The debug version of the code includes the 
5475 debug output trace mechanism and has a much larger code and data size. Note 
5476 that these values will vary depending on the efficiency of the compiler and 
5477 the compiler options used during generation.
5478
5479   Previous Release:
5480     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5481     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5482   Current Release:
5483     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5484     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5485
5486
5487
5488 2) iASL Compiler/Disassembler:
5489
5490 Fixed a problem with the resource descriptor generation/support. For the 
5491 ResourceSourceIndex and the ResourceSource fields, both must be present, or 
5492 both must be not present - can't have one without the other.
5493
5494 The compiler now returns non-zero from the main procedure if any errors have 
5495 occurred during the compilation.
5496
5497
5498 ----------------------------------------
5499 09 March 2005.  Summary of changes for version 20050309:
5500
5501 1) ACPI CA Core Subsystem:
5502
5503 The string-to-buffer implicit conversion code has been modified again after 
5504 a change to the ACPI specification.  In order to match the behavior of the 
5505 other major ACPI implementation, the target buffer is no longer truncated if 
5506 the source string is smaller than an existing target buffer. This change 
5507 requires an update to the ACPI spec, and should eliminate the recent 
5508 AE_AML_BUFFER_LIMIT issues.
5509
5510 The "implicit return" support was rewritten to a new algorithm that solves 
5511 the general case. Rather than attempt to determine when a method is about to 
5512 exit, the result of every ASL operator is saved momentarily until the very 
5513 next ASL operator is executed. Therefore, no matter how the method exits, 
5514 there will always be a saved implicit return value. This feature is only 
5515 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5516 AE_AML_NO_RETURN_VALUE errors when enabled.
5517
5518 Implemented implicit conversion support for the predicate (operand) of the 
5519 If, Else, and While operators. String and Buffer arguments are automatically 
5520 converted to Integers.
5521
5522 Changed the string-to-integer conversion behavior to match the new ACPI 
5523 errata: "If no integer object exists, a new integer is created. The ASCII 
5524 string is interpreted as a hexadecimal constant. Each string character is 
5525 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5526 with the first character as the most significant digit, and ending with the 
5527 first non-hexadecimal character or end-of-string." This means that the first 
5528 non-hex character terminates the conversion and this is the code that was 
5529 changed.
5530
5531 Fixed a problem where the ObjectType operator would fail (fault) when used 
5532 on an Index of a Package which pointed to a null package element. The 
5533 operator now properly returns zero (Uninitialized) in this case.
5534
5535 Fixed a problem where the While operator used excessive memory by not 
5536 properly popping the result stack during execution. There was no memory leak 
5537 after execution, however. (Code provided by Valery Podrezov.)
5538
5539 Fixed a problem where references to control methods within Package objects 
5540 caused the method to be invoked, instead of producing a reference object 
5541 pointing to the method.
5542
5543 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5544 improve performance and reduce code size. (Code provided by Alexey 
5545 Starikovskiy.)
5546
5547 Code and Data Size: Current and previous core subsystem library sizes are 
5548 shown below. These are the code and data sizes for the acpica.lib produced 
5549 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5550 any ACPI driver or OSPM code. The debug version of the code includes the 
5551 debug output trace mechanism and has a much larger code and data size. Note 
5552 that these values will vary depending on the efficiency of the compiler and 
5553 the compiler options used during generation.
5554
5555   Previous Release:
5556     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5557     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5558   Current Release:
5559     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5560     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5561
5562
5563 2) iASL Compiler/Disassembler:
5564
5565 Fixed a problem with the Return operator with no arguments. Since the AML 
5566 grammar for the byte encoding requires an operand for the Return opcode, the 
5567 compiler now emits a Return(Zero) for this case.  An ACPI specification 
5568 update has been written for this case.
5569
5570 For tables other than the DSDT, namepath optimization is automatically 
5571 disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5572 compiler has no knowledge of where, and thus cannot optimize namepaths.
5573
5574 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5575 inadvertently omitted from the ACPI specification, and will require an 
5576 update to the spec.
5577
5578 The source file scan for ASCII characters is now optional (-a). This change 
5579 was made because some vendors place non-ascii characters within comments. 
5580 However, the scan is simply a brute-force byte compare to ensure all 
5581 characters in the file are in the range 0x00 to 0x7F.
5582
5583 Fixed a problem with the CondRefOf operator where the compiler was 
5584 inappropriately checking for the existence of the target. Since the point of 
5585 the operator is to check for the existence of the target at run-time, the 
5586 compiler no longer checks for the target existence.
5587
5588 Fixed a problem where errors generated from the internal AML interpreter 
5589 during constant folding were not handled properly, causing a fault.
5590
5591 Fixed a problem with overly aggressive range checking for the Stall 
5592 operator. The valid range (max 255) is now only checked if the operand is of 
5593 type Integer. All other operand types cannot be statically checked.
5594
5595 Fixed a problem where control method references within the RefOf, DeRefOf, 
5596 and ObjectType operators were not treated properly. They are now treated as 
5597 actual references, not method invocations.
5598
5599 Fixed and enhanced the "list namespace" option (-ln). This option was broken 
5600 a number of releases ago.
5601
5602 Improved error handling for the Field, IndexField, and BankField operators. 
5603 The compiler now cleanly reports and recovers from errors in the field 
5604 component (FieldUnit) list.
5605
5606 Fixed a disassembler problem where the optional ResourceDescriptor fields 
5607 TRS and TTP were not always handled correctly.
5608
5609 Disassembler - Comments in output now use "//" instead of "/*"
5610
5611 ----------------------------------------
5612 28 February 2005.  Summary of changes for version 20050228:
5613
5614 1) ACPI CA Core Subsystem:
5615
5616 Fixed a problem where the result of an Index() operator (an object 
5617 reference) must increment the reference count on the target object for the 
5618 life of the object reference.
5619
5620 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
5621 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
5622 resource descriptors.
5623
5624 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
5625 Space Descriptor" string, indicating interpreter support for the descriptors 
5626 above.
5627
5628 Implemented header support for the new ACPI 3.0 FADT flag bits.
5629
5630 Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
5631 status/enable registers.
5632
5633 Updated header support for the MADT processor local Apic struct and MADT 
5634 platform interrupt source struct for new ACPI 3.0 fields.
5635
5636 Implemented header support for the SRAT and SLIT ACPI tables.
5637
5638 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
5639 at runtime.
5640
5641 Code and Data Size: Current and previous core subsystem library sizes are 
5642 shown below. These are the code and data sizes for the acpica.lib produced 
5643 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5644 any ACPI driver or OSPM code. The debug version of the code includes the 
5645 debug output trace mechanism and has a much larger code and data size. Note 
5646 that these values will vary depending on the efficiency of the compiler and 
5647 the compiler options used during generation.
5648
5649   Previous Release:
5650     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5651     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5652   Current Release:
5653     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5654     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5655
5656
5657 2) iASL Compiler/Disassembler:
5658
5659 Fixed a problem with the internal 64-bit String-to-integer conversion with 
5660 strings less than two characters long.
5661
5662 Fixed a problem with constant folding where the result of the Index() 
5663 operator can not be considered a constant. This means that Index() cannot be 
5664 a type3 opcode and this will require an update to the ACPI specification.
5665
5666 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
5667 descriptor fields. These fields were inadvertently ignored and not output in 
5668 the disassembly of the resource descriptor.
5669
5670
5671  ----------------------------------------
5672 11 February 2005.  Summary of changes for version 20050211:
5673
5674 1) ACPI CA Core Subsystem:
5675
5676 Implemented ACPI 3.0 support for implicit conversion within the Match() 
5677 operator. MatchObjects can now be of type integer, buffer, or string instead 
5678 of just type integer.  Package elements are implicitly converted to the type 
5679 of the MatchObject. This change aligns the behavior of Match() with the 
5680 behavior of the other logical operators (LLess(), etc.) It also requires an 
5681 errata change to the ACPI specification as this support was intended for 
5682 ACPI 3.0, but was inadvertently omitted.
5683
5684 Fixed a problem with the internal implicit "to buffer" conversion. Strings 
5685 that are converted to buffers will cause buffer truncation if the string is 
5686 smaller than the target buffer. Integers that are converted to buffers will 
5687 not cause buffer truncation, only zero extension (both as per the ACPI 
5688 spec.) The problem was introduced when code was added to truncate the 
5689 buffer, but this should not be performed in all cases, only the string case.
5690
5691 Fixed a problem with the Buffer and Package operators where the interpreter 
5692 would get confused if two such operators were used as operands to an ASL 
5693 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
5694 stack was not being popped after the execution of these operators, resulting 
5695 in an AE_NO_RETURN_VALUE exception.
5696
5697 Fixed a problem with constructs of the form Store(Index(...),...). The 
5698 reference object returned from Index was inadvertently resolved to an actual 
5699 value. This problem was introduced in version 20050114 when the behavior of 
5700 Store() was modified to restrict the object types that can be used as the 
5701 source operand (to match the ACPI specification.)
5702
5703 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
5704
5705 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
5706
5707 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5708
5709 Code and Data Size: Current and previous core subsystem library sizes are 
5710 shown below. These are the code and data sizes for the acpica.lib produced 
5711 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5712 any ACPI driver or OSPM code. The debug version of the code includes the 
5713 debug output trace mechanism and has a much larger code and data size. Note 
5714 that these values will vary depending on the efficiency of the compiler and 
5715 the compiler options used during generation.
5716
5717   Previous Release:
5718     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
5719     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
5720   Current Release:
5721     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5722     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5723
5724
5725 2) iASL Compiler/Disassembler:
5726
5727 Fixed a code generation problem in the constant folding optimization code 
5728 where incorrect code was generated if a constant was reduced to a buffer 
5729 object (i.e., a reduced type 5 opcode.)
5730
5731 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
5732 incorrect return type in the internal opcode information table.
5733
5734 ----------------------------------------
5735 25 January 2005.  Summary of changes for version 20050125:
5736
5737 1) ACPI CA Core Subsystem:
5738
5739 Fixed a recently introduced problem with the Global Lock where the 
5740 underlying semaphore was not created.  This problem was introduced in 
5741 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
5742 Acquire() operation on _GL.
5743
5744 The local object cache is now optional, and is disabled by default. Both 
5745 AcpiExec and the iASL compiler enable the cache because they run in user 
5746 mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
5747 to enable the local cache.
5748
5749 Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
5750 optional "implicit return" support where an error was returned if no return 
5751 object was expected, but one was implicitly returned. AE_OK is now returned 
5752 in this case and the implicitly returned object is deleted. 
5753 AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
5754 methods such as _STA and _INI where the return type is known up front.
5755
5756 Fixed a few issues with the internal convert-to-integer code. It now returns 
5757 an error if an attempt is made to convert a null string, a string of only 
5758 blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
5759 and explicit conversion via the ToInteger() operator.
5760
5761 The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
5762 not needed for normal operation and should increase the performance of the 
5763 entire subsystem. The code remains in case it is needed for debug purposes 
5764 again.
5765
5766 The AcpiExec source and makefile are included in the Unix/Linux package for 
5767 the first time.
5768
5769 Code and Data Size: Current and previous core subsystem library sizes are 
5770 shown below. These are the code and data sizes for the acpica.lib produced 
5771 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5772 any ACPI driver or OSPM code. The debug version of the code includes the 
5773 debug output trace mechanism and has a much larger code and data size. Note 
5774 that these values will vary depending on the efficiency of the compiler and 
5775 the compiler options used during generation.
5776
5777   Previous Release:
5778     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5779     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5780   Current Release:
5781     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5782     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5783
5784 2) iASL Compiler/Disassembler:
5785
5786 Switch/Case support: A warning is now issued if the type of the Switch value 
5787 cannot be determined at compile time. For example, Switch(Arg0) will 
5788 generate the warning, and the type is assumed to be an integer. As per the 
5789 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
5790 warning.
5791
5792 Switch/Case support: Implemented support for buffer and string objects as 
5793 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
5794 buffers and strings.
5795
5796 Switch/Case support: The emitted code for the LEqual() comparisons now uses 
5797 the switch value as the first operand, not the second. The case value is now 
5798 the second operand, and this allows the case value to be implicitly 
5799 converted to the type of the switch value, not the other way around.
5800
5801 Switch/Case support: Temporary variables are now emitted immediately within 
5802 the control method, not at the global level. This means that there are now 
5803 36 temps available per-method, not 36 temps per-module as was the case with 
5804 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5805
5806 ----------------------------------------
5807 14 January 2005.  Summary of changes for version 20050114:
5808
5809 Added 2005 copyright to all module headers.  This affects every module in 
5810 the core subsystem, iASL compiler, and the utilities.
5811
5812 1) ACPI CA Core Subsystem:
5813
5814 Fixed an issue with the String-to-Buffer conversion code where the string 
5815 null terminator was not included in the buffer after conversion, but there 
5816 is existing ASL that assumes the string null terminator is included. This is 
5817 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
5818 introduced in the previous version when the code was updated to correctly 
5819 set the converted buffer size as per the ACPI specification. The ACPI spec 
5820 is ambiguous and will be updated to specify that the null terminator must be 
5821 included in the converted buffer. This also affects the ToBuffer() ASL 
5822 operator.
5823
5824 Fixed a problem with the Mid() ASL/AML operator where it did not work 
5825 correctly on Buffer objects. Newly created sub-buffers were not being marked 
5826 as initialized.
5827
5828
5829 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
5830 performed on the OemId and OemTableId table header fields.  These fields are 
5831 not null terminated, so strncmp is now used instead of strcmp.
5832
5833 Implemented a restriction on the Store() ASL/AML operator to align the 
5834 behavior with the ACPI specification.  Previously, any object could be used 
5835 as the source operand.  Now, the only objects that may be used are Integers, 
5836 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
5837 necessary, the original behavior can be restored by enabling the 
5838 EnableInterpreterSlack flag.
5839
5840 Enhanced the optional "implicit return" support to allow an implicit return 
5841 value from methods that are invoked externally via the AcpiEvaluateObject 
5842 interface.  This enables implicit returns from the _STA and _INI methods, 
5843 for example.
5844
5845 Changed the Revision() ASL/AML operator to return the current version of the 
5846 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
5847 the supported ACPI version (This is the function of the _REV method).
5848
5849 Updated the _REV predefined method to return the currently supported version 
5850 of ACPI, now 3.
5851
5852 Implemented batch mode option for the AcpiExec utility (-b).
5853
5854 Code and Data Size: Current and previous core subsystem library sizes are 
5855 shown below. These are the code and data sizes for the acpica.lib produced 
5856 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5857 any ACPI driver or OSPM code. The debug version of the code includes the 
5858 debug output trace mechanism and has a much larger code and data size. Note 
5859 that these values will vary depending on the efficiency of the compiler and 
5860 the compiler options used during generation.
5861
5862   Previous Release:
5863     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5864     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5865   Current Release:
5866     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5867     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5868
5869 ----------------------------------------
5870 10 December 2004.  Summary of changes for version 20041210:
5871
5872 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
5873 ACPI CA core subsystem.
5874
5875 1) ACPI CA Core Subsystem:
5876
5877 Fixed a problem in the ToDecimalString operator where the resulting string 
5878 length was incorrectly calculated. The length is now calculated exactly, 
5879 eliminating incorrect AE_STRING_LIMIT exceptions.
5880
5881 Fixed a problem in the ToHexString operator to allow a maximum 200 character 
5882 string to be produced.
5883
5884 Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
5885 routine where the length of the resulting buffer was not truncated to the 
5886 new size (if the target buffer already existed).
5887
5888 Code and Data Size: Current and previous core subsystem library sizes are 
5889 shown below. These are the code and data sizes for the acpica.lib produced 
5890 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5891 any ACPI driver or OSPM code. The debug version of the code includes the 
5892 debug output trace mechanism and has a much larger code and data size. Note 
5893 that these values will vary depending on the efficiency of the compiler and 
5894 the compiler options used during generation.
5895
5896   Previous Release:
5897     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5898     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5899   Current Release:
5900     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5901     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5902
5903
5904 2) iASL Compiler/Disassembler:
5905
5906 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
5907 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
5908 Includes support in the disassembler.
5909
5910 Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
5911 AccessSize.
5912
5913 Fixed a problem where the _HE resource name for the Interrupt macro was 
5914 referencing bit 0 instead of bit 1.
5915
5916 Implemented check for maximum 255 interrupts in the Interrupt macro.
5917
5918 Fixed a problem with the predefined resource descriptor names where 
5919 incorrect AML code was generated if the offset within the resource buffer 
5920 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
5921 but did not update the surrounding package lengths.
5922
5923 Changes to the Dma macro:  All channels within the channel list must be in 
5924 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
5925 optional (default is BusMaster).
5926
5927 Implemented check for maximum 7 data bytes for the VendorShort macro.
5928
5929 The ReadWrite parameter is now optional for the Memory32 and similar macros.
5930
5931 ----------------------------------------
5932 03 December 2004.  Summary of changes for version 20041203:
5933
5934 1) ACPI CA Core Subsystem:
5935
5936 The low-level field insertion/extraction code (exfldio) has been completely 
5937 rewritten to eliminate unnecessary complexity, bugs, and boundary 
5938 conditions.
5939
5940 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
5941 operators where the input operand could be inadvertently deleted if no 
5942 conversion was necessary (e.g., if the input to ToInteger was an Integer 
5943 object.)
5944
5945 Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
5946 exception code was returned if the resulting string would be > 200 chars.  
5947 AE_STRING_LIMIT is now returned.
5948
5949 Fixed a problem with the Concatenate operator where AE_OK was always 
5950 returned, even if the operation failed.
5951
5952 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
5953 semaphores to be allocated.
5954
5955 Code and Data Size: Current and previous core subsystem library sizes are 
5956 shown below. These are the code and data sizes for the acpica.lib produced 
5957 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5958 any ACPI driver or OSPM code. The debug version of the code includes the 
5959 debug output trace mechanism and has a much larger code and data size. Note 
5960 that these values will vary depending on the efficiency of the compiler and 
5961 the compiler options used during generation.
5962
5963   Previous Release:
5964     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5965     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5966   Current Release:
5967     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5968     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5969
5970
5971 2) iASL Compiler/Disassembler:
5972
5973 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
5974 recently introduced in 20041119.
5975
5976 Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
5977 byte was inadvertently set to zero.
5978
5979 ----------------------------------------
5980 19 November 2004.  Summary of changes for version 20041119:
5981
5982 1) ACPI CA Core Subsystem:
5983
5984 Fixed a problem in the internal ConvertToInteger routine where new integers 
5985 were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
5986 buffers and strings to integers.
5987
5988 Implemented support to store a value to an Index() on a String object. This 
5989 is an ACPI 2.0 feature that had not yet been implemented.
5990
5991 Implemented new behavior for storing objects to individual package elements 
5992 (via the Index() operator). The previous behavior was to invoke the implicit 
5993 conversion rules if an object was already present at the index.  The new 
5994 behavior is to simply delete any existing object and directly store the new 
5995 object. Although the ACPI specification seems unclear on this subject, other 
5996 ACPI implementations behave in this manner.  (This is the root of the 
5997 AE_BAD_HEX_CONSTANT issue.)
5998
5999 Modified the RSDP memory scan mechanism to support the extended checksum for 
6000 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6001 RSDP signature is found with a valid checksum.
6002
6003 Code and Data Size: Current and previous core subsystem library sizes are 
6004 shown below. These are the code and data sizes for the acpica.lib produced 
6005 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6006 any ACPI driver or OSPM code. The debug version of the code includes the 
6007 debug output trace mechanism and has a much larger code and data size. Note 
6008 that these values will vary depending on the efficiency of the compiler and 
6009 the compiler options used during generation.
6010
6011   Previous Release:
6012     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6013     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6014   Current Release:
6015     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6016     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6017
6018
6019 2) iASL Compiler/Disassembler:
6020
6021 Fixed a missing semicolon in the aslcompiler.y file.
6022
6023 ----------------------------------------
6024 05 November 2004.  Summary of changes for version 20041105:
6025
6026 1) ACPI CA Core Subsystem:
6027
6028 Implemented support for FADT revision 2.  This was an interim table (between 
6029 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6030
6031 Implemented optional support to allow uninitialized LocalX and ArgX 
6032 variables in a control method.  The variables are initialized to an Integer 
6033 object with a value of zero.  This support is enabled by setting the 
6034 AcpiGbl_EnableInterpreterSlack flag to TRUE.
6035
6036 Implemented support for Integer objects for the SizeOf operator.  Either 4 
6037 or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6038 depending on the parent table revision).
6039
6040 Fixed a problem in the implementation of the SizeOf and ObjectType operators 
6041 where the operand was resolved to a value too early, causing incorrect 
6042 return values for some objects.
6043
6044 Fixed some possible memory leaks during exceptional conditions.
6045
6046 Code and Data Size: Current and previous core subsystem library sizes are 
6047 shown below. These are the code and data sizes for the acpica.lib produced 
6048 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6049 any ACPI driver or OSPM code. The debug version of the code includes the 
6050 debug output trace mechanism and has a much larger code and data size. Note 
6051 that these values will vary depending on the efficiency of the compiler and 
6052 the compiler options used during generation.
6053
6054   Previous Release:
6055     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6056     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6057   Current Release:
6058     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6059     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6060
6061
6062 2) iASL Compiler/Disassembler:
6063
6064 Implemented support for all ACPI 3.0 reserved names and methods.
6065
6066 Implemented all ACPI 3.0 grammar elements in the front-end, including 
6067 support for semicolons.
6068
6069 Implemented the ACPI 3.0 Function() and ToUUID() macros
6070
6071 Fixed a problem in the disassembler where a Scope() operator would not be 
6072 emitted properly if the target of the scope was in another table.
6073
6074 ----------------------------------------
6075 15 October 2004.  Summary of changes for version 20041015:
6076
6077 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
6078 evaluation to test/verify the following areas. Other suggestions are 
6079 welcome. This will result in an increase in the frequency of releases and 
6080 the number of bug fixes in the next few months.
6081   - Functional tests for all ASL/AML operators
6082   - All implicit/explicit type conversions
6083   - Bit fields and operation regions
6084   - 64-bit math support and 32-bit-only "truncated" math support
6085   - Exceptional conditions, both compiler and interpreter
6086   - Dynamic object deletion and memory leaks
6087   - ACPI 3.0 support when implemented
6088   - External interfaces to the ACPI subsystem
6089
6090
6091 1) ACPI CA Core Subsystem:
6092
6093 Fixed two alignment issues on 64-bit platforms - within debug statements in 
6094 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6095 field within the non-aligned ACPI generic address structure.
6096
6097 Fixed a problem in the Increment and Decrement operators where incorrect 
6098 operand resolution could result in the inadvertent modification of the 
6099 original integer when the integer is passed into another method as an 
6100 argument and the arg is then incremented/decremented.
6101
6102 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6103 BCD number were truncated during conversion.
6104
6105 Fixed a problem in the ToDecimal operator where the length of the resulting 
6106 string could be set incorrectly too long if the input operand was a Buffer 
6107 object.
6108
6109 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6110 within a buffer would prematurely terminate a compare between buffer 
6111 objects.
6112
6113 Added a check for string overflow (>200 characters as per the ACPI 
6114 specification) during the Concatenate operator with two string operands.
6115
6116 Code and Data Size: Current and previous core subsystem library sizes are 
6117 shown below. These are the code and data sizes for the acpica.lib produced 
6118 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6119 any ACPI driver or OSPM code. The debug version of the code includes the 
6120 debug output trace mechanism and has a much larger code and data size. Note 
6121 that these values will vary depending on the efficiency of the compiler and 
6122 the compiler options used during generation.
6123
6124   Previous Release:
6125     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6126     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6127   Current Release:
6128     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6129     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6130
6131
6132
6133 2) iASL Compiler/Disassembler:
6134
6135 Allow the use of the ObjectType operator on uninitialized Locals and Args 
6136 (returns 0 as per the ACPI specification).
6137
6138 Fixed a problem where the compiler would fault if there was a syntax error 
6139 in the FieldName of all of the various CreateXXXField operators.
6140
6141 Disallow the use of lower case letters within the EISAID macro, as per the 
6142 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6143 U is an uppercase letter and N is a hex digit.
6144
6145
6146 ----------------------------------------
6147 06 October 2004.  Summary of changes for version 20041006:
6148
6149 1) ACPI CA Core Subsystem:
6150
6151 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
6152 implements a 64-bit timer with 100 nanosecond granularity.
6153
6154 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6155 implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6156 the timer with the best clock available. Also, it keeps the core subsystem 
6157 out of the clock handling business, since the host OS (usually) performs 
6158 this function.
6159
6160 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6161 functions use a 64-bit address which is part of the packed ACPI Generic 
6162 Address Structure. Since the structure is non-aligned, the alignment macros 
6163 are now used to extract the address to a local variable before use.
6164
6165 Fixed a problem where the ToInteger operator assumed all input strings were 
6166 hexadecimal. The operator now handles both decimal strings and hex strings 
6167 (prefixed with "0x").
6168
6169 Fixed a problem where the string length in the string object created as a 
6170 result of the internal ConvertToString procedure could be incorrect. This 
6171 potentially affected all implicit conversions and also the ToDecimalString 
6172 and ToHexString operators.
6173
6174 Fixed two problems in the ToString operator. If the length parameter was 
6175 zero, an incorrect string object was created and the value of the input 
6176 length parameter was inadvertently changed from zero to Ones.
6177
6178 Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6179 resource macro was ignored.
6180
6181 Simplified the interfaces to the internal division functions, reducing code 
6182 size and complexity.
6183
6184 Code and Data Size: Current and previous core subsystem library sizes are 
6185 shown below. These are the code and data sizes for the acpica.lib produced 
6186 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6187 any ACPI driver or OSPM code. The debug version of the code includes the 
6188 debug output trace mechanism and has a much larger code and data size. Note 
6189 that these values will vary depending on the efficiency of the compiler and 
6190 the compiler options used during generation.
6191
6192   Previous Release:
6193     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6194     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6195   Current Release:
6196     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6197     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6198
6199
6200 2) iASL Compiler/Disassembler:
6201
6202 Implemented support for the ACPI 3.0 Timer operator.
6203
6204 Fixed a problem where the Default() operator was inadvertently ignored in a 
6205 Switch/Case block.  This was a problem in the translation of the Switch 
6206 statement to If...Else pairs.
6207
6208 Added support to allow a standalone Return operator, with no parentheses (or 
6209 operands).
6210
6211 Fixed a problem with code generation for the ElseIf operator where the 
6212 translated Else...If parse tree was improperly constructed leading to the 
6213 loss of some code.
6214
6215 ----------------------------------------
6216 22 September 2004.  Summary of changes for version 20040922:
6217
6218 1) ACPI CA Core Subsystem:
6219
6220 Fixed a problem with the implementation of the LNot() operator where "Ones" 
6221 was not returned for the TRUE case. Changed the code to return Ones instead 
6222 of (!Arg) which was usually 1. This change affects iASL constant folding for 
6223 this operator also.
6224
6225 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6226 initialized properly -- Now zero the entire buffer in this case where the 
6227 buffer already exists.
6228
6229 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6230 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6231 related code considerably. This will require changes/updates to all OS 
6232 interface layers (OSLs.)
6233
6234 Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
6235 a system exception handler to be installed. This handler is invoked upon any 
6236 run-time exception that occurs during control method execution.
6237
6238 Added support for the DSDT in AcpiTbFindTable. This allows the 
6239 DataTableRegion() operator to access the local copy of the DSDT.
6240
6241 Code and Data Size: Current and previous core subsystem library sizes are 
6242 shown below. These are the code and data sizes for the acpica.lib produced 
6243 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6244 any ACPI driver or OSPM code. The debug version of the code includes the 
6245 debug output trace mechanism and has a much larger code and data size. Note 
6246 that these values will vary depending on the efficiency of the compiler and 
6247 the compiler options used during generation.
6248
6249   Previous Release:
6250     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6251     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6252   Current Release:
6253     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6254     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6255
6256
6257 2) iASL Compiler/Disassembler:
6258
6259 Fixed a problem with constant folding and the LNot operator. LNot was 
6260 returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6261 could result in the generation of an incorrect folded/reduced constant.
6262
6263 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
6264 longer occurs if such a comment is at the very end of the input ASL source 
6265 file.
6266
6267 Implemented the "-r" option to override the Revision in the table header. 
6268 The initial use of this option will be to simplify the evaluation of the AML 
6269 interpreter by allowing a single ASL source module to be compiled for either 
6270 32-bit or 64-bit integers.
6271
6272
6273 ----------------------------------------
6274 27 August 2004.  Summary of changes for version 20040827:
6275
6276 1) ACPI CA Core Subsystem:
6277
6278 - Implemented support for implicit object conversion in the non-numeric 
6279 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6280 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6281 the second operand is implicitly converted on the fly to match the type of 
6282 the first operand.  For example:
6283
6284     LEqual (Source1, Source2)
6285
6286 Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6287 The data type of Source1 dictates the required type of Source2. Source2 is 
6288 implicitly converted if necessary to match the type of Source1.
6289
6290 - Updated and corrected the behavior of the string conversion support.  The 
6291 rules concerning conversion of buffers to strings (according to the ACPI 
6292 specification) are as follows:
6293
6294 ToDecimalString - explicit byte-wise conversion of buffer to string of 
6295 decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6296 conversion of buffer to string of hex values (0-FF) separated by commas. 
6297 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6298 copy with no transform except NULL terminated. Any other implicit buffer-to-
6299 string conversion - byte-wise conversion of buffer to string of hex values 
6300 (0-FF) separated by spaces.
6301
6302 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6303
6304 - Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6305 one byte too short in the case of a node in the root scope.  This could 
6306 cause a fault during debug output.
6307
6308 - Code and Data Size: Current and previous core subsystem library sizes are 
6309 shown below.  These are the code and data sizes for the acpica.lib produced 
6310 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6311 any ACPI driver or OSPM code.  The debug version of the code includes the 
6312 debug output trace mechanism and has a much larger code and data size.  Note 
6313 that these values will vary depending on the efficiency of the compiler and 
6314 the compiler options used during generation.
6315
6316   Previous Release:
6317     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6318     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6319   Current Release:
6320     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6321     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6322
6323
6324 2) iASL Compiler/Disassembler:
6325
6326 - Fixed a Linux generation error.
6327
6328
6329 ----------------------------------------
6330 16 August 2004.  Summary of changes for version 20040816:
6331
6332 1) ACPI CA Core Subsystem:
6333
6334 Designed and implemented support within the AML interpreter for the so-
6335 called "implicit return".  This support returns the result of the last ASL 
6336 operation within a control method, in the absence of an explicit Return() 
6337 operator.  A few machines depend on this behavior, even though it is not 
6338 explicitly supported by the ASL language.  It is optional support that can 
6339 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6340
6341 Removed support for the PCI_Config address space from the internal low level 
6342 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6343 support was not used internally, and would not work correctly anyway because 
6344 the PCI bus number and segment number were not supported.  There are 
6345 separate interfaces for PCI configuration space access because of the unique 
6346 interface.
6347
6348 Code and Data Size: Current and previous core subsystem library sizes are 
6349 shown below.  These are the code and data sizes for the acpica.lib produced 
6350 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6351 any ACPI driver or OSPM code.  The debug version of the code includes the 
6352 debug output trace mechanism and has a much larger code and data size.  Note 
6353 that these values will vary depending on the efficiency of the compiler and 
6354 the compiler options used during generation.
6355
6356   Previous Release:
6357     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6358     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6359   Current Release:
6360     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6361     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6362
6363
6364 2) iASL Compiler/Disassembler:
6365
6366 Fixed a problem where constants in ASL expressions at the root level (not 
6367 within a control method) could be inadvertently truncated during code 
6368 generation.  This problem was introduced in the 20040715 release.
6369
6370
6371 ----------------------------------------
6372 15 July 2004.  Summary of changes for version 20040715:
6373
6374 1) ACPI CA Core Subsystem:
6375
6376 Restructured the internal HW GPE interfaces to pass/track the current state 
6377 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
6378 increase flexibility of the interfaces.
6379
6380 Implemented a "lexicographical compare" for String and Buffer objects within 
6381 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6382 as per further clarification to the ACPI specification.  Behavior is similar 
6383 to C library "strcmp".
6384
6385 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6386 external function.  In the 32-bit non-debug case, the stack use has been 
6387 reduced from 168 bytes to 32 bytes.
6388
6389 Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6390 whose purpose is to allow the AML interpreter to forgive certain bad AML 
6391 constructs.  Default setting is FALSE.
6392
6393 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6394 support code.  If enabled, it allows field access to go beyond the end of a 
6395 region definition if the field is within the region length rounded up to the 
6396 next access width boundary (a common coding error.)
6397
6398 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6399 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6400 symbols are lowercased by the latest version of the AcpiSrc tool.
6401
6402 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6403 rename "Register" to simply "Reg" to prevent certain compilers from 
6404 complaining.
6405
6406 Code and Data Size: Current and previous core subsystem library sizes are 
6407 shown below.  These are the code and data sizes for the acpica.lib produced 
6408 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6409 any ACPI driver or OSPM code.  The debug version of the code includes the 
6410 debug output trace mechanism and has a much larger code and data size.  Note 
6411 that these values will vary depending on the efficiency of the compiler and 
6412 the compiler options used during generation.
6413
6414   Previous Release:
6415     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6416     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6417   Current Release:
6418     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6419     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6420
6421
6422 2) iASL Compiler/Disassembler:
6423
6424 Implemented full support for Package objects within the Case() operator.  
6425 Note: The Break() operator is currently not supported within Case blocks 
6426 (TermLists) as there is some question about backward compatibility with ACPI 
6427 1.0 interpreters.
6428
6429
6430 Fixed a problem where complex terms were not supported properly within the 
6431 Switch() operator.
6432
6433 Eliminated extraneous warning for compiler-emitted reserved names of the 
6434 form "_T_x".  (Used in Switch/Case operators.)
6435
6436 Eliminated optimization messages for "_T_x" objects and small constants 
6437 within the DefinitionBlock operator.
6438
6439
6440 ----------------------------------------
6441 15 June 2004.  Summary of changes for version 20040615:
6442
6443 1) ACPI CA Core Subsystem:
6444
6445 Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6446 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6447 LLessEqual.
6448
6449 All directory names in the entire source package are lower case, as they 
6450 were in earlier releases.
6451
6452 Implemented "Disassemble" command in the AML debugger that will disassemble 
6453 a single control method.
6454
6455 Code and Data Size: Current and previous core subsystem library sizes are 
6456 shown below.  These are the code and data sizes for the acpica.lib produced 
6457 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6458 any ACPI driver or OSPM code.  The debug version of the code includes the 
6459 debug output trace mechanism and has a much larger code and data size.  Note 
6460 that these values will vary depending on the efficiency of the compiler and 
6461 the compiler options used during generation.
6462
6463   Previous Release:
6464     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6465     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6466
6467   Current Release:
6468     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6469     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6470
6471
6472 2) iASL Compiler/Disassembler:
6473
6474 Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6475 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6476 LLessEqual.
6477
6478 All directory names in the entire source package are lower case, as they 
6479 were in earlier releases.
6480
6481 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
6482 not found.
6483
6484 Fixed an issue with the Windows version of the compiler where later versions 
6485 of Windows place the FADT in the registry under the name "FADT" and not 
6486 "FACP" as earlier versions did.  This applies when using the -g or -
6487 d<nofilename> options.  The compiler now looks for both strings as 
6488 necessary.
6489
6490 Fixed a problem with compiler namepath optimization where a namepath within 
6491 the Scope() operator could not be optimized if the namepath was a subpath of 
6492 the current scope path.
6493
6494 ----------------------------------------
6495 27 May 2004.  Summary of changes for version 20040527:
6496
6497 1) ACPI CA Core Subsystem:
6498
6499 Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
6500 support in the RSDP scan code.  The original code improperly scanned for the 
6501 EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6502 is to first obtain the EBDA pointer from within the BIOS data area, then 
6503 scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6504 any machines that place the RSDP in the EBDA, however.
6505
6506 Integrated a fix for a possible fault during evaluation of BufferField 
6507 arguments.  Obsolete code that was causing the problem was removed.
6508
6509 Found and fixed a problem in the Field Support Code where data could be 
6510 corrupted on a bit field read that starts on an aligned boundary but does 
6511 not end on an aligned boundary.  Merged the read/write "datum length" 
6512 calculation code into a common procedure.
6513
6514 Rolled in a couple of changes to the FreeBSD-specific header.
6515
6516
6517 Code and Data Size: Current and previous core subsystem library sizes are 
6518 shown below.  These are the code and data sizes for the acpica.lib produced 
6519 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6520 any ACPI driver or OSPM code.  The debug version of the code includes the 
6521 debug output trace mechanism and has a much larger code and data size.  Note 
6522 that these values will vary depending on the efficiency of the compiler and 
6523 the compiler options used during generation.
6524
6525   Previous Release:
6526     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6527     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6528   Current Release:
6529     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6530     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6531
6532
6533 2) iASL Compiler/Disassembler:
6534
6535 Fixed a generation warning produced by some overly-verbose compilers for a 
6536 64-bit constant.
6537
6538 ----------------------------------------
6539 14 May 2004.  Summary of changes for version 20040514:
6540
6541 1) ACPI CA Core Subsystem:
6542
6543 Fixed a problem where hardware GPE enable bits sometimes not set properly 
6544 during and after GPE method execution.  Result of 04/27 changes.
6545
6546 Removed extra "clear all GPEs" when sleeping/waking.
6547
6548 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6549 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6550 the new AcpiEv* calls as appropriate.
6551
6552 ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6553 now "Microsoft Windows NT" for maximum compatibility.  However this can be 
6554 changed by modifying the acconfig.h file.
6555
6556 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
6557 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6558
6559 Run _INI methods on ThermalZone objects.  This is against the ACPI 
6560 specification, but there is apparently ASL code in the field that has these 
6561 _INI methods, and apparently "other" AML interpreters execute them.
6562
6563 Performed a full 16/32/64 bit lint that resulted in some small changes.
6564
6565 Added a sleep simulation command to the AML debugger to test sleep code. 
6566
6567 Code and Data Size: Current and previous core subsystem library sizes are 
6568 shown below.  These are the code and data sizes for the acpica.lib produced 
6569 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6570 any ACPI driver or OSPM code.  The debug version of the code includes the 
6571 debug output trace mechanism and has a much larger code and data size.  Note 
6572 that these values will vary depending on the efficiency of the compiler and 
6573 the compiler options used during generation.
6574
6575   Previous Release:
6576     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6577     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6578   Current Release:
6579     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6580     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6581
6582 ----------------------------------------
6583 27 April 2004.  Summary of changes for version 20040427:
6584
6585 1) ACPI CA Core Subsystem:
6586
6587 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
6588 now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
6589 The only GPEs allowed to be combination wake/run are for button-style 
6590 devices such as a control-method power button, control-method sleep button, 
6591 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
6592 referenced by any _PRW methods are marked for "runtime" and hardware 
6593 enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
6594 (and disabled at runtime).  However, at sleep time, only those GPEs that 
6595 have been specifically enabled for wake via the AcpiEnableGpe interface will 
6596 actually be hardware enabled.
6597
6598 A new external interface has been added, AcpiSetGpeType(), that is meant to 
6599 be used by device drivers to force a GPE to a particular type.  It will be 
6600 especially useful for the drivers for the button devices mentioned above.
6601
6602 Completed restructuring of the ACPI CA initialization sequence so that 
6603 default operation region handlers are installed before GPEs are initialized 
6604 and the _PRW methods are executed.  This will prevent errors when the _PRW 
6605 methods attempt to access system memory or I/O space.
6606
6607 GPE enable/disable no longer reads the GPE enable register.  We now keep the 
6608 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
6609 thus no longer depend on the hardware to maintain these bits.
6610
6611 Always clear the wake status and fixed/GPE status bits before sleep, even 
6612 for state S5.
6613
6614 Improved the AML debugger output for displaying the GPE blocks and their 
6615 current status.
6616
6617 Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
6618 x = 0,1,2,3,4.
6619
6620 Fixed a problem where the physical address was incorrectly calculated when 
6621 the Load() operator was used to directly load from an Operation Region (vs. 
6622 loading from a Field object.)  Also added check for minimum table length for 
6623 this case.
6624
6625 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
6626 mutex release.
6627
6628 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
6629 consistency with the other fields returned.
6630
6631 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
6632 structure for each GPE in the system, so the size of this structure is 
6633 important.
6634
6635 CPU stack requirement reduction:  Cleaned up the method execution and object 
6636 evaluation paths so that now a parameter structure is passed, instead of 
6637 copying the various method parameters over and over again.
6638
6639 In evregion.c:  Correctly exit and reenter the interpreter region if and 
6640 only if dispatching an operation region request to a user-installed handler.  
6641 Do not exit/reenter when dispatching to a default handler (e.g., default 
6642 system memory or I/O handlers)
6643
6644
6645 Notes for updating drivers for the new GPE support.  The following changes 
6646 must be made to ACPI-related device drivers that are attached to one or more 
6647 GPEs: (This information will be added to the ACPI CA Programmer Reference.)
6648
6649 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
6650 explicitly call AcpiEnableGpe.
6651 2) There is a new interface called AcpiSetGpeType. This should be called 
6652 before enabling the GPE.  Also, this interface will automatically disable 
6653 the GPE if it is currently enabled.
6654 3) AcpiEnableGpe no longer supports a GPE type flag.
6655
6656 Specific drivers that must be changed:
6657 1) EC driver:
6658     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
6659 AeGpeHandler, NULL);
6660     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6661     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6662
6663 2) Button Drivers (Power, Lid, Sleep):
6664 Run _PRW method under parent device
6665 If _PRW exists: /* This is a control-method button */
6666     Extract GPE number and possibly GpeDevice
6667     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6668     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6669
6670 For all other devices that have _PRWs, we automatically set the GPE type to 
6671 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
6672 must be done on a selective basis, usually requiring some kind of user app 
6673 to allow the user to pick the wake devices.
6674
6675
6676 Code and Data Size: Current and previous core subsystem library sizes are 
6677 shown below.  These are the code and data sizes for the acpica.lib produced 
6678 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6679 any ACPI driver or OSPM code.  The debug version of the code includes the 
6680 debug output trace mechanism and has a much larger code and data size.  Note 
6681 that these values will vary depending on the efficiency of the compiler and 
6682 the compiler options used during generation.
6683
6684   Previous Release:
6685     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6686     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6687   Current Release:
6688
6689     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6690     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6691
6692
6693
6694 ----------------------------------------
6695 02 April 2004.  Summary of changes for version 20040402:
6696
6697 1) ACPI CA Core Subsystem:
6698
6699 Fixed an interpreter problem where an indirect store through an ArgX 
6700 parameter was incorrectly applying the "implicit conversion rules" during 
6701 the store.  From the ACPI specification: "If the target is a method local or 
6702 argument (LocalX or ArgX), no conversion is performed and the result is 
6703 stored directly to the target".  The new behavior is to disable implicit 
6704 conversion during ALL stores to an ArgX.
6705
6706 Changed the behavior of the _PRW method scan to ignore any and all errors 
6707 returned by a given _PRW.  This prevents the scan from aborting from the 
6708 failure of any single _PRW.
6709
6710 Moved the runtime configuration parameters from the global init procedure to 
6711 static variables in acglobal.h.  This will allow the host to override the 
6712 default values easily.
6713
6714 Code and Data Size: Current and previous core subsystem library sizes are 
6715 shown below.  These are the code and data sizes for the acpica.lib produced 
6716 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6717 any ACPI driver or OSPM code.  The debug version of the code includes the 
6718 debug output trace mechanism and has a much larger code and data size.  Note 
6719 that these values will vary depending on the efficiency of the compiler and 
6720 the compiler options used during generation.
6721
6722   Previous Release:
6723     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6724     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6725   Current Release:
6726     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6727     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6728
6729
6730 2) iASL Compiler/Disassembler:
6731
6732 iASL now fully disassembles SSDTs.  However, External() statements are not 
6733 generated automatically for unresolved symbols at this time.  This is a 
6734 planned feature for future implementation.
6735
6736 Fixed a scoping problem in the disassembler that occurs when the type of the 
6737 target of a Scope() operator is overridden.  This problem caused an 
6738 incorrectly nested internal namespace to be constructed.
6739
6740 Any warnings or errors that are emitted during disassembly are now commented 
6741 out automatically so that the resulting file can be recompiled without any 
6742 hand editing.
6743
6744 ----------------------------------------
6745 26 March 2004.  Summary of changes for version 20040326:
6746
6747 1) ACPI CA Core Subsystem:
6748
6749 Implemented support for "wake" GPEs via interaction between GPEs and the 
6750 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
6751 identified as a WAKE GPE and by default will no longer be enabled at 
6752 runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
6753 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
6754 believe this has been the cause of thousands of "spurious" GPEs on some 
6755 systems.
6756
6757 This new GPE behavior is can be reverted to the original behavior (enable 
6758 ALL GPEs at runtime) via a runtime flag.
6759
6760 Fixed a problem where aliased control methods could not access objects 
6761 properly.  The proper scope within the namespace was not initialized 
6762 (transferred to the target of the aliased method) before executing the 
6763 target method.
6764
6765 Fixed a potential race condition on internal object deletion on the return 
6766 object in AcpiEvaluateObject. 
6767
6768 Integrated a fix for resource descriptors where both _MEM and _MTP were 
6769 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
6770 wide, 0x0F instead of 0x03.)
6771
6772 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
6773 fault in some cases.
6774
6775 Updated Notify() values for debug statements in evmisc.c
6776
6777 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6778
6779 Code and Data Size: Current and previous core subsystem library sizes are 
6780 shown below.  These are the code and data sizes for the acpica.lib produced 
6781 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6782 any ACPI driver or OSPM code.  The debug version of the code includes the 
6783 debug output trace mechanism and has a much larger code and data size.  Note 
6784 that these values will vary depending on the efficiency of the compiler and 
6785 the compiler options used during generation.
6786
6787   Previous Release:
6788
6789     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6790     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6791   Current Release:
6792     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6793     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6794
6795 ----------------------------------------
6796 11 March 2004.  Summary of changes for version 20040311:
6797
6798 1) ACPI CA Core Subsystem:
6799
6800 Fixed a problem where errors occurring during the parse phase of control 
6801 method execution did not abort cleanly.  For example, objects created and 
6802 installed in the namespace were not deleted.  This caused all subsequent 
6803 invocations of the method to return the AE_ALREADY_EXISTS exception.
6804
6805 Implemented a mechanism to force a control method to "Serialized" execution 
6806 if the method attempts to create namespace objects. (The root of the 
6807 AE_ALREADY_EXISTS problem.)
6808
6809 Implemented support for the predefined _OSI "internal" control method.  
6810 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
6811 "Windows 2001.1", and can be easily upgraded for new strings as necessary.  
6812 This feature will allow "other" operating systems to execute the fully 
6813 tested, "Windows" code path through the ASL code
6814
6815 Global Lock Support:  Now allows multiple acquires and releases with any 
6816 internal thread.  Removed concept of "owning thread" for this special mutex.
6817
6818 Fixed two functions that were inappropriately declaring large objects on the 
6819 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
6820 method execution considerably.
6821
6822 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
6823 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6824
6825 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
6826 defined on the machine.
6827
6828 Implemented two runtime options:  One to force all control method execution 
6829 to "Serialized" to mimic Windows behavior, another to disable _OSI support 
6830 if it causes problems on a given machine.
6831
6832 Code and Data Size: Current and previous core subsystem library sizes are 
6833 shown below.  These are the code and data sizes for the acpica.lib produced 
6834 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6835 any ACPI driver or OSPM code.  The debug version of the code includes the 
6836 debug output trace mechanism and has a much larger code and data size.  Note 
6837 that these values will vary depending on the efficiency of the compiler and 
6838 the compiler options used during generation.
6839
6840   Previous Release:
6841     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6842     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6843   Current Release:
6844     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6845     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6846
6847 2) iASL Compiler/Disassembler:
6848
6849 Fixed an array size problem for FreeBSD that would cause the compiler to 
6850 fault.
6851
6852 ----------------------------------------
6853 20 February 2004.  Summary of changes for version 20040220:
6854
6855
6856 1) ACPI CA Core Subsystem:
6857
6858 Implemented execution of _SxD methods for Device objects in the 
6859 GetObjectInfo interface.
6860
6861 Fixed calls to _SST method to pass the correct arguments.
6862
6863 Added a call to _SST on wake to restore to "working" state.
6864
6865 Check for End-Of-Buffer failure case in the WalkResources interface.
6866
6867 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
6868 structures to the beginning of the file.
6869
6870 After wake, clear GPE status register(s) before enabling GPEs.
6871
6872 After wake, clear/enable power button.  (Perhaps we should clear/enable all 
6873 fixed events upon wake.)
6874
6875 Fixed a couple of possible memory leaks in the Namespace manager.
6876
6877 Integrated latest acnetbsd.h file.
6878
6879 ----------------------------------------
6880 11 February 2004.  Summary of changes for version 20040211:
6881
6882
6883 1) ACPI CA Core Subsystem:
6884
6885 Completed investigation and implementation of the call-by-reference 
6886 mechanism for control method arguments.
6887
6888 Fixed a problem where a store of an object into an indexed package could 
6889 fail if the store occurs within a different method than the method that 
6890 created the package.
6891
6892 Fixed a problem where the ToDecimal operator could return incorrect results.
6893
6894 Fixed a problem where the CopyObject operator could fail on some of the more 
6895 obscure objects (e.g., Reference objects.)
6896
6897 Improved the output of the Debug object to display buffer, package, and 
6898 index objects.
6899
6900 Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
6901 the expected result.
6902
6903 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
6904 ACPI_AML_INTERNAL exception.
6905
6906 Integrated latest version of acfreebsd.h
6907
6908 ----------------------------------------
6909 16 January 2004.  Summary of changes for version 20040116:
6910
6911 The purpose of this release is primarily to update the copyright years in 
6912 each module, thus causing a huge number of diffs.  There are a few small 
6913 functional changes, however.
6914
6915 1) ACPI CA Core Subsystem:
6916
6917 Improved error messages when there is a problem finding one or more of the 
6918 required base ACPI tables
6919
6920 Reintroduced the definition of APIC_HEADER in actbl.h
6921
6922 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6923
6924 Removed extraneous reference to NewObj in dsmthdat.c
6925
6926 2) iASL compiler
6927
6928 Fixed a problem introduced in December that disabled the correct disassembly 
6929 of Resource Templates
6930
6931
6932 ----------------------------------------
6933 03 December 2003.  Summary of changes for version 20031203:
6934
6935 1) ACPI CA Core Subsystem:
6936
6937 Changed the initialization of Operation Regions during subsystem
6938 init to perform two entire walks of the ACPI namespace; The first
6939 to initialize the regions themselves, the second to execute the
6940 _REG methods.  This fixed some interdependencies across _REG
6941 methods found on some machines.
6942
6943 Fixed a problem where a Store(Local0, Local1) could simply update
6944 the object reference count, and not create a new copy of the
6945 object if the Local1 is uninitialized.
6946
6947 Implemented support for the _SST reserved method during sleep
6948 transitions.
6949
6950 Implemented support to clear the SLP_TYP and SLP_EN bits when
6951 waking up, this is apparently required by some machines.
6952
6953 When sleeping, clear the wake status only if SleepState is not S5.
6954
6955 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6956 pointer arithmetic advanced a string pointer too far.
6957
6958 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6959 could be returned if the requested table has not been loaded.
6960
6961 Within the support for IRQ resources, restructured the handling of
6962 the active and edge/level bits.
6963
6964 Fixed a few problems in AcpiPsxExecute() where memory could be
6965 leaked under certain error conditions.
6966
6967 Improved error messages for the cases where the ACPI mode could
6968 not be entered.
6969
6970 Code and Data Size: Current and previous core subsystem library
6971 sizes are shown below.  These are the code and data sizes for the
6972 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6973 these values do not include any ACPI driver or OSPM code.  The
6974 debug version of the code includes the debug output trace
6975 mechanism and has a much larger code and data size.  Note that
6976 these values will vary depending on the efficiency of the compiler
6977 and the compiler options used during generation.
6978
6979   Previous Release (20031029):
6980     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6981     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6982   Current Release:
6983     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6984     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6985
6986 2) iASL Compiler/Disassembler:
6987
6988 Implemented a fix for the iASL disassembler where a bad index was
6989 generated.  This was most noticeable on 64-bit platforms
6990
6991
6992 ----------------------------------------
6993 29 October 2003.  Summary of changes for version 20031029:
6994
6995 1) ACPI CA Core Subsystem:
6996
6997
6998 Fixed a problem where a level-triggered GPE with an associated
6999 _Lxx control method was incorrectly cleared twice.
7000
7001 Fixed a problem with the Field support code where an access can
7002 occur beyond the end-of-region if the field is non-aligned but
7003 extends to the very end of the parent region (resulted in an
7004 AE_AML_REGION_LIMIT exception.)
7005
7006 Fixed a problem with ACPI Fixed Events where an RT Clock handler
7007 would not get invoked on an RTC event.  The RTC event bitmasks for
7008 the PM1 registers were not being initialized properly.
7009
7010 Implemented support for executing _STA and _INI methods for
7011 Processor objects.  Although this is currently not part of the
7012 ACPI specification, there is existing ASL code that depends on the
7013 init-time execution of these methods.
7014
7015 Implemented and deployed a GetDescriptorName function to decode
7016 the various types of internal descriptors.  Guards against null
7017 descriptors during debug output also.
7018
7019 Implemented and deployed a GetNodeName function to extract the 4-
7020 character namespace node name.  This function simplifies the debug
7021 and error output, as well as guarding against null pointers during
7022 output.
7023
7024 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7025 simplify the debug and error output of 64-bit integers.  This
7026 macro replaces the HIDWORD and LODWORD macros for dumping these
7027 integers.
7028
7029 Updated the implementation of the Stall() operator to only call
7030 AcpiOsStall(), and also return an error if the operand is larger
7031 than 255.  This preserves the required behavior of not
7032 relinquishing the processor, as would happen if AcpiOsSleep() was
7033 called for "long stalls".
7034
7035 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7036 initialized are now treated as NOOPs.
7037
7038 Cleaned up a handful of warnings during 64-bit generation.
7039
7040 Fixed a reported error where and incorrect GPE number was passed
7041 to the GPE dispatch handler.  This value is only used for error
7042 output, however.  Used this opportunity to clean up and streamline
7043 the GPE dispatch code.
7044
7045 Code and Data Size: Current and previous core subsystem library
7046 sizes are shown below.  These are the code and data sizes for the
7047 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7048 these values do not include any ACPI driver or OSPM code.  The
7049
7050 debug version of the code includes the debug output trace
7051 mechanism and has a much larger code and data size.  Note that
7052 these values will vary depending on the efficiency of the compiler
7053 and the compiler options used during generation.
7054
7055   Previous Release (20031002):
7056     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7057     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7058   Current Release:
7059     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7060     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7061
7062
7063 2) iASL Compiler/Disassembler:
7064
7065 Updated the iASL compiler to return an error if the operand to the
7066 Stall() operator is larger than 255.
7067
7068
7069 ----------------------------------------
7070 02 October 2003.  Summary of changes for version 20031002:
7071
7072
7073 1) ACPI CA Core Subsystem:
7074
7075 Fixed a problem with Index Fields where the index was not
7076 incremented for fields that require multiple writes to the
7077 index/data registers (Fields that are wider than the data
7078 register.)
7079
7080 Fixed a problem with all Field objects where a write could go
7081 beyond the end-of-field if the field was larger than the access
7082 granularity and therefore required multiple writes to complete the
7083 request.  An extra write beyond the end of the field could happen
7084 inadvertently.
7085
7086 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7087 would incorrectly be returned if the width of the Data Register
7088 was larger than the specified field access width.
7089
7090 Completed fixes for LoadTable() and Unload() and verified their
7091 operation.  Implemented full support for the "DdbHandle" object
7092 throughout the ACPI CA subsystem.
7093
7094 Implemented full support for the MADT and ECDT tables in the ACPI
7095 CA header files.  Even though these tables are not directly
7096 consumed by ACPI CA, the header definitions are useful for ACPI
7097 device drivers.
7098
7099 Integrated resource descriptor fixes posted to the Linux ACPI
7100 list.  This included checks for minimum descriptor length, and
7101 support for trailing NULL strings within descriptors that have
7102 optional string elements.
7103
7104 Code and Data Size: Current and previous core subsystem library
7105 sizes are shown below.  These are the code and data sizes for the
7106 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7107 these values do not include any ACPI driver or OSPM code.  The
7108 debug version of the code includes the debug output trace
7109 mechanism and has a much larger code and data size.  Note that
7110 these values will vary depending on the efficiency of the compiler
7111 and the compiler options used during generation.
7112
7113   Previous Release (20030918):
7114     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7115     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7116   Current Release:
7117     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7118     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7119
7120
7121 2) iASL Compiler:
7122
7123 Implemented detection of non-ASCII characters within the input
7124 source ASL file.  This catches attempts to compile binary (AML)
7125 files early in the compile, with an informative error message.
7126
7127 Fixed a problem where the disassembler would fault if the output
7128 filename could not be generated or if the output file could not be
7129 opened.
7130
7131 ----------------------------------------
7132 18 September 2003.  Summary of changes for version 20030918:
7133
7134
7135 1) ACPI CA Core Subsystem:
7136
7137 Found and fixed a longstanding problem with the late execution of
7138 the various deferred AML opcodes (such as Operation Regions,
7139 Buffer Fields, Buffers, and Packages).  If the name string
7140 specified for the name of the new object placed the object in a
7141 scope other than the current scope, the initialization/execution
7142 of the opcode failed.  The solution to this problem was to
7143 implement a mechanism where the late execution of such opcodes
7144 does not attempt to lookup/create the name a second time in an
7145 incorrect scope.  This fixes the "region size computed
7146 incorrectly" problem.
7147
7148 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7149 Global Lock AE_BAD_PARAMETER error.
7150
7151 Fixed several 64-bit issues with prototypes, casting and data
7152 types.
7153
7154 Removed duplicate prototype from acdisasm.h
7155
7156 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7157
7158 Code and Data Size: Current and previous core subsystem library
7159 sizes are shown below.  These are the code and data sizes for the
7160 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7161 these values do not include any ACPI driver or OSPM code.  The
7162 debug version of the code includes the debug output trace
7163 mechanism and has a much larger code and data size.  Note that
7164 these values will vary depending on the efficiency of the compiler
7165 and the compiler options used during generation.
7166
7167   Previous Release:
7168
7169     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7170     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7171   Current Release:
7172     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7173     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7174
7175
7176 2) Linux:
7177
7178 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7179 correct sleep time in seconds.
7180
7181 ----------------------------------------
7182 14 July 2003.  Summary of changes for version 20030619:
7183
7184 1) ACPI CA Core Subsystem:
7185
7186 Parse SSDTs in order discovered, as opposed to reverse order
7187 (Hrvoje Habjanic)
7188
7189 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7190 Klausner,
7191    Nate Lawson)
7192
7193
7194 2) Linux:
7195
7196 Dynamically allocate SDT list (suggested by Andi Kleen)
7197
7198 proc function return value cleanups (Andi Kleen)
7199
7200 Correctly handle NMI watchdog during long stalls (Andrew Morton)
7201
7202 Make it so acpismp=force works (reported by Andrew Morton)
7203
7204
7205 ----------------------------------------
7206 19 June 2003.  Summary of changes for version 20030619:
7207
7208 1) ACPI CA Core Subsystem:
7209
7210 Fix To/FromBCD, eliminating the need for an arch-specific #define.
7211
7212 Do not acquire a semaphore in the S5 shutdown path.
7213
7214 Fix ex_digits_needed for 0. (Takayoshi Kochi)
7215
7216 Fix sleep/stall code reversal. (Andi Kleen)
7217
7218 Revert a change having to do with control method calling
7219 semantics.
7220
7221 2) Linux:
7222
7223 acpiphp update (Takayoshi Kochi)
7224
7225 Export acpi_disabled for sonypi (Stelian Pop)
7226
7227 Mention acpismp=force in config help
7228
7229 Re-add acpitable.c and acpismp=force. This improves backwards
7230
7231 compatibility and also cleans up the code to a significant degree.
7232
7233 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7234
7235 ----------------------------------------
7236 22 May 2003.  Summary of changes for version 20030522:
7237
7238 1) ACPI CA Core Subsystem:
7239
7240 Found and fixed a reported problem where an AE_NOT_FOUND error
7241 occurred occasionally during _BST evaluation.  This turned out to
7242 be an Owner ID allocation issue where a called method did not get
7243 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7244 ID UINT16 would wraparound so that the ID would be the same as the
7245 caller's and the called method would delete the caller's
7246 namespace.
7247
7248 Implemented extended error reporting for control methods that are
7249 aborted due to a run-time exception.  Output includes the exact
7250 AML instruction that caused the method abort, a dump of the method
7251 locals and arguments at the time of the abort, and a trace of all
7252 nested control method calls.
7253
7254 Modified the interpreter to allow the creation of buffers of zero
7255 length from the AML code. Implemented new code to ensure that no
7256 attempt is made to actually allocate a memory buffer (of length
7257 zero) - instead, a simple buffer object with a NULL buffer pointer
7258 and length zero is created.  A warning is no longer issued when
7259 the AML attempts to create a zero-length buffer.
7260
7261 Implemented a workaround for the "leading asterisk issue" in
7262 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7263 asterisk is automatically removed if present in any HID, UID, or
7264 CID strings.  The iASL compiler will still flag this asterisk as
7265 an error, however.
7266
7267 Implemented full support for _CID methods that return a package of
7268 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7269 now additionally returns a device _CID list if present.  This
7270 required a change to the external interface in order to pass an
7271 ACPI_BUFFER object as a parameter since the _CID list is of
7272 variable length.
7273
7274 Fixed a problem with the new AE_SAME_HANDLER exception where
7275 handler initialization code did not know about this exception.
7276
7277 Code and Data Size: Current and previous core subsystem library
7278 sizes are shown below.  These are the code and data sizes for the
7279 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7280 these values do not include any ACPI driver or OSPM code.  The
7281 debug version of the code includes the debug output trace
7282 mechanism and has a much larger code and data size.  Note that
7283 these values will vary depending on the efficiency of the compiler
7284 and the compiler options used during generation.
7285
7286   Previous Release (20030509):
7287     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7288     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7289   Current Release:
7290     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7291     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7292
7293
7294 2) Linux:
7295
7296 Fixed a bug in which we would reinitialize the ACPI interrupt
7297 after it was already working, thus disabling all ACPI and the IRQs
7298 for any other device sharing the interrupt. (Thanks to Stian
7299 Jordet)
7300
7301 Toshiba driver update (John Belmonte)
7302
7303 Return only 0 or 1 for our interrupt handler status (Andrew
7304 Morton)
7305
7306
7307 3) iASL Compiler:
7308
7309 Fixed a reported problem where multiple (nested) ElseIf()
7310 statements were not handled correctly by the compiler, resulting
7311 in incorrect warnings and incorrect AML code.  This was a problem
7312 in both the ASL parser and the code generator.
7313
7314
7315 4) Documentation:
7316
7317 Added changes to existing interfaces, new exception codes, and new
7318 text concerning reference count object management versus garbage
7319 collection.
7320
7321 ----------------------------------------
7322 09 May 2003.  Summary of changes for version 20030509.
7323
7324
7325 1) ACPI CA Core Subsystem:
7326
7327 Changed the subsystem initialization sequence to hold off
7328 installation of address space handlers until the hardware has been
7329 initialized and the system has entered ACPI mode.  This is because
7330 the installation of space handlers can cause _REG methods to be
7331 run.  Previously, the _REG methods could potentially be run before
7332 ACPI mode was enabled.
7333
7334 Fixed some memory leak issues related to address space handler and
7335 notify handler installation.  There were some problems with the
7336 reference count mechanism caused by the fact that the handler
7337 objects are shared across several namespace objects.
7338
7339 Fixed a reported problem where reference counts within the
7340 namespace were not properly updated when named objects created by
7341 method execution were deleted.
7342
7343 Fixed a reported problem where multiple SSDTs caused a deletion
7344 issue during subsystem termination.  Restructured the table data
7345 structures to simplify the linked lists and the related code.
7346
7347 Fixed a problem where the table ID associated with secondary
7348 tables (SSDTs) was not being propagated into the namespace objects
7349 created by those tables.  This would only present a problem for
7350 tables that are unloaded at run-time, however.
7351
7352 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7353 type as the length parameter (instead of UINT32).
7354
7355 Solved a long-standing problem where an ALREADY_EXISTS error
7356 appears on various systems.  This problem could happen when there
7357 are multiple PCI_Config operation regions under a single PCI root
7358 bus.  This doesn't happen very frequently, but there are some
7359 systems that do this in the ASL.
7360
7361 Fixed a reported problem where the internal DeleteNode function
7362 was incorrectly handling the case where a namespace node was the
7363 first in the parent's child list, and had additional peers (not
7364 the only child, but first in the list of children.)
7365
7366 Code and Data Size: Current core subsystem library sizes are shown
7367 below.  These are the code and data sizes for the acpica.lib
7368 produced by the Microsoft Visual C++ 6.0 compiler, and these
7369 values do not include any ACPI driver or OSPM code.  The debug
7370 version of the code includes the debug output trace mechanism and
7371 has a much larger code and data size.  Note that these values will
7372 vary depending on the efficiency of the compiler and the compiler
7373 options used during generation.
7374
7375   Previous Release
7376     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7377     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7378   Current Release:
7379     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7380     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7381
7382
7383 2) Linux:
7384
7385 Allow ":" in OS override string (Ducrot Bruno)
7386
7387 Kobject fix (Greg KH)
7388
7389
7390 3 iASL Compiler/Disassembler:
7391
7392 Fixed a problem in the generation of the C source code files (AML
7393 is emitted in C source statements for BIOS inclusion) where the
7394 Ascii dump that appears within a C comment at the end of each line
7395 could cause a compile time error if the AML sequence happens to
7396 have an open comment or close comment sequence embedded.
7397
7398
7399 ----------------------------------------
7400 24 April 2003.  Summary of changes for version 20030424.
7401
7402
7403 1) ACPI CA Core Subsystem:
7404
7405 Support for big-endian systems has been implemented.  Most of the
7406 support has been invisibly added behind big-endian versions of the
7407 ACPI_MOVE_* macros.
7408
7409 Fixed a problem in AcpiHwDisableGpeBlock() and
7410 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7411 low level hardware write routine.  The offset parameter was
7412 actually eliminated from the low level read/write routines because
7413 they had become obsolete.
7414
7415 Fixed a problem where a handler object was deleted twice during
7416 the removal of a fixed event handler.
7417
7418
7419 2) Linux:
7420
7421 A fix for SMP systems with link devices was contributed by
7422
7423 Compaq's Dan Zink.
7424
7425 (2.5) Return whether we handled the interrupt in our IRQ handler.
7426 (Linux ISRs no longer return void, so we can propagate the handler
7427 return value from the ACPI CA core back to the OS.)
7428
7429
7430
7431 3) Documentation:
7432
7433 The ACPI CA Programmer Reference has been updated to reflect new
7434 interfaces and changes to existing interfaces.
7435
7436 ----------------------------------------
7437 28 March 2003.  Summary of changes for version 20030328.
7438
7439 1) ACPI CA Core Subsystem:
7440
7441 The GPE Block Device support has been completed.  New interfaces
7442 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7443 interfaces (enable, disable, clear, getstatus) have been split
7444 into separate interfaces for Fixed Events and General Purpose
7445 Events (GPEs) in order to support GPE Block Devices properly.
7446
7447 Fixed a problem where the error message "Failed to acquire
7448 semaphore" would appear during operations on the embedded
7449 controller (EC).
7450
7451 Code and Data Size: Current core subsystem library sizes are shown
7452 below.  These are the code and data sizes for the acpica.lib
7453 produced by the Microsoft Visual C++ 6.0 compiler, and these
7454 values do not include any ACPI driver or OSPM code.  The debug
7455 version of the code includes the debug output trace mechanism and
7456 has a much larger code and data size.  Note that these values will
7457 vary depending on the efficiency of the compiler and the compiler
7458 options used during generation.
7459
7460   Previous Release
7461     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7462     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7463   Current Release:
7464     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7465     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7466
7467
7468 ----------------------------------------
7469 28 February 2003.  Summary of changes for version 20030228.
7470
7471
7472 1) ACPI CA Core Subsystem:
7473
7474 The GPE handling and dispatch code has been completely overhauled
7475 in preparation for support of GPE Block Devices (ID ACPI0006).
7476 This affects internal data structures and code only; there should
7477 be no differences visible externally.  One new file has been
7478 added, evgpeblk.c
7479
7480 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7481 fields that are used to determine the GPE block lengths.  The
7482 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7483 structures are ignored.  This is per the ACPI specification but it
7484 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
7485 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7486
7487 In the SCI interrupt handler, removed the read of the PM1_CONTROL
7488 register to look at the SCI_EN bit.  On some machines, this read
7489 causes an SMI event and greatly slows down SCI events.  (This may
7490 in fact be the cause of slow battery status response on some
7491 systems.)
7492
7493 Fixed a problem where a store of a NULL string to a package object
7494 could cause the premature deletion of the object.  This was seen
7495 during execution of the battery _BIF method on some systems,
7496 resulting in no battery data being returned.
7497
7498 Added AcpiWalkResources interface to simplify parsing of resource
7499 lists.
7500
7501 Code and Data Size: Current core subsystem library sizes are shown
7502 below.  These are the code and data sizes for the acpica.lib
7503 produced by the Microsoft Visual C++ 6.0 compiler, and these
7504 values do not include any ACPI driver or OSPM code.  The debug
7505 version of the code includes the debug output trace mechanism and
7506 has a much larger code and data size.  Note that these values will
7507 vary depending on the efficiency of the compiler and the compiler
7508 options used during generation.
7509
7510   Previous Release
7511     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7512     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7513   Current Release:
7514     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7515     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7516
7517
7518 2) Linux
7519
7520 S3 fixes (Ole Rohne)
7521
7522 Update ACPI PHP driver with to use new acpi_walk_resource API
7523 (Bjorn Helgaas)
7524
7525 Add S4BIOS support (Pavel Machek)
7526
7527 Map in entire table before performing checksum (John Stultz)
7528
7529 Expand the mem= cmdline to allow the specification of reserved and
7530 ACPI DATA blocks (Pavel Machek)
7531
7532 Never use ACPI on VISWS
7533
7534 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7535
7536 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7537 causing us to think that some systems support C2 when they really
7538 don't.
7539
7540 Do not count processor objects for non-present CPUs (Thanks to
7541 Dominik Brodowski)
7542
7543
7544 3) iASL Compiler:
7545
7546 Fixed a problem where ASL include files could not be found and
7547 opened.
7548
7549 Added support for the _PDC reserved name.
7550
7551
7552 ----------------------------------------
7553 22 January 2003.  Summary of changes for version 20030122.
7554
7555
7556 1) ACPI CA Core Subsystem:
7557
7558 Added a check for constructs of the form:  Store (Local0, Local0)
7559 where Local0 is not initialized.  Apparently, some BIOS
7560 programmers believe that this is a NOOP.  Since this store doesn't
7561 do anything anyway, the new prototype behavior will ignore this
7562 error.  This is a case where we can relax the strict checking in
7563 the interpreter in the name of compatibility.
7564
7565
7566 2) Linux
7567
7568 The AcpiSrc Source Conversion Utility has been released with the
7569 Linux package for the first time.  This is the utility that is
7570 used to convert the ACPI CA base source code to the Linux version.
7571
7572 (Both) Handle P_BLK lengths shorter than 6 more gracefully
7573
7574 (Both) Move more headers to include/acpi, and delete an unused
7575 header.
7576
7577 (Both) Move drivers/acpi/include directory to include/acpi
7578
7579 (Both) Boot functions don't use cmdline, so don't pass it around
7580
7581 (Both) Remove include of unused header (Adrian Bunk)
7582
7583 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7584 the
7585 former now also includes the latter, acpiphp.h only needs the one,
7586 now.
7587
7588 (2.5) Make it possible to select method of bios restoring after S3
7589 resume. [=> no more ugly ifdefs] (Pavel Machek)
7590
7591 (2.5) Make proc write interfaces work (Pavel Machek)
7592
7593 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7594
7595 (2.5) Break out ACPI Perf code into its own module, under cpufreq
7596 (Dominik Brodowski)
7597
7598 (2.4) S4BIOS support (Ducrot Bruno)
7599
7600 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7601 Visinoni)
7602
7603
7604 3) iASL Compiler:
7605
7606 Added support to disassemble SSDT and PSDTs.
7607
7608 Implemented support to obtain SSDTs from the Windows registry if
7609 available.
7610
7611
7612 ----------------------------------------
7613 09 January 2003.  Summary of changes for version 20030109.
7614
7615 1) ACPI CA Core Subsystem:
7616
7617 Changed the behavior of the internal Buffer-to-String conversion
7618 function.  The current ACPI specification states that the contents
7619 of the buffer are "converted to a string of two-character
7620 hexadecimal numbers, each separated by a space".  Unfortunately,
7621 this definition is not backwards compatible with existing ACPI 1.0
7622 implementations (although the behavior was not defined in the ACPI
7623 1.0 specification).  The new behavior simply copies data from the
7624 buffer to the string until a null character is found or the end of
7625 the buffer is reached.  The new String object is always null
7626 terminated.  This problem was seen during the generation of _BIF
7627 battery data where incorrect strings were returned for battery
7628 type, etc.  This will also require an errata to the ACPI
7629 specification.
7630
7631 Renamed all instances of NATIVE_UINT and NATIVE_INT to
7632 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7633
7634 Copyright in all module headers (both Linux and non-Linux) has be
7635 updated to 2003.
7636
7637 Code and Data Size: Current core subsystem library sizes are shown
7638 below.  These are the code and data sizes for the acpica.lib
7639 produced by the Microsoft Visual C++ 6.0 compiler, and these
7640 values do not include any ACPI driver or OSPM code.  The debug
7641 version of the code includes the debug output trace mechanism and
7642 has a much larger code and data size.  Note that these values will
7643 vary depending on the efficiency of the compiler and the compiler
7644 options used during generation.
7645
7646   Previous Release
7647     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7648     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7649   Current Release:
7650     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7651     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7652
7653
7654 2) Linux
7655
7656 Fixed an oops on module insertion/removal (Matthew Tippett)
7657
7658 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7659
7660 (2.5) Replace pr_debug (Randy Dunlap)
7661
7662 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7663
7664 (Both) Eliminate spawning of thread from timer callback, in favor
7665 of schedule_work()
7666
7667 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7668
7669 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
7670
7671 (Both) Add missing statics to button.c (Pavel Machek)
7672
7673 Several changes have been made to the source code translation
7674 utility that generates the Linux Code in order to make the code
7675 more "Linux-like":
7676
7677 All typedefs on structs and unions have been removed in keeping
7678 with the Linux coding style.
7679
7680 Removed the non-Linux SourceSafe module revision number from each
7681 module header.
7682
7683 Completed major overhaul of symbols to be lowercased for linux.
7684 Doubled the number of symbols that are lowercased.
7685
7686 Fixed a problem where identifiers within procedure headers and
7687 within quotes were not fully lower cased (they were left with a
7688 starting capital.)
7689
7690 Some C macros whose only purpose is to allow the generation of 16-
7691 bit code are now completely removed in the Linux code, increasing
7692 readability and maintainability.
7693
7694 ----------------------------------------
7695
7696 12 December 2002.  Summary of changes for version 20021212.
7697
7698
7699 1) ACPI CA Core Subsystem:
7700
7701 Fixed a problem where the creation of a zero-length AML Buffer
7702 would cause a fault.
7703
7704 Fixed a problem where a Buffer object that pointed to a static AML
7705 buffer (in an ACPI table) could inadvertently be deleted, causing
7706 memory corruption.
7707
7708 Fixed a problem where a user buffer (passed in to the external
7709 ACPI CA interfaces) could be overwritten if the buffer was too
7710 small to complete the operation, causing memory corruption.
7711
7712 Fixed a problem in the Buffer-to-String conversion code where a
7713 string of length one was always returned, regardless of the size
7714 of the input Buffer object.
7715
7716 Removed the NATIVE_CHAR data type across the entire source due to
7717 lack of need and lack of consistent use.
7718
7719 Code and Data Size: Current core subsystem library sizes are shown
7720 below.  These are the code and data sizes for the acpica.lib
7721 produced by the Microsoft Visual C++ 6.0 compiler, and these
7722 values do not include any ACPI driver or OSPM code.  The debug
7723 version of the code includes the debug output trace mechanism and
7724 has a much larger code and data size.  Note that these values will
7725 vary depending on the efficiency of the compiler and the compiler
7726 options used during generation.
7727
7728   Previous Release
7729     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7730     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7731   Current Release:
7732     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7733     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7734
7735
7736 ----------------------------------------
7737 05 December 2002.  Summary of changes for version 20021205.
7738
7739 1) ACPI CA Core Subsystem:
7740
7741 Fixed a problem where a store to a String or Buffer object could
7742 cause corruption of the DSDT if the object type being stored was
7743 the same as the target object type and the length of the object
7744 being stored was equal to or smaller than the original (existing)
7745 target object.  This was seen to cause corruption of battery _BIF
7746 buffers if the _BIF method modified the buffer on the fly.
7747
7748 Fixed a problem where an internal error was generated if a control
7749 method invocation was used in an OperationRegion, Buffer, or
7750 Package declaration.  This was caused by the deferred parsing of
7751 the control method and thus the deferred creation of the internal
7752 method object.  The solution to this problem was to create the
7753 internal method object at the moment the method is encountered in
7754 the first pass - so that subsequent references to the method will
7755 able to obtain the required parameter count and thus properly
7756 parse the method invocation.  This problem presented itself as an
7757 AE_AML_INTERNAL during the pass 1 parse phase during table load.
7758
7759 Fixed a problem where the internal String object copy routine did
7760 not always allocate sufficient memory for the target String object
7761 and caused memory corruption.  This problem was seen to cause
7762 "Allocation already present in list!" errors as memory allocation
7763 became corrupted.
7764
7765 Implemented a new function for the evaluation of namespace objects
7766 that allows the specification of the allowable return object
7767 types.  This simplifies a lot of code that checks for a return
7768 object of one or more specific objects returned from the
7769 evaluation (such as _STA, etc.)  This may become and external
7770 function if it would be useful to ACPI-related drivers.
7771
7772 Completed another round of prefixing #defines with "ACPI_" for
7773 clarity.
7774
7775 Completed additional code restructuring to allow more modular
7776 linking for iASL compiler and AcpiExec.  Several files were split
7777 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
7778
7779 Implemented an abort mechanism to terminate an executing control
7780 method via the AML debugger.  This feature is useful for debugging
7781 control methods that depend (wait) for specific hardware
7782 responses.
7783
7784 Code and Data Size: Current core subsystem library sizes are shown
7785 below.  These are the code and data sizes for the acpica.lib
7786 produced by the Microsoft Visual C++ 6.0 compiler, and these
7787 values do not include any ACPI driver or OSPM code.  The debug
7788 version of the code includes the debug output trace mechanism and
7789 has a much larger code and data size.  Note that these values will
7790 vary depending on the efficiency of the compiler and the compiler
7791 options used during generation.
7792
7793   Previous Release
7794     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7795     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7796   Current Release:
7797     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7798     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7799
7800
7801 2) iASL Compiler/Disassembler
7802
7803 Fixed a compiler code generation problem for "Interrupt" Resource
7804 Descriptors.  If specified in the ASL, the optional "Resource
7805 Source Index" and "Resource Source" fields were not inserted into
7806 the correct location within the AML resource descriptor, creating
7807 an invalid descriptor.
7808
7809 Fixed a disassembler problem for "Interrupt" resource descriptors.
7810 The optional "Resource Source Index" and "Resource Source" fields
7811 were ignored.
7812
7813
7814 ----------------------------------------
7815 22 November 2002.  Summary of changes for version 20021122.
7816
7817
7818 1) ACPI CA Core Subsystem:
7819
7820 Fixed a reported problem where an object stored to a Method Local
7821 or Arg was not copied to a new object during the store - the
7822 object pointer was simply copied to the Local/Arg.  This caused
7823 all subsequent operations on the Local/Arg to also affect the
7824 original source of the store operation.
7825
7826 Fixed a problem where a store operation to a Method Local or Arg
7827 was not completed properly if the Local/Arg contained a reference
7828 (from RefOf) to a named field.  The general-purpose store-to-
7829 namespace-node code is now used so that this case is handled
7830 automatically.
7831
7832 Fixed a problem where the internal object copy routine would cause
7833 a protection fault if the object being copied was a Package and
7834 contained either 1) a NULL package element or 2) a nested sub-
7835 package.
7836
7837 Fixed a problem with the GPE initialization that resulted from an
7838 ambiguity in the ACPI specification.  One section of the
7839 specification states that both the address and length of the GPE
7840 block must be zero if the block is not supported.  Another section
7841 implies that only the address need be zero if the block is not
7842 supported.  The code has been changed so that both the address and
7843 the length must be non-zero to indicate a valid GPE block (i.e.,
7844 if either the address or the length is zero, the GPE block is
7845 invalid.)
7846
7847 Code and Data Size: Current core subsystem library sizes are shown
7848 below.  These are the code and data sizes for the acpica.lib
7849 produced by the Microsoft Visual C++ 6.0 compiler, and these
7850 values do not include any ACPI driver or OSPM code.  The debug
7851 version of the code includes the debug output trace mechanism and
7852 has a much larger code and data size.  Note that these values will
7853 vary depending on the efficiency of the compiler and the compiler
7854 options used during generation.
7855
7856   Previous Release
7857     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7858     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7859   Current Release:
7860     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7861     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7862
7863
7864 2) Linux
7865
7866 Cleaned up EC driver. Exported an external EC read/write
7867 interface. By going through this, other drivers (most notably
7868 sonypi) will be able to serialize access to the EC.
7869
7870
7871 3) iASL Compiler/Disassembler
7872
7873 Implemented support to optionally generate include files for both
7874 ASM and C (the -i switch).  This simplifies BIOS development by
7875 automatically creating include files that contain external
7876 declarations for the symbols that are created within the
7877
7878 (optionally generated) ASM and C AML source files.
7879
7880
7881 ----------------------------------------
7882 15 November 2002.  Summary of changes for version 20021115.
7883
7884 1) ACPI CA Core Subsystem:
7885
7886 Fixed a memory leak problem where an error during resolution of
7887
7888 method arguments during a method invocation from another method
7889 failed to cleanup properly by deleting all successfully resolved
7890 argument objects.
7891
7892 Fixed a problem where the target of the Index() operator was not
7893 correctly constructed if the source object was a package.  This
7894 problem has not been detected because the use of a target operand
7895 with Index() is very rare.
7896
7897 Fixed a problem with the Index() operator where an attempt was
7898 made to delete the operand objects twice.
7899
7900 Fixed a problem where an attempt was made to delete an operand
7901 twice during execution of the CondRefOf() operator if the target
7902 did not exist.
7903
7904 Implemented the first of perhaps several internal create object
7905 functions that create and initialize a specific object type.  This
7906 consolidates duplicated code wherever the object is created, thus
7907 shrinking the size of the subsystem.
7908
7909 Implemented improved debug/error messages for errors that occur
7910 during nested method invocations.  All executing method pathnames
7911 are displayed (with the error) as the call stack is unwound - thus
7912 simplifying debug.
7913
7914 Fixed a problem introduced in the 10/02 release that caused
7915 premature deletion of a buffer object if a buffer was used as an
7916 ASL operand where an integer operand is required (Thus causing an
7917 implicit object conversion from Buffer to Integer.)  The change in
7918 the 10/02 release was attempting to fix a memory leak (albeit
7919 incorrectly.)
7920
7921 Code and Data Size: Current core subsystem library sizes are shown
7922 below.  These are the code and data sizes for the acpica.lib
7923 produced by the Microsoft Visual C++ 6.0 compiler, and these
7924 values do not include any ACPI driver or OSPM code.  The debug
7925 version of the code includes the debug output trace mechanism and
7926 has a much larger code and data size.  Note that these values will
7927 vary depending on the efficiency of the compiler and the compiler
7928 options used during generation.
7929
7930   Previous Release
7931     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7932     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7933   Current Release:
7934     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7935     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7936
7937
7938 2) Linux
7939
7940 Changed the implementation of the ACPI semaphores to use down()
7941 instead of down_interruptable().  It is important that the
7942 execution of ACPI control methods not be interrupted by signals.
7943 Methods must run to completion, or the system may be left in an
7944 unknown/unstable state.
7945
7946 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7947 (Shawn Starr)
7948
7949
7950 3) iASL Compiler/Disassembler
7951
7952
7953 Changed the default location of output files.  All output files
7954 are now placed in the current directory by default instead of in
7955 the directory of the source file.  This change may affect some
7956 existing makefiles, but it brings the behavior of the compiler in
7957 line with other similar tools.  The location of the output files
7958 can be overridden with the -p command line switch.
7959
7960
7961 ----------------------------------------
7962 11 November 2002.  Summary of changes for version 20021111.
7963
7964
7965 0) ACPI Specification 2.0B is released and is now available at:
7966 http://www.acpi.info/index.html
7967
7968
7969 1) ACPI CA Core Subsystem:
7970
7971 Implemented support for the ACPI 2.0 SMBus Operation Regions.
7972 This includes the early detection and handoff of the request to
7973 the SMBus region handler (avoiding all of the complex field
7974 support code), and support for the bidirectional return packet
7975 from an SMBus write operation.  This paves the way for the
7976 development of SMBus drivers in each host operating system.
7977
7978 Fixed a problem where the semaphore WAIT_FOREVER constant was
7979 defined as 32 bits, but must be 16 bits according to the ACPI
7980 specification.  This had the side effect of causing ASL
7981 Mutex/Event timeouts even though the ASL code requested a wait
7982 forever.  Changed all internal references to the ACPI timeout
7983 parameter to 16 bits to prevent future problems.  Changed the name
7984 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
7985
7986 Code and Data Size: Current core subsystem library sizes are shown
7987 below.  These are the code and data sizes for the acpica.lib
7988 produced by the Microsoft Visual C++ 6.0 compiler, and these
7989 values do not include any ACPI driver or OSPM code.  The debug
7990 version of the code includes the debug output trace mechanism and
7991 has a much larger code and data size.  Note that these values will
7992 vary depending on the efficiency of the compiler and the compiler
7993 options used during generation.
7994
7995   Previous Release
7996     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7997     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7998   Current Release:
7999     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8000     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8001
8002
8003 2) Linux
8004
8005 Module loading/unloading fixes (John Cagle)
8006
8007
8008 3) iASL Compiler/Disassembler
8009
8010 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8011
8012 Implemented support for the disassembly of all SMBus protocol
8013 keywords (SMBQuick, SMBWord, etc.)
8014
8015 ----------------------------------------
8016 01 November 2002.  Summary of changes for version 20021101.
8017
8018
8019 1) ACPI CA Core Subsystem:
8020
8021 Fixed a problem where platforms that have a GPE1 block but no GPE0
8022 block were not handled correctly.  This resulted in a "GPE
8023 overlap" error message.  GPE0 is no longer required.
8024
8025 Removed code added in the previous release that inserted nodes
8026 into the namespace in alphabetical order.  This caused some side-
8027 effects on various machines.  The root cause of the problem is
8028 still under investigation since in theory, the internal ordering
8029 of the namespace nodes should not matter.
8030
8031
8032 Enhanced error reporting for the case where a named object is not
8033 found during control method execution.  The full ACPI namepath
8034 (name reference) of the object that was not found is displayed in
8035 this case.
8036
8037 Note: as a result of the overhaul of the namespace object types in
8038 the previous release, the namespace nodes for the predefined
8039 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8040 instead of ACPI_TYPE_ANY.  This simplifies the namespace
8041 management code but may affect code that walks the namespace tree
8042 looking for specific object types.
8043
8044 Code and Data Size: Current core subsystem library sizes are shown
8045 below.  These are the code and data sizes for the acpica.lib
8046 produced by the Microsoft Visual C++ 6.0 compiler, and these
8047 values do not include any ACPI driver or OSPM code.  The debug
8048 version of the code includes the debug output trace mechanism and
8049 has a much larger code and data size.  Note that these values will
8050 vary depending on the efficiency of the compiler and the compiler
8051 options used during generation.
8052
8053   Previous Release
8054     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8055     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8056   Current Release:
8057     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8058     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8059
8060
8061 2) Linux
8062
8063 Fixed a problem introduced in the previous release where the
8064 Processor and Thermal objects were not recognized and installed in
8065 /proc.  This was related to the scope type change described above.
8066
8067
8068 3) iASL Compiler/Disassembler
8069
8070 Implemented the -g option to get all of the required ACPI tables
8071 from the registry and save them to files (Windows version of the
8072 compiler only.)  The required tables are the FADT, FACS, and DSDT.
8073
8074 Added ACPI table checksum validation during table disassembly in
8075 order to catch corrupted tables.
8076
8077
8078 ----------------------------------------
8079 22 October 2002.  Summary of changes for version 20021022.
8080
8081 1) ACPI CA Core Subsystem:
8082
8083 Implemented a restriction on the Scope operator that the target
8084 must already exist in the namespace at the time the operator is
8085 encountered (during table load or method execution).  In other
8086 words, forward references are not allowed and Scope() cannot
8087 create a new object. This changes the previous behavior where the
8088 interpreter would create the name if not found.  This new behavior
8089 correctly enables the search-to-root algorithm during namespace
8090 lookup of the target name.  Because of this upsearch, this fixes
8091 the known Compaq _SB_.OKEC problem and makes both the AML
8092 interpreter and iASL compiler compatible with other ACPI
8093 implementations.
8094
8095 Completed a major overhaul of the internal ACPI object types for
8096 the ACPI Namespace and the associated operand objects.  Many of
8097 these types had become obsolete with the introduction of the two-
8098 pass namespace load.  This cleanup simplifies the code and makes
8099 the entire namespace load mechanism much clearer and easier to
8100 understand.
8101
8102 Improved debug output for tracking scope opening/closing to help
8103 diagnose scoping issues.  The old scope name as well as the new
8104 scope name are displayed.  Also improved error messages for
8105 problems with ASL Mutex objects and error messages for GPE
8106 problems.
8107
8108 Cleaned up the namespace dump code, removed obsolete code.
8109
8110 All string output (for all namespace/object dumps) now uses the
8111 common ACPI string output procedure which handles escapes properly
8112 and does not emit non-printable characters.
8113
8114 Fixed some issues with constants in the 64-bit version of the
8115 local C library (utclib.c)
8116
8117
8118 2) Linux
8119
8120 EC Driver:  No longer attempts to acquire the Global Lock at
8121 interrupt level.
8122
8123
8124 3) iASL Compiler/Disassembler
8125
8126 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
8127 2 opcodes outside of a control method.  This means that the
8128 "executable" operators (versus the "namespace" operators) cannot
8129 be used at the table level; they can only be used within a control
8130 method.
8131
8132 Implemented the restriction on the Scope() operator where the
8133 target must already exist in the namespace at the time the
8134 operator is encountered (during ASL compilation). In other words,
8135 forward references are not allowed and Scope() cannot create a new
8136 object.  This makes the iASL compiler compatible with other ACPI
8137 implementations and makes the Scope() implementation adhere to the
8138 ACPI specification.
8139
8140 Fixed a problem where namepath optimization for the Alias operator
8141 was optimizing the wrong path (of the two namepaths.)  This caused
8142 a "Missing alias link" error message.
8143
8144 Fixed a problem where an "unknown reserved name" warning could be
8145 incorrectly generated for names like "_SB" when the trailing
8146 underscore is not used in the original ASL.
8147
8148 Fixed a problem where the reserved name check did not handle
8149 NamePaths with multiple NameSegs correctly.  The first nameseg of
8150 the NamePath was examined instead of the last NameSeg.
8151
8152
8153 ----------------------------------------
8154
8155 02 October 2002.  Summary of changes for this release.
8156
8157
8158 1) ACPI CA Core Subsystem version 20021002:
8159
8160 Fixed a problem where a store/copy of a string to an existing
8161 string did not always set the string length properly in the String
8162 object.
8163
8164 Fixed a reported problem with the ToString operator where the
8165 behavior was identical to the ToHexString operator instead of just
8166 simply converting a raw buffer to a string data type.
8167
8168 Fixed a problem where CopyObject and the other "explicit"
8169 conversion operators were not updating the internal namespace node
8170 type as part of the store operation.
8171
8172 Fixed a memory leak during implicit source operand conversion
8173 where the original object was not deleted if it was converted to a
8174 new object of a different type.
8175
8176 Enhanced error messages for all problems associated with namespace
8177 lookups.  Common procedure generates and prints the lookup name as
8178 well as the formatted status.
8179
8180 Completed implementation of a new design for the Alias support
8181 within the namespace.  The existing design did not handle the case
8182 where a new object was assigned to one of the two names due to the
8183 use of an explicit conversion operator, resulting in the two names
8184 pointing to two different objects.  The new design simply points
8185 the Alias name to the original name node - not to the object.
8186 This results in a level of indirection that must be handled in the
8187 name resolution mechanism.
8188
8189 Code and Data Size: Current core subsystem library sizes are shown
8190 below.  These are the code and data sizes for the acpica.lib
8191 produced by the Microsoft Visual C++ 6.0 compiler, and these
8192 values do not include any ACPI driver or OSPM code.  The debug
8193 version of the code includes the debug output trace mechanism and
8194 has a larger code and data size.  Note that these values will vary
8195 depending on the efficiency of the compiler and the compiler
8196 options used during generation.
8197
8198   Previous Release
8199     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8200     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8201   Current Release:
8202     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8203     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8204
8205
8206 2) Linux
8207
8208 Initialize thermal driver's timer before it is used. (Knut
8209 Neumann)
8210
8211 Allow handling negative celsius values. (Kochi Takayoshi)
8212
8213 Fix thermal management and make trip points. R/W (Pavel Machek)
8214
8215 Fix /proc/acpi/sleep. (P. Christeas)
8216
8217 IA64 fixes. (David Mosberger)
8218
8219 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8220
8221 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8222 Brodowski)
8223
8224
8225 3) iASL Compiler/Disassembler
8226
8227 Clarified some warning/error messages.
8228
8229
8230 ----------------------------------------
8231 18 September 2002.  Summary of changes for this release.
8232
8233
8234 1) ACPI CA Core Subsystem version 20020918:
8235
8236 Fixed a reported problem with reference chaining (via the Index()
8237 and RefOf() operators) in the ObjectType() and SizeOf() operators.
8238 The definition of these operators includes the dereferencing of
8239 all chained references to return information on the base object.
8240
8241 Fixed a problem with stores to indexed package elements - the
8242 existing code would not complete the store if an "implicit
8243 conversion" was not performed.  In other words, if the existing
8244 object (package element) was to be replaced completely, the code
8245 didn't handle this case.
8246
8247 Relaxed typechecking on the ASL "Scope" operator to allow the
8248 target name to refer to an object of type Integer, String, or
8249 Buffer, in addition to the scoping object types (Device,
8250 predefined Scopes, Processor, PowerResource, and ThermalZone.)
8251 This allows existing AML code that has workarounds for a bug in
8252 Windows to function properly.  A warning is issued, however.  This
8253 affects both the AML interpreter and the iASL compiler. Below is
8254 an example of this type of ASL code:
8255
8256       Name(DEB,0x00)
8257       Scope(DEB)
8258       {
8259
8260 Fixed some reported problems with 64-bit integer support in the
8261 local implementation of C library functions (clib.c)
8262
8263
8264 2) Linux
8265
8266 Use ACPI fix map region instead of IOAPIC region, since it is
8267 undefined in non-SMP.
8268
8269 Ensure that the SCI has the proper polarity and trigger, even on
8270 systems that do not have an interrupt override entry in the MADT.
8271
8272 2.5 big driver reorganization (Pat Mochel)
8273
8274 Use early table mapping code from acpitable.c (Andi Kleen)
8275
8276 New blacklist entries (Andi Kleen)
8277
8278 Blacklist improvements. Split blacklist code out into a separate
8279 file. Move checking the blacklist to very early. Previously, we
8280 would use ACPI tables, and then halfway through init, check the
8281 blacklist -- too late. Now, it's early enough to completely fall-
8282 back to non-ACPI.
8283
8284
8285 3) iASL Compiler/Disassembler version 20020918:
8286
8287 Fixed a problem where the typechecking code didn't know that an
8288 alias could point to a method.  In other words, aliases were not
8289 being dereferenced during typechecking.
8290
8291
8292 ----------------------------------------
8293 29 August 2002.  Summary of changes for this release.
8294
8295 1) ACPI CA Core Subsystem Version 20020829:
8296
8297 If the target of a Scope() operator already exists, it must be an
8298 object type that actually opens a scope -- such as a Device,
8299 Method, Scope, etc.  This is a fatal runtime error.  Similar error
8300 check has been added to the iASL compiler also.
8301
8302 Tightened up the namespace load to disallow multiple names in the
8303 same scope.  This previously was allowed if both objects were of
8304 the same type.  (i.e., a lookup was the same as entering a new
8305 name).
8306
8307
8308 2) Linux
8309
8310 Ensure that the ACPI interrupt has the proper trigger and
8311 polarity.
8312
8313 local_irq_disable is extraneous. (Matthew Wilcox)
8314
8315 Make "acpi=off" actually do what it says, and not use the ACPI
8316 interpreter *or* the tables.
8317
8318 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8319 Takayoshi)
8320
8321
8322 3) iASL Compiler/Disassembler  Version 20020829:
8323
8324 Implemented namepath optimization for name declarations.  For
8325 example, a declaration like "Method (\_SB_.ABCD)" would get
8326 optimized to "Method (ABCD)" if the declaration is within the
8327 \_SB_ scope.  This optimization is in addition to the named
8328 reference path optimization first released in the previous
8329 version. This would seem to complete all possible optimizations
8330 for namepaths within the ASL/AML.
8331
8332 If the target of a Scope() operator already exists, it must be an
8333 object type that actually opens a scope -- such as a Device,
8334 Method, Scope, etc.
8335
8336 Implemented a check and warning for unreachable code in the same
8337 block below a Return() statement.
8338
8339 Fixed a problem where the listing file was not generated if the
8340 compiler aborted if the maximum error count was exceeded (200).
8341
8342 Fixed a problem where the typechecking of method return values was
8343 broken.  This includes the check for a return value when the
8344 method is invoked as a TermArg (a return value is expected.)
8345
8346 Fixed a reported problem where EOF conditions during a quoted
8347 string or comment caused a fault.
8348
8349
8350 ----------------------------------------
8351 15 August 2002.  Summary of changes for this release.
8352
8353 1) ACPI CA Core Subsystem Version 20020815:
8354
8355 Fixed a reported problem where a Store to a method argument that
8356 contains a reference did not perform the indirect store correctly.
8357 This problem was created during the conversion to the new
8358 reference object model - the indirect store to a method argument
8359 code was not updated to reflect the new model.
8360
8361 Reworked the ACPI mode change code to better conform to ACPI 2.0,
8362 handle corner cases, and improve code legibility (Kochi Takayoshi)
8363
8364 Fixed a problem with the pathname parsing for the carat (^)
8365 prefix.  The heavy use of the carat operator by the new namepath
8366 optimization in the iASL compiler uncovered a problem with the AML
8367 interpreter handling of this prefix.  In the case where one or
8368 more carats precede a single nameseg, the nameseg was treated as
8369 standalone and the search rule (to root) was inadvertently
8370 applied.  This could cause both the iASL compiler and the
8371 interpreter to find the wrong object or to miss the error that
8372 should occur if the object does not exist at that exact pathname.
8373
8374 Found and fixed the problem where the HP Pavilion DSDT would not
8375 load.  This was a relatively minor tweak to the table loading code
8376 (a problem caused by the unexpected encounter with a method
8377 invocation not within a control method), but it does not solve the
8378 overall issue of the execution of AML code at the table level.
8379 This investigation is still ongoing.
8380
8381 Code and Data Size: Current core subsystem library sizes are shown
8382 below.  These are the code and data sizes for the acpica.lib
8383 produced by the Microsoft Visual C++ 6.0 compiler, and these
8384 values do not include any ACPI driver or OSPM code.  The debug
8385 version of the code includes the debug output trace mechanism and
8386 has a larger code and data size.  Note that these values will vary
8387 depending on the efficiency of the compiler and the compiler
8388 options used during generation.
8389
8390   Previous Release
8391     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8392     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8393   Current Release:
8394     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8395     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8396
8397
8398 2) Linux
8399
8400 Remove redundant slab.h include (Brad Hards)
8401
8402 Fix several bugs in thermal.c (Herbert Nachtnebel)
8403
8404 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8405
8406 Change acpi_system_suspend to use updated irq functions (Pavel
8407 Machek)
8408
8409 Export acpi_get_firmware_table (Matthew Wilcox)
8410
8411 Use proper root proc entry for ACPI (Kochi Takayoshi)
8412
8413 Fix early-boot table parsing (Bjorn Helgaas)
8414
8415
8416 3) iASL Compiler/Disassembler
8417
8418 Reworked the compiler options to make them more consistent and to
8419 use two-letter options where appropriate.  We were running out of
8420 sensible letters.   This may break some makefiles, so check the
8421 current options list by invoking the compiler with no parameters.
8422
8423 Completed the design and implementation of the ASL namepath
8424 optimization option for the compiler.  This option optimizes all
8425 references to named objects to the shortest possible path.  The
8426 first attempt tries to utilize a single nameseg (4 characters) and
8427 the "search-to-root" algorithm used by the interpreter.  If that
8428 cannot be used (because either the name is not in the search path
8429 or there is a conflict with another object with the same name),
8430 the pathname is optimized using the carat prefix (usually a
8431 shorter string than specifying the entire path from the root.)
8432
8433 Implemented support to obtain the DSDT from the Windows registry
8434 (when the disassembly option is specified with no input file).
8435 Added this code as the implementation for AcpiOsTableOverride in
8436 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8437 utility) to scan memory for the DSDT to the AcpiOsTableOverride
8438 function in the DOS OSL to make the disassembler truly OS
8439 independent.
8440
8441 Implemented a new option to disassemble and compile in one step.
8442 When used without an input filename, this option will grab the
8443 DSDT from the local machine, disassemble it, and compile it in one
8444 step.
8445
8446 Added a warning message for invalid escapes (a backslash followed
8447 by any character other than the allowable escapes).  This catches
8448 the quoted string error "\_SB_" (which should be "\\_SB_" ).
8449
8450 Also, there are numerous instances in the ACPI specification where
8451 this error occurs.
8452
8453 Added a compiler option to disable all optimizations.  This is
8454 basically the "compatibility mode" because by using this option,
8455 the AML code will come out exactly the same as other ASL
8456 compilers.
8457
8458 Added error messages for incorrectly ordered dependent resource
8459 functions.  This includes: missing EndDependentFn macro at end of
8460 dependent resource list, nested dependent function macros (both
8461 start and end), and missing StartDependentFn macro.  These are
8462 common errors that should be caught at compile time.
8463
8464 Implemented _OSI support for the disassembler and compiler.  _OSI
8465 must be included in the namespace for proper disassembly (because
8466 the disassembler must know the number of arguments.)
8467
8468 Added an "optimization" message type that is optional (off by
8469 default).  This message is used for all optimizations - including
8470 constant folding, integer optimization, and namepath optimization.
8471
8472 ----------------------------------------
8473 25 July 2002.  Summary of changes for this release.
8474
8475
8476 1) ACPI CA Core Subsystem Version 20020725:
8477
8478 The AML Disassembler has been enhanced to produce compilable ASL
8479 code and has been integrated into the iASL compiler (see below) as
8480 well as the single-step disassembly for the AML debugger and the
8481 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8482 resource templates and macros are fully supported.  The
8483 disassembler has been tested on over 30 different AML files,
8484 producing identical AML when the resulting disassembled ASL file
8485 is recompiled with the same ASL compiler.
8486
8487 Modified the Resource Manager to allow zero interrupts and zero
8488 dma channels during the GetCurrentResources call.  This was
8489 causing problems on some platforms.
8490
8491 Added the AcpiOsRedirectOutput interface to the OSL to simplify
8492 output redirection for the AcpiOsPrintf and AcpiOsVprintf
8493 interfaces.
8494
8495 Code and Data Size: Current core subsystem library sizes are shown
8496 below.  These are the code and data sizes for the acpica.lib
8497 produced by the Microsoft Visual C++ 6.0 compiler, and these
8498 values do not include any ACPI driver or OSPM code.  The debug
8499 version of the code includes the debug output trace mechanism and
8500 has a larger code and data size.  Note that these values will vary
8501 depending on the efficiency of the compiler and the compiler
8502 options used during generation.
8503
8504   Previous Release
8505     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8506     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8507   Current Release:
8508     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8509     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8510
8511
8512 2) Linux
8513
8514 Fixed a panic in the EC driver (Dominik Brodowski)
8515
8516 Implemented checksum of the R/XSDT itself during Linux table scan
8517 (Richard Schaal)
8518
8519
8520 3) iASL compiler
8521
8522 The AML disassembler is integrated into the compiler.  The "-d"
8523 option invokes the disassembler  to completely disassemble an
8524 input AML file, producing as output a text ASL file with the
8525 extension ".dsl" (to avoid name collisions with existing .asl
8526 source files.)  A future enhancement will allow the disassembler
8527 to obtain the BIOS DSDT from the registry under Windows.
8528
8529 Fixed a problem with the VendorShort and VendorLong resource
8530 descriptors where an invalid AML sequence was created.
8531
8532 Implemented a fix for BufferData term in the ASL parser.  It was
8533 inadvertently defined twice, allowing invalid syntax to pass and
8534 causing reduction conflicts.
8535
8536 Fixed a problem where the Ones opcode could get converted to a
8537 value of zero if "Ones" was used where a byte, word or dword value
8538 was expected.  The 64-bit value is now truncated to the correct
8539 size with the correct value.
8540
8541
8542
8543 ----------------------------------------
8544 02 July 2002.  Summary of changes for this release.
8545
8546
8547 1) ACPI CA Core Subsystem Version 20020702:
8548
8549 The Table Manager code has been restructured to add several new
8550 features.  Tables that are not required by the core subsystem
8551 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8552 validated in any way and are returned from AcpiGetFirmwareTable if
8553 requested.  The AcpiOsTableOverride interface is now called for
8554 each table that is loaded by the subsystem in order to allow the
8555 host to override any table it chooses.  Previously, only the DSDT
8556 could be overridden.  Added one new files, tbrsdt.c and
8557 tbgetall.c.
8558
8559 Fixed a problem with the conversion of internal package objects to
8560 external objects (when a package is returned from a control
8561 method.)  The return buffer length was set to zero instead of the
8562 proper length of the package object.
8563
8564 Fixed a reported problem with the use of the RefOf and DeRefOf
8565 operators when passing reference arguments to control methods.  A
8566 new type of Reference object is used internally for references
8567 produced by the RefOf operator.
8568
8569 Added additional error messages in the Resource Manager to explain
8570 AE_BAD_DATA errors when they occur during resource parsing.
8571
8572 Split the AcpiEnableSubsystem into two primitives to enable a
8573 finer granularity initialization sequence.  These two calls should
8574 be called in this order: AcpiEnableSubsystem (flags),
8575 AcpiInitializeObjects (flags).  The flags parameter remains the
8576 same.
8577
8578
8579 2) Linux
8580
8581 Updated the ACPI utilities module to understand the new style of
8582 fully resolved package objects that are now returned from the core
8583 subsystem.  This eliminates errors of the form:
8584
8585     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8586     acpi_utils-0430 [145] acpi_evaluate_reference:
8587         Invalid element in package (not a device reference)
8588
8589 The method evaluation utility uses the new buffer allocation
8590 scheme instead of calling AcpiEvaluate Object twice.
8591
8592 Added support for ECDT. This allows the use of the Embedded
8593
8594 Controller before the namespace has been fully initialized, which
8595 is necessary for ACPI 2.0 support, and for some laptops to
8596 initialize properly. (Laptops using ECDT are still rare, so only
8597 limited testing was performed of the added functionality.)
8598
8599 Fixed memory leaks in the EC driver.
8600
8601 Eliminated a brittle code structure in acpi_bus_init().
8602
8603 Eliminated the acpi_evaluate() helper function in utils.c. It is
8604 no longer needed since acpi_evaluate_object can optionally
8605 allocate memory for the return object.
8606
8607 Implemented fix for keyboard hang when getting battery readings on
8608 some systems (Stephen White)
8609
8610 PCI IRQ routing update (Dominik Brodowski)
8611
8612 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8613 support
8614
8615 ----------------------------------------
8616 11 June 2002.  Summary of changes for this release.
8617
8618
8619 1) ACPI CA Core Subsystem Version 20020611:
8620
8621 Fixed a reported problem where constants such as Zero and One
8622 appearing within _PRT packages were not handled correctly within
8623 the resource manager code.  Originally reported against the ASL
8624 compiler because the code generator now optimizes integers to
8625 their minimal AML representation (i.e. AML constants if possible.)
8626 The _PRT code now handles all AML constant opcodes correctly
8627 (Zero, One, Ones, Revision).
8628
8629 Fixed a problem with the Concatenate operator in the AML
8630 interpreter where a buffer result object was incorrectly marked as
8631 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8632
8633 All package sub-objects are now fully resolved before they are
8634 returned from the external ACPI interfaces.  This means that name
8635 strings are resolved to object handles, and constant operators
8636 (Zero, One, Ones, Revision) are resolved to Integers.
8637
8638 Implemented immediate resolution of the AML Constant opcodes
8639 (Zero, One, Ones, Revision) to Integer objects upon detection
8640 within the AML stream. This has simplified and reduced the
8641 generated code size of the subsystem by eliminating about 10
8642 switch statements for these constants (which previously were
8643 contained in Reference objects.)  The complicating issues are that
8644 the Zero opcode is used as a "placeholder" for unspecified
8645 optional target operands and stores to constants are defined to be
8646 no-ops.
8647
8648 Code and Data Size: Current core subsystem library sizes are shown
8649 below. These are the code and data sizes for the acpica.lib
8650 produced by the Microsoft Visual C++ 6.0 compiler, and these
8651 values do not include any ACPI driver or OSPM code.  The debug
8652 version of the code includes the debug output trace mechanism and
8653 has a larger code and data size.  Note that these values will vary
8654 depending on the efficiency of the compiler and the compiler
8655 options used during generation.
8656
8657   Previous Release
8658     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8659     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8660   Current Release:
8661     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8662     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8663
8664
8665 2) Linux
8666
8667
8668 Added preliminary support for obtaining _TRA data for PCI root
8669 bridges (Bjorn Helgaas).
8670
8671
8672 3) iASL Compiler Version X2046:
8673
8674 Fixed a problem where the "_DDN" reserved name was defined to be a
8675 control method with one argument.  There are no arguments, and
8676 _DDN does not have to be a control method.
8677
8678 Fixed a problem with the Linux version of the compiler where the
8679 source lines printed with error messages were the wrong lines.
8680 This turned out to be the "LF versus CR/LF" difference between
8681 Windows and Unix.  This appears to be the longstanding issue
8682 concerning listing output and error messages.
8683
8684 Fixed a problem with the Linux version of compiler where opcode
8685 names within error messages were wrong.  This was caused by a
8686 slight difference in the output of the Flex tool on Linux versus
8687 Windows.
8688
8689 Fixed a problem with the Linux compiler where the hex output files
8690 contained some garbage data caused by an internal buffer overrun.
8691
8692
8693 ----------------------------------------
8694 17 May 2002.  Summary of changes for this release.
8695
8696
8697 1) ACPI CA Core Subsystem Version 20020517:
8698
8699 Implemented a workaround to an BIOS bug discovered on the HP
8700 OmniBook where the FADT revision number and the table size are
8701 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
8702 behavior is to fallback to using only the ACPI 1.0 fields of the
8703 FADT if the table is too small to be a ACPI 2.0 table as claimed
8704 by the revision number.  Although this is a BIOS bug, this is a
8705 case where the workaround is simple enough and with no side
8706 effects, so it seemed prudent to add it.  A warning message is
8707 issued, however.
8708
8709 Implemented minimum size checks for the fixed-length ACPI tables -
8710 - the FADT and FACS, as well as consistency checks between the
8711 revision number and the table size.
8712
8713 Fixed a reported problem in the table override support where the
8714 new table pointer was incorrectly treated as a physical address
8715 instead of a logical address.
8716
8717 Eliminated the use of the AE_AML_ERROR exception and replaced it
8718 with more descriptive codes.
8719
8720 Fixed a problem where an exception would occur if an ASL Field was
8721 defined with no named Field Units underneath it (used by some
8722 index fields).
8723
8724 Code and Data Size: Current core subsystem library sizes are shown
8725 below.  These are the code and data sizes for the acpica.lib
8726 produced by the Microsoft Visual C++ 6.0 compiler, and these
8727 values do not include any ACPI driver or OSPM code.  The debug
8728 version of the code includes the debug output trace mechanism and
8729 has a larger code and data size.  Note that these values will vary
8730 depending on the efficiency of the compiler and the compiler
8731 options used during generation.
8732
8733   Previous Release
8734     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8735     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8736   Current Release:
8737     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8738     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8739
8740
8741
8742 2) Linux
8743
8744 Much work done on ACPI init (MADT and PCI IRQ routing support).
8745 (Paul D. and Dominik Brodowski)
8746
8747 Fix PCI IRQ-related panic on boot (Sam Revitch)
8748
8749 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8750
8751 Fix "MHz" typo (Dominik Brodowski)
8752
8753 Fix RTC year 2000 issue (Dominik Brodowski)
8754
8755 Preclude multiple button proc entries (Eric Brunet)
8756
8757 Moved arch-specific code out of include/platform/aclinux.h
8758
8759 3) iASL Compiler Version X2044:
8760
8761 Implemented error checking for the string used in the EISAID macro
8762 (Usually used in the definition of the _HID object.)  The code now
8763 strictly enforces the PnP format - exactly 7 characters, 3
8764 uppercase letters and 4 hex digits.
8765
8766 If a raw string is used in the definition of the _HID object
8767 (instead of the EISAID macro), the string must contain all
8768 alphanumeric characters (e.g., "*PNP0011" is not allowed because
8769 of the asterisk.)
8770
8771 Implemented checking for invalid use of ACPI reserved names for
8772 most of the name creation operators (Name, Device, Event, Mutex,
8773 OperationRegion, PowerResource, Processor, and ThermalZone.)
8774 Previously, this check was only performed for control methods.
8775
8776 Implemented an additional check on the Name operator to emit an
8777 error if a reserved name that must be implemented in ASL as a
8778 control method is used.  We know that a reserved name must be a
8779 method if it is defined with input arguments.
8780
8781 The warning emitted when a namespace object reference is not found
8782 during the cross reference phase has been changed into an error.
8783 The "External" directive should be used for names defined in other
8784 modules.
8785
8786
8787 4) Tools and Utilities
8788
8789 The 16-bit tools (adump16 and aexec16) have been regenerated and
8790 tested.
8791
8792 Fixed a problem with the output of both acpidump and adump16 where
8793 the indentation of closing parentheses and brackets was not
8794
8795 aligned properly with the parent block.
8796
8797
8798 ----------------------------------------
8799 03 May 2002.  Summary of changes for this release.
8800
8801
8802 1) ACPI CA Core Subsystem Version 20020503:
8803
8804 Added support a new OSL interface that allows the host operating
8805
8806 system software to override the DSDT found in the firmware -
8807 AcpiOsTableOverride.  With this interface, the OSL can examine the
8808 version of the firmware DSDT and replace it with a different one
8809 if desired.
8810
8811 Added new external interfaces for accessing ACPI registers from
8812 device drivers and other system software - AcpiGetRegister and
8813 AcpiSetRegister.  This was simply an externalization of the
8814 existing AcpiHwBitRegister interfaces.
8815
8816 Fixed a regression introduced in the previous build where the
8817 ASL/AML CreateField operator always returned an error,
8818 "destination must be a NS Node".
8819
8820 Extended the maximum time (before failure) to successfully enable
8821 ACPI mode to 3 seconds.
8822
8823 Code and Data Size: Current core subsystem library sizes are shown
8824 below.  These are the code and data sizes for the acpica.lib
8825 produced by the Microsoft Visual C++ 6.0 compiler, and these
8826 values do not include any ACPI driver or OSPM code.  The debug
8827 version of the code includes the debug output trace mechanism and
8828 has a larger code and data size.  Note that these values will vary
8829 depending on the efficiency of the compiler and the compiler
8830 options used during generation.
8831
8832   Previous Release
8833     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8834     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8835   Current Release:
8836     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8837     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8838
8839
8840 2) Linux
8841
8842 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8843 free. While 3 out of 4 of our in-house systems work fine, the last
8844 one still hangs when testing the LAPIC timer.
8845
8846 Renamed many files in 2.5 kernel release to omit "acpi_" from the
8847 name.
8848
8849 Added warning on boot for Presario 711FR.
8850
8851 Sleep improvements (Pavel Machek)
8852
8853 ACPI can now be built without CONFIG_PCI enabled.
8854
8855 IA64: Fixed memory map functions (JI Lee)
8856
8857
8858 3) iASL Compiler Version X2043:
8859
8860 Added support to allow the compiler to be integrated into the MS
8861 VC++ development environment for one-button compilation of single
8862 files or entire projects -- with error-to-source-line mapping.
8863
8864 Implemented support for compile-time constant folding for the
8865 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8866 specification.  This allows the ASL writer to use expressions
8867 instead of Integer/Buffer/String constants in terms that must
8868 evaluate to constants at compile time and will also simplify the
8869 emitted AML in any such sub-expressions that can be folded
8870 (evaluated at compile-time.)  This increases the size of the
8871 compiler significantly because a portion of the ACPI CA AML
8872 interpreter is included within the compiler in order to pre-
8873 evaluate constant expressions.
8874
8875
8876 Fixed a problem with the "Unicode" ASL macro that caused the
8877 compiler to fault.  (This macro is used in conjunction with the
8878 _STR reserved name.)
8879
8880 Implemented an AML opcode optimization to use the Zero, One, and
8881 Ones opcodes where possible to further reduce the size of integer
8882 constants and thus reduce the overall size of the generated AML
8883 code.
8884
8885 Implemented error checking for new reserved terms for ACPI version
8886 2.0A.
8887
8888 Implemented the -qr option to display the current list of ACPI
8889 reserved names known to the compiler.
8890
8891 Implemented the -qc option to display the current list of ASL
8892 operators that are allowed within constant expressions and can
8893 therefore be folded at compile time if the operands are constants.
8894
8895
8896 4) Documentation
8897
8898 Updated the Programmer's Reference for new interfaces, data types,
8899 and memory allocation model options.
8900
8901 Updated the iASL Compiler User Reference to apply new format and
8902 add information about new features and options.
8903
8904 ----------------------------------------
8905 19 April 2002.  Summary of changes for this release.
8906
8907 1) ACPI CA Core Subsystem Version 20020419:
8908
8909 The source code base for the Core Subsystem has been completely
8910 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8911 versions.  The Lint option files used are included in the
8912 /acpi/generate/lint directory.
8913
8914 Implemented enhanced status/error checking across the entire
8915 Hardware manager subsystem.  Any hardware errors (reported from
8916 the OSL) are now bubbled up and will abort a running control
8917 method.
8918
8919
8920 Fixed a problem where the per-ACPI-table integer width (32 or 64)
8921 was stored only with control method nodes, causing a fault when
8922 non-control method code was executed during table loading.  The
8923 solution implemented uses a global variable to indicate table
8924 width across the entire ACPI subsystem.  Therefore, ACPI CA does
8925 not support mixed integer widths across different ACPI tables
8926 (DSDT, SSDT).
8927
8928 Fixed a problem where NULL extended fields (X fields) in an ACPI
8929 2.0 ACPI FADT caused the table load to fail.  Although the
8930 existing ACPI specification is a bit fuzzy on this topic, the new
8931 behavior is to fall back on a ACPI 1.0 field if the corresponding
8932 ACPI 2.0 X field is zero (even though the table revision indicates
8933 a full ACPI 2.0 table.)  The ACPI specification will be updated to
8934 clarify this issue.
8935
8936 Fixed a problem with the SystemMemory operation region handler
8937 where memory was always accessed byte-wise even if the AML-
8938 specified access width was larger than a byte.  This caused
8939 problems on systems with memory-mapped I/O.  Memory is now
8940 accessed with the width specified.  On systems that do not support
8941 non-aligned transfers, a check is made to guarantee proper address
8942 alignment before proceeding in order to avoid an AML-caused
8943 alignment fault within the kernel.
8944
8945
8946 Fixed a problem with the ExtendedIrq resource where only one byte
8947 of the 4-byte Irq field was extracted.
8948
8949 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8950 function was out of date and required a rewrite.
8951
8952 Code and Data Size: Current core subsystem library sizes are shown
8953 below.  These are the code and data sizes for the acpica.lib
8954 produced by the Microsoft Visual C++ 6.0 compiler, and these
8955 values do not include any ACPI driver or OSPM code.  The debug
8956 version of the code includes the debug output trace mechanism and
8957 has a larger code and data size.  Note that these values will vary
8958 depending on the efficiency of the compiler and the compiler
8959 options used during generation.
8960
8961   Previous Release
8962     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8963     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8964   Current Release:
8965     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8966     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8967
8968
8969 2) Linux
8970
8971 PCI IRQ routing fixes (Dominik Brodowski)
8972
8973
8974 3) iASL Compiler Version X2042:
8975
8976 Implemented an additional compile-time error check for a field
8977 unit whose size + minimum access width would cause a run-time
8978 access beyond the end-of-region.  Previously, only the field size
8979 itself was checked.
8980
8981 The Core subsystem and iASL compiler now share a common parse
8982 object in preparation for compile-time evaluation of the type
8983 3/4/5 ASL operators.
8984
8985
8986 ----------------------------------------
8987 Summary of changes for this release: 03_29_02
8988
8989 1) ACPI CA Core Subsystem Version 20020329:
8990
8991 Implemented support for late evaluation of TermArg operands to
8992 Buffer and Package objects.  This allows complex expressions to be
8993 used in the declarations of these object types.
8994
8995 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
8996 1.0, if the field was larger than 32 bits, it was returned as a
8997 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
8998 the field is returned as a buffer only if the field is larger than
8999 64 bits.  The TableRevision is now considered when making this
9000 conversion to avoid incompatibility with existing ASL code.
9001
9002 Implemented logical addressing for AcpiOsGetRootPointer.  This
9003 allows an RSDP with either a logical or physical address.  With
9004 this support, the host OS can now override all ACPI tables with
9005 one logical RSDP.  Includes implementation of  "typed" pointer
9006 support to allow a common data type for both physical and logical
9007 pointers internally.  This required a change to the
9008 AcpiOsGetRootPointer interface.
9009
9010 Implemented the use of ACPI 2.0 Generic Address Structures for all
9011 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9012 mapped I/O for these ACPI features.
9013
9014 Initialization now ignores not only non-required tables (All
9015 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9016 not validate the table headers of unrecognized tables.
9017
9018 Fixed a problem where a notify handler could only be
9019 installed/removed on an object of type Device.  All "notify"
9020
9021 objects are now supported -- Devices, Processor, Power, and
9022 Thermal.
9023
9024 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9025 critical information is returned when this debug level is enabled.
9026
9027 Code and Data Size: Current core subsystem library sizes are shown
9028 below.  These are the code and data sizes for the acpica.lib
9029 produced by the Microsoft Visual C++ 6.0 compiler, and these
9030 values do not include any ACPI driver or OSPM code.  The debug
9031 version of the code includes the debug output trace mechanism and
9032 has a larger code and data size.  Note that these values will vary
9033 depending on the efficiency of the compiler and the compiler
9034 options used during generation.
9035
9036   Previous Release
9037     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9038     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9039   Current Release:
9040     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9041     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9042
9043
9044 2) Linux:
9045
9046 The processor driver (acpi_processor.c) now fully supports ACPI
9047 2.0-based processor performance control (e.g. Intel(R)
9048 SpeedStep(TM) technology) Note that older laptops that only have
9049 the Intel "applet" interface are not supported through this.  The
9050 'limit' and 'performance' interface (/proc) are fully functional.
9051 [Note that basic policy for controlling performance state
9052 transitions will be included in the next version of ospmd.]  The
9053 idle handler was modified to more aggressively use C2, and PIIX4
9054 errata handling underwent a complete overhaul (big thanks to
9055 Dominik Brodowski).
9056
9057 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9058 based devices in the ACPI namespace are now dynamically bound
9059 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9060 This allows, among other things, ACPI to resolve bus numbers for
9061 subordinate PCI bridges.
9062
9063 Enhanced PCI IRQ routing to get the proper bus number for _PRT
9064 entries defined underneath PCI bridges.
9065
9066 Added IBM 600E to bad bios list due to invalid _ADR value for
9067 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9068
9069 In the process of adding full MADT support (e.g. IOAPIC) for IA32
9070 (acpi.c, mpparse.c) -- stay tuned.
9071
9072 Added back visual differentiation between fixed-feature and
9073 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9074 button/power/PWRF) to simplify button identification.
9075
9076 We no longer use -Wno-unused when compiling debug. Please ignore
9077 any "_THIS_MODULE defined but not used" messages.
9078
9079 Can now shut down the system using "magic sysrq" key.
9080
9081
9082 3) iASL Compiler version 2041:
9083
9084 Fixed a problem where conversion errors for hex/octal/decimal
9085 constants were not reported.
9086
9087 Implemented a fix for the General Register template Address field.
9088 This field was 8 bits when it should be 64.
9089
9090 Fixed a problem where errors/warnings were no longer being emitted
9091 within the listing output file.
9092
9093 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9094 exactly 4 characters, alphanumeric only.
9095
9096
9097
9098
9099 ----------------------------------------
9100 Summary of changes for this release: 03_08_02
9101
9102
9103 1) ACPI CA Core Subsystem Version 20020308:
9104
9105 Fixed a problem with AML Fields where the use of the "AccessAny"
9106 keyword could cause an interpreter error due to attempting to read
9107 or write beyond the end of the parent Operation Region.
9108
9109 Fixed a problem in the SystemMemory Operation Region handler where
9110 an attempt was made to map memory beyond the end of the region.
9111 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9112 errors on some Linux systems.
9113
9114 Fixed a problem where the interpreter/namespace "search to root"
9115 algorithm was not functioning for some object types.  Relaxed the
9116 internal restriction on the search to allow upsearches for all
9117 external object types as well as most internal types.
9118
9119
9120 2) Linux:
9121
9122 We now use safe_halt() macro versus individual calls to sti | hlt.
9123
9124 Writing to the processor limit interface should now work. "echo 1"
9125 will increase the limit, 2 will decrease, and 0 will reset to the
9126
9127 default.
9128
9129
9130 3) ASL compiler:
9131
9132 Fixed segfault on Linux version.
9133
9134
9135 ----------------------------------------
9136 Summary of changes for this release: 02_25_02
9137
9138 1) ACPI CA Core Subsystem:
9139
9140
9141 Fixed a problem where the GPE bit masks were not initialized
9142 properly, causing erratic GPE behavior.
9143
9144 Implemented limited support for multiple calling conventions.  The
9145 code can be generated with either the VPL (variable parameter
9146 list, or "C") convention, or the FPL (fixed parameter list, or
9147 "Pascal") convention.  The core subsystem is about 3.4% smaller
9148 when generated with FPL.
9149
9150
9151 2) Linux
9152
9153 Re-add some /proc/acpi/event functionality that was lost during
9154 the rewrite
9155
9156 Resolved issue with /proc events for fixed-feature buttons showing
9157 up as the system device.
9158
9159 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9160
9161 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9162
9163 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9164
9165 Fixed limit interface & usage to fix bugs with passive cooling
9166 hysterisis.
9167
9168 Restructured PRT support.
9169
9170
9171 ----------------------------------------
9172 Summary of changes for this label: 02_14_02
9173
9174
9175 1) ACPI CA Core Subsystem:
9176
9177 Implemented support in AcpiLoadTable to allow loading of FACS and
9178 FADT tables.
9179
9180 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9181 been removed.  All 64-bit platforms should be migrated to the ACPI
9182 2.0 tables.  The actbl71.h header has been removed from the source
9183 tree.
9184
9185 All C macros defined within the subsystem have been prefixed with
9186 "ACPI_" to avoid collision with other system include files.
9187
9188 Removed the return value for the two AcpiOsPrint interfaces, since
9189 it is never used and causes lint warnings for ignoring the return
9190 value.
9191
9192 Added error checking to all internal mutex acquire and release
9193 calls.  Although a failure from one of these interfaces is
9194 probably a fatal system error, these checks will cause the
9195 immediate abort of the currently executing method or interface.
9196
9197 Fixed a problem where the AcpiSetCurrentResources interface could
9198 fault.  This was a side effect of the deployment of the new memory
9199 allocation model.
9200
9201 Fixed a couple of problems with the Global Lock support introduced
9202 in the last major build.  The "common" (1.0/2.0) internal FACS was
9203 being overwritten with the FACS signature and clobbering the
9204 Global Lock pointer.  Also, the actual firmware FACS was being
9205 unmapped after construction of the "common" FACS, preventing
9206 access to the actual Global Lock field within it.  The "common"
9207 internal FACS is no longer installed as an actual ACPI table; it
9208 is used simply as a global.
9209
9210 Code and Data Size: Current core subsystem library sizes are shown
9211 below.  These are the code and data sizes for the acpica.lib
9212 produced by the Microsoft Visual C++ 6.0 compiler, and these
9213 values do not include any ACPI driver or OSPM code.  The debug
9214 version of the code includes the debug output trace mechanism and
9215 has a larger code and data size.  Note that these values will vary
9216 depending on the efficiency of the compiler and the compiler
9217 options used during generation.
9218
9219   Previous Release (02_07_01)
9220     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9221     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9222   Current Release:
9223     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9224     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9225
9226
9227 2) Linux
9228
9229 Updated Linux-specific code for core macro and OSL interface
9230 changes described above.
9231
9232 Improved /proc/acpi/event. It now can be opened only once and has
9233 proper poll functionality.
9234
9235 Fixed and restructured power management (acpi_bus).
9236
9237 Only create /proc "view by type" when devices of that class exist.
9238
9239 Fixed "charging/discharging" bug (and others) in acpi_battery.
9240
9241 Improved thermal zone code.
9242
9243
9244 3) ASL Compiler, version X2039:
9245
9246
9247 Implemented the new compiler restriction on ASL String hex/octal
9248 escapes to non-null, ASCII values.  An error results if an invalid
9249 value is used.  (This will require an ACPI 2.0 specification
9250 change.)
9251
9252 AML object labels that are output to the optional C and ASM source
9253 are now prefixed with both the ACPI table signature and table ID
9254 to help guarantee uniqueness within a large BIOS project.
9255
9256
9257 ----------------------------------------
9258 Summary of changes for this label: 02_01_02
9259
9260 1) ACPI CA Core Subsystem:
9261
9262 ACPI 2.0 support is complete in the entire Core Subsystem and the
9263 ASL compiler. All new ACPI 2.0 operators are implemented and all
9264 other changes for ACPI 2.0 support are complete.  With
9265 simultaneous code and data optimizations throughout the subsystem,
9266 ACPI 2.0 support has been implemented with almost no additional
9267 cost in terms of code and data size.
9268
9269 Implemented a new mechanism for allocation of return buffers.  If
9270 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9271 be allocated on behalf of the caller.  Consolidated all return
9272 buffer validation and allocation to a common procedure.  Return
9273 buffers will be allocated via the primary OSL allocation interface
9274 since it appears that a separate pool is not needed by most users.
9275 If a separate pool is required for these buffers, the caller can
9276 still use the original mechanism and pre-allocate the buffer(s).
9277
9278 Implemented support for string operands within the DerefOf
9279 operator.
9280
9281 Restructured the Hardware and Event managers to be table driven,
9282 simplifying the source code and reducing the amount of generated
9283 code.
9284
9285 Split the common read/write low-level ACPI register bitfield
9286 procedure into a separate read and write, simplifying the code
9287 considerably.
9288
9289 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9290 used only a handful of times and didn't have enough critical mass
9291 for a separate interface.  Replaced with a common calloc procedure
9292 in the core.
9293
9294 Fixed a reported problem with the GPE number mapping mechanism
9295 that allows GPE1 numbers to be non-contiguous with GPE0.
9296 Reorganized the GPE information and shrunk a large array that was
9297 originally large enough to hold info for all possible GPEs (256)
9298 to simply large enough to hold all GPEs up to the largest GPE
9299 number on the machine.
9300
9301 Fixed a reported problem with resource structure alignment on 64-
9302 bit platforms.
9303
9304 Changed the AcpiEnableEvent and AcpiDisableEvent external
9305 interfaces to not require any flags for the common case of
9306 enabling/disabling a GPE.
9307
9308 Implemented support to allow a "Notify" on a Processor object.
9309
9310 Most TBDs in comments within the source code have been resolved
9311 and eliminated.
9312
9313
9314 Fixed a problem in the interpreter where a standalone parent
9315 prefix (^) was not handled correctly in the interpreter and
9316 debugger.
9317
9318 Removed obsolete and unnecessary GPE save/restore code.
9319
9320 Implemented Field support in the ASL Load operator.  This allows a
9321 table to be loaded from a named field, in addition to loading a
9322 table directly from an Operation Region.
9323
9324 Implemented timeout and handle support in the external Global Lock
9325 interfaces.
9326
9327 Fixed a problem in the AcpiDump utility where pathnames were no
9328 longer being generated correctly during the dump of named objects.
9329
9330 Modified the AML debugger to give a full display of if/while
9331 predicates instead of just one AML opcode at a time.  (The
9332 predicate can have several nested ASL statements.)  The old method
9333 was confusing during single stepping.
9334
9335 Code and Data Size: Current core subsystem library sizes are shown
9336 below. These are the code and data sizes for the acpica.lib
9337 produced by the Microsoft Visual C++ 6.0 compiler, and these
9338 values do not include any ACPI driver or OSPM code.  The debug
9339 version of the code includes the debug output trace mechanism and
9340 has a larger code and data size.  Note that these values will vary
9341 depending on the efficiency of the compiler and the compiler
9342 options used during generation.
9343
9344   Previous Release (12_18_01)
9345      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9346      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9347    Current Release:
9348      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9349      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9350
9351 2) Linux
9352
9353  Implemented fix for PIIX reverse throttling errata (Processor
9354 driver)
9355
9356 Added new Limit interface (Processor and Thermal drivers)
9357
9358 New thermal policy (Thermal driver)
9359
9360 Many updates to /proc
9361
9362 Battery "low" event support (Battery driver)
9363
9364 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9365
9366 IA32 - IA64 initialization unification, no longer experimental
9367
9368 Menuconfig options redesigned
9369
9370 3) ASL Compiler, version X2037:
9371
9372 Implemented several new output features to simplify integration of
9373 AML code into  firmware: 1) Output the AML in C source code with
9374 labels for each named ASL object.  The    original ASL source code
9375 is interleaved as C comments. 2) Output the AML in ASM source code
9376 with labels and interleaved ASL    source. 3) Output the AML in
9377 raw hex table form, in either C or ASM.
9378
9379 Implemented support for optional string parameters to the
9380 LoadTable operator.
9381
9382 Completed support for embedded escape sequences within string
9383 literals.  The compiler now supports all single character escapes
9384 as well as the Octal and Hex escapes.  Note: the insertion of a
9385 null byte into a string literal (via the hex/octal escape) causes
9386 the string to be immediately terminated.  A warning is issued.
9387
9388 Fixed a problem where incorrect AML was generated for the case
9389 where an ASL namepath consists of a single parent prefix (
9390
9391 ) with no trailing name segments.
9392
9393 The compiler has been successfully generated with a 64-bit C
9394 compiler.
9395
9396
9397
9398
9399 ----------------------------------------
9400 Summary of changes for this label: 12_18_01
9401
9402 1) Linux
9403
9404 Enhanced blacklist with reason and severity fields. Any table's
9405 signature may now be used to identify a blacklisted system.
9406
9407 Call _PIC control method to inform the firmware which interrupt
9408 model the OS is using. Turn on any disabled link devices.
9409
9410 Cleaned up busmgr /proc error handling (Andreas Dilger)
9411
9412  2) ACPI CA Core Subsystem:
9413
9414 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9415 while loop)
9416
9417 Completed implementation of the ACPI 2.0 "Continue",
9418 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9419 operators.  All new ACPI 2.0 operators are now implemented in both
9420 the ASL compiler and the AML interpreter.  The only remaining ACPI
9421 2.0 task is support for the String data type in the DerefOf
9422 operator.  Fixed a problem with AcquireMutex where the status code
9423 was lost if the caller had to actually wait for the mutex.
9424
9425 Increased the maximum ASL Field size from 64K bits to 4G bits.
9426
9427 Completed implementation of the external Global Lock interfaces --
9428 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9429 Handler parameters were added.
9430
9431 Completed another pass at removing warnings and issues when
9432 compiling with 64-bit compilers.  The code now compiles cleanly
9433 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9434 add and subtract (diff) macros have changed considerably.
9435
9436
9437 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
9438 64-bit platforms, 32-bits on all others.  This type is used
9439 wherever memory allocation and/or the C sizeof() operator is used,
9440 and affects the OSL memory allocation interfaces AcpiOsAllocate
9441 and AcpiOsCallocate.
9442
9443 Implemented sticky user breakpoints in the AML debugger.
9444
9445 Code and Data Size: Current core subsystem library sizes are shown
9446 below. These are the code and data sizes for the acpica.lib
9447 produced by the Microsoft Visual C++ 6.0 compiler, and these
9448 values do not include any ACPI driver or OSPM code.  The debug
9449 version of the code includes the debug output trace mechanism and
9450 has a larger code and data size. Note that these values will vary
9451 depending on the efficiency of the compiler and the compiler
9452 options used during generation.
9453
9454   Previous Release (12_05_01)
9455      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9456      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9457    Current Release:
9458      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9459      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9460
9461  3) ASL Compiler, version X2034:
9462
9463 Now checks for (and generates an error if detected) the use of a
9464 Break or Continue statement without an enclosing While statement.
9465
9466
9467 Successfully generated the compiler with the Intel 64-bit C
9468 compiler.
9469
9470  ----------------------------------------
9471 Summary of changes for this label: 12_05_01
9472
9473  1) ACPI CA Core Subsystem:
9474
9475 The ACPI 2.0 CopyObject operator is fully implemented.  This
9476 operator creates a new copy of an object (and is also used to
9477 bypass the "implicit conversion" mechanism of the Store operator.)
9478
9479 The ACPI 2.0 semantics for the SizeOf operator are fully
9480 implemented.  The change is that performing a SizeOf on a
9481 reference object causes an automatic dereference of the object to
9482 tha actual value before the size is evaluated. This behavior was
9483 undefined in ACPI 1.0.
9484
9485 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9486 have been implemented.  The interrupt polarity and mode are now
9487 independently set.
9488
9489 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9490 appearing in Package objects were not properly converted to
9491 integers when the internal Package was converted to an external
9492 object (via the AcpiEvaluateObject interface.)
9493
9494 Fixed a problem with the namespace object deletion mechanism for
9495 objects created by control methods.  There were two parts to this
9496 problem: 1) Objects created during the initialization phase method
9497 parse were not being deleted, and 2) The object owner ID mechanism
9498 to track objects was broken.
9499
9500 Fixed a problem where the use of the ASL Scope operator within a
9501 control method would result in an invalid opcode exception.
9502
9503 Fixed a problem introduced in the previous label where the buffer
9504 length required for the _PRT structure was not being returned
9505 correctly.
9506
9507 Code and Data Size: Current core subsystem library sizes are shown
9508 below. These are the code and data sizes for the acpica.lib
9509 produced by the Microsoft Visual C++ 6.0 compiler, and these
9510 values do not include any ACPI driver or OSPM code.  The debug
9511 version of the code includes the debug output trace mechanism and
9512 has a larger code and data size.  Note that these values will vary
9513 depending on the efficiency of the compiler and the compiler
9514 options used during generation.
9515
9516   Previous Release (11_20_01)
9517      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9518      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9519
9520   Current Release:
9521      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9522      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9523
9524  2) Linux:
9525
9526 Updated all files to apply cleanly against 2.4.16.
9527
9528 Added basic PCI Interrupt Routing Table (PRT) support for IA32
9529 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9530 version supports both static and dyanmic PRT entries, but dynamic
9531 entries are treated as if they were static (not yet
9532 reconfigurable).  Architecture- specific code to use this data is
9533 absent on IA32 but should be available shortly.
9534
9535 Changed the initialization sequence to start the ACPI interpreter
9536 (acpi_init) prior to initialization of the PCI driver (pci_init)
9537 in init/main.c.  This ordering is required to support PRT and
9538 facilitate other (future) enhancement.  A side effect is that the
9539 ACPI bus driver and certain device drivers can no longer be loaded
9540 as modules.
9541
9542 Modified the 'make menuconfig' options to allow PCI Interrupt
9543 Routing support to be included without the ACPI Bus and other
9544 device drivers.
9545
9546  3) ASL Compiler, version X2033:
9547
9548 Fixed some issues with the use of the new CopyObject and
9549 DataTableRegion operators.  Both are fully functional.
9550
9551  ----------------------------------------
9552 Summary of changes for this label: 11_20_01
9553
9554  20 November 2001.  Summary of changes for this release.
9555
9556  1) ACPI CA Core Subsystem:
9557
9558 Updated Index support to match ACPI 2.0 semantics.  Storing a
9559 Integer, String, or Buffer to an Index of a Buffer will store only
9560 the least-significant byte of the source to the Indexed buffer
9561 byte.  Multiple writes are not performed.
9562
9563 Fixed a problem where the access type used in an AccessAs ASL
9564 operator was not recorded correctly into the field object.
9565
9566 Fixed a problem where ASL Event objects were created in a
9567 signalled state. Events are now created in an unsignalled state.
9568
9569 The internal object cache is now purged after table loading and
9570 initialization to reduce the use of dynamic kernel memory -- on
9571 the assumption that object use is greatest during the parse phase
9572 of the entire table (versus the run-time use of individual control
9573 methods.)
9574
9575 ACPI 2.0 variable-length packages are now fully operational.
9576
9577 Code and Data Size: Code and Data optimizations have permitted new
9578 feature development with an actual reduction in the library size.
9579 Current core subsystem library sizes are shown below.  These are
9580 the code and data sizes for the acpica.lib produced by the
9581 Microsoft Visual C++ 6.0 compiler, and these values do not include
9582 any ACPI driver or OSPM code.  The debug version of the code
9583 includes the debug output trace mechanism and has a larger code
9584 and data size.  Note that these values will vary depending on the
9585 efficiency of the compiler and the compiler options used during
9586 generation.
9587
9588   Previous Release (11_09_01):
9589      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9590      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9591
9592   Current Release:
9593      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9594      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9595
9596  2) Linux:
9597
9598 Enhanced the ACPI boot-time initialization code to allow the use
9599 of Local APIC tables for processor enumeration on IA-32, and to
9600 pave the way for a fully MPS-free boot (on SMP systems) in the
9601 near future.  This functionality replaces
9602 arch/i386/kernel/acpitables.c, which was introduced in an earlier
9603 2.4.15-preX release.  To enable this feature you must add
9604 "acpi_boot=on" to the kernel command line -- see the help entry
9605 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
9606 the works...
9607
9608 Restructured the configuration options to allow boot-time table
9609 parsing support without inclusion of the ACPI Interpreter (and
9610 other) code.
9611
9612 NOTE: This release does not include fixes for the reported events,
9613 power-down, and thermal passive cooling issues (coming soon).
9614
9615  3) ASL Compiler:
9616
9617 Added additional typechecking for Fields within restricted access
9618 Operation Regions.  All fields within EC and CMOS regions must be
9619 declared with ByteAcc. All fields withing SMBus regions must be
9620 declared with the BufferAcc access type.
9621
9622 Fixed a problem where the listing file output of control methods
9623 no longer interleaved the actual AML code with the ASL source
9624 code.
9625
9626
9627
9628
9629 ----------------------------------------
9630 Summary of changes for this label: 11_09_01
9631
9632 1) ACPI CA Core Subsystem:
9633
9634 Implemented ACPI 2.0-defined support for writes to fields with a
9635 Buffer, String, or Integer source operand that is smaller than the
9636 target field. In these cases, the source operand is zero-extended
9637 to fill the target field.
9638
9639 Fixed a problem where a Field starting bit offset (within the
9640 parent operation region) was calculated incorrectly if the
9641
9642 alignment of the field differed from the access width.  This
9643 affected CreateWordField, CreateDwordField, CreateQwordField, and
9644 possibly other fields that use the "AccessAny" keyword.
9645
9646 Fixed a problem introduced in the 11_02_01 release where indirect
9647 stores through method arguments did not operate correctly.
9648
9649 2) Linux:
9650
9651 Implemented boot-time ACPI table parsing support
9652 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
9653 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9654 legacy BIOS interfaces (e.g. MPS) for the configuration of system
9655 processors, memory, and interrupts during setup_arch().  Note that
9656 this patch does not include the required architecture-specific
9657 changes required to apply this information -- subsequent patches
9658 will be posted for both IA32 and IA64 to achieve this.
9659
9660 Added low-level sleep support for IA32 platforms, courtesy of Pat
9661 Mochel. This allows IA32 systems to transition to/from various
9662 sleeping states (e.g. S1, S3), although the lack of a centralized
9663 driver model and power-manageable drivers will prevent its
9664 (successful) use on most systems.
9665
9666 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9667 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
9668 tables" option, etc.
9669
9670 Increased the default timeout for the EC driver from 1ms to 10ms
9671 (1000 cycles of 10us) to try to address AE_TIME errors during EC
9672 transactions.
9673
9674  ----------------------------------------
9675 Summary of changes for this label: 11_02_01
9676
9677 1) ACPI CA Core Subsystem:
9678
9679 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9680 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
9681 implemented.
9682
9683 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9684 changes to support ACPI 2.0 Qword field access.  Read/Write
9685 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9686 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
9687 the value parameter for the address space handler interface is now
9688 an ACPI_INTEGER.  OSL implementations of these interfaces must now
9689 handle the case where the Width parameter is 64.
9690
9691 Index Fields: Fixed a problem where unaligned bit assembly and
9692 disassembly for IndexFields was not supported correctly.
9693
9694 Index and Bank Fields:  Nested Index and Bank Fields are now
9695 supported. During field access, a check is performed to ensure
9696 that the value written to an Index or Bank register is not out of
9697 the range of the register.  The Index (or Bank) register is
9698 written before each access to the field data. Future support will
9699 include allowing individual IndexFields to be wider than the
9700 DataRegister width.
9701
9702 Fields: Fixed a problem where the AML interpreter was incorrectly
9703 attempting to write beyond the end of a Field/OpRegion.  This was
9704 a boundary case that occurred when a DWORD field was written to a
9705 BYTE access OpRegion, forcing multiple writes and causing the
9706 interpreter to write one datum too many.
9707
9708 Fields: Fixed a problem with Field/OpRegion access where the
9709 starting bit address of a field was incorrectly calculated if the
9710 current access type was wider than a byte (WordAcc, DwordAcc, or
9711 QwordAcc).
9712
9713 Fields: Fixed a problem where forward references to individual
9714 FieldUnits (individual Field names within a Field definition) were
9715 not resolved during the AML table load.
9716
9717 Fields: Fixed a problem where forward references from a Field
9718 definition to the parent Operation Region definition were not
9719 resolved during the AML table load.
9720
9721 Fields: Duplicate FieldUnit names within a scope are now detected
9722 during AML table load.
9723
9724 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
9725 returned an incorrect name for the root node.
9726
9727 Code and Data Size: Code and Data optimizations have permitted new
9728 feature development with an actual reduction in the library size.
9729 Current core subsystem library sizes are shown below.  These are
9730 the code and data sizes for the acpica.lib produced by the
9731 Microsoft Visual C++ 6.0 compiler, and these values do not include
9732 any ACPI driver or OSPM code.  The debug version of the code
9733 includes the debug output trace mechanism and has a larger code
9734 and data size.  Note that these values will vary depending on the
9735 efficiency of the compiler and the compiler options used during
9736 generation.
9737
9738   Previous Release (10_18_01):
9739      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9740      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9741
9742   Current Release:
9743      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9744      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9745
9746  2) Linux:
9747
9748 Improved /proc processor output (Pavel Machek) Re-added
9749 MODULE_LICENSE("GPL") to all modules.
9750
9751  3) ASL Compiler version X2030:
9752
9753 Duplicate FieldUnit names within a scope are now detected and
9754 flagged as errors.
9755
9756  4) Documentation:
9757
9758 Programmer Reference updated to reflect OSL and address space
9759 handler interface changes described above.
9760
9761 ----------------------------------------
9762 Summary of changes for this label: 10_18_01
9763
9764 ACPI CA Core Subsystem:
9765
9766 Fixed a problem with the internal object reference count mechanism
9767 that occasionally caused premature object deletion. This resolves
9768 all of the outstanding problem reports where an object is deleted
9769 in the middle of an interpreter evaluation.  Although this problem
9770 only showed up in rather obscure cases, the solution to the
9771 problem involved an adjustment of all reference counts involving
9772 objects attached to namespace nodes.
9773
9774 Fixed a problem with Field support in the interpreter where
9775 writing to an aligned field whose length is an exact multiple (2
9776 or greater) of the field access granularity would cause an attempt
9777 to write beyond the end of the field.
9778
9779 The top level AML opcode execution functions within the
9780 interpreter have been renamed with a more meaningful and
9781 consistent naming convention.  The modules exmonad.c and
9782 exdyadic.c were eliminated.  New modules are exoparg1.c,
9783 exoparg2.c, exoparg3.c, and exoparg6.c.
9784
9785 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
9786
9787 Fixed a problem where the AML debugger was causing some internal
9788 objects to not be deleted during subsystem termination.
9789
9790 Fixed a problem with the external AcpiEvaluateObject interface
9791 where the subsystem would fault if the named object to be
9792 evaluated refered to a constant such as Zero, Ones, etc.
9793
9794 Fixed a problem with IndexFields and BankFields where the
9795 subsystem would fault if the index, data, or bank registers were
9796 not defined in the same scope as the field itself.
9797
9798 Added printf format string checking for compilers that support
9799 this feature.  Corrected more than 50 instances of issues with
9800 format specifiers within invocations of ACPI_DEBUG_PRINT
9801 throughout the core subsystem code.
9802
9803 The ASL "Revision" operator now returns the ACPI support level
9804 implemented in the core - the value "2" since the ACPI 2.0 support
9805 is more than 50% implemented.
9806
9807 Enhanced the output of the AML debugger "dump namespace" command
9808 to output in a more human-readable form.
9809
9810 Current core subsystem library code sizes are shown below.  These
9811
9812 are the code and data sizes for the acpica.lib produced by the
9813 Microsoft Visual C++ 6.0 compiler, and these values do not include
9814 any ACPI driver or OSPM code.  The debug version of the code
9815 includes the full debug trace mechanism -- leading to a much
9816
9817 larger code and data size.  Note that these values will vary
9818 depending on the efficiency of the compiler and the compiler
9819 options used during generation.
9820
9821      Previous Label (09_20_01):
9822      Non-Debug Version:    65K Code,     5K Data,     70K Total
9823      Debug Version:       138K Code,    58K Data,    196K Total
9824
9825      This Label:
9826
9827      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9828      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9829
9830 Linux:
9831
9832 Implemented a "Bad BIOS Blacklist" to track machines that have
9833 known ASL/AML problems.
9834
9835 Enhanced the /proc interface for the thermal zone driver and added
9836 support for _HOT (the critical suspend trip point).  The 'info'
9837 file now includes threshold/policy information, and allows setting
9838 of _SCP (cooling preference) and _TZP (polling frequency) values
9839 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9840 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9841 preference to the passive/quiet mode (if supported by the ASL).
9842
9843 Implemented a workaround for a gcc bug that resuted in an OOPs
9844 when loading the control method battery driver.
9845
9846  ----------------------------------------
9847 Summary of changes for this label: 09_20_01
9848
9849  ACPI CA Core Subsystem:
9850
9851 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
9852 modified to allow individual GPE levels to be flagged as wake-
9853 enabled (i.e., these GPEs are to remain enabled when the platform
9854 sleeps.)
9855
9856 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9857 support wake-enabled GPEs.  This means that upon entering the
9858 sleep state, all GPEs that are not wake-enabled are disabled.
9859 When leaving the sleep state, these GPEs are reenabled.
9860
9861 A local double-precision divide/modulo module has been added to
9862 enhance portability to OS kernels where a 64-bit math library is
9863 not available.  The new module is "utmath.c".
9864
9865 Several optimizations have been made to reduce the use of CPU
9866 stack.  Originally over 2K, the maximum stack usage is now below
9867 2K at 1860  bytes (1.82k)
9868
9869 Fixed a problem with the AcpiGetFirmwareTable interface where the
9870 root table pointer was not mapped into a logical address properly.
9871
9872 Fixed a problem where a NULL pointer was being dereferenced in the
9873 interpreter code for the ASL Notify operator.
9874
9875 Fixed a problem where the use of the ASL Revision operator
9876 returned an error. This operator now returns the current version
9877 of the ACPI CA core subsystem.
9878
9879 Fixed a problem where objects passed as control method parameters
9880 to AcpiEvaluateObject were always deleted at method termination.
9881 However, these objects may end up being stored into the namespace
9882 by the called method.  The object reference count mechanism was
9883 applied to these objects instead of a force delete.
9884
9885 Fixed a problem where static strings or buffers (contained in the
9886 AML code) that are declared as package elements within the ASL
9887 code could cause a fault because the interpreter would attempt to
9888 delete them.  These objects are now marked with the "static
9889 object" flag to prevent any attempt to delete them.
9890
9891 Implemented an interpreter optimization to use operands directly
9892 from the state object instead of extracting the operands to local
9893 variables.  This reduces stack use and code size, and improves
9894 performance.
9895
9896 The module exxface.c was eliminated as it was an unnecessary extra
9897 layer of code.
9898
9899 Current core subsystem library code sizes are shown below.  These
9900 are the code and data sizes for the acpica.lib produced by the
9901 Microsoft Visual C++ 6.0 compiler, and these values do not include
9902 any ACPI driver or OSPM code.  The debug version of the code
9903 includes the full debug trace mechanism -- leading to a much
9904 larger code and data size.  Note that these values will vary
9905 depending on the efficiency of the compiler and the compiler
9906 options used during generation.
9907
9908   Non-Debug Version:  65K Code,   5K Data,   70K Total
9909 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9910 Total  (Previously 195K)
9911
9912 Linux:
9913
9914 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
9915 Integer objects are now 64 bits wide
9916
9917 All Acpi data types and structures are now in lower case.  Only
9918 Acpi macros are upper case for differentiation.
9919
9920  Documentation:
9921
9922 Changes to the external interfaces as described above.
9923
9924  ----------------------------------------
9925 Summary of changes for this label: 08_31_01
9926
9927  ACPI CA Core Subsystem:
9928
9929 A bug with interpreter implementation of the ASL Divide operator
9930 was found and fixed.  The implicit function return value (not the
9931 explicit store operands) was returning the remainder instead of
9932 the quotient.  This was a longstanding bug and it fixes several
9933 known outstanding issues on various platforms.
9934
9935 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
9936 been further optimized for size.  There are 700 invocations of the
9937 DEBUG_PRINT macro alone, so each optimization reduces the size of
9938 the debug version of the subsystem significantly.
9939
9940 A stack trace mechanism has been implemented.  The maximum stack
9941 usage is about 2K on 32-bit platforms.  The debugger command "stat
9942 stack" will display the current maximum stack usage.
9943
9944 All public symbols and global variables within the subsystem are
9945 now prefixed with the string "Acpi".  This keeps all of the
9946 symbols grouped together in a kernel map, and avoids conflicts
9947 with other kernel subsystems.
9948
9949 Most of the internal fixed lookup tables have been moved into the
9950 code segment via the const operator.
9951
9952 Several enhancements have been made to the interpreter to both
9953 reduce the code size and improve performance.
9954
9955 Current core subsystem library code sizes are shown below.  These
9956 are the code and data sizes for the acpica.lib produced by the
9957 Microsoft Visual C++ 6.0 compiler, and these values do not include
9958 any ACPI driver or OSPM code.  The debug version of the code
9959 includes the full debug trace mechanism which contains over 700
9960 invocations of the DEBUG_PRINT macro, 500 function entry macro
9961 invocations, and over 900 function exit macro invocations --
9962 leading to a much larger code and data size.  Note that these
9963 values will vary depending on the efficiency of the compiler and
9964 the compiler options used during generation.
9965
9966         Non-Debug Version:  64K Code,   5K Data,   69K Total
9967 Debug Version:     137K Code,  58K Data,  195K Total
9968
9969  Linux:
9970
9971 Implemented wbinvd() macro, pending a kernel-wide definition.
9972
9973 Fixed /proc/acpi/event to handle poll() and short reads.
9974
9975  ASL Compiler, version X2026:
9976
9977 Fixed a problem introduced in the previous label where the AML
9978
9979 code emitted for package objects produced packages with zero
9980 length.
9981
9982  ----------------------------------------
9983 Summary of changes for this label: 08_16_01
9984
9985 ACPI CA Core Subsystem:
9986
9987 The following ACPI 2.0 ASL operators have been implemented in the
9988 AML interpreter (These are already supported by the Intel ASL
9989 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9990 ToBuffer.  Support for 64-bit AML constants is implemented in the
9991 AML parser, debugger, and disassembler.
9992
9993 The internal memory tracking mechanism (leak detection code) has
9994 been upgraded to reduce the memory overhead (a separate tracking
9995 block is no longer allocated for each memory allocation), and now
9996 supports all of the internal object caches.
9997
9998 The data structures and code for the internal object caches have
9999 been coelesced and optimized so that there is a single cache and
10000 memory list data structure and a single group of functions that
10001 implement generic cache management.  This has reduced the code
10002 size in both the debug and release versions of the subsystem.
10003
10004 The DEBUG_PRINT macro(s) have been optimized for size and replaced
10005 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10006 different, because it generates a single call to an internal
10007 function.  This results in a savings of about 90 bytes per
10008 invocation, resulting in an overall code and data savings of about
10009 16% in the debug version of the subsystem.
10010
10011  Linux:
10012
10013 Fixed C3 disk corruption problems and re-enabled C3 on supporting
10014 machines.
10015
10016 Integrated low-level sleep code by Patrick Mochel.
10017
10018 Further tweaked source code Linuxization.
10019
10020 Other minor fixes.
10021
10022  ASL Compiler:
10023
10024 Support for ACPI 2.0 variable length packages is fixed/completed.
10025
10026 Fixed a problem where the optional length parameter for the ACPI
10027 2.0 ToString operator.
10028
10029 Fixed multiple extraneous error messages when a syntax error is
10030 detected within the declaration line of a control method.
10031
10032  ----------------------------------------
10033 Summary of changes for this label: 07_17_01
10034
10035 ACPI CA Core Subsystem:
10036
10037 Added a new interface named AcpiGetFirmwareTable to obtain any
10038 ACPI table via the ACPI signature.  The interface can be called at
10039 any time during kernel initialization, even before the kernel
10040 virtual memory manager is initialized and paging is enabled.  This
10041 allows kernel subsystems to obtain ACPI tables very early, even
10042 before the ACPI CA subsystem is initialized.
10043
10044 Fixed a problem where Fields defined with the AnyAcc attribute
10045 could be resolved to the incorrect address under the following
10046 conditions: 1) the field width is larger than 8 bits and 2) the
10047 parent operation region is not defined on a DWORD boundary.
10048
10049 Fixed a problem where the interpreter is not being locked during
10050 namespace initialization (during execution of the _INI control
10051 methods), causing an error when an attempt is made to release it
10052 later.
10053
10054 ACPI 2.0 support in the AML Interpreter has begun and will be
10055 ongoing throughout the rest of this year.  In this label, The Mod
10056 operator is implemented.
10057
10058 Added a new data type to contain full PCI addresses named
10059 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10060 and Function values.
10061
10062  Linux:
10063
10064 Enhanced the Linux version of the source code to change most
10065 capitalized ACPI type names to lowercase. For example, all
10066 instances of ACPI_STATUS are changed to acpi_status.  This will
10067 result in a large diff, but the change is strictly cosmetic and
10068 aligns the CA code closer to the Linux coding standard.
10069
10070 OSL Interfaces:
10071
10072 The interfaces to the PCI configuration space have been changed to
10073 add the PCI Segment number and to split the single 32-bit combined
10074 DeviceFunction field into two 16-bit fields.  This was
10075 accomplished by moving the four values that define an address in
10076 PCI configuration space (segment, bus, device, and function) to
10077 the new ACPI_PCI_ID structure.
10078
10079 The changes to the PCI configuration space interfaces led to a
10080 reexamination of the complete set of address space access
10081 interfaces for PCI, I/O, and Memory.  The previously existing 18
10082 interfaces have proven difficult to maintain (any small change
10083 must be propagated across at least 6 interfaces) and do not easily
10084 allow for future expansion to 64 bits if necessary.  Also, on some
10085 systems, it would not be appropriate to demultiplex the access
10086 width (8, 16, 32,or 64) before calling the OSL if the
10087 corresponding native OS interfaces contain a similar access width
10088 parameter.  For these reasons, the 18 address space interfaces
10089 have been replaced by these 6 new ones:
10090
10091 AcpiOsReadPciConfiguration
10092 AcpiOsWritePciConfiguration
10093 AcpiOsReadMemory
10094 AcpiOsWriteMemory
10095 AcpiOsReadPort
10096 AcpiOsWritePort
10097
10098 Added a new interface named AcpiOsGetRootPointer to allow the OSL
10099 to perform the platform and/or OS-specific actions necessary to
10100 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10101 interface will simply call down to the CA core to perform the low-
10102 memory search for the table.  On IA-64, the RSDP is obtained from
10103 EFI.  Migrating this interface to the OSL allows the CA core to
10104
10105 remain OS and platform independent.
10106
10107 Added a new interface named AcpiOsSignal to provide a generic
10108 "function code and pointer" interface for various miscellaneous
10109 signals and notifications that must be made to the host OS.   The
10110 first such signals are intended to support the ASL Fatal and
10111 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10112 interface has been obsoleted.
10113
10114 The definition of the AcpiFormatException interface has been
10115 changed to simplify its use.  The caller no longer must supply a
10116 buffer to the call; A pointer to a const string is now returned
10117 directly.  This allows the call to be easily used in printf
10118 statements, etc. since the caller does not have to manage a local
10119 buffer.
10120
10121
10122  ASL Compiler, Version X2025:
10123
10124 The ACPI 2.0 Switch/Case/Default operators have been implemented
10125 and are fully functional.  They will work with all ACPI 1.0
10126 interpreters, since the operators are simply translated to If/Else
10127 pairs.
10128
10129 The ACPI 2.0 ElseIf operator is implemented and will also work
10130 with 1.0 interpreters, for the same reason.
10131
10132 Implemented support for ACPI 2.0 variable-length packages.  These
10133 packages have a separate opcode, and their size is determined by
10134 the interpreter at run-time.
10135
10136 Documentation The ACPI CA Programmer Reference has been updated to
10137 reflect the new interfaces and changes to existing interfaces.
10138
10139  ------------------------------------------
10140 Summary of changes for this label: 06_15_01
10141
10142  ACPI CA Core Subsystem:
10143
10144 Fixed a problem where a DWORD-accessed field within a Buffer
10145 object would get its byte address inadvertently rounded down to
10146 the nearest DWORD.  Buffers are always Byte-accessible.
10147
10148  ASL Compiler, version X2024:
10149
10150 Fixed a problem where the Switch() operator would either fault or
10151 hang the compiler.  Note however, that the AML code for this ACPI
10152 2.0 operator is not yet implemented.
10153
10154 Compiler uses the new AcpiOsGetTimer interface to obtain compile
10155 timings.
10156
10157 Implementation of the CreateField operator automatically converts
10158 a reference to a named field within a resource descriptor from a
10159 byte offset to a bit offset if required.
10160
10161 Added some missing named fields from the resource descriptor
10162 support. These are the names that are automatically created by the
10163 compiler to reference fields within a descriptor.  They are only
10164 valid at compile time and are not passed through to the AML
10165 interpreter.
10166
10167 Resource descriptor named fields are now typed as Integers and
10168 subject to compile-time typechecking when used in expressions.
10169
10170  ------------------------------------------
10171 Summary of changes for this label: 05_18_01
10172
10173  ACPI CA Core Subsystem:
10174
10175 Fixed a couple of problems in the Field support code where bits
10176 from adjacent fields could be returned along with the proper field
10177 bits. Restructured the field support code to improve performance,
10178 readability and maintainability.
10179
10180 New DEBUG_PRINTP macro automatically inserts the procedure name
10181 into the output, saving hundreds of copies of procedure name
10182 strings within the source, shrinking the memory footprint of the
10183 debug version of the core subsystem.
10184
10185  Source Code Structure:
10186
10187 The source code directory tree was restructured to reflect the
10188 current organization of the component architecture.  Some files
10189 and directories have been moved and/or renamed.
10190
10191  Linux:
10192
10193 Fixed leaking kacpidpc processes.
10194
10195 Fixed queueing event data even when /proc/acpi/event is not
10196 opened.
10197
10198  ASL Compiler, version X2020:
10199
10200 Memory allocation performance enhancement - over 24X compile time
10201 improvement on large ASL files.  Parse nodes and namestring
10202 buffers are now allocated from a large internal compiler buffer.
10203
10204 The temporary .SRC file is deleted unless the "-s" option is
10205 specified
10206
10207 The "-d" debug output option now sends all output to the .DBG file
10208 instead of the console.
10209
10210 "External" second parameter is now optional
10211
10212 "ElseIf" syntax now properly allows the predicate
10213
10214 Last operand to "Load" now recognized as a Target operand
10215
10216 Debug object can now be used anywhere as a normal object.
10217
10218 ResourceTemplate now returns an object of type BUFFER
10219
10220 EISAID now returns an object of type INTEGER
10221
10222 "Index" now works with a STRING operand
10223
10224 "LoadTable" now accepts optional parameters
10225
10226 "ToString" length parameter is now optional
10227
10228 "Interrupt (ResourceType," parse error fixed.
10229
10230 "Register" with a user-defined region space parse error fixed
10231
10232 Escaped backslash at the end of a string ("\\") scan/parse error
10233 fixed
10234
10235 "Revision" is now an object of type INTEGER.
10236
10237
10238
10239 ------------------------------------------
10240 Summary of changes for this label: 05_02_01
10241
10242 Linux:
10243
10244 /proc/acpi/event now blocks properly.
10245
10246 Removed /proc/sys/acpi. You can still dump your DSDT from
10247 /proc/acpi/dsdt.
10248
10249  ACPI CA Core Subsystem:
10250
10251 Fixed a problem introduced in the previous label where some of the
10252 "small" resource descriptor types were not recognized.
10253
10254 Improved error messages for the case where an ASL Field is outside
10255 the range of the parent operation region.
10256
10257  ASL Compiler, version X2018:
10258
10259
10260 Added error detection for ASL Fields that extend beyond the length
10261 of the parent operation region (only if the length of the region
10262 is known at compile time.)  This includes fields that have a
10263 minimum access width that is smaller than the parent region, and
10264 individual field units that are partially or entirely beyond the
10265 extent of the parent.
10266
10267
10268
10269 ------------------------------------------
10270 Summary of changes for this label: 04_27_01
10271
10272  ACPI CA Core Subsystem:
10273
10274 Fixed a problem where the namespace mutex could be released at the
10275 wrong time during execution of AcpiRemoveAddressSpaceHandler.
10276
10277 Added optional thread ID output for debug traces, to simplify
10278 debugging of multiple threads.  Added context switch notification
10279 when the debug code realizes that a different thread is now
10280 executing ACPI code.
10281
10282 Some additional external data types have been prefixed with the
10283 string "ACPI_" for consistency.  This may effect existing code.
10284 The data types affected are the external callback typedefs - e.g.,
10285
10286 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10287
10288  Linux:
10289
10290 Fixed an issue with the OSL semaphore implementation where a
10291 thread was waking up with an error from receiving a SIGCHLD
10292 signal.
10293
10294 Linux version of ACPI CA now uses the system C library for string
10295 manipulation routines instead of a local implementation.
10296
10297 Cleaned up comments and removed TBDs.
10298
10299  ASL Compiler, version X2017:
10300
10301 Enhanced error detection and reporting for all file I/O
10302 operations.
10303
10304  Documentation:
10305
10306 Programmer Reference updated to version 1.06.
10307
10308
10309
10310 ------------------------------------------
10311 Summary of changes for this label: 04_13_01
10312
10313  ACPI CA Core Subsystem:
10314
10315 Restructured support for BufferFields and RegionFields.
10316 BankFields support is now fully operational.  All known 32-bit
10317 limitations on field sizes have been removed.  Both BufferFields
10318 and (Operation) RegionFields are now supported by the same field
10319 management code.
10320
10321 Resource support now supports QWORD address and IO resources. The
10322 16/32/64 bit address structures and the Extended IRQ structure
10323 have been changed to properly handle Source Resource strings.
10324
10325 A ThreadId of -1 is now used to indicate a "mutex not acquired"
10326 condition internally and must never be returned by AcpiOsThreadId.
10327 This reserved value was changed from 0 since Unix systems allow a
10328 thread ID of 0.
10329
10330 Linux:
10331
10332 Driver code reorganized to enhance portability
10333
10334 Added a kernel configuration option to control ACPI_DEBUG
10335
10336 Fixed the EC driver to honor _GLK.
10337
10338 ASL Compiler, version X2016:
10339
10340 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10341 address space was set to 0, not 0x7f as it should be.
10342
10343  ------------------------------------------
10344 Summary of changes for this label: 03_13_01
10345
10346  ACPI CA Core Subsystem:
10347
10348 During ACPI initialization, the _SB_._INI method is now run if
10349 present.
10350
10351 Notify handler fix - notifies are deferred until the parent method
10352 completes execution.  This fixes the "mutex already acquired"
10353 issue seen occasionally.
10354
10355 Part of the "implicit conversion" rules in ACPI 2.0 have been
10356 found to cause compatibility problems with existing ASL/AML.  The
10357 convert "result-to-target-type" implementation has been removed
10358 for stores to method Args and Locals.  Source operand conversion
10359 is still fully implemented.  Possible changes to ACPI 2.0
10360 specification pending.
10361
10362 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10363 length.
10364
10365 Fix for compiler warnings for 64-bit compiles.
10366
10367  Linux:
10368
10369 /proc output aligned for easier parsing.
10370
10371 Release-version compile problem fixed.
10372
10373 New kernel configuration options documented in Configure.help.
10374
10375 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10376 context" message.
10377
10378  OSPM:
10379
10380 Power resource driver integrated with bus manager.
10381
10382 Fixed kernel fault during active cooling for thermal zones.
10383
10384 Source Code:
10385
10386 The source code tree has been restructured.
10387
10388
10389
10390 ------------------------------------------
10391 Summary of changes for this label: 03_02_01
10392
10393  Linux OS Services Layer (OSL):
10394
10395 Major revision of all Linux-specific code.
10396
10397 Modularized all ACPI-specific drivers.
10398
10399 Added new thermal zone and power resource drivers.
10400
10401 Revamped /proc interface (new functionality is under /proc/acpi).
10402
10403 New kernel configuration options.
10404
10405  Linux known issues:
10406
10407 New kernel configuration options not documented in Configure.help
10408 yet.
10409
10410
10411 Module dependencies not currently implemented. If used, they
10412 should be loaded in this order: busmgr, power, ec, system,
10413 processor, battery, ac_adapter, button, thermal.
10414
10415 Modules will not load if CONFIG_MODVERSION is set.
10416
10417 IBM 600E - entering S5 may reboot instead of shutting down.
10418
10419 IBM 600E - Sleep button may generate "Invalid <NULL> context"
10420 message.
10421
10422 Some systems may fail with "execution mutex already acquired"
10423 message.
10424
10425  ACPI CA Core Subsystem:
10426
10427 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
10428 for the  deadlock detection code. Defined to return a non-zero, 32-
10429 bit thread ID for the currently executing thread.  May be a non-
10430 zero constant integer on single-thread systems.
10431
10432 Implemented deadlock detection for internal subsystem mutexes.  We
10433 may add conditional compilation for this code (debug only) later.
10434
10435 ASL/AML Mutex object semantics are now fully supported.  This
10436 includes multiple acquires/releases by owner and support for the
10437
10438 Mutex SyncLevel parameter.
10439
10440 A new "Force Release" mechanism automatically frees all ASL
10441 Mutexes that have been acquired but not released when a thread
10442 exits the interpreter.  This forces conformance to the ACPI spec
10443 ("All mutexes must be released when an invocation exits") and
10444 prevents deadlocked ASL threads.  This mechanism can be expanded
10445 (later) to monitor other resource acquisitions if OEM ASL code
10446 continues to misbehave (which it will).
10447
10448 Several new ACPI exception codes have been added for the Mutex
10449 support.
10450
10451 Recursive method calls are now allowed and supported (the ACPI
10452 spec does in fact allow recursive method calls.)  The number of
10453 recursive calls is subject to the restrictions imposed by the
10454 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10455 parameter.
10456
10457 Implemented support for the SyncLevel parameter for control
10458 methods (ACPI 2.0 feature)
10459
10460 Fixed a deadlock problem when multiple threads attempted to use
10461 the interpreter.
10462
10463 Fixed a problem where the string length of a String package
10464 element was not always set in a package returned from
10465 AcpiEvaluateObject.
10466
10467 Fixed a problem where the length of a String package element was
10468 not always included in the length of the overall package returned
10469 from AcpiEvaluateObject.
10470
10471 Added external interfaces (Acpi*) to the ACPI debug memory
10472 manager.  This manager keeps a list of all outstanding
10473 allocations, and can therefore detect memory leaks and attempts to
10474 free memory blocks more than once. Useful for code such as the
10475 power manager, etc.  May not be appropriate for device drivers.
10476 Performance with the debug code enabled is slow.
10477
10478 The ACPI Global Lock is now an optional hardware element.
10479
10480  ASL Compiler Version X2015:
10481
10482 Integrated changes to allow the compiler to be generated on
10483 multiple platforms.
10484
10485 Linux makefile added to generate the compiler on Linux
10486
10487  Source Code:
10488
10489 All platform-specific headers have been moved to their own
10490 subdirectory, Include/Platform.
10491
10492 New source file added, Interpreter/ammutex.c
10493
10494 New header file, Include/acstruct.h
10495
10496  Documentation:
10497
10498 The programmer reference has been updated for the following new
10499 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10500
10501  ------------------------------------------
10502 Summary of changes for this label: 02_08_01
10503
10504 Core ACPI CA Subsystem: Fixed a problem where an error was
10505 incorrectly returned if the return resource buffer was larger than
10506 the actual data (in the resource interfaces).
10507
10508 References to named objects within packages are resolved to the
10509
10510 full pathname string before packages are returned directly (via
10511 the AcpiEvaluateObject interface) or indirectly via the resource
10512 interfaces.
10513
10514 Linux OS Services Layer (OSL):
10515
10516 Improved /proc battery interface.
10517
10518
10519 Added C-state debugging output and other miscellaneous fixes.
10520
10521 ASL Compiler Version X2014:
10522
10523 All defined method arguments can now be used as local variables,
10524 including the ones that are not actually passed in as parameters.
10525 The compiler tracks initialization of the arguments and issues an
10526 exception if they are used without prior assignment (just like
10527 locals).
10528
10529 The -o option now specifies a filename prefix that is used for all
10530 output files, including the AML output file.  Otherwise, the
10531 default behavior is as follows:  1) the AML goes to the file
10532 specified in the DSDT.  2) all other output files use the input
10533 source filename as the base.
10534
10535  ------------------------------------------
10536 Summary of changes for this label: 01_25_01
10537
10538 Core ACPI CA Subsystem: Restructured the implementation of object
10539 store support within the  interpreter.  This includes support for
10540 the Store operator as well  as any ASL operators that include a
10541 target operand.
10542
10543 Partially implemented support for Implicit Result-to-Target
10544 conversion. This is when a result object is converted on the fly
10545 to the type of  an existing target object.  Completion of this
10546 support is pending  further analysis of the ACPI specification
10547 concerning this matter.
10548
10549 CPU-specific code has been removed from the subsystem (hardware
10550 directory).
10551
10552 New Power Management Timer functions added
10553
10554 Linux OS Services Layer (OSL): Moved system state transition code
10555 to the core, fixed it, and modified  Linux OSL accordingly.
10556
10557 Fixed C2 and C3 latency calculations.
10558
10559
10560 We no longer use the compilation date for the version message on
10561 initialization, but retrieve the version from AcpiGetSystemInfo().
10562
10563 Incorporated for fix Sony VAIO machines.
10564
10565 Documentation:  The Programmer Reference has been updated and
10566 reformatted.
10567
10568
10569 ASL Compiler:  Version X2013: Fixed a problem where the line
10570 numbering and error reporting could get out  of sync in the
10571 presence of multiple include files.
10572
10573  ------------------------------------------
10574 Summary of changes for this label: 01_15_01
10575
10576 Core ACPI CA Subsystem:
10577
10578 Implemented support for type conversions in the execution of the
10579 ASL  Concatenate operator (The second operand is converted to
10580 match the type  of the first operand before concatenation.)
10581
10582 Support for implicit source operand conversion is partially
10583 implemented.   The ASL source operand types Integer, Buffer, and
10584 String are freely  interchangeable for most ASL operators and are
10585 converted by the interpreter  on the fly as required.  Implicit
10586 Target operand conversion (where the  result is converted to the
10587 target type before storing) is not yet implemented.
10588
10589 Support for 32-bit and 64-bit BCD integers is implemented.
10590
10591 Problem fixed where a field read on an aligned field could cause a
10592 read  past the end of the field.
10593
10594 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10595 does not return a value, but the caller expects one.  (The ASL
10596 compiler flags this as a warning.)
10597
10598 ASL Compiler:
10599
10600 Version X2011:
10601 1. Static typechecking of all operands is implemented. This
10602 prevents the use of invalid objects (such as using a Package where
10603 an Integer is required) at compile time instead of at interpreter
10604 run-time.
10605 2. The ASL source line is printed with ALL errors and warnings.
10606 3. Bug fix for source EOF without final linefeed.
10607 4. Debug option is split into a parse trace and a namespace trace.
10608 5. Namespace output option (-n) includes initial values for
10609 integers and strings.
10610 6. Parse-only option added for quick syntax checking.
10611 7. Compiler checks for duplicate ACPI name declarations
10612
10613 Version X2012:
10614 1. Relaxed typechecking to allow interchangeability between
10615 strings, integers, and buffers.  These types are now converted by
10616 the interpreter at runtime.
10617 2. Compiler reports time taken by each internal subsystem in the
10618 debug         output file.
10619
10620
10621  ------------------------------------------
10622 Summary of changes for this label: 12_14_00
10623
10624 ASL Compiler:
10625
10626 This is the first official release of the compiler. Since the
10627 compiler requires elements of the Core Subsystem, this label
10628 synchronizes everything.
10629
10630 ------------------------------------------
10631 Summary of changes for this label: 12_08_00
10632
10633
10634 Fixed a problem where named references within the ASL definition
10635 of both OperationRegions and CreateXXXFields did not work
10636 properly.  The symptom was an AE_AML_OPERAND_TYPE during
10637 initialization of the region/field. This is similar (but not
10638 related internally) to the problem that was fixed in the last
10639 label.
10640
10641 Implemented both 32-bit and 64-bit support for the BCD ASL
10642 functions ToBCD and FromBCD.
10643
10644 Updated all legal headers to include "2000" in the copyright
10645 years.
10646
10647  ------------------------------------------
10648 Summary of changes for this label: 12_01_00
10649
10650 Fixed a problem where method invocations within the ASL definition
10651 of both OperationRegions and CreateXXXFields did not work
10652 properly.  The symptom was an AE_AML_OPERAND_TYPE during
10653 initialization of the region/field:
10654
10655   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10656 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10657 (0x3005)
10658
10659 Fixed a problem where operators with more than one nested
10660 subexpression would fail.  The symptoms were varied, by mostly
10661 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
10662 problem that has gone unnoticed until now.
10663
10664   Subtract (Add (1,2), Multiply (3,4))
10665
10666 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
10667 previous build (The prefix part of a relative path was handled
10668 incorrectly).
10669
10670 Fixed a problem where Operation Region initialization failed if
10671 the operation region name was a "namepath" instead of a simple
10672 "nameseg". Symptom was an AE_NO_OPERAND error.
10673
10674 Fixed a problem where an assignment to a local variable via the
10675 indirect RefOf mechanism only worked for the first such
10676 assignment.  Subsequent assignments were ignored.
10677
10678  ------------------------------------------
10679 Summary of changes for this label: 11_15_00
10680
10681 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
10682 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
10683 the AML  interpreter does NOT have support for the new 2.0 ASL
10684 grammar terms at this time.
10685
10686 All ACPI hardware access is via the GAS structures in the ACPI 2.0
10687 FADT.
10688
10689 All physical memory addresses across all platforms are now 64 bits
10690 wide. Logical address width remains dependent on the platform
10691 (i.e., "void *").
10692
10693 AcpiOsMapMemory interface changed to a 64-bit physical address.
10694
10695 The AML interpreter integer size is now 64 bits, as per the ACPI
10696 2.0 specification.
10697
10698 For backwards compatibility with ACPI 1.0, ACPI tables with a
10699 revision number less than 2 use 32-bit integers only.
10700
10701 Fixed a problem where the evaluation of OpRegion operands did not
10702 always resolve them to numbers properly.
10703
10704 ------------------------------------------
10705 Summary of changes for this label: 10_20_00
10706
10707 Fix for CBN_._STA issue.  This fix will allow correct access to
10708 CBN_ OpRegions when the _STA returns 0x8.
10709
10710 Support to convert ACPI constants (Ones, Zeros, One) to actual
10711 values before a package object is returned
10712
10713 Fix for method call as predicate to if/while construct causing
10714 incorrect if/while behavior
10715
10716 Fix for Else block package lengths sometimes calculated wrong (if
10717 block > 63 bytes)
10718
10719 Fix for Processor object length field, was always zero
10720
10721 Table load abort if FACP sanity check fails
10722
10723 Fix for problem with Scope(name) if name already exists
10724
10725 Warning emitted if a named object referenced cannot be found
10726 (resolved) during method execution.
10727
10728
10729
10730
10731
10732 ------------------------------------------
10733 Summary of changes for this label: 9_29_00
10734
10735 New table initialization interfaces: AcpiInitializeSubsystem no
10736 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
10737 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10738 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10739 AcpiLoadTables
10740
10741 Note: These interface changes require changes to all existing OSDs
10742
10743 The PCI_Config default address space handler is always installed
10744 at the root namespace object.
10745
10746 -------------------------------------------
10747 Summary of changes for this label: 09_15_00
10748
10749 The new initialization architecture is implemented.  New
10750 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10751 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10752
10753 (Namespace is automatically loaded when a table is loaded)
10754
10755 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
10756 52 bytes to 32 bytes.  There is usually one of these for every
10757 namespace object, so the memory savings is significant.
10758
10759 Implemented just-in-time evaluation of the CreateField operators.
10760
10761 Bug fixes for IA-64 support have been integrated.
10762
10763 Additional code review comments have been implemented
10764
10765 The so-called "third pass parse" has been replaced by a final walk
10766 through the namespace to initialize all operation regions (address
10767 spaces) and fields that have not yet been initialized during the
10768 execution of the various _INI and REG methods.
10769
10770 New file - namespace/nsinit.c
10771
10772 -------------------------------------------
10773 Summary of changes for this label: 09_01_00
10774
10775 Namespace manager data structures have been reworked to change the
10776 primary  object from a table to a single object.  This has
10777 resulted in dynamic memory  savings of 3X within the namespace and
10778 2X overall in the ACPI CA subsystem.
10779
10780 Fixed problem where the call to AcpiEvFindPciRootBuses was
10781 inadvertently left  commented out.
10782
10783 Reduced the warning count when generating the source with the GCC
10784 compiler.
10785
10786 Revision numbers added to each module header showing the
10787 SourceSafe version of the file.  Please refer to this version
10788 number when giving us feedback or comments on individual modules.
10789
10790 The main object types within the subsystem have been renamed to
10791 clarify their  purpose:
10792
10793 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10794 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10795 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10796
10797 NOTE: no changes to the initialization sequence are included in
10798 this label.
10799
10800 -------------------------------------------
10801 Summary of changes for this label: 08_23_00
10802
10803 Fixed problem where TerminateControlMethod was being called
10804 multiple times per  method
10805
10806 Fixed debugger problem where single stepping caused a semaphore to
10807 be  oversignalled
10808
10809 Improved performance through additional parse object caching -
10810 added  ACPI_EXTENDED_OP type
10811
10812 -------------------------------------------
10813 Summary of changes for this label: 08_10_00
10814
10815 Parser/Interpreter integration:  Eliminated the creation of
10816 complete parse trees  for ACPI tables and control methods.
10817 Instead, parse subtrees are created and  then deleted as soon as
10818 they are processed (Either entered into the namespace or  executed
10819 by the interpreter).  This reduces the use of dynamic kernel
10820 memory  significantly. (about 10X)
10821
10822 Exception codes broken into classes and renumbered.  Be sure to
10823 recompile all  code that includes acexcep.h.  Hopefully we won't
10824 have to renumber the codes  again now that they are split into
10825 classes (environment, programmer, AML code,  ACPI table, and
10826 internal).
10827
10828 Fixed some additional alignment issues in the Resource Manager
10829 subcomponent
10830
10831 Implemented semaphore tracking in the AcpiExec utility, and fixed
10832 several places  where mutexes/semaphores were being unlocked
10833 without a corresponding lock  operation.  There are no known
10834 semaphore or mutex "leaks" at this time.
10835
10836 Fixed the case where an ASL Return operator is used to return an
10837 unnamed  package.
10838
10839 -------------------------------------------
10840 Summary of changes for this label: 07_28_00
10841
10842 Fixed a problem with the way addresses were calculated in
10843 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10844 manifested itself when a Field was  created with WordAccess or
10845 DwordAccess, but the field unit defined within the  Field was less
10846
10847 than a Word or Dword.
10848
10849 Fixed a problem in AmlDumpOperands() module's loop to pull
10850 operands off of the  operand stack to display information. The
10851 problem manifested itself as a TLB  error on 64-bit systems when
10852 accessing an operand stack with two or more  operands.
10853
10854 Fixed a problem with the PCI configuration space handlers where
10855 context was  getting confused between accesses. This required a
10856 change to the generic address  space handler and address space
10857 setup definitions. Handlers now get both a  global handler context
10858 (this is the one passed in by the user when executing
10859 AcpiInstallAddressSpaceHandler() and a specific region context
10860 that is unique to  each region (For example, the _ADR, _SEG and
10861 _BBN values associated with a  specific region). The generic
10862 function definitions have changed to the  following:
10863
10864 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10865 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10866 *HandlerContext, // This used to be void *Context void
10867 *RegionContext); // This is an additional parameter
10868
10869 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10870 RegionHandle, UINT32 Function, void *HandlerContext,  void
10871 **RegionContext); // This used to be **ReturnContext
10872
10873 -------------------------------------------
10874 Summary of changes for this label: 07_21_00
10875
10876 Major file consolidation and rename.  All files within the
10877 interpreter have been  renamed as well as most header files.  This
10878 was done to prevent collisions with  existing files in the host
10879 OSs -- filenames such as "config.h" and "global.h"  seem to be
10880 quite common.  The VC project files have been updated.  All
10881 makefiles  will require modification.
10882
10883 The parser/interpreter integration continues in Phase 5 with the
10884 implementation  of a complete 2-pass parse (the AML is parsed
10885 twice) for each table;  This  avoids the construction of a huge
10886 parse tree and therefore reduces the amount of  dynamic memory
10887 required by the subsystem.  Greater use of the parse object cache
10888 means that performance is unaffected.
10889
10890 Many comments from the two code reviews have been rolled in.
10891
10892 The 64-bit alignment support is complete.
10893
10894 -------------------------------------------
10895 Summary of changes for this label: 06_30_00
10896
10897 With a nod and a tip of the hat to the technology of yesteryear,
10898 we've added  support in the source code for 80 column output
10899 devices.  The code is now mostly  constrained to 80 columns or
10900 less to support environments and editors that 1)  cannot display
10901 or print more than 80 characters on a single line, and 2) cannot
10902 disable line wrapping.
10903
10904 A major restructuring of the namespace data structure has been
10905 completed.  The  result is 1) cleaner and more
10906 understandable/maintainable code, and 2) a  significant reduction
10907 in the dynamic memory requirement for each named ACPI  object
10908 (almost half).
10909
10910 -------------------------------------------
10911 Summary of changes for this label: 06_23_00
10912
10913 Linux support has been added.  In order to obtain approval to get
10914 the ACPI CA  subsystem into the Linux kernel, we've had to make
10915 quite a few changes to the  base subsystem that will affect all
10916 users (all the changes are generic and OS- independent).  The
10917 effects of these global changes have been somewhat far  reaching.
10918 Files have been merged and/or renamed and interfaces have been
10919 renamed.   The major changes are described below.
10920
10921 Osd* interfaces renamed to AcpiOs* to eliminate namespace
10922 pollution/confusion  within our target kernels.  All OSD
10923 interfaces must be modified to match the new  naming convention.
10924
10925 Files merged across the subsystem.  A number of the smaller source
10926 and header  files have been merged to reduce the file count and
10927 increase the density of the  existing files.  There are too many
10928 to list here.  In general, makefiles that  call out individual
10929 files will require rebuilding.
10930
10931 Interpreter files renamed.  All interpreter files now have the
10932 prefix am*  instead of ie* and is*.
10933
10934 Header files renamed:  The acapi.h file is now acpixf.h.  The
10935 acpiosd.h file is  now acpiosxf.h.  We are removing references to
10936 the acronym "API" since it is  somewhat windowsy. The new name is
10937 "external interface" or xface or xf in the  filenames.j
10938
10939
10940 All manifest constants have been forced to upper case (some were
10941 mixed case.)   Also, the string "ACPI_" has been prepended to many
10942 (not all) of the constants,  typedefs, and structs.
10943
10944 The globals "DebugLevel" and "DebugLayer" have been renamed
10945 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10946
10947 All other globals within the subsystem are now prefixed with
10948 "AcpiGbl_" Internal procedures within the subsystem are now
10949 prefixed with "Acpi" (with only  a few exceptions).  The original
10950 two-letter abbreviation for the subcomponent  remains after "Acpi"
10951 - for example, CmCallocate became AcpiCmCallocate.
10952
10953 Added a source code translation/conversion utility.  Used to
10954 generate the Linux  source code, it can be modified to generate
10955 other types of source as well. Can  also be used to cleanup
10956 existing source by removing extraneous spaces and blank  lines.
10957 Found in tools/acpisrc/*
10958
10959 OsdUnMapMemory was renamed to OsdUnmapMemory and then
10960 AcpiOsUnmapMemory.  (UnMap  became Unmap).
10961
10962 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10963 When set to  one, this indicates that the caller wants to use the
10964
10965 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10966 both types.  However, implementers of this  call may want to use
10967 different OS primitives depending on the type of semaphore
10968 requested.  For example, some operating systems provide separate
10969
10970 "mutex" and  "semaphore" interfaces - where the mutex interface is
10971 much faster because it  doesn't have all the overhead of a full
10972 semaphore implementation.
10973
10974 Fixed a deadlock problem where a method that accesses the PCI
10975 address space can  block forever if it is the first access to the
10976 space.
10977
10978 -------------------------------------------
10979 Summary of changes for this label: 06_02_00
10980
10981 Support for environments that cannot handle unaligned data
10982 accesses (e.g.  firmware and OS environments devoid of alignment
10983 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10984 been added (via configurable macros) in  these three areas: -
10985 Transfer of data from the raw AML byte stream is done via byte
10986 moves instead of    word/dword/qword moves. - External objects are
10987 aligned within the user buffer, including package   elements (sub-
10988 objects). - Conversion of name strings to UINT32 Acpi Names is now
10989 done byte-wise.
10990
10991 The Store operator was modified to mimic Microsoft's
10992 implementation when storing  to a Buffer Field.
10993
10994 Added a check of the BM_STS bit before entering C3.
10995
10996 The methods subdirectory has been obsoleted and removed.  A new
10997 file, cmeval.c  subsumes the functionality.
10998
10999 A 16-bit (DOS) version of AcpiExec has been developed.  The
11000 makefile is under  the acpiexec directory.