]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
Merge ACPICA 20120620.
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 20 June 2012. Summary of changes for version 20120620:
3
4 This release is available at https://www.acpica.org/downloads
5 The ACPI 5.0 specification is available at www.acpi.info
6
7 1) ACPICA Kernel-resident Subsystem:
8
9 Implemented support to expand the "implicit notify" feature to allow multiple 
10 devices to be notified by a single GPE. This feature automatically generates a 
11 runtime device notification in the absence of a BIOS-provided GPE control 
12 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit notify is 
13 provided by ACPICA for Windows compatibility, and is a workaround for BIOS AML 
14 code errors. See the description of the AcpiSetupGpeForWake interface in the 
15 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
16
17 Changed some comments and internal function names to simplify and ensure 
18 correctness of the Linux code translation. No functional changes.
19
20 Example Code and Data Size: These are the sizes for the OS-independent 
21 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
22 version of the code includes the debug output trace mechanism and has a much 
23 larger code and data size.
24
25   Previous Release:
26     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
27     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
28   Current Release:
29     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
30     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
31
32
33 2) iASL Compiler/Disassembler and Tools:
34
35 Disassembler: Added support to emit short, commented descriptions for the ACPI 
36 predefined names in order to improve the readability of the disassembled 
37 output. ACPICA BZ 959. Changes include:
38   1) Emit descriptions for all standard predefined names (_INI, _STA, _PRW, 
39 etc.)
40   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
41   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, etc.)
42
43 AcpiSrc: Fixed several long-standing Linux code translation issues. Argument 
44 descriptions in function headers are now translated properly to lower case and 
45 underscores. ACPICA BZ 961. Also fixes translation problems such as these: 
46 (old -> new)
47   i_aSL -> iASL
48   00-7_f -> 00-7F
49   16_k -> 16K
50   local_fADT -> local_FADT
51   execute_oSI -> execute_OSI
52
53 iASL: Fixed a problem where null bytes were inadvertently emitted into some 
54 listing files.
55
56 iASL: Added the existing debug options to the standard help screen. There are 
57 no longer two different help screens. ACPICA BZ 957.
58
59 AcpiHelp: Fixed some typos in the various predefined name descriptions. Also 
60 expand some of the descriptions where appropriate.
61
62 iASL: Fixed the -ot option (display compile times/statistics). Was not working 
63 properly for standard output; only worked for the debug file case.
64
65 ----------------------------------------
66 18 May 2012. Summary of changes for version 20120518:
67
68
69 1) ACPICA Core Subsystem:
70
71 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is defined 
72 to block until asynchronous events such as notifies and GPEs have completed. 
73 Within ACPICA, it is only called before a notify or GPE handler is 
74 removed/uninstalled. It also may be useful for the host OS within related 
75 drivers such as the Embedded Controller driver. See the ACPICA reference for 
76 additional information. ACPICA BZ 868.
77
78 ACPI Tables: Added a new error message for a possible overflow failure during 
79 the conversion of FADT 32-bit legacy register addresses to internal common 64-
80 bit GAS structure representation. The GAS has a one-byte "bit length" field, 
81 thus limiting the register length to 255 bits. ACPICA BZ 953.
82
83 Example Code and Data Size: These are the sizes for the OS-independent 
84 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
85 version of the code includes the debug output trace mechanism and has a much 
86 larger code and data size.
87
88   Previous Release:
89     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
90     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
91   Current Release:
92     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
93     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
94
95
96 2) iASL Compiler/Disassembler and Tools:
97
98 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL macro. 
99 This keyword was added late in the ACPI 5.0 release cycle and was not 
100 implemented until now.
101
102 Disassembler: Added support for Operation Region externals. Adds missing 
103 support for operation regions that are defined in another table, and 
104 referenced locally via a Field or BankField ASL operator. Now generates the 
105 correct External statement.
106
107 Disassembler: Several additional fixes for the External() statement generation 
108 related to some ASL operators. Also, order the External() statements 
109 alphabetically in the disassembler output. Fixes the External() generation for 
110 the Create* field, Alias, and Scope operators:
111  1) Create* buffer field operators - fix type mismatch warning on disassembly
112  2) Alias - implement missing External support
113  3) Scope - fix to make sure all necessary externals are emitted.
114
115 iASL: Improved pathname support. For include files, merge the prefix pathname 
116 with the file pathname and eliminate unnecessary components. Convert 
117 backslashes in all pathnames to forward slashes, for readability. Include file 
118 pathname changes affect both #include and Include() type operators.
119
120 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the end 
121 of a valid line by inserting a newline and then returning the EOF during the 
122 next call to GetNextLine. Prevents the line from being ignored due to EOF 
123 condition.
124
125 iASL: Implemented some changes to enhance the IDE support (-vi option.) Error 
126 and Warning messages are now correctly recognized for both the source code 
127 browser and the global error and warning counts.
128
129 ----------------------------------------
130 20 April 2012. Summary of changes for version 20120420:
131
132
133 1) ACPICA Core Subsystem:
134
135 Implemented support for multiple notify handlers. This change adds support to 
136 allow multiple system and device notify handlers on Device, Thermal Zone, and 
137 Processor objects. This can simplify the host OS notification implementation. 
138 Also re-worked and restructured the entire notify support code to simplify 
139 handler installation, handler removal, notify event queuing, and notify 
140 dispatch to handler(s). Note: there can still only be two global notify 
141 handlers - one for system notifies and one for device notifies. There are no 
142 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
143 Moore, Rafael Wysocki.
144
145 Fixed a regression in the package repair code where the object reference 
146 count was calculated incorrectly. Regression was introduced in the commit 
147 "Support to add Package wrappers".
148
149 Fixed a couple possible memory leaks in the AML parser, in the error recovery 
150 path. Jesper Juhl, Lin Ming.
151
152 Example Code and Data Size: These are the sizes for the OS-independent 
153 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
154 debug version of the code includes the debug output trace mechanism and has a 
155 much larger code and data size.
156
157   Previous Release:
158     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
159     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
160   Current Release:
161     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
162     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
163
164
165 2) iASL Compiler/Disassembler and Tools:
166
167 iASL: Fixed a problem with the resource descriptor support where the length 
168 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
169 included in cumulative descriptor offset, resulting in incorrect values for 
170 resource tags within resource descriptors appearing after a StartDependent* 
171 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
172
173 iASL and Preprocessor: Implemented full support for the #line directive to 
174 correctly track original source file line numbers through the .i preprocessor 
175 output file - for error and warning messages.
176
177 iASL: Expand the allowable byte constants for address space IDs. Previously, 
178 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
179 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
180
181 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
182
183 iASL: Add option to completely disable the preprocessor (-Pn).
184
185 iASL: Now emit all error/warning messages to standard error (stderr) by 
186 default (instead of the previous stdout).
187
188 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). Update 
189 for resource descriptor offset fix above. Update/cleanup error output 
190 routines. Enable and send iASL errors/warnings to an error logfile 
191 (error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed 
192 several extraneous "unrecognized operator" messages.
193
194 ----------------------------------------
195 20 March 2012. Summary of changes for version 20120320:
196
197
198 1) ACPICA Core Subsystem:
199
200 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
201 (Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently 
202 does not execute these methods, and therefore these methods are often 
203 untested. It has been seen on some systems where the execution of these 
204 methods causes errors and also prevents the machine from entering S5. It is 
205 therefore suggested that host operating systems do not execute these methods 
206 by default. In the future, perhaps these methods can be optionally executed 
207 based on the age of the system and/or what is the newest version of Windows 
208 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState and 
209 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
210 Ming.
211
212 Fixed a problem where the length of the local/common FADT was set too early. 
213 The local FADT table length cannot be set to the common length until the 
214 original length has been examined. There is code that checks the table length 
215 and sets various fields appropriately. This can affect older machines with 
216 early FADT versions. For example, this can cause inadvertent writes to the 
217 CST_CNT register. Julian Anastasov.
218
219 Fixed a mapping issue related to a physical table override. Use the deferred 
220 mapping mechanism for tables loaded via the physical override OSL interface. 
221 This allows for early mapping before the virtual memory manager is available. 
222 Thomas Renninger, Bob Moore.
223
224 Enhanced the automatic return-object repair code: Repair a common problem with 
225 predefined methods that are defined to return a variable-length Package of 
226 sub-objects. If there is only one sub-object, some BIOS ASL code mistakenly 
227 simply returns the single object instead of a Package with one sub-object. 
228 This new support will repair this error by wrapping a Package object around 
229 the original object, creating the correct and expected Package with one sub-
230 object. Names that can be repaired in this manner include: _ALR, _CSD, _HPX, 
231 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 939.
232
233 Changed the exception code returned for invalid ACPI paths passed as 
234 parameters to external interfaces such as AcpiEvaluateObject. Was 
235 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
236
237 Example Code and Data Size: These are the sizes for the OS-independent 
238 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
239 version of the code includes the debug output trace mechanism and has a much 
240 larger code and data size.
241
242   Previous Release:
243     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
244     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
245   Current Release:
246     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
247     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
248
249
250 2) iASL Compiler/Disassembler and Tools:
251
252 iASL: Added the infrastructure and initial implementation of a integrated C-
253 like preprocessor. This will simplify BIOS development process by eliminating 
254 the need for a separate preprocessing step during builds. On Windows, it also 
255 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
256 features including full #define() macro support are still under development. 
257 These preprocessor directives are supported:
258     #define
259     #elif
260     #else
261     #endif
262     #error
263     #if
264     #ifdef
265     #ifndef
266     #include
267     #pragma message
268     #undef
269     #warning
270 In addition, these new command line options are supported:
271     -D <symbol> Define symbol for preprocessor use
272     -li         Create preprocessed output file (*.i)
273     -P          Preprocess only and create preprocessor output file (*.i)
274
275 Table Compiler: Fixed a problem where the equals operator within an expression 
276 did not work properly.
277
278 Updated iASL to use the current versions of Bison/Flex. Updated the Windows 
279 project file to invoke these tools from the standard location. ACPICA BZ 904. 
280 Versions supported:
281     Flex for Windows:  V2.5.4
282     Bison for Windows: V2.4.1
283
284 ----------------------------------------
285 15 February 2012. Summary of changes for version 20120215:
286
287
288 1) ACPICA Core Subsystem:
289
290 There have been some major changes to the sleep/wake support code, as 
291 described below (a - e).
292
293 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
294 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
295 AcpiLeaveSleepStatePrep. This allows the host to perform actions between the 
296 time the _BFS method is called and the _WAK method is called. NOTE: all hosts 
297 must update their wake/resume code or else sleep/wake will not work properly. 
298 Rafael Wysocki.
299
300 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the _WAK 
301 method. Some machines require that the GPEs are enabled before the _WAK method 
302 is executed. Thomas Renninger.
303
304 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit. 
305 Some BIOS code assumes that WAK_STS will be cleared on resume and use it to 
306 determine whether the system is rebooting or resuming. Matthew Garrett.
307
308 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From Sleep) to 
309 match the ACPI specification requirement. Rafael Wysocki.
310
311 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
312 registers within the V5 FADT. This support adds two new files: 
313 hardware/hwesleep.c implements the support for the new registers. Moved all 
314 sleep/wake external interfaces to hardware/hwxfsleep.c.
315
316
317 Added a new OSL interface for ACPI table overrides, 
318 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
319 table via a physical address, instead of the logical address required by 
320 AcpiOsTableOverride. This simplifies the host implementation. Initial 
321 implementation by Thomas Renninger. The ACPICA implementation creates a single 
322 shared function for table overrides that attempts both a logical and a 
323 physical override.
324
325 Expanded the OSL memory read/write interfaces to 64-bit data 
326 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
327 transfer support for GAS register structures passed to AcpiRead and AcpiWrite.
328
329 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a custom 
330 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) model. 
331 See the ACPICA reference for details. ACPICA BZ 942. This option removes about 
332 10% of the code and 5% of the static data, and the following hardware ACPI 
333 features become unavailable:
334     PM Event and Control registers
335     SCI interrupt (and handler)
336     Fixed Events
337     General Purpose Events (GPEs)
338     Global Lock
339     ACPI PM timer
340     FACS table (Waking vectors and Global Lock)
341
342 Updated the unix tarball directory structure to match the ACPICA git source 
343 tree. This ensures that the generic unix makefiles work properly (in 
344 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
345
346 Updated the return value of the _REV predefined method to integer value 5 to 
347 reflect ACPI 5.0 support.
348
349 Moved the external ACPI PM timer interface prototypes to the public acpixf.h 
350 file where they belong.
351
352 Example Code and Data Size: These are the sizes for the OS-independent 
353 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
354 version of the code includes the debug output trace mechanism and has a much 
355 larger code and data size.
356
357   Previous Release:
358     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
359     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
360   Current Release:
361     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
362     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
363
364
365 2) iASL Compiler/Disassembler and Tools:
366
367 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
368 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
369 incorrectly displayed.
370
371 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
372 specification.
373
374 ----------------------------------------
375 11 January 2012. Summary of changes for version 20120111:
376
377
378 1) ACPICA Core Subsystem:
379
380 Implemented a new mechanism to allow host device drivers to check for address 
381 range conflicts with ACPI Operation Regions. Both SystemMemory and SystemIO 
382 address spaces are supported. A new external interface, AcpiCheckAddressRange, 
383 allows drivers to check an address range against the ACPI namespace. See the 
384 ACPICA reference for additional details. Adds one new file, 
385 utilities/utaddress.c. Lin Ming, Bob Moore.
386
387 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control and 
388 Status registers, update the ACPI 5.0 flags, and update internal data 
389 structures to handle an FADT larger than 256 bytes. The size of the ACPI 5.0 
390 FADT is 268 bytes.
391
392 Updated all ACPICA copyrights and signons to 2012. Added the 2012 copyright to 
393 all module headers and signons, including the standard Linux header. This 
394 affects virtually every file in the ACPICA core subsystem, iASL compiler, and 
395 all ACPICA utilities.
396
397 Example Code and Data Size: These are the sizes for the OS-independent 
398 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
399 version of the code includes the debug output trace mechanism and has a much 
400 larger code and data size.
401
402   Previous Release:
403     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
404     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
405   Current Release:
406     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
407     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
408
409
410 2) iASL Compiler/Disassembler and Tools:
411
412 Disassembler: fixed a problem with the automatic resource tag generation 
413 support. Fixes a problem where the resource tags are inadvertently not 
414 constructed if the table being disassembled contains external references to 
415 control methods. Moved the actual construction of the tags to after the final 
416 namespace is constructed (after 2nd parse is invoked due to external control 
417 method references.) ACPICA BZ 941.
418
419 Table Compiler: Make all "generic" operators caseless. These are the operators 
420 like UINT8, String, etc. Making these caseless improves ease-of-use. ACPICA BZ 
421 934.
422
423 ----------------------------------------
424 23 November 2011. Summary of changes for version 20111123:
425
426 0) ACPI 5.0 Support:
427
428 This release contains full support for the ACPI 5.0 specification, as 
429 summarized below.
430
431 Reduced Hardware Support:
432 -------------------------
433
434 This support allows for ACPI systems without the usual ACPI hardware. This 
435 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
436 not attempt to initialize or use any of the usual ACPI hardware. Note, when 
437 this flag is set, all of the following ACPI hardware is assumed to be not 
438 present and is not initialized or accessed:
439
440     General Purpose Events (GPEs)
441     Fixed Events (PM1a/PM1b and PM Control)
442     Power Management Timer and Console Buttons (power/sleep)
443     Real-time Clock Alarm
444     Global Lock
445     System Control Interrupt (SCI)
446     The FACS is assumed to be non-existent
447
448 ACPI Tables:
449 ------------
450
451 All new tables and updates to existing tables are fully supported in the 
452 ACPICA headers (for use by device drivers), the disassembler, and the iASL 
453 Data Table Compiler. ACPI 5.0 defines these new tables:
454
455     BGRT        /* Boot Graphics Resource Table */
456     DRTM        /* Dynamic Root of Trust for Measurement table */
457     FPDT        /* Firmware Performance Data Table */
458     GTDT        /* Generic Timer Description Table */
459     MPST        /* Memory Power State Table */
460     PCCT        /* Platform Communications Channel Table */
461     PMTT        /* Platform Memory Topology Table */
462     RASF        /* RAS Feature table */
463
464 Operation Regions/SpaceIDs:
465 ---------------------------
466
467 All new operation regions are fully supported by the iASL compiler, the 
468 disassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
469 The new operation region Space IDs are:
470
471     GeneralPurposeIo
472     GenericSerialBus
473
474 Resource Descriptors:
475 ---------------------
476
477 All new ASL resource descriptors are fully supported by the iASL compiler, the 
478 ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
479 all new predefined resource tags). New descriptors are:
480
481     FixedDma
482     GpioIo
483     GpioInt
484     I2cSerialBus
485     SpiSerialBus
486     UartSerialBus
487
488 ASL/AML Operators, New and Modified:
489 ------------------------------------
490
491 One new operator is added, the Connection operator, which is used to associate 
492 a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
493 field objects within an operation region. Several new protocols are associated 
494 with the AccessAs operator. All are fully supported by the iASL compiler, 
495 disassembler, and runtime ACPICA AML interpreter:
496
497     Connection                      // Declare Field Connection attributes
498     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
499     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
500     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
501     RawDataBuffer                       // Data type for Vendor Data fields
502
503 Predefined ASL/AML Objects:
504 ---------------------------
505
506 All new predefined objects/control-methods are supported by the iASL compiler 
507 and the ACPICA runtime validation/repair (arguments and return values.) New 
508 predefined names include the following:
509
510 Standard Predefined Names (Objects or Control Methods):
511     _AEI, _CLS, _CPC, _CWS, _DEP,
512     _DLM, _EVT, _GCP, _CRT, _GWS,
513     _HRV, _PRE, _PSE, _SRT, _SUB.
514
515 Resource Tags (Names used to access individual fields within resource 
516 descriptors):
517     _DBT, _DPL, _DRS, _END, _FLC,
518     _IOR, _LIN, _MOD, _PAR, _PHA,
519     _PIN, _PPI, _POL, _RXL, _SLV,
520     _SPE, _STB, _TXL, _VEN.
521
522 ACPICA External Interfaces:
523 ---------------------------
524
525 Several new interfaces have been defined for use by ACPI-related device 
526 drivers and other host OS services:
527
528 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
529 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
530 provided by the BIOS. They are intended to be used in conjunction with the 
531 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
532 mutual exclusion with the AML code/interpreter.
533
534 AcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
535 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
536 resource descriptors associated with hardware-reduced platform events, similar 
537 to the AcpiGetCurrentResources interface.
538
539 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
540 operation regions, information about the Connection() object and any optional 
541 length information is passed to the region handler within the Context 
542 parameter.
543
544 AcpiBufferToResource: This interface converts a raw AML buffer containing a 
545 resource template or resource descriptor to the ACPI_RESOURCE internal format 
546 suitable for use by device drivers. Can be used by an operation region handler 
547 to convert the Connection() buffer object into a ACPI_RESOURCE.
548
549 Miscellaneous/Tools/TestSuites: 
550 -------------------------------
551
552 Support for extended _HID names (Four alpha characters instead of three).
553 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
554 Support for ACPI 5.0 features in the ASLTS test suite.
555 Fully updated documentation (ACPICA and iASL reference documents.)
556
557 ACPI Table Definition Language:
558 -------------------------------
559
560 Support for this language was implemented and released as a subsystem of the 
561 iASL compiler in 2010. (See the iASL compiler User Guide.)
562
563
564 Non-ACPI 5.0 changes for this release:
565 --------------------------------------
566
567 1) ACPICA Core Subsystem:
568
569 Fix a problem with operation region declarations where a failure can occur if 
570 the region name and an argument that evaluates to an object (such as the 
571 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
572
573 Do not abort an ACPI table load if an invalid space ID is found within. This 
574 will be caught later if the offending method is executed. ACPICA BZ 925.
575
576 Fixed an issue with the FFixedHW space ID where the ID was not always 
577 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
578
579 Fixed a problem with the 32-bit generation of the unix-specific OSL 
580 (osunixxf.c). Lin Ming, ACPICA BZ 936.
581
582 Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
583 935.
584
585 New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
586 field registers out-of-range.
587
588 2) iASL Compiler/Disassembler and Tools:
589
590 iASL: Implemented the __PATH__ operator, which returns the full pathname of 
591 the current source file.
592
593 AcpiHelp: Automatically display expanded keyword information for all ASL 
594 operators.
595
596 Debugger: Add "Template" command to disassemble/dump resource template 
597 buffers.
598
599 Added a new master script to generate and execute the ASLTS test suite. 
600 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
601
602 iASL: Fix problem with listing generation during processing of the Switch() 
603 operator where AML listing was disabled until the entire Switch block was 
604 completed.
605
606 iASL: Improve support for semicolon statement terminators. Fix "invalid 
607 character" message for some cases when the semicolon is used. Semicolons are 
608 now allowed after every <Term> grammar element. ACPICA BZ 927.
609
610 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
611
612 Disassembler: Fix problem with disassembly of the DataTableRegion operator 
613 where an inadvertent "Unhandled deferred opcode" message could be generated.
614
615 3) Example Code and Data Size
616
617 These are the sizes for the OS-independent acpica.lib produced by the 
618 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
619 includes the debug output trace mechanism and has a much larger code and data 
620 size.
621
622   Previous Release:
623     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
624     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
625   Current Release:
626     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
627     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
628
629 ----------------------------------------
630 22 September 2011. Summary of changes for version 20110922:
631
632 0) ACPI 5.0 News:
633
634 Support for ACPI 5.0 in ACPICA has been underway for several months and will 
635 be released at the same time that ACPI 5.0 is officially released.
636
637 The ACPI 5.0 specification is on track for release in the next few months.
638  
639 1) ACPICA Core Subsystem:
640
641 Fixed a problem where the maximum sleep time for the Sleep() operator was 
642 intended to be limited to two seconds, but was inadvertently limited to 20 
643 seconds instead.
644
645 Linux and Unix makefiles: Added header file dependencies to ensure correct 
646 generation of ACPICA core code and utilities. Also simplified the makefiles 
647 considerably through the use of the vpath variable to specify search paths. 
648 ACPICA BZ 924.
649
650 2) iASL Compiler/Disassembler and Tools:
651
652 iASL: Implemented support to check the access length for all fields created to 
653 access named Resource Descriptor fields. For example, if a resource field is 
654 defined to be two bits, a warning is issued if a CreateXxxxField() is used 
655 with an incorrect bit length. This is implemented for all current resource 
656 descriptor names. ACPICA BZ 930.
657   
658 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
659 bit integers.
660
661 iASL: Fixed a couple of issues associated with variable-length package 
662 objects. 1) properly handle constants like One, Ones, Zero -- do not make a 
663 VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
664 opcode (in addition to PACKAGE) when validating object types for predefined 
665 names.
666
667 iASL: Emit statistics for all output files (instead of just the ASL input and 
668 AML output). Includes listings, hex files, etc.
669
670 iASL: Added -G option to the table compiler to allow the compilation of custom 
671 ACPI tables. The only part of a table that is required is the standard 36-byte 
672 ACPI header.
673
674 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
675 which also adds correct 64-bit support. Also, now all output filenames are 
676 completely lower case.
677
678 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
679 loading table files. A warning is issued for any such tables. The only 
680 exception is an FADT. This also fixes a possible fault when attempting to load 
681 non-AML tables. ACPICA BZ 932.
682
683 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
684 missing table terminator could cause a fault when using the -p option.
685
686 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
687 statistics.
688
689 3) Example Code and Data Size
690
691 These are the sizes for the OS-independent acpica.lib produced by the 
692 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
693 includes the debug output trace mechanism and has a much larger code and data 
694 size.
695
696   Previous Release (VC 9.0):
697     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
698     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
699   Current Release (VC 9.0):
700     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
701     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
702
703
704 ----------------------------------------
705 23 June 2011. Summary of changes for version 20110623:
706
707 1) ACPI CA Core Subsystem:
708
709 Updated the predefined name repair mechanism to not attempt repair of a _TSS 
710 return object if a _PSS object is present. We can only sort the _TSS return 
711 package if there is no _PSS within the same scope. This is because if _PSS is 
712 present, the ACPI specification dictates that the _TSS Power Dissipation field 
713 is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
714 Power field(s). In this case, it is best to just return the _TSS package as-
715 is. Reported by, and fixed with assistance from Fenghua Yu.
716
717 Added an option to globally disable the control method return value validation 
718 and repair. This runtime option can be used to disable return value repair if 
719 this is causing a problem on a particular machine. Also added an option to 
720 AcpiExec (-dr) to set this disable flag.
721
722 All makefiles and project files: Major changes to improve generation of ACPICA 
723 tools. ACPICA BZ 912:
724     Reduce default optimization levels to improve compatibility
725     For Linux, add strict-aliasing=0 for gcc 4
726     Cleanup and simplify use of command line defines
727     Cleanup multithread library support
728     Improve usage messages
729
730 Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
731 bit case, improve casting to eliminate possible warnings, especially with the 
732 acpica tools.
733
734 Example Code and Data Size: These are the sizes for the OS-independent 
735 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
736 version of the code includes the debug output trace mechanism and has a much 
737 larger code and data size.
738
739   Previous Release (VC 9.0):
740     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
741     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
742   Current Release (VC 9.0):
743     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
744     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
745
746 2) iASL Compiler/Disassembler and Tools:
747
748 With this release, a new utility named "acpihelp" has been added to the ACPICA 
749 package. This utility summarizes the ACPI specification chapters for the ASL 
750 and AML languages. It generates under Linux/Unix as well as Windows, and 
751 provides the following functionality:
752     Find/display ASL operator(s) -- with description and syntax.
753     Find/display ASL keyword(s) -- with exact spelling and descriptions.
754     Find/display ACPI predefined name(s) -- with description, number
755         of arguments, and the return value data type.
756     Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
757     Decode/display AML opcode -- with opcode name, arguments, and grammar.
758
759 Service Layers: Make multi-thread support configurable. Conditionally compile 
760 the multi-thread support so that threading libraries will not be linked if not 
761 necessary. The only tool that requires multi-thread support is AcpiExec.
762
763 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
764 Bison appear to want the interface to yyerror to be a const char * (or at 
765 least this is a problem when generating iASL on some systems.) ACPICA BZ 923 
766 Pierre Lejeune.
767
768 Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
769 versions of the tools.
770
771 ----------------------------------------
772 27 May 2011. Summary of changes for version 20110527:
773
774 1) ACPI CA Core Subsystem:
775
776 ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
777 signature. Now, only allow SSDT, OEMx, and a null signature. History:
778     1) Originally, we checked the table signature for "SSDT" or "PSDT".
779        (PSDT is now obsolete.)
780     2) We added support for OEMx tables, signature "OEM" plus a fourth
781        "don't care" character.
782     3) Valid tables were encountered with a null signature, so we just
783        gave up on validating the signature, (05/2008).
784     4) We encountered non-AML tables such as the MADT, which caused
785        interpreter errors and kernel faults. So now, we once again allow
786        only SSDT, OEMx, and now, also a null signature. (05/2011).
787
788 Added the missing _TDL predefined name to the global name list in order to 
789 enable validation. Affects both the core ACPICA code and the iASL compiler.
790
791 Example Code and Data Size: These are the sizes for the OS-independent 
792 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
793 version of the code includes the debug output trace mechanism and has a much 
794 larger code and data size.
795
796   Previous Release (VC 9.0):
797     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
798     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
799   Current Release (VC 9.0):
800     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
801     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
802
803 2) iASL Compiler/Disassembler and Tools:
804
805 Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
806 debugger command line. This adds support beyond simple integers -- including 
807 Strings, Buffers, and Packages. Includes support for nested packages. 
808 Increased the default command line buffer size to accommodate these arguments. 
809 See the ACPICA reference for details and syntax. ACPICA BZ 917.
810  
811 Debugger/AcpiExec: Implemented support for "default" method arguments for the 
812 Execute/Debug command. Now, the debugger will always invoke a control method 
813 with the required number of arguments -- even if the command line specifies 
814 none or insufficient arguments. It uses default integer values for any missing 
815 arguments. Also fixes a bug where only six method arguments maximum were 
816 supported instead of the required seven.
817
818 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
819 also return status in order to prevent buffer overruns. See the ACPICA 
820 reference for details and syntax. ACPICA BZ 921
821
822 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
823 makefiles to simplify support for the two different but similar parser 
824 generators, bison and yacc.
825
826 Updated the generic unix makefile for gcc 4. The default gcc version is now 
827 expected to be 4 or greater, since options specific to gcc 4 are used.
828
829 ----------------------------------------
830 13 April 2011. Summary of changes for version 20110413:
831
832 1) ACPI CA Core Subsystem:
833
834 Implemented support to execute a so-called "orphan" _REG method under the EC 
835 device. This change will force the execution of a _REG method underneath the 
836 EC 
837 device even if there is no corresponding operation region of type 
838 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
839 compatible with Windows behavior. ACPICA BZ 875.
840
841 Added more predefined methods that are eligible for automatic NULL package 
842 element removal. This change adds another group of predefined names to the 
843 list 
844 of names that can be repaired by having NULL package elements dynamically 
845 removed. This group are those methods that return a single variable-length 
846 package containing simple data types such as integers, buffers, strings. This 
847 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
848 _Sx, 
849 and _TZD. ACPICA BZ 914.
850
851 Split and segregated all internal global lock functions to a new file, 
852 evglock.c.
853
854 Updated internal address SpaceID for DataTable regions. Moved this internal 
855 space 
856 id in preparation for ACPI 5.0 changes that will include some new space IDs. 
857 This 
858 change should not affect user/host code.
859
860 Example Code and Data Size: These are the sizes for the OS-independent 
861 acpica.lib 
862 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
863 the code includes the debug output trace mechanism and has a much larger code 
864 and 
865 data size.
866
867   Previous Release (VC 9.0):
868     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
869     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
870   Current Release (VC 9.0):
871     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
872     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
873
874 2) iASL Compiler/Disassembler and Tools:
875
876 iASL/DTC: Major update for new grammar features. Allow generic data types in 
877 custom ACPI tables. Field names are now optional. Any line can be split to 
878 multiple lines using the continuation char (\). Large buffers now use line-
879 continuation character(s) and no colon on the continuation lines. See the 
880 grammar 
881 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
882
883 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
884 Since the parser stuffs a "zero" as the return value for these statements (due 
885 to 
886 the underlying AML grammar), they were seen as "return with value" by the iASL 
887 semantic checking. They are now seen correctly as "null" return statements.
888
889 iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
890 check for each _REG to ensure that there is in fact a corresponding operation 
891 region declaration in the same scope. If not, the _REG method is not very 
892 useful 
893 since it probably won't be executed. ACPICA BZ 915.
894
895 iASL/DTC: Finish support for expression evaluation. Added a new expression 
896 parser 
897 that implements c-style operator precedence and parenthesization. ACPICA 
898 bugzilla 
899 908.
900
901 Disassembler/DTC: Remove support for () and <> style comments in data tables. 
902 Now 
903 that DTC has full expression support, we don't want to have comment strings 
904 that 
905 start with a parentheses or a less-than symbol. Now, only the standard /* and 
906 // 
907 comments are supported, as well as the bracket [] comments.
908
909 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
910 "unusual" 
911 headers in the acpidump file. Update the header validation to support these 
912 tables. Problem introduced in previous AcpiXtract version in the change to 
913 support "wrong checksum" error messages emitted by acpidump utility.
914
915 iASL: Add a * option to generate all template files (as a synonym for ALL) as 
916 in 
917 "iasl -T *" or "iasl -T ALL".
918
919 iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
920 abort the compiler on "fatal" errors, simply should abort the current compile. 
921 This allows multiple compiles with a single (possibly wildcard) compiler 
922 invocation.
923
924 ----------------------------------------
925 16 March 2011. Summary of changes for version 20110316:
926
927 1) ACPI CA Core Subsystem:
928
929 Fixed a problem caused by a _PRW method appearing at the namespace root scope 
930 during the setup of wake GPEs. A fault could occur if a _PRW directly under 
931 the 
932 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
933
934 Implemented support for "spurious" Global Lock interrupts. On some systems, a 
935 global lock interrupt can occur without the pending flag being set. Upon a GL 
936 interrupt, we now ensure that a thread is actually waiting for the lock before 
937 signaling GL availability. Rafael Wysocki, Bob Moore.
938
939 Example Code and Data Size: These are the sizes for the OS-independent 
940 acpica.lib 
941 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
942 the code includes the debug output trace mechanism and has a much larger code 
943 and 
944 data size.
945
946   Previous Release (VC 9.0):
947     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
948     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
949   Current Release (VC 9.0):
950     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
951     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
952
953 2) iASL Compiler/Disassembler and Tools:
954
955 Implemented full support for the "SLIC" ACPI table. Includes support in the 
956 header files, disassembler, table compiler, and template generator. Bob Moore, 
957 Lin Ming.
958
959 AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
960 Apparently some or all versions of acpidump will occasionally emit a comment 
961 like 
962 "Wrong checksum", etc., into the dump file. This was causing problems for 
963 AcpiXtract. ACPICA BZ 905.
964
965 iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
966 ACPICA BZ 913.
967
968 AcpiExec: Update installation of operation region handlers. Install one 
969 handler 
970 for a user-defined address space. This is used by the ASL test suite (ASLTS).
971
972 ----------------------------------------
973 11 February 2011. Summary of changes for version 20110211:
974
975 1) ACPI CA Core Subsystem:
976
977 Added a mechanism to defer _REG methods for some early-installed handlers. 
978 Most user handlers should be installed before call to AcpiEnableSubsystem. 
979 However, Event handlers and region handlers should be installed after 
980 AcpiInitializeObjects. Override handlers for the "default" regions should be 
981 installed early, however. This change executes all _REG methods for the 
982 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
983 chicken/egg issues between them. ACPICA BZ 848.
984
985 Implemented an optimization for GPE detection. This optimization will simply 
986 ignore GPE registers that contain no enabled GPEs -- there is no need to 
987 read the register since this information is available internally. This 
988 becomes more important on machines with a large GPE space. ACPICA bugzilla 
989 884. Lin Ming. Suggestion from Joe Liu.
990
991 Removed all use of the highly unreliable FADT revision field. The revision 
992 number in the FADT has been found to be completely unreliable and cannot be 
993 trusted. Only the actual table length can be used to infer the version. This 
994 change updates the ACPICA core and the disassembler so that both no longer 
995 even look at the FADT version and instead depend solely upon the FADT 
996 length.
997
998 Fix an unresolved name issue for the no-debug and no-error-message source 
999 generation cases. The _AcpiModuleName was left undefined in these cases, but 
1000 it is actually needed as a parameter to some interfaces. Define 
1001 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
1002
1003 Split several large files (makefiles and project files updated)
1004   utglobal.c   -> utdecode.c
1005   dbcomds.c    -> dbmethod.c dbnames.c
1006   dsopcode.c   -> dsargs.c dscontrol.c
1007   dsload.c     -> dsload2.c
1008   aslanalyze.c -> aslbtypes.c aslwalks.c
1009
1010 Example Code and Data Size: These are the sizes for the OS-independent 
1011 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1012 debug version of the code includes the debug output trace mechanism and has 
1013 a much larger code and data size.
1014
1015   Previous Release (VC 9.0):
1016     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1017     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1018   Current Release (VC 9.0):
1019     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1020     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1021
1022 2) iASL Compiler/Disassembler and Tools:
1023
1024 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
1025 These are useful C-style macros with the standard definitions. ACPICA 
1026 bugzilla 898.
1027
1028 iASL/DTC: Added support for integer expressions and labels. Support for full 
1029 expressions for all integer fields in all ACPI tables. Support for labels in 
1030 "generic" portions of tables such as UEFI. See the iASL reference manual.
1031
1032 Debugger: Added a command to display the status of global handlers. The 
1033 "handlers" command will display op region, fixed event, and miscellaneous 
1034 global handlers. installation status -- and for op regions, whether default 
1035 or user-installed handler will be used.
1036
1037 iASL: Warn if reserved method incorrectly returns a value. Many predefined 
1038 names are defined such that they do not return a value. If implemented as a 
1039 method, issue a warning if such a name explicitly returns a value. ACPICA 
1040 Bugzilla 855.
1041
1042 iASL: Added detection of GPE method name conflicts. Detects a conflict where 
1043 there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
1044 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
1045
1046 iASL/DTC: Fixed a couple input scanner issues with comments and line 
1047 numbers. Comment remover could get confused and miss a comment ending. Fixed 
1048 a problem with line counter maintenance.
1049
1050 iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
1051 no need to abort on simple errors within a field definition.
1052
1053 Debugger: Simplified the output of the help command. All help output now in 
1054 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
1055
1056 ----------------------------------------
1057 12 January 2011. Summary of changes for version 20110112:
1058
1059 1) ACPI CA Core Subsystem:
1060
1061 Fixed a race condition between method execution and namespace walks that can 
1062 possibly cause a fault. The problem was apparently introduced in version 
1063 20100528 as a result of a performance optimization that reduces the number of 
1064 namespace walks upon method exit by using the delete_namespace_subtree 
1065 function instead of the delete_namespace_by_owner function used previously. 
1066 Bug is a missing namespace lock in the delete_namespace_subtree function. 
1067 dana.myers@oracle.com
1068
1069 Fixed several issues and a possible fault with the automatic "serialized" 
1070 method support. History: This support changes a method to "serialized" on the 
1071 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
1072 possibility that it cannot handle reentrancy. This fix repairs a couple of 
1073 issues seen in the field, especially on machines with many cores:
1074
1075     1) Delete method children only upon the exit of the last thread,
1076        so as to not delete objects out from under other running threads
1077       (and possibly causing a fault.)
1078     2) Set the "serialized" bit for the method only upon the exit of the
1079        Last thread, so as to not cause deadlock when running threads
1080        attempt to exit.
1081     3) Cleanup the use of the AML "MethodFlags" and internal method flags
1082        so that there is no longer any confusion between the two.
1083
1084     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
1085
1086 Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
1087 issues if the namespace is changing dynamically underneath the debugger. 
1088 Especially affects temporary namespace nodes, since the debugger displays 
1089 these also.
1090
1091 Updated the ordering of include files. The ACPICA headers should appear 
1092 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
1093 any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
1094 and utilities.
1095
1096 Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
1097 to all module headers and signons, including the Linux header. This affects 
1098 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
1099 utilities.
1100
1101 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
1102 project files for VC++ 6.0 are now obsolete. New project files can be found 
1103 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
1104 details.
1105
1106 Example Code and Data Size: These are the sizes for the OS-independent 
1107 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1108 debug version of the code includes the debug output trace mechanism and has a 
1109 much larger code and data size.
1110
1111   Previous Release (VC 6.0):
1112     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1113     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1114   Current Release (VC 9.0):
1115     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1116     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1117
1118 2) iASL Compiler/Disassembler and Tools:
1119
1120 iASL: Added generic data types to the Data Table compiler. Add "generic" data 
1121 types such as UINT32, String, Unicode, etc., to simplify the generation of 
1122 platform-defined tables such as UEFI. Lin Ming.
1123
1124 iASL: Added listing support for the Data Table Compiler. Adds listing support 
1125 (-l) to display actual binary output for each line of input code.
1126
1127 ----------------------------------------
1128 09 December 2010. Summary of changes for version 20101209:
1129
1130 1) ACPI CA Core Subsystem:
1131
1132 Completed the major overhaul of the GPE support code that was begun in July 
1133 2010. Major features include: removal of _PRW execution in ACPICA (host 
1134 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
1135 changes to existing interfaces, simplification of GPE handler operation, and 
1136 a handful of new interfaces:
1137
1138     AcpiUpdateAllGpes
1139     AcpiFinishGpe
1140     AcpiSetupGpeForWake
1141     AcpiSetGpeWakeMask
1142     One new file, evxfgpe.c to consolidate all external GPE interfaces.
1143
1144 See the ACPICA Programmer Reference for full details and programming 
1145 information. See the new section 4.4 "General Purpose Event (GPE) Support" 
1146 for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
1147 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
1148 Bob Moore, Rafael Wysocki.
1149
1150 Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
1151 GPE Notify". This feature will automatically issue a Notify(2) on a device 
1152 when a Wake GPE is received if there is no corresponding GPE method or 
1153 handler. ACPICA BZ 870.
1154
1155 Fixed a problem with the Scope() operator during table parse and load phase. 
1156 During load phase (table load or method execution), the scope operator should 
1157 not enter the target into the namespace. Instead, it should open a new scope 
1158 at the target location. Linux BZ 19462, ACPICA BZ 882.
1159
1160 Example Code and Data Size: These are the sizes for the OS-independent 
1161 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1162 debug version of the code includes the debug output trace mechanism and has a 
1163 much larger code and data size.
1164
1165   Previous Release:
1166     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1167     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1168   Current Release:
1169     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1170     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1171
1172 2) iASL Compiler/Disassembler and Tools:
1173
1174 iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
1175 "bus-specific" per the ACPI specification, and therefore any characters are 
1176 acceptable. The only checks that can be performed are for a null string and 
1177 perhaps for a leading asterisk. ACPICA BZ 886.
1178
1179 iASL: Fixed a problem where a syntax error that caused a premature EOF 
1180 condition on the source file emitted a very confusing error message. The 
1181 premature EOF is now detected correctly. ACPICA BZ 891.
1182
1183 Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
1184 access, word access, etc.) Note, this field does not allow arbitrary bit 
1185 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
1186
1187 New: AcpiNames utility - Example namespace dump utility. Shows an example of 
1188 ACPICA configuration for a minimal namespace dump utility. Uses table and 
1189 namespace managers, but no AML interpreter. Does not add any functionality 
1190 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
1191 partition and configure ACPICA. ACPICA BZ 883.
1192
1193 AML Debugger: Increased the debugger buffer size for method return objects. 
1194 Was 4K, increased to 16K. Also enhanced error messages for debugger method 
1195 execution, including the buffer overflow case.
1196
1197 ----------------------------------------
1198 13 October 2010. Summary of changes for version 20101013:
1199
1200 1) ACPI CA Core Subsystem:
1201
1202 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
1203 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
1204 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
1205
1206 Changed the type of the predefined namespace object _TZ from ThermalZone to 
1207 Device. This was found to be confusing to the host software that processes 
1208 the various thermal zones, since _TZ is not really a ThermalZone. However, a 
1209 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
1210 Zhang.
1211
1212 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
1213 string is "Windows 2006 SP2".
1214
1215 Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
1216 code automatically repairs _HID-related strings, this type of code is no 
1217 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
1218
1219 Example Code and Data Size: These are the sizes for the OS-independent 
1220 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1221 debug version of the code includes the debug output trace mechanism and has a 
1222 much larger code and data size.
1223
1224   Previous Release:
1225     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1226     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1227   Current Release:
1228     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1229     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1230
1231 2) iASL Compiler/Disassembler and Tools:
1232
1233 iASL: Implemented additional compile-time validation for _HID strings. The 
1234 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
1235 the string must be exactly seven or eight characters. For both _HID and _CID 
1236 strings, all characters must be alphanumeric. ACPICA BZ 874.
1237
1238 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
1239 descriptors that are mostly or all zeros, with the expectation that they will 
1240 be filled in at runtime. iASL now allows this as long as there is a "resource 
1241 tag" (name) associated with the descriptor, which gives the ASL a handle 
1242 needed to modify the descriptor. ACPICA BZ 873.
1243
1244 Added single-thread support to the generic Unix application OSL. Primarily 
1245 for iASL support, this change removes the use of semaphores in the single-
1246 threaded ACPICA tools/applications - increasing performance. The 
1247 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
1248 option. ACPICA BZ 879.
1249
1250 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
1251 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
1252
1253 iASL: Moved all compiler messages to a new file, aslmessages.h.
1254
1255 ----------------------------------------
1256 15 September 2010. Summary of changes for version 20100915:
1257
1258 1) ACPI CA Core Subsystem:
1259
1260 Removed the AcpiOsDerivePciId OSL interface. The various host implementations 
1261 of this function were not OS-dependent and are now obsolete and can be 
1262 removed from all host OSLs. This function has been replaced by 
1263 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
1264 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
1265 module, hwpci.c. ACPICA BZ 857.
1266
1267 Implemented a dynamic repair for _HID and _CID strings. The following 
1268 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
1269 string, and 2) the entire string is uppercased. Both repairs are in 
1270 accordance with the ACPI specification and will simplify host driver code. 
1271 ACPICA BZ 871.
1272
1273 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
1274 always UINT64. This simplifies the ACPICA code, especially any printf output. 
1275 UINT64 is the only common data type for all thread_id types across all 
1276 operating systems. It is now up to the host OSL to cast the native thread_id 
1277 type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
1278 Lin Ming, Bob Moore.
1279
1280 Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
1281 keyword is not standard across compilers, and this type allows inline to be 
1282 configured on a per-compiler basis. Lin Ming.
1283
1284 Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
1285 Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
1286 during suspend/restore operations. ACPICA BZ 869.
1287
1288 All code that implements error/warning messages with the "ACPI:" prefix has 
1289 been moved to a new module, utxferror.c.
1290
1291 The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
1292 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
1293
1294 Example Code and Data Size: These are the sizes for the OS-independent 
1295 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1296 debug version of the code includes the debug output trace mechanism and has a 
1297 much larger code and data size.
1298
1299   Previous Release:
1300     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1301     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1302   Current Release:
1303     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1304     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1305
1306 2) iASL Compiler/Disassembler and Tools:
1307
1308 iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
1309 This keeps the output files free of random error messages that may originate 
1310 from within the namespace/interpreter code. Used this opportunity to merge 
1311 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
1312 866. Lin Ming, Bob Moore.
1313
1314 Tools: update some printfs for ansi warnings on size_t. Handle width change 
1315 of size_t on 32-bit versus 64-bit generations. Lin Ming.
1316
1317 ----------------------------------------
1318 06 August 2010. Summary of changes for version 20100806:
1319
1320 1) ACPI CA Core Subsystem:
1321
1322 Designed and implemented a new host interface to the _OSI support code. This 
1323 will allow the host to dynamically add or remove multiple _OSI strings, as 
1324 well as install an optional handler that is called for each _OSI invocation. 
1325 Also added a new AML debugger command, 'osi' to display and modify the global 
1326 _OSI string table, and test support in the AcpiExec utility. See the ACPICA 
1327 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
1328 New Functions:
1329     AcpiInstallInterface - Add an _OSI string.
1330     AcpiRemoveInterface - Delete an _OSI string.
1331     AcpiInstallInterfaceHandler - Install optional _OSI handler.
1332 Obsolete Functions:
1333     AcpiOsValidateInterface - no longer used.
1334 New Files:
1335     source/components/utilities/utosi.c
1336
1337 Re-introduced the support to enable multi-byte transfers for Embedded 
1338 Controller (EC) operation regions. A reported problem was found to be a bug 
1339 in the host OS, not in the multi-byte support. Previously, the maximum data 
1340 size passed to the EC operation region handler was a single byte. There are 
1341 often EC Fields larger than one byte that need to be transferred, and it is 
1342 useful for the EC driver to lock these as a single transaction. This change 
1343 enables single transfers larger than 8 bits. This effectively changes the 
1344 access to the EC space from ByteAcc to AnyAcc, and will probably require 
1345 changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
1346 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
1347
1348 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
1349 prototype in acpiosxf.h had the output value pointer as a (void *).
1350 It should be a (UINT64 *). This may affect some host OSL code.
1351
1352 Fixed a couple problems with the recently modified Linux makefiles for iASL 
1353 and AcpiExec. These new makefiles place the generated object files in the 
1354 local directory so that there can be no collisions between the files that are 
1355 shared between them that are compiled with different options.
1356
1357 Example Code and Data Size: These are the sizes for the OS-independent 
1358 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1359 debug version of the code includes the debug output trace mechanism and has a 
1360 much larger code and data size.
1361
1362   Previous Release:
1363     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1364     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1365   Current Release:
1366     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1367     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1368
1369 2) iASL Compiler/Disassembler and Tools:
1370
1371 iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
1372 namespace from and disassemble an entire group of AML files. Useful for 
1373 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
1374 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
1375
1376 iASL: Allow multiple invocations of -e option. This change allows multiple 
1377 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
1378 Lin Ming.
1379
1380 ----------------------------------------
1381 02 July 2010. Summary of changes for version 20100702:
1382
1383 1) ACPI CA Core Subsystem:
1384
1385 Implemented several updates to the recently added GPE reference count 
1386 support. The model for "wake" GPEs is changing to give the host OS complete 
1387 control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
1388 methods, since the host already must execute them. Also, additional changes 
1389 were made to help ensure that the reference counts are kept in proper 
1390 synchronization with reality. Rafael J. Wysocki.
1391
1392 1) Ensure that GPEs are not enabled twice during initialization.
1393 2) Ensure that GPE enable masks stay in sync with the reference count.
1394 3) Do not inadvertently enable GPEs when writing GPE registers.
1395 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
1396 interface. This interface will set or clear individual GPEs for wakeup.
1397 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
1398 are now used for "runtime" GPEs only.
1399
1400 Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
1401 no longer disabled during this process, as it was found to cause problems on 
1402 some machines. Rafael J. Wysocki.
1403
1404 Reverted a change introduced in version 20100528 to enable Embedded 
1405 Controller multi-byte transfers. This change was found to cause problems with 
1406 Index Fields and possibly Bank Fields. It will be reintroduced when these 
1407 problems have been resolved.
1408
1409 Fixed a problem with references to Alias objects within Package Objects. A 
1410 reference to an Alias within the definition of a Package was not always 
1411 resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
1412 were resolved to the actual object instead of a reference to the object as it 
1413 should be. Package objects are only allowed to contain integer, string, 
1414 buffer, package, and reference objects. Redhat bugzilla 608648.
1415
1416 Example Code and Data Size: These are the sizes for the OS-independent 
1417 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1418 debug version of the code includes the debug output trace mechanism and has a 
1419 much larger code and data size.
1420
1421   Previous Release:
1422     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1423     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1424   Current Release:
1425     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1426     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1427
1428 2) iASL Compiler/Disassembler and Tools:
1429
1430 iASL: Implemented a new compiler subsystem to allow definition and 
1431 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1432 are called "ACPI Data Tables", and the new compiler is the "Data Table 
1433 Compiler". This compiler is intended to simplify the existing error-prone 
1434 process of creating these tables for the BIOS, as well as allowing the 
1435 disassembly, modification, recompilation, and override of existing ACPI data 
1436 tables. See the iASL User Guide for detailed information.
1437
1438 iASL: Implemented a new Template Generator option in support of the new Data 
1439 Table Compiler. This option will create examples of all known ACPI tables 
1440 that can be used as the basis for table development. See the iASL 
1441 documentation and the -T option.
1442
1443 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1444 Descriptor Table).
1445
1446 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
1447 object files in the local directory so that there can be no collisions 
1448 between the shared files between them that are generated with different 
1449 options.
1450
1451 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1452 the #define __APPLE__ to enable this support.
1453
1454 ----------------------------------------
1455 28 May 2010. Summary of changes for version 20100528:
1456
1457 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
1458 available at www.acpi.info. This is primarily an errata release.
1459
1460 1) ACPI CA Core Subsystem:
1461
1462 Undefined ACPI tables: We are looking for the definitions for the following 
1463 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1464
1465 Implemented support to enable multi-byte transfers for Embedded Controller 
1466 (EC) operation regions. Previously, the maximum data size passed to the EC 
1467 operation region handler was a single byte. There are often EC Fields larger 
1468 than one byte that need to be transferred, and it is useful for the EC driver 
1469 to lock these as a single transaction. This change enables single transfers 
1470 larger than 8 bits. This effectively changes the access to the EC space from 
1471 ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1472 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1473 transfers. Alexey Starikovskiy, Lin Ming
1474
1475 Implemented a performance enhancement for namespace search and access. This 
1476 change enhances the performance of namespace searches and walks by adding a 
1477 backpointer to the parent in each namespace node. On large namespaces, this 
1478 change can improve overall ACPI performance by up to 9X. Adding a pointer to 
1479 each namespace node increases the overall size of the internal namespace by 
1480 about 5%, since each namespace entry usually consists of both a namespace 
1481 node and an ACPI operand object. However, this is the first growth of the 
1482 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1483
1484 Implemented a performance optimization that reduces the number of namespace 
1485 walks. On control method exit, only walk the namespace if the method is known 
1486 to have created namespace objects outside of its local scope. Previously, the 
1487 entire namespace was traversed on each control method exit. This change can 
1488 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1489
1490 Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
1491 Some ASL code has been seen in the field that inadvertently has bits set 
1492 above bit 15. This feature is optional and is enabled if the BIOS requests 
1493 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
1494 Garrett, Bob Moore.
1495
1496 Added support to limit the maximum time for the ASL Sleep() operator. To 
1497 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
1498 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
1499 bugzilla 854.
1500
1501 Added run-time validation support for the _WDG and_WED Microsoft predefined 
1502 methods. These objects are defined by "Windows Instrumentation", and are not 
1503 part of the ACPI spec. ACPICA BZ 860.
1504
1505 Expanded all statistic counters used during namespace and device 
1506 initialization from 16 to 32 bits in order to support very large namespaces.
1507
1508 Replaced all instances of %d in printf format specifiers with %u since nearly 
1509 all integers in ACPICA are unsigned.
1510
1511 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1512 as AE_NO_HANDLER.
1513
1514 Example Code and Data Size: These are the sizes for the OS-independent 
1515 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1516 debug version of the code includes the debug output trace mechanism and has a 
1517 much larger code and data size.
1518
1519   Previous Release:
1520     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1521     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1522   Current Release:
1523     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1524     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1525
1526 2) iASL Compiler/Disassembler and Tools:
1527
1528 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1529 methods. These objects are defined by "Windows Instrumentation", and are not 
1530 part of the ACPI spec. ACPICA BZ 860.
1531
1532 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
1533 option will disable the tracking mechanism, which improves performance 
1534 considerably.
1535
1536 AcpiExec: Restructured the command line options into -d (disable) and -e 
1537 (enable) options.
1538
1539 ----------------------------------------
1540 28 April 2010. Summary of changes for version 20100428:
1541
1542 1) ACPI CA Core Subsystem:
1543
1544 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1545 including FADT-based and GPE Block Devices, execute any _PRW methods in the 
1546 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1547 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1548 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1549 Devices. Provides compatibility with other ACPI implementations. Two new 
1550 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1551
1552 Fixed a regression introduced in version 20100331 within the table manager 
1553 where initial table loading could fail. This was introduced in the fix for 
1554 AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1555 data structures to clarify their meaning and use.
1556
1557 Fixed a possible allocation overrun during internal object copy in 
1558 AcpiUtCopySimpleObject. The original code did not correctly handle the case 
1559 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1560
1561 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1562 possible access beyond end-of-allocation. Also, now fully validate descriptor 
1563 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1564
1565 Example Code and Data Size: These are the sizes for the OS-independent 
1566 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1567 debug version of the code includes the debug output trace mechanism and has a 
1568 much larger code and data size.
1569
1570   Previous Release:
1571     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1572     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1573   Current Release:
1574     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1575     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1576
1577 2) iASL Compiler/Disassembler and Tools:
1578
1579 iASL: Implemented Min/Max/Len/Gran validation for address resource 
1580 descriptors. This change implements validation for the address fields that 
1581 are common to all address-type resource descriptors. These checks are 
1582 implemented: Checks for valid Min/Max, length within the Min/Max window, 
1583 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1584 table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1585 and aslrestype2.c files into five new files. ACPICA BZ 840.
1586
1587 iASL: Added support for the _Wxx predefined names. This support was missing 
1588 and these names were not recognized by the compiler as valid predefined 
1589 names. ACPICA BZ 851.
1590
1591 iASL: Added an error for all predefined names that are defined to return no 
1592 value and thus must be implemented as Control Methods. These include all of 
1593 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1594 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1595
1596 iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1597 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1598 dynamically loaded via the Load() operator. Also cleaned up output for the -
1599 ta and -tc options. ACPICA BZ 853.
1600
1601 Tests: Added a new file with examples of extended iASL error checking. 
1602 Demonstrates the advanced error checking ability of the iASL compiler. 
1603 Available at tests/misc/badcode.asl.
1604
1605 ----------------------------------------
1606 31 March 2010. Summary of changes for version 20100331:
1607
1608 1) ACPI CA Core Subsystem:
1609
1610 Completed a major update for the GPE support in order to improve support for 
1611 shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1612 count mechanism to support shared GPEs that require multiple device drivers. 
1613 Several external interfaces have changed. One external interface has been 
1614 removed. One new external interface was added. Most of the GPE external 
1615 interfaces now use the GPE spinlock instead of the events mutex (and the 
1616 Flags parameter for many GPE interfaces has been removed.) See the updated 
1617 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1618 Wysocki. ACPICA BZ 831.
1619
1620 Changed:
1621     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1622 Removed:
1623     AcpiSetGpeType
1624 New:
1625     AcpiSetGpe
1626
1627 Implemented write support for DataTable operation regions. These regions are 
1628 defined via the DataTableRegion() operator. Previously, only read support was 
1629 implemented. The ACPI specification allows DataTableRegions to be read/write, 
1630 however.
1631
1632 Implemented a new subsystem option to force a copy of the DSDT to local 
1633 memory. Optionally copy the entire DSDT to local memory (instead of simply 
1634 mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1635 the original DSDT, creating the need for this option. Default is FALSE, do 
1636 not copy the DSDT.
1637
1638 Implemented detection of a corrupted or replaced DSDT. This change adds 
1639 support to detect a DSDT that has been corrupted and/or replaced from outside 
1640 the OS (by firmware). This is typically catastrophic for the system, but has 
1641 been seen on some machines. Once this problem has been detected, the DSDT 
1642 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1643
1644 Fixed two problems with AcpiReallocateRootTable during the root table copy. 
1645 When copying the root table to the new allocation, the length used was 
1646 incorrect. The new size was used instead of the current table size, meaning 
1647 too much data was copied. Also, the count of available slots for ACPI tables 
1648 was not set correctly. Alexey Starikovskiy, Bob Moore.
1649
1650 Example Code and Data Size: These are the sizes for the OS-independent 
1651 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1652 debug version of the code includes the debug output trace mechanism and has a 
1653 much larger code and data size.
1654
1655   Previous Release:
1656     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1657     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1658   Current Release:
1659     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1660     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1661
1662 2) iASL Compiler/Disassembler and Tools:
1663
1664 iASL: Implement limited typechecking for values returned from predefined 
1665 control methods. The type of any returned static (unnamed) object is now 
1666 validated. For example, Return(1). ACPICA BZ 786.
1667
1668 iASL: Fixed a predefined name object verification regression. Fixes a problem 
1669 introduced in version 20100304. An error is incorrectly generated if a 
1670 predefined name is declared as a static named object with a value defined 
1671 using the keywords "Zero", "One", or "Ones". Lin Ming.
1672
1673 iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1674 reducing the requested registry access rights. ACPICA BZ 842.
1675
1676 Disassembler: fixed a possible fault when generating External() statements. 
1677 Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1678 (carat). Fixes a string length allocation calculation. Lin Ming.
1679
1680 ----------------------------------------
1681 04 March 2010. Summary of changes for version 20100304:
1682
1683 1) ACPI CA Core Subsystem:
1684
1685 Fixed a possible problem with the AML Mutex handling function 
1686 AcpiExReleaseMutex where the function could fault under the very rare 
1687 condition when the interpreter has blocked, the interpreter lock is released, 
1688 the interpreter is then reentered via the same thread, and attempts to 
1689 acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1690 Ming.
1691
1692 Implemented additional configuration support for the AML "Debug Object". 
1693 Output from the debug object can now be enabled via a global variable, 
1694 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1695 This debug output is now available in the release version of ACPICA instead 
1696 of just the debug version. Also, the entire debug output module can now be 
1697 configured out of the ACPICA build if desired. One new file added, 
1698 executer/exdebug.c. Lin Ming, Bob Moore.
1699
1700 Added header support for the ACPI MCHI table (Management Controller Host 
1701 Interface Table). This table was added in ACPI 4.0, but the defining document 
1702 has only recently become available.
1703
1704 Standardized output of integer values for ACPICA warnings/errors. Always use 
1705 0x prefix for hex output, always use %u for unsigned integer decimal output. 
1706 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1707 invocations.) These invocations were converted from the original 
1708 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1709
1710 Example Code and Data Size: These are the sizes for the OS-independent 
1711 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1712 debug version of the code includes the debug output trace mechanism and has a 
1713 much larger code and data size.
1714
1715   Previous Release:
1716     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1717     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1718   Current Release:
1719     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1720     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1721
1722 2) iASL Compiler/Disassembler and Tools:
1723
1724 iASL: Implemented typechecking support for static (non-control method) 
1725 predefined named objects that are declared with the Name() operator. For 
1726 example, the type of this object is now validated to be of type Integer: 
1727 Name(_BBN, 1). This change migrates the compiler to using the core predefined 
1728 name table instead of maintaining a local version. Added a new file, 
1729 aslpredef.c. ACPICA BZ 832.
1730
1731 Disassembler: Added support for the ACPI 4.0 MCHI table.
1732
1733 ----------------------------------------
1734 21 January 2010. Summary of changes for version 20100121:
1735
1736 1) ACPI CA Core Subsystem:
1737
1738 Added the 2010 copyright to all module headers and signons. This affects 
1739 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
1740 tools/utilities, and the test suites.
1741
1742 Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1743 invocations of the _STA method. In the case where a specific _HID is 
1744 requested, do not run _STA until a _HID match is found. This eliminates 
1745 potentially dozens of _STA calls during a search for a particular device/HID, 
1746 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1747
1748 Implemented an additional repair for predefined method return values. Attempt 
1749 to repair unexpected NULL elements within returned Package objects. Create an 
1750 Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1751 ACPICA BZ 818. Lin Ming, Bob Moore.
1752
1753 Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
1754 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
1755 64-bit AML integers). It is now obsolete and this change removes it from the 
1756 ACPICA code base, replaced by UINT64. The original typedef has been retained 
1757 for now for compatibility with existing device driver code. ACPICA BZ 824.
1758
1759 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
1760 the parse tree object.
1761
1762 Added additional warning options for the gcc-4 generation. Updated the source 
1763 accordingly. This includes some code restructuring to eliminate unreachable 
1764 code, elimination of some gotos, elimination of unused return values, some 
1765 additional casting, and removal of redundant declarations.
1766
1767 Example Code and Data Size: These are the sizes for the OS-independent 
1768 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1769 debug version of the code includes the debug output trace mechanism and has a 
1770 much larger code and data size.
1771
1772   Previous Release:
1773     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1774     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1775   Current Release:
1776     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1777     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1778
1779 2) iASL Compiler/Disassembler and Tools:
1780
1781 No functional changes for this release.
1782
1783 ----------------------------------------
1784 14 December 2009. Summary of changes for version 20091214:
1785
1786 1) ACPI CA Core Subsystem:
1787
1788 Enhanced automatic data type conversions for predefined name repairs. This 
1789 change expands the automatic repairs/conversions for predefined name return 
1790 values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1791 Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1792 module was completely restructured. Lin Ming, Bob Moore.
1793
1794 Implemented automatic removal of null package elements during predefined name 
1795 repairs. This change will automatically remove embedded and trailing NULL 
1796 package elements from returned package objects that are defined to contain a 
1797 variable number of sub-packages. The driver is then presented with a package 
1798 with no null elements to deal with. ACPICA BZ 819.
1799
1800 Implemented a repair for the predefined _FDE and _GTM names. The expected 
1801 return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1802 possible problems (both seen in the field), where a package of integers is 
1803 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1804
1805 Implemented additional module-level code support. This change will properly 
1806 execute module-level code that is not at the root of the namespace (under a 
1807 Device object, etc.). Now executes the code within the current scope instead 
1808 of the root. ACPICA BZ 762. Lin Ming.
1809
1810 Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
1811 problem where mutex errors can occur when running a _REG method that is in 
1812 the same scope as a method-defined operation region or an operation region 
1813 under a module-level IF block. This type of code is rare, so the problem has 
1814 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1815
1816 Fixed a possible memory leak during module-level code execution. An object 
1817 could be leaked for each block of executed module-level code if the 
1818 interpreter slack mode is enabled This change deletes any implicitly returned 
1819 object from the module-level code block. Lin Ming.
1820
1821 Removed messages for successful predefined repair(s). The repair mechanism 
1822 was considered too wordy. Now, messages are only unconditionally emitted if 
1823 the return object cannot be repaired. Existing messages for successful 
1824 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1825
1826 Example Code and Data Size: These are the sizes for the OS-independent 
1827 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1828 debug version of the code includes the debug output trace mechanism and has a 
1829 much larger code and data size.
1830
1831   Previous Release:
1832     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1833     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1834   Current Release:
1835     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1836     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1837
1838 2) iASL Compiler/Disassembler and Tools:
1839
1840 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
1841 were no longer automatically removed at the termination of the compile.
1842
1843 acpiexec: Implemented the -f option to specify default region fill value. 
1844 This option specifies the value used to initialize buffers that simulate 
1845 operation regions. Default value is zero. Useful for debugging problems that 
1846 depend on a specific initial value for a region or field.
1847
1848 ----------------------------------------
1849 12 November 2009. Summary of changes for version 20091112:
1850
1851 1) ACPI CA Core Subsystem:
1852
1853 Implemented a post-order callback to AcpiWalkNamespace. The existing 
1854 interface only has a pre-order callback. This change adds an additional 
1855 parameter for a post-order callback which will be more useful for bus scans. 
1856 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1857
1858 Modified the behavior of the operation region memory mapping cache for 
1859 SystemMemory. Ensure that the memory mappings created for operation regions 
1860 do not cross 4K page boundaries. Crossing a page boundary while mapping 
1861 regions can cause kernel warnings on some hosts if the pages have different 
1862 attributes. Such regions are probably BIOS bugs, and this is the workaround. 
1863 Linux BZ 14445. Lin Ming.
1864
1865 Implemented an automatic repair for predefined methods that must return 
1866 sorted lists. This change will repair (by sorting) packages returned by _ALR, 
1867 _PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
1868 and do not contain NULL package elements. Adds one new file, 
1869 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1870
1871 Fixed a possible fault during predefined name validation if a return Package 
1872 object contains NULL elements. Also adds a warning if a NULL element is 
1873 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
1874 include repair or removal of all such NULL elements where possible.
1875
1876 Implemented additional module-level executable AML code support. This change 
1877 will execute module-level code that is not at the root of the namespace 
1878 (under a Device object, etc.) at table load time. Module-level executable AML 
1879 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1880
1881 Implemented a new internal function to create Integer objects. This function 
1882 simplifies miscellaneous object creation code. ACPICA BZ 823.
1883
1884 Reduced the severity of predefined repair messages, Warning to Info. Since 
1885 the object was successfully repaired, a warning is too severe. Reduced to an 
1886 info message for now. These messages may eventually be changed to debug-only. 
1887 ACPICA BZ 812.
1888
1889 Example Code and Data Size: These are the sizes for the OS-independent 
1890 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1891 debug version of the code includes the debug output trace mechanism and has a 
1892 much larger code and data size.
1893
1894   Previous Release:
1895     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1896     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1897   Current Release:
1898     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1899     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1900
1901 2) iASL Compiler/Disassembler and Tools:
1902
1903 iASL: Implemented Switch() with While(1) so that Break works correctly. This 
1904 change correctly implements the Switch operator with a surrounding While(1) 
1905 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1906
1907 iASL: Added a message if a package initializer list is shorter than package 
1908 length. Adds a new remark for a Package() declaration if an initializer list 
1909 exists, but is shorter than the declared length of the package. Although 
1910 technically legal, this is probably a coding error and it is seen in the 
1911 field. ACPICA BZ 815. Lin Ming, Bob Moore.
1912
1913 iASL: Fixed a problem where the compiler could fault after the maximum number 
1914 of errors was reached (200).
1915
1916 acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
1917 level set very high.
1918
1919 ----------------------------------------
1920 13 October 2009. Summary of changes for version 20091013:
1921
1922 1) ACPI CA Core Subsystem:
1923
1924 Fixed a problem where an Operation Region _REG method could be executed more 
1925 than once. If a custom address space handler is installed by the host before 
1926 the "initialize operation regions" phase of the ACPICA initialization, any 
1927 _REG methods for that address space could be executed twice. This change 
1928 fixes the problem. ACPICA BZ 427. Lin Ming.
1929
1930 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
1931 invocation of "Scope(\)" is executed (change scope to root), one internal 
1932 operand object was leaked. Lin Ming.
1933
1934 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
1935 return value is defined as a Field object in the AML, and the field
1936 size is less than or equal to the default width of an integer (32 or 64),_MAT 
1937 can incorrectly return an Integer instead of a Buffer. ACPICA now 
1938 automatically repairs this problem. ACPICA BZ 810.
1939
1940 Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
1941 "OEM Information" field is often incorrectly returned as an Integer with 
1942 value zero if the field is not supported by the platform. This is due to an 
1943 ambiguity in the ACPI specification. The field should always be a string. 
1944 ACPICA now automatically repairs this problem by returning a NULL string 
1945 within the returned Package. ACPICA BZ 807.
1946
1947 Example Code and Data Size: These are the sizes for the OS-independent 
1948 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1949 debug version of the code includes the debug output trace mechanism and has a 
1950 much larger code and data size.
1951
1952   Previous Release:
1953     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1954     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1955   Current Release:
1956     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1957     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1958
1959 2) iASL Compiler/Disassembler and Tools:
1960
1961 Disassembler: Fixed a problem where references to external symbols that 
1962 contained one or more parent-prefixes (carats) were not handled correctly, 
1963 possibly causing a fault. ACPICA BZ 806. Lin Ming.
1964
1965 Disassembler: Restructured the code so that all functions that handle 
1966 external symbols are in a single module. One new file is added, 
1967 common/dmextern.c.
1968
1969 AML Debugger: Added a max count argument for the Batch command (which 
1970 executes multiple predefined methods within the namespace.)
1971
1972 iASL: Updated the compiler documentation (User Reference.) Available at 
1973 http://www.acpica.org/documentation/. ACPICA BZ 750.
1974
1975 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
1976 files.
1977
1978 ----------------------------------------
1979 03 September 2009. Summary of changes for version 20090903:
1980
1981 1) ACPI CA Core Subsystem:
1982
1983 For Windows Vista compatibility, added the automatic execution of an _INI 
1984 method located at the namespace root (\_INI). This method is executed at 
1985 table load time. This support is in addition to the automatic execution of 
1986 \_SB._INI. Lin Ming.
1987
1988 Fixed a possible memory leak in the interpreter for AML package objects if 
1989 the package initializer list is longer than the defined size of the package. 
1990 This apparently can only happen if the BIOS changes the package size on the 
1991 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
1992 interpreter will truncate the package to the defined size (and issue an error 
1993 message), but previously could leave the extra objects undeleted if they were 
1994 pre-created during the argument processing (such is the case if the package 
1995 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1996
1997 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
1998 This has been reported in the field. Previously, ACPICA would zero out the 
1999 buffer/string. Now, the operation is treated as a noop. Provides Windows 
2000 compatibility. ACPICA BZ 803. Lin Ming.
2001
2002 Removed an extraneous error message for ASL constructs of the form 
2003 Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
2004 are seen in many BIOSs and are once again treated as NOOPs and no error is 
2005 emitted when they are encountered. ACPICA BZ 785.
2006
2007 Fixed an extraneous warning message if a _DSM reserved method returns a 
2008 Package object. _DSM can return any type of object, so validation on the 
2009 return type cannot be performed. ACPICA BZ 802.
2010
2011 Example Code and Data Size: These are the sizes for the OS-independent 
2012 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2013 debug version of the code includes the debug output trace mechanism and has a 
2014 much larger code and data size.
2015
2016   Previous Release:
2017     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2018     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2019   Current Release:
2020     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
2021     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
2022
2023 2) iASL Compiler/Disassembler and Tools:
2024
2025 iASL: Fixed a problem with the use of the Alias operator and Resource 
2026 Templates. The correct alias is now constructed and no error is emitted. 
2027 ACPICA BZ 738.
2028
2029 iASL: Implemented the -I option to specify additional search directories for 
2030 include files. Allows multiple additional search paths for include files. 
2031 Directories are searched in the order specified on the command line (after 
2032 the local directory is searched.) ACPICA BZ 800.
2033
2034 iASL: Fixed a problem where the full pathname for include files was not 
2035 emitted for warnings/errors. This caused the IDE support to not work 
2036 properly. ACPICA BZ 765.
2037
2038 iASL: Implemented the -@ option to specify a Windows-style response file 
2039 containing additional command line options. ACPICA BZ 801.
2040
2041 AcpiExec: Added support to load multiple AML files simultaneously (such as a 
2042 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
2043 pathname. These features allow all machine tables to be easily loaded and 
2044 debugged together. ACPICA BZ 804.
2045
2046 Disassembler: Added missing support for disassembly of HEST table Error Bank 
2047 subtables. 
2048
2049 ----------------------------------------
2050 30 July 2009. Summary of changes for version 20090730:
2051
2052 The ACPI 4.0 implementation for ACPICA is complete with this release.
2053
2054 1) ACPI CA Core Subsystem:
2055
2056 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
2057 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
2058 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
2059 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
2060 have been some ACPI 4.0 changes to other existing tables. Split the large 
2061 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
2062
2063 ACPI 4.0: Implemented predefined name validation for all new names. There are 
2064 31 new names in ACPI 4.0. The predefined validation module was split into two 
2065 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
2066
2067 Implemented support for so-called "module-level executable code". This is 
2068 executable AML code that exists outside of any control method and is intended 
2069 to be executed at table load time. Although illegal since ACPI 2.0, this type 
2070 of code still exists and is apparently still being created. Blocks of this 
2071 code are now detected and executed as intended. Currently, the code blocks 
2072 must exist under either an If, Else, or While construct; these are the 
2073 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
2074
2075 Implemented an automatic dynamic repair for predefined names that return 
2076 nested Package objects. This applies to predefined names that are defined to 
2077 return a variable-length Package of sub-packages. If the number of sub-
2078 packages is one, BIOS code is occasionally seen that creates a simple single 
2079 package with no sub-packages. This code attempts to fix the problem by 
2080 wrapping a new package object around the existing package. These methods can 
2081 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
2082 790.
2083
2084 Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
2085 The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
2086 BZ 793.
2087
2088 Fixed a problem with AcpiReset where the reset would silently fail if the 
2089 register was one of the protected I/O ports. AcpiReset now bypasses the port 
2090 validation mechanism. This may eventually be driven into the AcpiRead/Write 
2091 interfaces.
2092
2093 Fixed a regression related to the recent update of the AcpiRead/Write 
2094 interfaces. A sleep/suspend could fail if the optional PM2 Control register 
2095 does not exist during an attempt to write the Bus Master Arbitration bit. 
2096 (However, some hosts already delete the code that writes this bit, and the 
2097 code may in fact be obsolete at this date.) ACPICA BZ 799.
2098
2099 Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
2100 in succession. ACPICA BZ 795.
2101
2102 Example Code and Data Size: These are the sizes for the OS-independent 
2103 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2104 debug version of the code includes the debug output trace mechanism and has a 
2105 much larger code and data size.
2106
2107   Previous Release:
2108     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2109     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2110   Current Release:
2111     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2112     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2113
2114 2) iASL Compiler/Disassembler and Tools:
2115
2116 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
2117 changes to existing tables. ACPICA BZ 775.
2118
2119 ----------------------------------------
2120 25 June 2009. Summary of changes for version 20090625:
2121
2122 The ACPI 4.0 Specification was released on June 16 and is available at 
2123 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
2124 continue for the next few releases.
2125
2126 1) ACPI CA Core Subsystem:
2127
2128 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
2129 address space. Includes support for bi-directional data buffers and an IPMI 
2130 address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
2131 773. Lin Ming.
2132
2133 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
2134 support in both the header files and the disassembler.
2135
2136 Completed a major update for the AcpiGetObjectInfo external interface. 
2137 Changes include:
2138  - Support for variable, unlimited length HID, UID, and CID strings.
2139  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
2140  - Call the _SxW power methods on behalf of a device object.
2141  - Determine if a device is a PCI root bridge.
2142  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
2143 These changes will require an update to all callers of this interface. See 
2144 the updated ACPICA Programmer Reference for details. One new source file has 
2145 been added - utilities/utids.c. ACPICA BZ 368, 780.
2146
2147 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
2148 transfers. The Value parameter has been extended from 32 bits to 64 bits in 
2149 order to support new ACPI 4.0 tables. These changes will require an update to 
2150 all callers of these interfaces. See the ACPICA Programmer Reference for 
2151 details. ACPICA BZ 768.
2152
2153 Fixed several problems with AcpiAttachData. The handler was not invoked when 
2154 the host node was deleted. The data sub-object was not automatically deleted 
2155 when the host node was deleted. The interface to the handler had an unused 
2156 parameter, this was removed. ACPICA BZ 778.
2157
2158 Enhanced the function that dumps ACPI table headers. All non-printable 
2159 characters in the string fields are now replaced with '?' (Signature, OemId, 
2160 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
2161 these fields are occasionally seen in the field. ACPICA BZ 788.
2162
2163 Fixed a problem with predefined method repair code where the code that 
2164 attempts to repair/convert an object of incorrect type is only executed on 
2165 the first time the predefined method is called. The mechanism that disables 
2166 warnings on subsequent calls was interfering with the repair mechanism. 
2167 ACPICA BZ 781.
2168
2169 Fixed a possible memory leak in the predefined validation/repair code when a 
2170 buffer is automatically converted to an expected string object.
2171
2172 Removed obsolete 16-bit files from the distribution and from the current git 
2173 tree head. ACPICA BZ 776.
2174
2175 Example Code and Data Size: These are the sizes for the OS-independent 
2176 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2177 debug version of the code includes the debug output trace mechanism and has a 
2178 much larger code and data size.
2179
2180   Previous Release:
2181     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2182     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2183   Current Release:
2184     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2185     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2186
2187 2) iASL Compiler/Disassembler and Tools:
2188
2189 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
2190 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
2191
2192 ACPI 4.0: iASL - implemented compile-time validation support for all new 
2193 predefined names and control methods (31 total). ACPICA BZ 769.
2194
2195 ----------------------------------------
2196 21 May 2009. Summary of changes for version 20090521:
2197
2198 1) ACPI CA Core Subsystem:
2199
2200 Disabled the preservation of the SCI enable bit in the PM1 control register. 
2201 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
2202 a "preserved" bit - "OSPM always preserves this bit position", section 
2203 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
2204 because the bit needs to be explicitly set by the OS as a workaround. No 
2205 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
2206 attempts to preserve this bit.
2207
2208 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
2209 incorrectly formed _PRT package could cause a fault. Added validation to 
2210 ensure that each package element is actually a sub-package.
2211
2212 Implemented a new interface to install or override a single control method, 
2213 AcpiInstallMethod. This interface is useful when debugging in order to repair 
2214 an existing method or to install a missing method without having to override 
2215 the entire ACPI table. See the ACPICA Programmer Reference for use and 
2216 examples. Lin Ming, Bob Moore.
2217
2218 Fixed several reference count issues with the DdbHandle object that is 
2219 created from a Load or LoadTable operator. Prevent premature deletion of the 
2220 object. Also, mark the object as invalid once the table has been unloaded. 
2221 This is needed because the handle itself may not be deleted after the table 
2222 unload, depending on whether it has been stored in a named object by the 
2223 caller. Lin Ming.
2224
2225 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
2226 mutexes of the same sync level are acquired but then not released in strict 
2227 opposite order, the internally maintained Current Sync Level becomes confused 
2228 and can cause subsequent execution errors. ACPICA BZ 471.
2229
2230 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
2231 specification has been changed to make the SyncLevel for mutex objects more 
2232 useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
2233 same as the current sync level. This makes more sense than the previous rule 
2234 (SyncLevel less than or equal). This change updates the code to match the 
2235 specification.
2236
2237 Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
2238 (local) cache must be locked during all cache object deletions. Andrew 
2239 Baumann.
2240
2241 Updated the Load operator to use operation region interfaces. This replaces 
2242 direct memory mapping with region access calls. Now, all region accesses go 
2243 through the installed region handler as they should.
2244
2245 Simplified and optimized the NsGetNextNode function. Reduced parameter count 
2246 and reduced code for this frequently used function.
2247
2248 Example Code and Data Size: These are the sizes for the OS-independent 
2249 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2250 debug version of the code includes the debug output trace mechanism and has a 
2251 much larger code and data size.
2252
2253   Previous Release:
2254     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2255     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2256   Current Release:
2257     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2258     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2259
2260 2) iASL Compiler/Disassembler and Tools:
2261
2262 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
2263 with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
2264 after an invalid sub-table ID.
2265
2266 ----------------------------------------
2267 22 April 2009. Summary of changes for version 20090422:
2268
2269 1) ACPI CA Core Subsystem:
2270
2271 Fixed a compatibility issue with the recently released I/O port protection 
2272 mechanism. For windows compatibility, 1) On a port protection violation, 
2273 simply ignore the request and do not return an exception (allow the control 
2274 method to continue execution.) 2) If only part of the request overlaps a 
2275 protected port, read/write the individual ports that are not protected. Linux 
2276 BZ 13036. Lin Ming
2277
2278 Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
2279 breaks into the AML debugger if the debugger is present. This matches the 
2280 ACPI-defined behavior.
2281
2282 Fixed several possible warnings related to the use of the configurable 
2283 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
2284 pointer with no warnings. Also fixes several warnings in printf-like 
2285 statements for the 64-bit build when the type is configured as a pointer. 
2286 ACPICA BZ 766, 767.
2287
2288 Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
2289 warning options.) Examples include printf formats, aliasing, unused globals, 
2290 missing prototypes, missing switch default statements, use of non-ANSI 
2291 library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
2292 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
2293
2294 Example Code and Data Size: These are the sizes for the OS-independent 
2295 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2296 debug version of the code includes the debug output trace mechanism and has a 
2297 much larger code and data size.
2298
2299   Previous Release:
2300     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2301     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2302   Current Release:
2303     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2304     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2305
2306 2) iASL Compiler/Disassembler and Tools:
2307
2308 iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
2309 the 64-bit build.
2310
2311 iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
2312 correctly digest Windows/DOS formatted files (with CR/LF).
2313
2314 iASL: Added a new option for "quiet mode" (-va) that produces only the 
2315 compilation summary, not individual errors and warnings. Useful for large 
2316 batch compilations.
2317
2318 AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
2319 timeout that can be used to detect hang conditions during execution of AML 
2320 code (includes both internal semaphores and AML-defined mutexes and events.)
2321
2322 Added new makefiles for the generation of acpica in a generic unix-like 
2323 environment. These makefiles are intended to generate the acpica tools and 
2324 utilities from the original acpica git source tree structure.
2325
2326 Test Suites: Updated and cleaned up the documentation files. Updated the 
2327 copyrights to 2009, affecting all source files. Use the new version of iASL 
2328 with quiet mode. Increased the number of available semaphores in the Windows 
2329 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
2330 an alternate implementation of the semaphore timeout to allow aslts to 
2331 execute fully on Cygwin.
2332
2333 ----------------------------------------
2334 20 March 2009. Summary of changes for version 20090320:
2335
2336 1) ACPI CA Core Subsystem:
2337
2338 Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
2339 unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
2340 namespace walks (readers), but block a dynamic table unload until it can gain 
2341 exclusive write access to the namespace. This fixes a problem where a table 
2342 unload could (possibly catastrophically) delete the portion of the namespace 
2343 that is currently being examined by a walk. Adds a new file, utlock.c, that 
2344 implements the reader/writer lock mechanism. ACPICA BZ 749.
2345
2346 Fixed a regression introduced in version 20090220 where a change to the FADT 
2347 handling could cause the ACPICA subsystem to access non-existent I/O ports.
2348
2349 Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
2350 FADT can contain both 32-bit and 64-bit versions of these addresses. 
2351 Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
2352 versions were valid, but not equal, the 64-bit version was used. This was 
2353 found to cause some machines to fail. Now, in this case, the 32-bit version 
2354 is used instead. This now matches the Windows behavior.
2355
2356 Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
2357 compatibility and protects the standard PC I/O ports from access via AML 
2358 code. Adds a new file, hwvalid.c
2359
2360 Fixed a possible extraneous warning message from the FADT support. The 
2361 message warns of a 32/64 length mismatch between the legacy and GAS 
2362 definitions for a register.
2363
2364 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
2365 made obsolete by the port protection mechanism above. It was previously used 
2366 to validate the entire address range of an operation region, which could be 
2367 incorrect if the range included illegal ports, but fields within the 
2368 operation region did not actually access those ports. Validation is now 
2369 performed on a per-field basis instead of the entire region.
2370
2371 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
2372 Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
2373 means a read/modify/write when writing to the register. However, for status 
2374 registers, writing a one means clear the event. Writing a zero means preserve 
2375 the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
2376 and the ACPICA code now simply always writes a zero to the ignored bit.
2377
2378 Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
2379 per the ACPI specification, for the control registers, preserve 
2380 (read/modify/write) all bits that are defined as either reserved or ignored.
2381
2382 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
2383 When reading the register, zero the write-only bits as per the ACPI spec. 
2384 ACPICA BZ 443. Lin Ming.
2385
2386 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
2387 wants to reply true to this request. The Windows strings are the only paths 
2388 through the AML that are tested and known to work properly.
2389
2390   Previous Release:
2391     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2392     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2393   Current Release:
2394     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2395     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2396
2397 2) iASL Compiler/Disassembler and Tools:
2398
2399 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
2400 aetables.c
2401
2402 ----------------------------------------
2403 20 February 2009. Summary of changes for version 20090220:
2404
2405 1) ACPI CA Core Subsystem:
2406
2407 Optimized the ACPI register locking. Removed locking for reads from the ACPI 
2408 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
2409 not required when reading the single-bit registers. The 
2410 AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
2411 This will improve performance for reads on these registers. ACPICA BZ 760.
2412
2413 Fixed the parameter validation for AcpiRead/Write. Now return 
2414 AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
2415 the register has an address of zero. Previously, these cases simply returned 
2416 AE_OK. For optional registers such as PM1B status/enable/control, the caller 
2417 should check for a valid register address before calling. ACPICA BZ 748.
2418
2419 Renamed the external ACPI bit register access functions. Renamed 
2420 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2421 functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2422 Also, restructured the code for these functions by simplifying the code path 
2423 and condensing duplicate code to reduce code size.
2424
2425 Added new functions to transparently handle the possibly split PM1 A/B 
2426 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2427 now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2428 746.
2429
2430 Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2431 This function writes both of the PM1 control registers (A/B). These registers 
2432 are different than the PM1 A/B status and enable registers in that different 
2433 values can be written to the A/B registers. Most notably, the SLP_TYP bits 
2434 can be different, as per the values returned from the _Sx predefined methods.
2435
2436 Removed an extra register write within AcpiHwClearAcpiStatus. This function 
2437 was writing an optional PM1B status register twice. The existing call to the 
2438 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2439 register. ACPICA BZ 751.
2440
2441 Split out the PM1 Status registers from the FADT. Added new globals for these 
2442 registers (A/B), similar to the way the PM1 Enable registers are handled. 
2443 Instead of overloading the FADT Event Register blocks. This makes the code 
2444 clearer and less prone to error.
2445
2446 Fixed the warning message for when the platform contains too many ACPI tables 
2447 for the default size of the global root table data structure. The calculation 
2448 for the truncation value was incorrect.
2449
2450 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2451 obsolete macro, since it is now a simple reference to ->common.type. There 
2452 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2453
2454 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2455 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2456 simply SLEEP_TYPE. ACPICA BZ 754.
2457
2458 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2459 function is only needed on 64-bit host operating systems and is thus not 
2460 included for 32-bit hosts.
2461
2462 Debug output: print the input and result for invocations of the _OSI reserved 
2463 control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2464 verbosity of this debug level. Len Brown.
2465
2466 Example Code and Data Size: These are the sizes for the OS-independent 
2467 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2468 debug version of the code includes the debug output trace mechanism and has a 
2469 much larger code and data size.
2470
2471   Previous Release:
2472     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2473     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2474   Current Release:
2475     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2476     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2477
2478 2) iASL Compiler/Disassembler and Tools:
2479
2480 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2481 various legal performance profiles.
2482
2483 ----------------------------------------
2484 23 January 2009. Summary of changes for version 20090123:
2485
2486 1) ACPI CA Core Subsystem:
2487
2488 Added the 2009 copyright to all module headers and signons. This affects 
2489 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2490 the tools/utilities.
2491
2492 Implemented a change to allow the host to override any ACPI table, including 
2493 dynamically loaded tables. Previously, only the DSDT could be replaced by the 
2494 host. With this change, the AcpiOsTableOverride interface is called for each 
2495 table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2496 a table is dynamically loaded via the AML Load operator.
2497
2498 Updated FADT flag definitions, especially the Boot Architecture flags.
2499
2500 Debugger: For the Find command, automatically pad the input ACPI name with 
2501 underscores if the name is shorter than 4 characters. This enables a match 
2502 with the actual namespace entry which is itself padded with underscores.
2503
2504 Example Code and Data Size: These are the sizes for the OS-independent 
2505 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2506 debug version of the code includes the debug output trace mechanism and has a 
2507 much larger code and data size.
2508
2509   Previous Release:
2510     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2511     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2512   Current Release:
2513     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2514     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2515
2516 2) iASL Compiler/Disassembler and Tools:
2517
2518 Fix build error under Bison-2.4.
2519
2520 Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2521 flags. Now decode all flags, regardless of the FADT version. Flag output 
2522 includes the FADT version which first defined each flag.
2523
2524 The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2525 DSDT). Windows only.
2526
2527 ----------------------------------------
2528 04 December 2008. Summary of changes for version 20081204:
2529
2530 1) ACPI CA Core Subsystem:
2531
2532 The ACPICA Programmer Reference has been completely updated and revamped for 
2533 this release. This includes updates to the external interfaces, OSL 
2534 interfaces, the overview sections, and the debugger reference.
2535
2536 Several new ACPICA interfaces have been implemented and documented in the 
2537 programmer reference:
2538 AcpiReset - Writes the reset value to the FADT-defined reset register.
2539 AcpiDisableAllGpes - Disable all available GPEs.
2540 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2541 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2542 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2543 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2544 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2545
2546 Most of the public ACPI hardware-related interfaces have been moved to a new 
2547 file, components/hardware/hwxface.c
2548
2549 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
2550 register lengths within the FADT are now used, and the low level ACPI 
2551 register access no longer hardcodes the ACPI register lengths. Given that 
2552 there may be some risk in actually trusting the FADT register lengths, a run-
2553 time option was added to fall back to the default hardcoded lengths if the 
2554 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2555 option is set to true for now, and a warning is issued if a suspicious FADT 
2556 register length is overridden with the default value.
2557
2558 Fixed a reference count issue in NsRepairObject. This problem was introduced 
2559 in version 20081031 as part of a fix to repair Buffer objects within 
2560 Packages. Lin Ming.
2561
2562 Added semaphore support to the Linux/Unix application OS-services layer 
2563 (OSL). ACPICA BZ 448. Lin Ming.
2564
2565 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2566 be implemented in the OSL, or will binary semaphores be used instead.
2567
2568 Example Code and Data Size: These are the sizes for the OS-independent 
2569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2570 debug version of the code includes the debug output trace mechanism and has a 
2571 much larger code and data size.
2572
2573   Previous Release:
2574     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2575     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2576   Current Release:
2577     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2578     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2579
2580 2) iASL Compiler/Disassembler and Tools:
2581
2582 iASL: Completed the '-e' option to include additional ACPI tables in order to 
2583 aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2584 Ming.
2585
2586 iASL: Removed the "named object in while loop" error. The compiler cannot 
2587 determine how many times a loop will execute. ACPICA BZ 730.
2588
2589 Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2590 BZ 743.
2591
2592 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2593
2594 ----------------------------------------
2595 31 October 2008. Summary of changes for version 20081031:
2596
2597 1) ACPI CA Core Subsystem:
2598
2599 Restructured the ACPICA header files into public/private. acpi.h now includes 
2600 only the "public" acpica headers. All other acpica headers are "private" and 
2601 should not be included by acpica users. One new file, accommon.h is used to 
2602 include the commonly used private headers for acpica code generation. Future 
2603 plans include moving all private headers to a new subdirectory.
2604
2605 Implemented an automatic Buffer->String return value conversion for 
2606 predefined ACPI methods. For these methods (such as _BIF), added automatic 
2607 conversion for return objects that are required to be a String, but a Buffer 
2608 was found instead. This can happen when reading string battery data from an 
2609 operation region, because it used to be difficult to convert the data from 
2610 buffer to string from within the ASL. Ensures that the host OS is provided 
2611 with a valid null-terminated string. Linux BZ 11822.
2612
2613 Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2614 into two: one for the 32-bit vector, another for the 64-bit vector. This is 
2615 required because the host OS must setup the wake much differently for each 
2616 vector (real vs. protected mode, etc.) and the interface itself should not be 
2617 deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2618 interface, as it served no purpose (only the firmware reads the vector, OS 
2619 only writes the vector.) ACPICA BZ 731.
2620
2621 Implemented a mechanism to escape infinite AML While() loops. Added a loop 
2622 counter to force exit from AML While loops if the count becomes too large. 
2623 This can occur in poorly written AML when the hardware does not respond 
2624 within a while loop and the loop does not implement a timeout. The maximum 
2625 loop count is configurable. A new exception code is returned when a loop is 
2626 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2627
2628 Optimized the execution of AML While loops. Previously, a control state 
2629 object was allocated and freed for each execution of the loop. The 
2630 optimization is to simply reuse the control state for each iteration. This 
2631 speeds up the raw loop execution time by about 5%.
2632
2633 Enhanced the implicit return mechanism. For Windows compatibility, return an 
2634 implicit integer of value zero for methods that contain no executable code. 
2635 Such methods are seen in the field as stubs (presumably), and can cause 
2636 drivers to fail if they expect a return value. Lin Ming.
2637
2638 Allow multiple backslashes as root prefixes in namepaths. In a fully 
2639 qualified namepath, allow multiple backslash prefixes. This can happen (and 
2640 is seen in the field) because of the use of a double-backslash in strings 
2641 (since backslash is the escape character) causing confusion. ACPICA BZ 739 
2642 Lin Ming.
2643
2644 Emit a warning if two different FACS or DSDT tables are discovered in the 
2645 FADT. Checks if there are two valid but different addresses for the FACS and 
2646 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2647
2648 Consolidated the method argument count validation code. Merged the code that 
2649 validates control method argument counts into the predefined validation 
2650 module. Eliminates possible multiple warnings for incorrect argument counts.
2651
2652 Implemented ACPICA example code. Includes code for ACPICA initialization, 
2653 handler installation, and calling a control method. Available at 
2654 source/tools/examples.
2655
2656 Added a global pointer for FACS table to simplify internal FACS access. Use 
2657 the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2658 This simplifies the code for the Global Lock and the Firmware Waking 
2659 Vector(s).
2660
2661 Example Code and Data Size: These are the sizes for the OS-independent 
2662 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2663 debug version of the code includes the debug output trace mechanism and has a 
2664 much larger code and data size.
2665
2666   Previous Release:
2667     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2668     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2669   Current Release:
2670     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2671     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2672
2673 2) iASL Compiler/Disassembler and Tools:
2674
2675 iASL: Improved disassembly of external method calls. Added the -e option to 
2676 allow the inclusion of additional ACPI tables to help with the disassembly of 
2677 method invocations and the generation of external declarations during the 
2678 disassembly. Certain external method invocations cannot be disassembled 
2679 properly without the actual declaration of the method. Use the -e option to 
2680 include the table where the external method(s) are actually declared. Most 
2681 useful for disassembling SSDTs that make method calls back to the master 
2682 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2683 -e dsdt.aml ssdt1.aml
2684
2685 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2686 problem where the use of an alias within a namepath would result in a not 
2687 found error or cause the compiler to fault. Also now allows forward 
2688 references from the Alias operator itself. ACPICA BZ 738.
2689
2690 ----------------------------------------
2691 26 September 2008. Summary of changes for version 20080926:
2692
2693 1) ACPI CA Core Subsystem:
2694
2695 Designed and implemented a mechanism to validate predefined ACPI methods and 
2696 objects. This code validates the predefined ACPI objects (objects whose names 
2697 start with underscore) that appear in the namespace, at the time they are 
2698 evaluated. The argument count and the type of the returned object are 
2699 validated against the ACPI specification. The purpose of this validation is 
2700 to detect problems with the BIOS-implemented predefined ACPI objects before 
2701 the results are returned to the ACPI-related drivers. Future enhancements may 
2702 include actual repair of incorrect return objects where possible. Two new 
2703 files are nspredef.c and acpredef.h.
2704
2705 Fixed a fault in the AML parser if a memory allocation fails during the Op 
2706 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2707
2708 Fixed an issue with implicit return compatibility. This change improves the 
2709 implicit return mechanism to be more compatible with the MS interpreter. Lin 
2710 Ming, ACPICA BZ 349.
2711
2712 Implemented support for zero-length buffer-to-string conversions. Allow zero 
2713 length strings during interpreter buffer-to-string conversions. For example, 
2714 during the ToDecimalString and ToHexString operators, as well as implicit 
2715 conversions. Fiodor Suietov, ACPICA BZ 585.
2716
2717 Fixed two possible memory leaks in the error exit paths of 
2718 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2719 similar in that they use a stack of state objects in order to eliminate 
2720 recursion. The stack must be fully unwound and deallocated if an error 
2721 occurs. Lin Ming. ACPICA BZ 383.
2722
2723 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2724 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2725 Moore ACPICA BZ 442.
2726
2727 Removed the obsolete version number in module headers. Removed the 
2728 "$Revision" number that appeared in each module header. This version number 
2729 was useful under SourceSafe and CVS, but has no meaning under git. It is not 
2730 only incorrect, it could also be misleading.
2731
2732 Example Code and Data Size: These are the sizes for the OS-independent 
2733 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2734 debug version of the code includes the debug output trace mechanism and has a 
2735 much larger code and data size.
2736
2737   Previous Release:
2738     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2739     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2740   Current Release:
2741     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2742     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2743
2744 ----------------------------------------
2745 29 August 2008. Summary of changes for version 20080829:
2746
2747 1) ACPI CA Core Subsystem:
2748
2749 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2750 Reference. Changes include the elimination of cheating on the Object field 
2751 for the DdbHandle subtype, addition of a reference class field to 
2752 differentiate the various reference types (instead of an AML opcode), and the 
2753 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2754
2755 Reduce an error to a warning for an incorrect method argument count. 
2756 Previously aborted with an error if too few arguments were passed to a 
2757 control method via the external ACPICA interface. Now issue a warning instead 
2758 and continue. Handles the case where the method inadvertently declares too 
2759 many arguments, but does not actually use the extra ones. Applies mainly to 
2760 the predefined methods. Lin Ming. Linux BZ 11032.
2761
2762 Disallow the evaluation of named object types with no intrinsic value. Return 
2763 AE_TYPE for objects that have no value and therefore evaluation is undefined: 
2764 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
2765 these types were allowed, but an exception would be generated at some point 
2766 during the evaluation. Now, the error is generated up front.
2767
2768 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
2769 (nsnames.c). Fixes a leak in the error exit path.
2770
2771 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2772 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2773 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2774 ACPI_LV_EVENTS.
2775
2776 Removed obsolete and/or unused exception codes from the acexcep.h header. 
2777 There is the possibility that certain device drivers may be affected if they 
2778 use any of these exceptions.
2779
2780 The ACPICA documentation has been added to the public git source tree, under 
2781 acpica/documents. Included are the ACPICA programmer reference, the iASL 
2782 compiler reference, and the changes.txt release logfile.
2783
2784 Example Code and Data Size: These are the sizes for the OS-independent 
2785 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2786 debug version of the code includes the debug output trace mechanism and has a 
2787 much larger code and data size.
2788
2789   Previous Release:
2790     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2791     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2792   Current Release:
2793     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2794     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2795
2796 2) iASL Compiler/Disassembler and Tools:
2797
2798 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2799 defines _SCP with 3 arguments. Previous versions defined it with only 1 
2800 argument. iASL now allows both definitions.
2801
2802 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2803 length subtables when disassembling ACPI tables. Also fixed a couple of 
2804 errors where a full 16-bit table type field was not extracted from the input 
2805 properly.
2806
2807 acpisrc: Improve comment counting mechanism for generating source code 
2808 statistics. Count first and last lines of multi-line comments as whitespace, 
2809 not comment lines. Handle Linux legal header in addition to standard acpica 
2810 header.
2811
2812 ----------------------------------------
2813
2814 29 July 2008. Summary of changes for version 20080729:
2815
2816 1) ACPI CA Core Subsystem:
2817
2818 Fix a possible deadlock in the GPE dispatch. Remove call to 
2819 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2820 to acquire the GPE lock but can deadlock since the GPE lock is already held 
2821 at dispatch time. This code was introduced in version 20060831 as a response 
2822 to Linux BZ 6881 and has since been removed from Linux.
2823
2824 Add a function to dereference returned reference objects. Examines the return 
2825 object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2826 automatically dereferenced in an attempt to return something useful (these 
2827 reference types cannot be converted into an external ACPI_OBJECT.) Provides 
2828 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2829
2830 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2831 subtables for the MADT and one new subtable for the SRAT. Includes 
2832 disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2833 Specification, June 2008.
2834
2835 Additional error checking for pathname utilities. Add error check after all 
2836 calls to AcpiNsGetPathnameLength. Add status return from 
2837 AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2838 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2839
2840 Return status from the global init function AcpiUtGlobalInitialize. This is 
2841 used by both the kernel subsystem and the utilities such as iASL compiler. 
2842 The function could possibly fail when the caches are initialized. Yang Yi.
2843
2844 Add a function to decode reference object types to strings. Created for 
2845 improved error messages. 
2846
2847 Improve object conversion error messages. Better error messages during object 
2848 conversion from internal to the external ACPI_OBJECT. Used for external calls 
2849 to AcpiEvaluateObject.
2850
2851 Example Code and Data Size: These are the sizes for the OS-independent 
2852 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2853 debug version of the code includes the debug output trace mechanism and has a 
2854 much larger code and data size.
2855
2856   Previous Release:
2857     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2858     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2859   Current Release:
2860     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2861     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2862
2863 2) iASL Compiler/Disassembler and Tools:
2864
2865 Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2866 introduced in version 20080701. If the object being evaluated (via execute 
2867 command) is not a method, the debugger can hang while trying to obtain non-
2868 existent parameters.
2869
2870 iASL: relax error for using reserved "_T_x" identifiers. These names can 
2871 appear in a disassembled ASL file if they were emitted by the original 
2872 compiler. Instead of issuing an error or warning and forcing the user to 
2873 manually change these names, issue a remark instead.
2874
2875 iASL: error if named object created in while loop. Emit an error if any named 
2876 object is created within a While loop. If allowed, this code will generate a 
2877 run-time error on the second iteration of the loop when an attempt is made to 
2878 create the same named object twice. ACPICA bugzilla 730.
2879
2880 iASL: Support absolute pathnames for include files. Add support for absolute 
2881 pathnames within the Include operator. previously, only relative pathnames 
2882 were supported.
2883
2884 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
2885 The ACPI spec requires one interrupt minimum. BZ 423
2886
2887 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2888 Handles the case for the Interrupt Resource Descriptor where
2889 the ResourceSource argument is omitted but ResourceSourceIndex
2890 is present. Now leave room for the Index. BZ 426
2891
2892 iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2893 where an error message is emitted if the target does not exist. BZ 516
2894
2895 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2896 (get ACPI tables on Windows). This was apparently broken in version 20070919.
2897
2898 AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
2899 the EOF happens immediately after the last table in the input file. Print 
2900 completion message. Previously, no message was displayed in this case.
2901
2902 ----------------------------------------
2903 01 July 2008. Summary of changes for version 20080701:
2904
2905 0) Git source tree / acpica.org
2906
2907 Fixed a problem where a git-clone from http would not transfer the entire 
2908 source tree.
2909
2910 1) ACPI CA Core Subsystem:
2911
2912 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2913 enable bit. Now performs a read-change-write of the enable register instead 
2914 of simply writing out the cached enable mask. This will prevent inadvertent 
2915 enabling of GPEs if a rogue GPE is received during initialization (before GPE 
2916 handlers are installed.)
2917
2918 Implemented a copy for dynamically loaded tables. Previously, dynamically 
2919 loaded tables were simply mapped - but on some machines this memory is 
2920 corrupted after suspend. Now copy the table to a local buffer. For the 
2921 OpRegion case, added checksum verify. Use the table length from the table 
2922 header, not the region length. For the Buffer case, use the table length 
2923 also. Dennis Noordsij, Bob Moore. BZ 10734
2924
2925 Fixed a problem where the same ACPI table could not be dynamically loaded and 
2926 unloaded more than once. Without this change, a table cannot be loaded again 
2927 once it has been loaded/unloaded one time. The current mechanism does not 
2928 unregister a table upon an unload. During a load, if the same table is found, 
2929 this no longer returns an exception. BZ 722
2930
2931 Fixed a problem where the wrong descriptor length was calculated for the 
2932 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2933 are calculated as 12 bytes long, but the actual length in the internal 
2934 descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2935 by Linn Crosetto. BZ 728
2936
2937 Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
2938 by Load() did not have its reference count decremented during unload, leading 
2939 to a memory leak. Lin Ming. BZ 727
2940
2941 Fixed a possible memory leak when deleting thermal/processor objects. Any 
2942 associated notify handlers (and objects) were not being deleted. Fiodor 
2943 Suietov. BZ 506
2944
2945 Fixed the ordering of the ASCII names in the global mutex table to match the 
2946 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
2947 Vegard Nossum. BZ 726
2948
2949 Enhanced the AcpiGetObjectInfo interface to return the number of required 
2950 arguments if the object is a control method. Added this call to the debugger 
2951 so the proper number of default arguments are passed to a method. This 
2952 prevents a warning when executing methods from AcpiExec.
2953
2954 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
2955 AE_BAD_PARAMETER if input handle is invalid. BZ 474
2956
2957 Fixed an extraneous warning from exconfig.c on the 64-bit build.
2958
2959 Example Code and Data Size: These are the sizes for the OS-independent 
2960 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2961 debug version of the code includes the debug output trace mechanism and has a 
2962 much larger code and data size.
2963
2964   Previous Release:
2965     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2966     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2967   Current Release:
2968     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2969     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2970
2971 2) iASL Compiler/Disassembler and Tools:
2972
2973 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2974 resource descriptor names.
2975
2976 iASL: Detect invalid ASCII characters in input (windows version). Removed the 
2977 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
2978 characters in the input. BZ 441
2979
2980 iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2981 "result of operation not used" warning when the DDB handle returned from 
2982 LoadTable is not used. The warning is not needed. BZ 590
2983
2984 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
2985 pass address of table to the AML. Added option to disable OpRegion simulation 
2986 to allow creation of an OpRegion with a real address that was passed to _CFG. 
2987 All of this allows testing of the Load and Unload operators from AcpiExec.
2988
2989 Debugger: update tables command for unloaded tables. Handle unloaded tables 
2990 and use the standard table header output routine.
2991
2992 ----------------------------------------
2993 09 June 2008. Summary of changes for version 20080609:
2994
2995 1) ACPI CA Core Subsystem:
2996
2997 Implemented a workaround for reversed _PRT entries. A significant number of 
2998 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2999 change dynamically detects and repairs this problem. Provides compatibility 
3000 with MS ACPI. BZ 6859
3001
3002 Simplified the internal ACPI hardware interfaces to eliminate the locking 
3003 flag parameter from Register Read/Write. Added a new external interface, 
3004 AcpiGetRegisterUnlocked.
3005
3006 Fixed a problem where the invocation of a GPE control method could hang. This 
3007 was a regression introduced in 20080514. The new method argument count 
3008 validation mechanism can enter an infinite loop when a GPE method is 
3009 dispatched. Problem fixed by removing the obsolete code that passed GPE block 
3010 information to the notify handler via the control method parameter pointer.
3011
3012 Fixed a problem where the _SST execution status was incorrectly returned to 
3013 the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
3014 20080514. _SST is optional and a NOT_FOUND exception should never be 
3015 returned. BZ 716
3016
3017 Fixed a problem where a deleted object could be accessed from within the AML 
3018 parser. This was a regression introduced in version 20080123 as a fix for the 
3019 Unload operator. Lin Ming. BZ 10669
3020
3021 Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
3022 and eliminated the use of a negative index in a loop. Operands are now 
3023 displayed in the correct order, not backwards. This also fixes a regression 
3024 introduced in 20080514 on 64-bit systems where the elimination of 
3025 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
3026
3027 Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
3028 path did not delete a locally allocated structure.
3029
3030 Updated definitions for the DMAR and SRAT tables to synchronize with the 
3031 current specifications. Includes disassembler support.
3032
3033 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
3034 loop termination value was used. Loop terminated on iteration early, missing 
3035 one mutex. Linn Crosetto
3036
3037 Example Code and Data Size: These are the sizes for the OS-independent 
3038 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3039 debug version of the code includes the debug output trace mechanism and has a 
3040 much larger code and data size.
3041
3042   Previous Release:
3043     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3044     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3045   Current Release:
3046     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
3047     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
3048
3049 2) iASL Compiler/Disassembler and Tools:
3050
3051 Disassembler: Implemented support for EisaId() within _CID objects. Now 
3052 disassemble integer _CID objects back to EisaId invocations, including 
3053 multiple integers within _CID packages. Includes single-step support for 
3054 debugger also.
3055
3056 Disassembler: Added support for DMAR and SRAT table definition changes.
3057
3058 ----------------------------------------
3059 14 May 2008. Summary of changes for version 20080514:
3060
3061 1) ACPI CA Core Subsystem:
3062
3063 Fixed a problem where GPEs were enabled too early during the ACPICA 
3064 initialization. This could lead to "handler not installed" errors on some 
3065 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
3066 ensures that all operation regions and devices throughout the namespace have 
3067 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
3068
3069 Implemented a change to the enter sleep code. Moved execution of the _GTS 
3070 method to just before setting sleep enable bit. The execution was moved from 
3071 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
3072 immediately before the SLP_EN bit is set, as per the ACPI specification. 
3073 Luming Yu, BZ 1653.
3074
3075 Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
3076 the GPE, even if ACPICA thinks that that it is already disabled. It is 
3077 possible that the AML or some other code has enabled the GPE unbeknownst to 
3078 the ACPICA code.
3079
3080 Fixed a problem with the Field operator where zero-length fields would return 
3081 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
3082 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
3083
3084 Implemented a fix for the Load operator, now load the table at the namespace 
3085 root. This reverts a change introduced in version 20071019. The table is now 
3086 loaded at the namespace root even though this goes against the ACPI 
3087 specification. This provides compatibility with other ACPI implementations. 
3088 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
3089
3090 Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
3091 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
3092 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
3093 Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
3094 signatures, ACPICA must be compatible. BZ 10454.
3095
3096 Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
3097 fields to the exception string arrays to eliminate a -1 subtraction on the 
3098 SubStatus field.
3099
3100 Updated the debug tracking macros to reduce overall code and data size. 
3101 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
3102 instead of pointers to static strings. Jan Beulich and Bob Moore.
3103
3104 Implemented argument count checking in control method invocation via 
3105 AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
3106 many. This applies only to extern programmatic control method execution, not 
3107 method-to-method calls within the AML. Lin Ming.
3108
3109 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
3110 longer needed, especially with the removal of 16-bit support. It was replaced 
3111 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
3112 32/64-bit platforms is required.
3113
3114 Added the C const qualifier for appropriate string constants -- mostly 
3115 MODULE_NAME and printf format strings. Jan Beulich.
3116
3117 Example Code and Data Size: These are the sizes for the OS-independent 
3118 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3119 debug version of the code includes the debug output trace mechanism and has a 
3120 much larger code and data size.
3121
3122   Previous Release:
3123     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3124     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3125   Current Release:
3126     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3127     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3128
3129 2) iASL Compiler/Disassembler and Tools:
3130
3131 Implemented ACPI table revision ID validation in the disassembler. Zero is 
3132 always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
3133 means 32-bit and this is unusual. 2 or greater is 64-bit.
3134
3135 ----------------------------------------
3136 21 March 2008. Summary of changes for version 20080321:
3137
3138 1) ACPI CA Core Subsystem:
3139
3140 Implemented an additional change to the GPE support in order to suppress 
3141 spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
3142 disable incoming GPEs that are neither enabled nor disabled -- meaning that 
3143 the GPE is unknown to the system. This should prevent future interrupt floods 
3144 from that GPE. BZ 6217 (Zhang Rui)
3145
3146 Fixed a problem where NULL package elements were not returned to the 
3147 AcpiEvaluateObject interface correctly. The element was simply ignored 
3148 instead of returning a NULL ACPI_OBJECT package element, potentially causing 
3149 a buffer overflow and/or confusing the caller who expected a fixed number of 
3150 elements. BZ 10132 (Lin Ming, Bob Moore)
3151
3152 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
3153 Qword), Field, BankField, and IndexField operators when invoked from inside 
3154 an executing control method. In this case, these operators created namespace 
3155 nodes that were incorrectly left marked as permanent nodes instead of 
3156 temporary nodes. This could cause a problem if there is race condition 
3157 between an exiting control method and a running namespace walk. (Reported by 
3158 Linn Crosetto)
3159
3160 Fixed a problem where the CreateField and CreateXXXField operators would 
3161 incorrectly allow duplicate names (the name of the field) with no exception 
3162 generated.
3163
3164 Implemented several changes for Notify handling. Added support for new Notify 
3165 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
3166 PowerResource objects is no longer allowed, as per the ACPI specification. 
3167 (Bob Moore, Zhang Rui)
3168
3169 All Reference Objects returned via the AcpiEvaluateObject interface are now 
3170 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
3171 NULL objects - either NULL package elements or unresolved named references.
3172
3173 Fixed a problem where an extraneous debug message was produced for package 
3174 objects (when debugging enabled). The message "Package List length larger 
3175 than NumElements count" is now produced in the correct case, and is now an 
3176 error message rather than a debug message. Added a debug message for the 
3177 opposite case, where NumElements is larger than the Package List (the package 
3178 will be padded out with NULL elements as per the ACPI spec.)
3179
3180 Implemented several improvements for the output of the ASL "Debug" object to 
3181 clarify and keep all data for a given object on one output line.
3182
3183 Fixed two size calculation issues with the variable-length Start Dependent 
3184 resource descriptor.
3185
3186 Example Code and Data Size: These are the sizes for the OS-independent 
3187 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3188 debug version of the code includes the debug output trace mechanism and has 
3189 a much larger code and data size.
3190
3191   Previous Release:
3192     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3193     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3194   Current Release:
3195     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3196     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3197
3198 2) iASL Compiler/Disassembler and Tools:
3199
3200 Fixed a problem with the use of the Switch operator where execution of the 
3201 containing method by multiple concurrent threads could cause an 
3202 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
3203 actual Switch opcode, it must be simulated with local named temporary 
3204 variables and if/else pairs. The solution chosen was to mark any method that 
3205 uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
3206
3207 ----------------------------------------
3208 13 February 2008. Summary of changes for version 20080213:
3209
3210 1) ACPI CA Core Subsystem:
3211
3212 Implemented another MS compatibility design change for GPE/Notify handling. 
3213 GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
3214 complete first. It is expected that the OSL will queue the enable request 
3215 behind all pending notify requests (may require changes to the local host OSL 
3216 in AcpiOsExecute). Alexey Starikovskiy.
3217
3218 Fixed a problem where buffer and package objects passed as arguments to a 
3219 control method via the external AcpiEvaluateObject interface could cause an 
3220 AE_AML_INTERNAL exception depending on the order and type of operators 
3221 executed by the target control method.
3222
3223 Fixed a problem where resource descriptor size optimization could cause a 
3224 problem when a _CRS resource template is passed to a _SRS method. The _SRS 
3225 resource template must use the same descriptors (with the same size) as 
3226 returned from _CRS. This change affects the following resource descriptors: 
3227 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
3228
3229 Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
3230 objects did not perform an implicit conversion as it should. These types must 
3231 retain their initial type permanently as per the ACPI specification. However, 
3232 a CopyObject to all other object types should not perform an implicit 
3233 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
3234
3235 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
3236 match device CIDs did not examine the entire list of available CIDs, but 
3237 instead aborted on the first non-matching CID. Andrew Patterson.
3238
3239 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
3240 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
3241 truncating the upper dword of a 64-bit value. This macro is only used to 
3242 display debug output, so no incorrect calculations were made. Also, 
3243 reimplemented the macro so that a 64-bit shift is not performed by 
3244 inefficient compilers.
3245
3246 Added missing va_end statements that should correspond with each va_start 
3247 statement.
3248
3249 Example Code and Data Size: These are the sizes for the OS-independent 
3250 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3251 debug version of the code includes the debug output trace mechanism and has 
3252 a much larger code and data size.
3253
3254   Previous Release:
3255     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3256     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3257   Current Release:
3258     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3259     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3260
3261 2) iASL Compiler/Disassembler and Tools:
3262
3263 Implemented full disassembler support for the following new ACPI tables: 
3264 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
3265 complicated HEST table. These tables support the Windows Hardware Error 
3266 Architecture (WHEA).
3267
3268 ----------------------------------------
3269 23 January 2008. Summary of changes for version 20080123:
3270
3271 1) ACPI CA Core Subsystem:
3272
3273 Added the 2008 copyright to all module headers and signons. This affects 
3274 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3275 the tools/utilities.
3276
3277 Fixed a problem with the SizeOf operator when used with Package and Buffer 
3278 objects. These objects have deferred execution for some arguments, and the 
3279 execution is now completed before the SizeOf is executed. This problem caused 
3280 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
3281 9558
3282
3283 Implemented an enhancement to the interpreter "slack mode". In the absence of 
3284 an explicit return or an implicitly returned object from the last executed 
3285 opcode, a control method will now implicitly return an integer of value 0 for 
3286 Microsoft compatibility. (Lin Ming) BZ 392
3287
3288 Fixed a problem with the Load operator where an exception was not returned in 
3289 the case where the table is already loaded. (Lin Ming) BZ 463
3290
3291 Implemented support for the use of DDBHandles as an Indexed Reference, as per 
3292 the ACPI spec. (Lin Ming) BZ 486
3293
3294 Implemented support for UserTerm (Method invocation) for the Unload operator 
3295 as per the ACPI spec. (Lin Ming) BZ 580
3296
3297 Fixed a problem with the LoadTable operator where the OemId and OemTableId 
3298 input strings could cause unexpected failures if they were shorter than the 
3299 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
3300
3301 Implemented support for UserTerm (Method invocation) for the Unload operator 
3302 as per the ACPI spec. (Lin Ming) BZ 580
3303
3304 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
3305 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
3306
3307 Example Code and Data Size: These are the sizes for the OS-independent 
3308 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3309 debug version of the code includes the debug output trace mechanism and has 
3310 a much larger code and data size.
3311
3312   Previous Release:
3313     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3314     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3315   Current Release:
3316     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3317     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3318
3319 2) iASL Compiler/Disassembler and Tools:
3320
3321 Implemented support in the disassembler for checksum validation on incoming 
3322 binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
3323 header dump at the start of the disassembly.
3324
3325 Implemented additional debugging information in the namespace listing file 
3326 created during compilation. In addition to the namespace hierarchy, the full 
3327 pathname to each namespace object is displayed.
3328
3329 Fixed a problem with the disassembler where invalid ACPI tables could cause 
3330 faults or infinite loops.
3331
3332 Fixed an unexpected parse error when using the optional "parameter types" 
3333 list in a control method declaration. (Lin Ming) BZ 397
3334
3335 Fixed a problem where two External declarations with the same name did not 
3336 cause an error (Lin Ming) BZ 509
3337
3338 Implemented support for full TermArgs (adding Argx, Localx and method 
3339 invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
3340 Ming) BZ 583,587
3341
3342 ----------------------------------------
3343 19 December 2007. Summary of changes for version 20071219:
3344
3345 1) ACPI CA Core Subsystem:
3346
3347 Implemented full support for deferred execution for the TermArg string 
3348 arguments for DataTableRegion. This enables forward references and full 
3349 operand resolution for the three string arguments. Similar to OperationRegion 
3350 deferred argument execution.) Lin Ming. BZ 430
3351
3352 Implemented full argument resolution support for the BankValue argument to 
3353 BankField. Previously, only constants were supported, now any TermArg may be 
3354 used. Lin Ming BZ 387, 393
3355
3356 Fixed a problem with AcpiGetDevices where the search of a branch of the 
3357 device tree could be terminated prematurely. In accordance with the ACPI 
3358 specification, the search down the current branch is terminated if a device 
3359 is both not present and not functional (instead of just not present.) Yakui 
3360 Zhao.
3361
3362 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
3363 the underlying AML code changed the GPE enable registers. Now, any unknown 
3364 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
3365 instead of simply ignored. Rui Zhang.
3366
3367 Fixed a problem with Index Fields where the Index register was incorrectly 
3368 limited to a maximum of 32 bits. Now any size may be used.
3369
3370 Fixed a couple memory leaks associated with "implicit return" objects when 
3371 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
3372
3373 Example Code and Data Size: These are the sizes for the OS-independent 
3374 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3375 debug version of the code includes the debug output trace mechanism and has 
3376 a much larger code and data size.
3377
3378   Previous Release:
3379     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3380     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3381   Current Release:
3382     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3383     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3384
3385 ----------------------------------------
3386 14 November 2007. Summary of changes for version 20071114:
3387
3388 1) ACPI CA Core Subsystem:
3389
3390 Implemented event counters for each of the Fixed Events, the ACPI SCI 
3391 (interrupt) itself, and control methods executed. Named 
3392 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
3393 should be useful for debugging and statistics.
3394
3395 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
3396 contents of the various event counters. Returns the current values for 
3397 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
3398 AcpiMethodCount. The interface can be expanded in the future if new counters 
3399 are added. Device drivers should use this interface rather than access the 
3400 counters directly.
3401
3402 Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
3403 the ShortDivide function worked incorrectly, causing problems with the BCD 
3404 functions with large input values. A truncation from 64-bit to 32-bit 
3405 inadvertently occurred. Internal BZ 435. Lin Ming
3406
3407 Fixed a problem with Index references passed as method arguments. References 
3408 passed as arguments to control methods were dereferenced immediately (before 
3409 control was passed to the called method). The references are now correctly 
3410 passed directly to the called method. BZ 5389. Lin Ming
3411
3412 Fixed a problem with CopyObject used in conjunction with the Index operator. 
3413 The reference was incorrectly dereferenced before the copy. The reference is 
3414 now correctly copied. BZ 5391. Lin Ming
3415
3416 Fixed a problem with Control Method references within Package objects. These 
3417 references are now correctly generated. This completes the package 
3418 construction overhaul that began in version 20071019.
3419
3420 Example Code and Data Size: These are the sizes for the OS-independent 
3421 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3422 debug version of the code includes the debug output trace mechanism and has 
3423 a much larger code and data size.
3424
3425   Previous Release:
3426     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3427     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3428   Current Release:
3429     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3430     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3431
3432
3433 2) iASL Compiler/Disassembler and Tools:
3434
3435 The AcpiExec utility now installs handlers for all of the predefined 
3436 Operation Region types. New types supported are: PCI_Config, CMOS, and 
3437 PCIBARTarget.
3438
3439 Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3440 bit) address fields for the DSDT and FACS within the FADT were not being 
3441 used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3442 and Bob Moore
3443
3444 ----------------------------------------
3445 19 October 2007. Summary of changes for version 20071019:
3446
3447 1) ACPI CA Core Subsystem:
3448
3449 Fixed a problem with the Alias operator when the target of the alias is a 
3450 named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3451 Processor, and ThermalZone. In these cases, any children of the original 
3452 operator could not be accessed via the alias, potentially causing unexpected 
3453 AE_NOT_FOUND exceptions. (BZ 9067)
3454
3455 Fixed a problem with the Package operator where all named references were 
3456 created as object references and left otherwise unresolved. According to the 
3457 ACPI specification, a Package can only contain Data Objects or references to 
3458 control methods. The implication is that named references to Data Objects 
3459 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3460 immediately upon package creation. This is the approach taken with this 
3461 change. References to all other named objects (Methods, Devices, Scopes, 
3462 etc.) are all now properly created as reference objects. (BZ 5328)
3463
3464 Reverted a change to Notify handling that was introduced in version 
3465 20070508. This version changed the Notify handling from asynchronous to 
3466 fully synchronous (Device driver Notify handling with respect to the Notify 
3467 ASL operator). It was found that this change caused more problems than it 
3468 solved and was removed by most users.
3469
3470 Fixed a problem with the Increment and Decrement operators where the type of 
3471 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
3472 Lin Ming.
3473
3474 Fixed a problem with the Load and LoadTable operators where the table 
3475 location within the namespace was ignored. Instead, the table was always 
3476 loaded into the root or current scope. Lin Ming.
3477
3478 Fixed a problem with the Load operator when loading a table from a buffer 
3479 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3480
3481 Fixed a problem with the Debug object where a store of a DdbHandle reference 
3482 object to the Debug object could cause a fault.
3483
3484 Added a table checksum verification for the Load operator, in the case where 
3485 the load is from a buffer. (BZ 578).
3486
3487 Implemented additional parameter validation for the LoadTable operator. The 
3488 length of the input strings SignatureString, OemIdString, and OemTableId are 
3489 now checked for maximum lengths. (BZ 582) Lin Ming.
3490
3491 Example Code and Data Size: These are the sizes for the OS-independent 
3492 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3493 debug version of the code includes the debug output trace mechanism and has 
3494 a much larger code and data size.
3495
3496   Previous Release:
3497     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3498     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3499   Current Release:
3500     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3501     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3502
3503
3504 2) iASL Compiler/Disassembler:
3505
3506 Fixed a problem where if a single file was specified and the file did not 
3507 exist, no error message was emitted. (Introduced with wildcard support in 
3508 version 20070917.)
3509
3510 ----------------------------------------
3511 19 September 2007. Summary of changes for version 20070919:
3512
3513 1) ACPI CA Core Subsystem:
3514
3515 Designed and implemented new external interfaces to install and remove 
3516 handlers for ACPI table-related events. Current events that are defined are 
3517 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3518 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3519 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3520
3521 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3522 (acpi_serialized option on Linux) could cause some systems to hang during 
3523 initialization. (Bob Moore) BZ 8171
3524
3525 Fixed a problem where objects of certain types (Device, ThermalZone, 
3526 Processor, PowerResource) can be not found if they are declared and 
3527 referenced from within the same control method (Lin Ming) BZ 341
3528
3529 Example Code and Data Size: These are the sizes for the OS-independent 
3530 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3531 debug version of the code includes the debug output trace mechanism and has 
3532 a much larger code and data size.
3533
3534   Previous Release:
3535     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3536     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3537   Current Release:
3538     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3539     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3540
3541
3542 2) iASL Compiler/Disassembler:
3543
3544 Implemented support to allow multiple files to be compiled/disassembled in a 
3545 single invocation. This includes command line wildcard support for both the 
3546 Windows and Unix versions of the compiler. This feature simplifies the 
3547 disassembly and compilation of multiple ACPI tables in a single directory.
3548
3549 ----------------------------------------
3550 08 May 2007. Summary of changes for version 20070508:
3551
3552 1) ACPI CA Core Subsystem:
3553
3554 Implemented a Microsoft compatibility design change for the handling of the 
3555 Notify AML operator. Previously, notify handlers were dispatched and 
3556 executed completely asynchronously in a deferred thread. The new design 
3557 still executes the notify handlers in a different thread, but the original 
3558 thread that executed the Notify() now waits at a synchronization point for 
3559 the notify handler to complete. Some machines depend on a synchronous Notify 
3560 operator in order to operate correctly.
3561
3562 Implemented support to allow Package objects to be passed as method 
3563 arguments to the external AcpiEvaluateObject interface. Previously, this 
3564 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3565 implemented since there were no reserved control methods that required it 
3566 until recently.
3567
3568 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3569 contained invalid non-zero values in reserved fields could cause later 
3570 failures because these fields have meaning in later revisions of the FADT. 
3571 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3572 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3573
3574 Fixed a problem where the Global Lock handle was not properly updated if a 
3575 thread that acquired the Global Lock via executing AML code then attempted 
3576 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3577 Liu.
3578
3579 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3580 could be corrupted if the interrupt being removed was at the head of the 
3581 list. Reported by Linn Crosetto.
3582
3583 Example Code and Data Size: These are the sizes for the OS-independent 
3584 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3585 debug version of the code includes the debug output trace mechanism and has 
3586 a much larger code and data size.
3587
3588   Previous Release:
3589     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3590     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3591   Current Release:
3592     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3593     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3594
3595 ----------------------------------------
3596 20 March 2007. Summary of changes for version 20070320:
3597
3598 1) ACPI CA Core Subsystem:
3599
3600 Implemented a change to the order of interpretation and evaluation of AML 
3601 operand objects within the AML interpreter. The interpreter now evaluates 
3602 operands in the order that they appear in the AML stream (and the 
3603 corresponding ASL code), instead of in the reverse order (after the entire 
3604 operand list has been parsed). The previous behavior caused several subtle 
3605 incompatibilities with the Microsoft AML interpreter as well as being 
3606 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3607
3608 Implemented a change to the ACPI Global Lock support. All interfaces to the 
3609 global lock now allow the same thread to acquire the lock multiple times. 
3610 This affects the AcpiAcquireGlobalLock external interface to the global lock 
3611 as well as the internal use of the global lock to support AML fields -- a 
3612 control method that is holding the global lock can now simultaneously access 
3613 AML fields that require global lock protection. Previously, in both cases, 
3614 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3615 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3616 Controller. There is no change to the behavior of the AML Acquire operator, 
3617 as this can already be used to acquire a mutex multiple times by the same 
3618 thread. BZ 8066. With assistance from Alexey Starikovskiy.
3619
3620 Fixed a problem where invalid objects could be referenced in the AML 
3621 Interpreter after error conditions. During operand evaluation, ensure that 
3622 the internal "Return Object" field is cleared on error and only valid 
3623 pointers are stored there. Caused occasional access to deleted objects that 
3624 resulted in "large reference count" warning messages. Valery Podrezov.
3625
3626 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3627 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3628 Podrezov.
3629
3630 Fixed an internal problem with the handling of result objects on the 
3631 interpreter result stack. BZ 7872. Valery Podrezov.
3632
3633 Removed obsolete code that handled the case where AML_NAME_OP is the target 
3634 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
3635 7874. Valery Podrezov.
3636
3637 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3638 remnant from the previously discontinued 16-bit support.
3639
3640 Example Code and Data Size: These are the sizes for the OS-independent 
3641 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3642 debug version of the code includes the debug output trace mechanism and has 
3643 a much larger code and data size.
3644
3645   Previous Release:
3646     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3647     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3648   Current Release:
3649     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3650     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3651
3652 ----------------------------------------
3653 26 January 2007. Summary of changes for version 20070126:
3654
3655 1) ACPI CA Core Subsystem:
3656
3657 Added the 2007 copyright to all module headers and signons. This affects 
3658 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3659 the utilities.
3660
3661 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3662 during a table load. A bad pointer was passed in the case where the DSDT is 
3663 overridden, causing a fault in this case.
3664
3665 Example Code and Data Size: These are the sizes for the OS-independent 
3666 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3667 debug version of the code includes the debug output trace mechanism and has 
3668 a much larger code and data size.
3669
3670   Previous Release:
3671     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3672     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3673   Current Release:
3674     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3675     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3676
3677 ----------------------------------------
3678 15 December 2006. Summary of changes for version 20061215:
3679
3680 1) ACPI CA Core Subsystem:
3681
3682 Support for 16-bit ACPICA has been completely removed since it is no longer 
3683 necessary and it clutters the code. All 16-bit macros, types, and 
3684 conditional compiles have been removed, cleaning up and simplifying the code 
3685 across the entire subsystem. DOS support is no longer needed since the 
3686 bootable Linux firmware kit is now available.
3687
3688 The handler for the Global Lock is now removed during AcpiTerminate to 
3689 enable a clean subsystem restart, via the implementation of the 
3690 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3691 HP)
3692
3693 Implemented enhancements to the multithreading support within the debugger 
3694 to enable improved multithreading debugging and evaluation of the subsystem. 
3695 (Valery Podrezov)
3696
3697 Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3698 memory used during the execution, as well as the maximum memory consumed by 
3699 each of the various object types. (Valery Podrezov)
3700
3701 Example Code and Data Size: These are the sizes for the OS-independent 
3702 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3703 debug version of the code includes the debug output trace mechanism and has 
3704 a much larger code and data size.
3705
3706   Previous Release:
3707     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3708     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3709   Current Release:
3710     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3711     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3712
3713
3714 2) iASL Compiler/Disassembler and Tools:
3715
3716 AcpiExec: Implemented a new option (-m) to display full memory use 
3717 statistics upon subsystem/program termination. (Valery Podrezov)
3718
3719 ----------------------------------------
3720 09 November 2006. Summary of changes for version 20061109:
3721
3722 1) ACPI CA Core Subsystem:
3723
3724 Optimized the Load ASL operator in the case where the source operand is an 
3725 operation region. Simply map the operation region memory, instead of 
3726 performing a bytewise read. (Region must be of type SystemMemory, see 
3727 below.)
3728
3729 Fixed the Load ASL operator for the case where the source operand is a 
3730 region field. A buffer object is also allowed as the source operand. BZ 480
3731
3732 Fixed a problem where the Load ASL operator allowed the source operand to be 
3733 an operation region of any type. It is now restricted to regions of type 
3734 SystemMemory, as per the ACPI specification. BZ 481
3735
3736 Additional cleanup and optimizations for the new Table Manager code.
3737
3738 AcpiEnable will now fail if all of the required ACPI tables are not loaded 
3739 (FADT, FACS, DSDT). BZ 477
3740
3741 Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3742 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3743 manually optimized to be aligned and will not work if it is byte-packed. 
3744
3745 Example Code and Data Size: These are the sizes for the OS-independent 
3746 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3747 debug version of the code includes the debug output trace mechanism and has 
3748 a much larger code and data size.
3749
3750   Previous Release:
3751     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3752     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3753   Current Release:
3754     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3755     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3756
3757
3758 2) iASL Compiler/Disassembler and Tools:
3759
3760 Fixed a problem where the presence of the _OSI predefined control method 
3761 within complex expressions could cause an internal compiler error.
3762
3763 AcpiExec: Implemented full region support for multiple address spaces. 
3764 SpaceId is now part of the REGION object. BZ 429
3765
3766 ----------------------------------------
3767 11 October 2006. Summary of changes for version 20061011:
3768
3769 1) ACPI CA Core Subsystem:
3770
3771 Completed an AML interpreter performance enhancement for control method 
3772 execution. Previously a 2-pass parse/execution, control methods are now 
3773 completely parsed and executed in a single pass. This improves overall 
3774 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
3775 use. (Valery Podrezov + interpreter changes in version 20051202 that 
3776 eliminated namespace loading during the pass one parse.)
3777
3778 Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
3779 match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3780 obtained and also checked for an ID match.
3781
3782 Implemented additional support for the PCI _ADR execution: upsearch until a 
3783 device scope is found before executing _ADR. This allows PCI_Config 
3784 operation regions to be declared locally within control methods underneath 
3785 PCI device objects.
3786
3787 Fixed a problem with a possible race condition between threads executing 
3788 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
3789 modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3790 entries created during any concurrent control method execution. An 
3791 additional namespace race condition is known to exist between 
3792 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3793 investigation.
3794
3795 Restructured the AML ParseLoop function, breaking it into several 
3796 subfunctions in order to reduce CPU stack use and improve maintainability. 
3797 (Mikhail Kouzmich)
3798
3799 AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3800 of prefix handle and pathname. BZ 478
3801
3802 Example Code and Data Size: These are the sizes for the OS-independent 
3803 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3804 debug version of the code includes the debug output trace mechanism and has 
3805 a much larger code and data size.
3806
3807   Previous Release:
3808     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3809     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3810   Current Release:
3811     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3812     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3813
3814 2) iASL Compiler/Disassembler and Tools:
3815
3816 Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3817 to restore original behavior.
3818
3819 ----------------------------------------
3820 27 September 2006. Summary of changes for version 20060927:
3821
3822 1) ACPI CA Core Subsystem:
3823
3824 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3825 These functions now use a spinlock for mutual exclusion and the interrupt 
3826 level indication flag is not needed.
3827
3828 Fixed a problem with the Global Lock where the lock could appear to be 
3829 obtained before it is actually obtained. The global lock semaphore was 
3830 inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3831 Suietov.
3832
3833 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3834 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3835
3836 Example Code and Data Size: These are the sizes for the OS-independent 
3837 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3838 debug version of the code includes the debug output trace mechanism and has 
3839 a much larger code and data size.
3840
3841   Previous Release:
3842     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3843     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3844   Current Release:
3845     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3846     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3847
3848
3849 2) iASL Compiler/Disassembler and Tools:
3850
3851 Fixed a compilation problem with the pre-defined Resource Descriptor field 
3852 names where an "object does not exist" error could be incorrectly generated 
3853 if the parent ResourceTemplate pathname places the template within a 
3854 different namespace scope than the current scope. (BZ 7212)
3855
3856 Fixed a problem where the compiler could hang after syntax errors detected 
3857 in an ElseIf construct. (BZ 453)
3858
3859 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3860 operator. An incorrect output filename was produced when this parameter was 
3861 a null string (""). Now, the original input filename is used as the AML 
3862 output filename, with an ".aml" extension.
3863
3864 Implemented a generic batch command mode for the AcpiExec utility (execute 
3865 any AML debugger command) (Valery Podrezov).
3866
3867 ----------------------------------------
3868 12 September 2006. Summary of changes for version 20060912:
3869
3870 1) ACPI CA Core Subsystem:
3871
3872 Enhanced the implementation of the "serialized mode" of the interpreter 
3873 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3874 specified, instead of creating a serialization semaphore per control method, 
3875 the interpreter lock is simply no longer released before a blocking 
3876 operation during control method execution. This effectively makes the AML 
3877 Interpreter single-threaded. The overhead of a semaphore per-method is 
3878 eliminated.
3879
3880 Fixed a regression where an error was no longer emitted if a control method 
3881 attempts to create 2 objects of the same name. This once again returns 
3882 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3883 will dynamically serialize the control method to possible prevent future 
3884 errors. (BZ 440)
3885
3886 Integrated a fix for a problem with PCI Express HID detection in the PCI 
3887 Config Space setup procedure. (BZ 7145)
3888
3889 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3890 AcpiHwInitialize function - the FADT registers are now validated when the 
3891 table is loaded.
3892
3893 Added two new warnings during FADT verification - 1) if the FADT is larger 
3894 than the largest known FADT version, and 2) if there is a mismatch between a 
3895 32-bit block address and the 64-bit X counterpart (when both are non-zero.)
3896
3897 Example Code and Data Size: These are the sizes for the OS-independent 
3898 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3899 debug version of the code includes the debug output trace mechanism and has 
3900 a much larger code and data size.
3901
3902   Previous Release:
3903     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3904     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3905   Current Release:
3906     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3907     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3908
3909
3910 2) iASL Compiler/Disassembler and Tools:
3911
3912 Fixed a problem with the implementation of the Switch() operator where the 
3913 temporary variable was declared too close to the actual Switch, instead of 
3914 at method level. This could cause a problem if the Switch() operator is 
3915 within a while loop, causing an error on the second iteration. (BZ 460)
3916
3917 Disassembler - fix for error emitted for unknown type for target of scope 
3918 operator. Now, ignore it and continue.
3919
3920 Disassembly of an FADT now verifies the input FADT and reports any errors 
3921 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3922
3923 Disassembly of raw data buffers with byte initialization data now prefixes 
3924 each output line with the current buffer offset.
3925
3926 Disassembly of ASF! table now includes all variable-length data fields at 
3927 the end of some of the subtables.
3928
3929 The disassembler now emits a comment if a buffer appears to be a 
3930 ResourceTemplate, but cannot be disassembled as such because the EndTag does 
3931 not appear at the very end of the buffer.
3932
3933 AcpiExec - Added the "-t" command line option to enable the serialized mode 
3934 of the AML interpreter.
3935
3936 ----------------------------------------
3937 31 August 2006. Summary of changes for version 20060831:
3938
3939 1) ACPI CA Core Subsystem:
3940
3941 Miscellaneous fixes for the Table Manager:
3942 - Correctly initialize internal common FADT for all 64-bit "X" fields
3943 - Fixed a couple table mapping issues during table load
3944 - Fixed a couple alignment issues for IA64
3945 - Initialize input array to zero in AcpiInitializeTables
3946 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3947 AcpiGetTableByIndex
3948
3949 Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3950 immediately disabled to prevent the waking GPE from firing again and to 
3951 prevent other wake GPEs from interrupting the wake process.
3952
3953 Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
3954 be used for debugging systems with a large number of ACPI interrupts.
3955
3956 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3957 both the ACPICA headers and the disassembler.
3958
3959 Example Code and Data Size: These are the sizes for the OS-independent 
3960 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3961 debug version of the code includes the debug output trace mechanism and has 
3962 a much larger code and data size.
3963
3964   Previous Release:
3965     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3966     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3967   Current Release:
3968     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3969     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3970
3971
3972 2) iASL Compiler/Disassembler and Tools:
3973
3974 Disassembler support for the DMAR ACPI table.
3975
3976 ----------------------------------------
3977 23 August 2006. Summary of changes for version 20060823:
3978
3979 1) ACPI CA Core Subsystem:
3980
3981 The Table Manager component has been completely redesigned and 
3982 reimplemented. The new design is much simpler, and reduces the overall code 
3983 and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3984 now possible to obtain the ACPI tables very early during kernel 
3985 initialization, even before dynamic memory management is initialized. 
3986 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3987
3988 Obsolete ACPICA interfaces:
3989
3990 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3991 time).
3992 - AcpiLoadTable: Not needed.
3993 - AcpiUnloadTable: Not needed.
3994
3995 New ACPICA interfaces:
3996
3997 - AcpiInitializeTables: Must be called before the table manager can be used.
3998 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3999 allocated memory after it becomes available.
4000 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
4001 in the RSDT/XSDT.
4002
4003 Other ACPICA changes:
4004
4005 - AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
4006 AcpiOsUnmapMemory to free this mapping.
4007 - AcpiGetTable returns the actual mapped table. The mapping is managed 
4008 internally and must not be deleted by the caller. Use of this interface 
4009 causes no additional dynamic memory allocation.
4010 - AcpiFindRootPointer: Support for physical addressing has been eliminated, 
4011 it appeared to be unused.
4012 - The interface to AcpiOsMapMemory has changed to be consistent with the 
4013 other allocation interfaces.
4014 - The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
4015 parameters.
4016 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
4017 bit platforms. Was previously 64 bits on all platforms.
4018 - The interface to the ACPI Global Lock acquire/release macros have changed 
4019 slightly since ACPICA no longer keeps a local copy of the FACS with a 
4020 constructed pointer to the actual global lock.
4021
4022 Porting to the new table manager:
4023
4024 - AcpiInitializeTables: Must be called once, and can be called anytime 
4025 during the OS initialization process. It allows the host to specify an area 
4026 of memory to be used to store the internal version of the RSDT/XSDT (root 
4027 table). This allows the host to access ACPI tables before memory management 
4028 is initialized and running.
4029 - AcpiReallocateRootTable: Can be called after memory management is running 
4030 to copy the root table to a dynamically allocated array, freeing up the 
4031 scratch memory specified in the call to AcpiInitializeTables.
4032 - AcpiSubsystemInitialize: This existing interface is independent of the 
4033 Table Manager, and does not have to be called before the Table Manager can 
4034 be used, it only must be called before the rest of ACPICA can be used.
4035 - ACPI Tables: Some changes have been made to the names and structure of the 
4036 actbl.h and actbl1.h header files and may require changes to existing code. 
4037 For example, bitfields have been completely removed because of their lack of 
4038 portability across C compilers.
4039 - Update interfaces to the Global Lock acquire/release macros if local 
4040 versions are used. (see acwin.h)
4041
4042 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
4043
4044 New files: tbfind.c
4045
4046 Example Code and Data Size: These are the sizes for the OS-independent 
4047 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4048 debug version of the code includes the debug output trace mechanism and has 
4049 a much larger code and data size.
4050
4051   Previous Release:
4052     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4053     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4054   Current Release:
4055     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
4056     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
4057
4058
4059 2) iASL Compiler/Disassembler and Tools:
4060
4061 No changes for this release.
4062
4063 ----------------------------------------
4064 21 July 2006. Summary of changes for version 20060721:
4065
4066 1) ACPI CA Core Subsystem:
4067
4068 The full source code for the ASL test suite used to validate the iASL 
4069 compiler and the ACPICA core subsystem is being released with the ACPICA 
4070 source for the first time. The source is contained in a separate package and 
4071 consists of over 1100 files that exercise all ASL/AML operators. The package 
4072 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
4073 Suietov)
4074
4075 Completed a new design and implementation for support of the ACPI Global 
4076 Lock. On the OS side, the global lock is now treated as a standard AML 
4077 mutex. Previously, multiple OS threads could "acquire" the global lock 
4078 simultaneously. However, this could cause the BIOS to be starved out of the 
4079 lock - especially in cases such as the Embedded Controller driver where 
4080 there is a tight coupling between the OS and the BIOS.
4081
4082 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
4083 The Global Lock interrupt handler no longer queues the execution of a 
4084 separate thread to signal the global lock semaphore. Instead, the semaphore 
4085 is signaled directly from the interrupt handler.
4086
4087 Implemented support within the AML interpreter for package objects that 
4088 contain a larger AML length (package list length) than the package element 
4089 count. In this case, the length of the package is truncated to match the 
4090 package element count. Some BIOS code apparently modifies the package length 
4091 on the fly, and this change supports this behavior. Provides compatibility 
4092 with the MS AML interpreter. (With assistance from Fiodor Suietov)
4093
4094 Implemented a temporary fix for the BankValue parameter of a Bank Field to 
4095 support all constant values, now including the Zero and One opcodes. 
4096 Evaluation of this parameter must eventually be converted to a full TermArg 
4097 evaluation. A not-implemented error is now returned (temporarily) for non-
4098 constant values for this parameter.
4099
4100 Fixed problem reports (Fiodor Suietov) integrated:
4101 - Fix for premature object deletion after CopyObject on Operation Region (BZ 
4102 350)
4103
4104 Example Code and Data Size: These are the sizes for the OS-independent 
4105 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4106 debug version of the code includes the debug output trace mechanism and has 
4107 a much larger code and data size.
4108
4109   Previous Release:
4110     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
4111     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
4112   Current Release:
4113     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4114     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4115
4116
4117 2) iASL Compiler/Disassembler and Tools:
4118
4119 No changes for this release.
4120
4121 ----------------------------------------
4122 07 July 2006. Summary of changes for version 20060707:
4123
4124 1) ACPI CA Core Subsystem:
4125
4126 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
4127 that do not allow the initialization of address pointers within packed 
4128 structures - even though the hardware itself may support misaligned 
4129 transfers. Some of the debug data structures are packed by default to 
4130 minimize size.
4131
4132 Added an error message for the case where AcpiOsGetThreadId() returns zero. 
4133 A non-zero value is required by the core ACPICA code to ensure the proper 
4134 operation of AML mutexes and recursive control methods.
4135
4136 The DSDT is now the only ACPI table that determines whether the AML 
4137 interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
4138 the hooks for per-table 32/64 switching have been removed from the code. A 
4139 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
4140
4141 Fixed a possible leak of an OwnerID in the error path of 
4142 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
4143 deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
4144 when using the AcpiTbDeleteTablesByType interface (with assistance from 
4145 Lance Ortiz.)
4146
4147 Fixed a problem with Serialized control methods where the semaphore 
4148 associated with the method could be over-signaled after multiple method 
4149 invocations.
4150
4151 Fixed two issues with the locking of the internal namespace data structure. 
4152 Both the Unload() operator and AcpiUnloadTable interface now lock the 
4153 namespace during the namespace deletion associated with the table unload 
4154 (with assistance from Linn Crosetto.)
4155
4156 Fixed problem reports (Valery Podrezov) integrated:
4157 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
4158
4159 Fixed problem reports (Fiodor Suietov) integrated:
4160 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
4161 - On Address Space handler deletion, needless deactivation call (BZ 374)
4162 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
4163 - Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
4164 (BZ 376)
4165 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
4166 - Minimum Length of RSDT should be validated (BZ 379)
4167 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
4168 Handler (BZ (380)
4169 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
4170 (BZ 381)
4171
4172 Example Code and Data Size: These are the sizes for the OS-independent 
4173 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4174 debug version of the code includes the debug output trace mechanism and has 
4175 a much larger code and data size.
4176
4177   Previous Release:
4178     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4179     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4180   Current Release:
4181     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4182     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4183
4184
4185 2) iASL Compiler/Disassembler and Tools:
4186
4187 Fixed problem reports:
4188 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
4189 436)
4190
4191 ----------------------------------------
4192 23 June 2006. Summary of changes for version 20060623:
4193
4194 1) ACPI CA Core Subsystem:
4195
4196 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
4197 allows the type to be customized to the host OS for improved efficiency 
4198 (since a spinlock is usually a very small object.)
4199
4200 Implemented support for "ignored" bits in the ACPI registers. According to 
4201 the ACPI specification, these bits should be preserved when writing the 
4202 registers via a read/modify/write cycle. There are 3 bits preserved in this 
4203 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
4204
4205 Implemented the initial deployment of new OSL mutex interfaces. Since some 
4206 host operating systems have separate mutex and semaphore objects, this 
4207 feature was requested. The base code now uses mutexes (and the new mutex 
4208 interfaces) wherever a binary semaphore was used previously. However, for 
4209 the current release, the mutex interfaces are defined as macros to map them 
4210 to the existing semaphore interfaces. Therefore, no OSL changes are required 
4211 at this time. (See acpiosxf.h)
4212
4213 Fixed several problems with the support for the control method SyncLevel 
4214 parameter. The SyncLevel now works according to the ACPI specification and 
4215 in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
4216 is a property of the executing thread. Mutual exclusion for control methods 
4217 is now implemented with a mutex instead of a semaphore.
4218
4219 Fixed three instances of the use of the C shift operator in the bitfield 
4220 support code (exfldio.c) to avoid the use of a shift value larger than the 
4221 target data width. The behavior of C compilers is undefined in this case and 
4222 can cause unpredictable results, and therefore the case must be detected and 
4223 avoided. (Fiodor Suietov)
4224
4225 Added an info message whenever an SSDT or OEM table is loaded dynamically 
4226 via the Load() or LoadTable() ASL operators. This should improve debugging 
4227 capability since it will show exactly what tables have been loaded (beyond 
4228 the tables present in the RSDT/XSDT.)
4229
4230 Example Code and Data Size: These are the sizes for the OS-independent 
4231 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4232 debug version of the code includes the debug output trace mechanism and has 
4233 a much larger code and data size.
4234
4235   Previous Release:
4236     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4237     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4238   Current Release:
4239     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4240     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4241
4242
4243 2) iASL Compiler/Disassembler and Tools:
4244
4245 No changes for this release.
4246
4247 ----------------------------------------
4248 08 June 2006. Summary of changes for version 20060608:
4249
4250 1) ACPI CA Core Subsystem:
4251
4252 Converted the locking mutex used for the ACPI hardware to a spinlock. This 
4253 change should eliminate all problems caused by attempting to acquire a 
4254 semaphore at interrupt level, and it means that all ACPICA external 
4255 interfaces that directly access the ACPI hardware can be safely called from 
4256 interrupt level. OSL code that implements the semaphore interfaces should be 
4257 able to eliminate any workarounds for being called at interrupt level.
4258
4259 Fixed a regression introduced in 20060526 where the ACPI device 
4260 initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
4261 did not have an optional _INI method.
4262
4263 Fixed an IndexField issue where a write to the Data Register should be 
4264 limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
4265 Fiodor Suietov)
4266
4267 Fixed problem reports (Valery Podrezov) integrated:
4268 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
4269
4270 Fixed problem reports (Fiodor Suietov) integrated:
4271 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
4272
4273 Removed four global mutexes that were obsolete and were no longer being 
4274 used.
4275
4276 Example Code and Data Size: These are the sizes for the OS-independent 
4277 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4278 debug version of the code includes the debug output trace mechanism and has 
4279 a much larger code and data size.
4280
4281   Previous Release:
4282     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4283     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4284   Current Release:
4285     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4286     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4287
4288
4289 2) iASL Compiler/Disassembler and Tools:
4290
4291 Fixed a fault when using -g option (get tables from registry) on Windows 
4292 machines.
4293
4294 Fixed problem reports integrated:
4295 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
4296 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
4297 Suietov)
4298 - Global table revision override (-r) is ignored (BZ 413)
4299
4300 ----------------------------------------
4301 26 May 2006. Summary of changes for version 20060526:
4302
4303 1) ACPI CA Core Subsystem:
4304
4305 Restructured, flattened, and simplified the internal interfaces for 
4306 namespace object evaluation - resulting in smaller code, less CPU stack use, 
4307 and fewer interfaces. (With assistance from Mikhail Kouzmich)
4308
4309 Fixed a problem with the CopyObject operator where the first parameter was 
4310 not typed correctly for the parser, interpreter, compiler, and disassembler. 
4311 Caused various errors and unexpected behavior.
4312
4313 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
4314 produced incorrect results with some C compilers. Since the behavior of C 
4315 compilers when the shift value is larger than the datatype width is 
4316 apparently not well defined, the interpreter now detects this condition and 
4317 simply returns zero as expected in all such cases. (BZ 395)
4318
4319 Fixed problem reports (Valery Podrezov) integrated:
4320 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
4321 - Allow interpreter to handle nested method declarations (BZ 5361)
4322
4323 Fixed problem reports (Fiodor Suietov) integrated:
4324 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
4325 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
4326 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
4327 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
4328 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
4329 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
4330 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
4331 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
4332 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
4333 - Status of the Global Initialization Handler call not used (BZ 366)
4334 - Incorrect object parameter to Global Initialization Handler (BZ 367)
4335
4336 Example Code and Data Size: These are the sizes for the OS-independent 
4337 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4338 debug version of the code includes the debug output trace mechanism and has 
4339 a much larger code and data size.
4340
4341   Previous Release:
4342     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4343     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4344   Current Release:
4345     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4346     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4347
4348
4349 2) iASL Compiler/Disassembler and Tools:
4350
4351 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
4352 namespace identifiers with no collision with existing resource descriptor 
4353 macro names. This provides compatibility with other ASL compilers and is 
4354 most useful for disassembly/recompilation of existing tables without parse 
4355 errors. (With assistance from Thomas Renninger)
4356
4357 Disassembler: fixed an incorrect disassembly problem with the 
4358 DataTableRegion and CopyObject operators. Fixed a possible fault during 
4359 disassembly of some Alias operators.
4360
4361 ----------------------------------------
4362 12 May 2006. Summary of changes for version 20060512:
4363
4364 1) ACPI CA Core Subsystem:
4365
4366 Replaced the AcpiOsQueueForExecution interface with a new interface named 
4367 AcpiOsExecute. The major difference is that the new interface does not have 
4368 a Priority parameter, this appeared to be useless and has been replaced by a 
4369 Type parameter. The Type tells the host what type of execution is being 
4370 requested, such as global lock handler, notify handler, GPE handler, etc. 
4371 This allows the host to queue and execute the request as appropriate for the 
4372 request type, possibly using different work queues and different priorities 
4373 for the various request types. This enables fixes for multithreading 
4374 deadlock problems such as BZ #5534, and will require changes to all existing 
4375 OS interface layers. (Alexey Starikovskiy and Bob Moore)
4376
4377 Fixed a possible memory leak associated with the support for the so-called 
4378 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
4379 Suietov)
4380
4381 Fixed a problem with the Load() operator where a table load from an 
4382 operation region could overwrite an internal table buffer by up to 7 bytes 
4383 and cause alignment faults on IPF systems. (With assistance from Luming Yu)
4384
4385 Example Code and Data Size: These are the sizes for the OS-independent 
4386 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4387 debug version of the code includes the debug output trace mechanism and has 
4388 a much larger code and data size.
4389
4390   Previous Release:
4391     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4392     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4393   Current Release:
4394     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4395     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4396
4397
4398
4399 2) iASL Compiler/Disassembler and Tools:
4400
4401 Disassembler: Implemented support to cross reference the internal namespace 
4402 and automatically generate ASL External() statements for symbols not defined 
4403 within the current table being disassembled. This will simplify the 
4404 disassembly and recompilation of interdependent tables such as SSDTs since 
4405 these statements will no longer have to be added manually.
4406
4407 Disassembler: Implemented experimental support to automatically detect 
4408 invocations of external control methods and generate appropriate External() 
4409 statements. This is problematic because the AML cannot be correctly parsed 
4410 until the number of arguments for each control method is known. Currently, 
4411 standalone method invocations and invocations as the source operand of a 
4412 Store() statement are supported.
4413
4414 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
4415 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
4416 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
4417 more readable and likely closer to the original ASL source.
4418
4419 ----------------------------------------
4420 21 April 2006. Summary of changes for version 20060421:
4421
4422 1) ACPI CA Core Subsystem:
4423
4424 Removed a device initialization optimization introduced in 20051216 where 
4425 the _STA method was not run unless an _INI was also present for the same 
4426 device. This optimization could cause problems because it could allow _INI 
4427 methods to be run within a not-present device subtree. (If a not-present 
4428 device had no _INI, _STA would not be run, the not-present status would not 
4429 be discovered, and the children of the device would be incorrectly 
4430 traversed.)
4431
4432 Implemented a new _STA optimization where namespace subtrees that do not 
4433 contain _INI are identified and ignored during device initialization. 
4434 Selectively running _STA can significantly improve boot time on large 
4435 machines (with assistance from Len Brown.)
4436
4437 Implemented support for the device initialization case where the returned 
4438 _STA flags indicate a device not-present but functioning. In this case, _INI 
4439 is not run, but the device children are examined for presence, as per the 
4440 ACPI specification.
4441
4442 Implemented an additional change to the IndexField support in order to 
4443 conform to MS behavior. The value written to the Index Register is not 
4444 simply a byte offset, it is a byte offset in units of the access width of 
4445 the parent Index Field. (Fiodor Suietov)
4446
4447 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4448 interface is called during the creation of all AML operation regions, and 
4449 allows the host OS to exert control over what addresses it will allow the 
4450 AML code to access. Operation Regions whose addresses are disallowed will 
4451 cause a runtime exception when they are actually accessed (will not affect 
4452 or abort table loading.) See oswinxf or osunixxf for an example 
4453 implementation.
4454
4455 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4456 interface allows the host OS to match the various "optional" 
4457 interface/behavior strings for the _OSI predefined control method as 
4458 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4459 for an example implementation.
4460
4461 Restructured and corrected various problems in the exception handling code 
4462 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4463 (with assistance from Takayoshi Kochi.)
4464
4465 Modified the Linux source converter to ignore quoted string literals while 
4466 converting identifiers from mixed to lower case. This will correct problems 
4467 with the disassembler and other areas where such strings must not be 
4468 modified.
4469
4470 The ACPI_FUNCTION_* macros no longer require quotes around the function 
4471 name. This allows the Linux source converter to convert the names, now that 
4472 the converter ignores quoted strings.
4473
4474 Example Code and Data Size: These are the sizes for the OS-independent 
4475 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4476 debug version of the code includes the debug output trace mechanism and has 
4477 a much larger code and data size.
4478
4479   Previous Release:
4480
4481     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4482     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4483   Current Release:
4484     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4485     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4486
4487
4488 2) iASL Compiler/Disassembler and Tools:
4489
4490 Implemented 3 new warnings for iASL, and implemented multiple warning levels 
4491 (w2 flag).
4492
4493 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4494 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4495 check for the possible timeout, a warning is issued.
4496
4497 2) Useless operators: If an ASL operator does not specify an optional target 
4498 operand and it also does not use the function return value from the 
4499 operator, a warning is issued since the operator effectively does nothing.
4500
4501 3) Unreferenced objects: If a namespace object is created, but never 
4502 referenced, a warning is issued. This is a warning level 2 since there are 
4503 cases where this is ok, such as when a secondary table is loaded that uses 
4504 the unreferenced objects. Even so, care is taken to only flag objects that 
4505 don't look like they will ever be used. For example, the reserved methods 
4506 (starting with an underscore) are usually not referenced because it is 
4507 expected that the OS will invoke them.
4508
4509 ----------------------------------------
4510 31 March 2006. Summary of changes for version 20060331:
4511
4512 1) ACPI CA Core Subsystem:
4513
4514 Implemented header file support for the following additional ACPI tables: 
4515 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4516 all current and known ACPI tables are now defined in the ACPICA headers and 
4517 are available for use by device drivers and other software.
4518
4519 Implemented support to allow tables that contain ACPI names with invalid 
4520 characters to be loaded. Previously, this would cause the table load to 
4521 fail, but since there are several known cases of such tables on existing 
4522 machines, this change was made to enable ACPI support for them. Also, this 
4523 matches the behavior of the Microsoft ACPI implementation.
4524
4525 Fixed a couple regressions introduced during the memory optimization in the 
4526 20060317 release. The namespace node definition required additional 
4527 reorganization and an internal datatype that had been changed to 8-bit was 
4528 restored to 32-bit. (Valery Podrezov)
4529
4530 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4531 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
4532 null pointers are now trapped and ignored, matching the behavior of the 
4533 previous implementation before the deployment of AcpiOsReleaseObject.
4534 (Valery Podrezov, Fiodor Suietov)
4535
4536 Fixed a memory mapping leak during the deletion of a SystemMemory operation 
4537 region where a cached memory mapping was not deleted. This became a 
4538 noticeable problem for operation regions that are defined within frequently 
4539 used control methods. (Dana Meyers)
4540
4541 Reorganized the ACPI table header files into two main files: one for the 
4542 ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4543 ACPI tables that are consumed by the drivers and other software. The various 
4544 FADT definitions were merged into one common section and three different 
4545 tables (ACPI 1.0, 1.0+, and 2.0)
4546
4547 Example Code and Data Size: These are the sizes for the OS-independent 
4548 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4549 debug version of the code includes the debug output trace mechanism and has 
4550 a much larger code and data size.
4551
4552   Previous Release:
4553     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4554     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4555   Current Release:
4556     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4557     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4558
4559
4560 2) iASL Compiler/Disassembler and Tools:
4561
4562 Disassembler: Implemented support to decode and format all non-AML ACPI 
4563 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
4564 added to the ACPICA headers, therefore all current and known ACPI tables are 
4565 supported.
4566
4567 Disassembler: The change to allow ACPI names with invalid characters also 
4568 enables the disassembly of such tables. Invalid characters within names are 
4569 changed to '*' to make the name printable; the iASL compiler will still 
4570 generate an error for such names, however, since this is an invalid ACPI 
4571 character.
4572
4573 Implemented an option for AcpiXtract (-a) to extract all tables found in the 
4574 input file. The default invocation extracts only the DSDTs and SSDTs.
4575
4576 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4577 makefile for the AcpiXtract utility.
4578
4579 ----------------------------------------
4580 17 March 2006. Summary of changes for version 20060317:
4581
4582 1) ACPI CA Core Subsystem:
4583
4584 Implemented the use of a cache object for all internal namespace nodes. 
4585 Since there are about 1000 static nodes in a typical system, this will 
4586 decrease memory use for cache implementations that minimize per-allocation 
4587 overhead (such as a slab allocator.)
4588
4589 Removed the reference count mechanism for internal namespace nodes, since it 
4590 was deemed unnecessary. This reduces the size of each namespace node by 
4591 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4592 and 32 bytes for the 64-bit case.
4593
4594 Optimized several internal data structures to reduce object size on 64-bit 
4595 platforms by packing data within the 64-bit alignment. This includes the 
4596 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4597 instances corresponding to the namespace objects.
4598
4599 Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4600 and "Windows 2006".
4601
4602 Split the allocation tracking mechanism out to a separate file, from 
4603 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
4604 application-level code. Kernels may wish to not include uttrack.c in 
4605 distributions.
4606
4607 Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4608 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4609 macros.)
4610
4611 Code and Data Size: These are the sizes for the acpica.lib produced by the 
4612 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4613 driver or OSPM code. The debug version of the code includes the debug output 
4614 trace mechanism and has a much larger code and data size. Note that these 
4615 values will vary depending on the efficiency of the compiler and the 
4616 compiler options used during generation.
4617
4618   Previous Release:
4619     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4620     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4621   Current Release:
4622     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4623     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4624
4625
4626 2) iASL Compiler/Disassembler and Tools:
4627
4628 Implemented an ANSI C version of the acpixtract utility. This version will 
4629 automatically extract the DSDT and all SSDTs from the input acpidump text 
4630 file and dump the binary output to separate files. It can also display a 
4631 summary of the input file including the headers for each table found and 
4632 will extract any single ACPI table, with any signature. (See 
4633 source/tools/acpixtract)
4634
4635 ----------------------------------------
4636 10 March 2006. Summary of changes for version 20060310:
4637
4638 1) ACPI CA Core Subsystem:
4639
4640 Tagged all external interfaces to the subsystem with the new 
4641 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4642 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4643 macro. The default definition is NULL.
4644
4645 Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4646 This allows the host to define this as necessary to simplify kernel 
4647 integration. The default definition is ACPI_NATIVE_UINT.
4648
4649 Fixed two interpreter problems related to error processing, the deletion of 
4650 objects, and placing invalid pointers onto the internal operator result 
4651 stack. BZ 6028, 6151 (Valery Podrezov)
4652
4653 Increased the reference count threshold where a warning is emitted for large 
4654 reference counts in order to eliminate unnecessary warnings on systems with 
4655 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
4656 0x800.
4657
4658 Due to universal disagreement as to the meaning of the 'c' in the calloc() 
4659 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
4660 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4661 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4662 ACPI_FREE.
4663
4664 Code and Data Size: These are the sizes for the acpica.lib produced by the 
4665 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4666 driver or OSPM code. The debug version of the code includes the debug output 
4667 trace mechanism and has a much larger code and data size. Note that these 
4668 values will vary depending on the efficiency of the compiler and the 
4669 compiler options used during generation.
4670
4671   Previous Release:
4672     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4673     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4674   Current Release:
4675     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4676     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4677
4678
4679 2) iASL Compiler/Disassembler:
4680
4681 Disassembler: implemented support for symbolic resource descriptor 
4682 references. If a CreateXxxxField operator references a fixed offset within a 
4683 resource descriptor, a name is assigned to the descriptor and the offset is 
4684 translated to the appropriate resource tag and pathname. The addition of 
4685 this support brings the disassembled code very close to the original ASL 
4686 source code and helps eliminate run-time errors when the disassembled code 
4687 is modified (and recompiled) in such a way as to invalidate the original 
4688 fixed offsets.
4689
4690 Implemented support for a Descriptor Name as the last parameter to the ASL 
4691 Register() macro. This parameter was inadvertently left out of the ACPI 
4692 specification, and will be added for ACPI 3.0b.
4693
4694 Fixed a problem where the use of the "_OSI" string (versus the full path 
4695 "\_OSI") caused an internal compiler error. ("No back ptr to op")
4696
4697 Fixed a problem with the error message that occurs when an invalid string is 
4698 used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4699 The correct message is now displayed.
4700
4701 ----------------------------------------
4702 17 February 2006. Summary of changes for version 20060217:
4703
4704 1) ACPI CA Core Subsystem:
4705
4706 Implemented a change to the IndexField support to match the behavior of the 
4707 Microsoft AML interpreter. The value written to the Index register is now a 
4708 byte offset, no longer an index based upon the width of the Data register. 
4709 This should fix IndexField problems seen on some machines where the Data 
4710 register is not exactly one byte wide. The ACPI specification will be 
4711 clarified on this point.
4712
4713 Fixed a problem where several resource descriptor types could overrun the 
4714 internal descriptor buffer due to size miscalculation: VendorShort, 
4715 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4716 affect all platforms.
4717
4718 Fixed a problem where individual resource descriptors were misaligned within 
4719 the internal buffer, causing alignment faults on IA64 platforms.
4720
4721 Code and Data Size: These are the sizes for the acpica.lib produced by the 
4722 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4723 driver or OSPM code. The debug version of the code includes the debug output 
4724 trace mechanism and has a much larger code and data size. Note that these 
4725 values will vary depending on the efficiency of the compiler and the 
4726 compiler options used during generation.
4727
4728   Previous Release:
4729     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4730     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4731   Current Release:
4732     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4733     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4734
4735
4736 2) iASL Compiler/Disassembler:
4737
4738 Implemented support for new reserved names: _WDG and _WED are Microsoft 
4739 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4740 defined method (Throttling Depth Limit.)
4741
4742 Fixed a problem where a zero-length VendorShort or VendorLong resource 
4743 descriptor was incorrectly emitted as a descriptor of length one.
4744
4745 ----------------------------------------
4746 10 February 2006. Summary of changes for version 20060210:
4747
4748 1) ACPI CA Core Subsystem:
4749
4750 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
4751 normal execution. These became apparent after the conversion from 
4752 ACPI_DEBUG_PRINT.
4753
4754 Fixed a problem where the CreateField operator could hang if the BitIndex or 
4755 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4756
4757 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
4758 failed with an exception. This also fixes a couple of related RefOf and 
4759 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4760
4761 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4762 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
4763 5480)
4764
4765 Implemented a memory cleanup at the end of the execution of each iteration 
4766 of an AML While() loop, preventing the accumulation of outstanding objects. 
4767 (Valery Podrezov, BZ 5427)
4768
4769 Eliminated a chunk of duplicate code in the object resolution code. (Valery 
4770 Podrezov, BZ 5336)
4771
4772 Fixed several warnings during the 64-bit code generation.
4773
4774 The AcpiSrc source code conversion tool now inserts one line of whitespace 
4775 after an if() statement that is followed immediately by a comment, improving 
4776 readability of the Linux code.
4777
4778 Code and Data Size: The current and previous library sizes for the core 
4779 subsystem are shown below. These are the code and data sizes for the 
4780 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4781 values do not include any ACPI driver or OSPM code. The debug version of the 
4782 code includes the debug output trace mechanism and has a much larger code 
4783 and data size. Note that these values will vary depending on the efficiency 
4784 of the compiler and the compiler options used during generation.
4785
4786   Previous Release:
4787     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4788     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4789   Current Release:
4790     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4791     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4792
4793
4794 2) iASL Compiler/Disassembler:
4795
4796 Fixed a problem with the disassembly of a BankField operator with a complex 
4797 expression for the BankValue parameter.
4798
4799 ----------------------------------------
4800 27 January 2006. Summary of changes for version 20060127:
4801
4802 1) ACPI CA Core Subsystem:
4803
4804 Implemented support in the Resource Manager to allow unresolved namestring 
4805 references within resource package objects for the _PRT method. This support 
4806 is in addition to the previously implemented unresolved reference support 
4807 within the AML parser. If the interpreter slack mode is enabled, these 
4808 unresolved references will be passed through to the caller as a NULL package 
4809 entry.
4810
4811 Implemented and deployed new macros and functions for error and warning 
4812 messages across the subsystem. These macros are simpler and generate less 
4813 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4814 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4815 macros remain defined to allow ACPI drivers time to migrate to the new 
4816 macros.
4817
4818 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4819 Acquire/Release Lock OSL interfaces.
4820
4821 Fixed a problem where Alias ASL operators are sometimes not correctly 
4822 resolved, in both the interpreter and the iASL compiler.
4823
4824 Fixed several problems with the implementation of the ConcatenateResTemplate 
4825 ASL operator. As per the ACPI specification, zero length buffers are now 
4826 treated as a single EndTag. One-length buffers always cause a fatal 
4827 exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4828 cause a fatal exception.
4829
4830 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
4831 interface. (With assistance from Thomas Renninger)
4832
4833 Code and Data Size: The current and previous library sizes for the core 
4834 subsystem are shown below. These are the code and data sizes for the 
4835 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4836 values do not include any ACPI driver or OSPM code. The debug version of the 
4837 code includes the debug output trace mechanism and has a much larger code 
4838 and data size. Note that these values will vary depending on the efficiency 
4839 of the compiler and the compiler options used during generation.
4840
4841   Previous Release:
4842     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4843     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4844   Current Release:
4845     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4846     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4847
4848
4849 2) iASL Compiler/Disassembler:
4850
4851 Fixed an internal error that was generated for any forward references to ASL 
4852 Alias objects.
4853
4854 ----------------------------------------
4855 13 January 2006. Summary of changes for version 20060113:
4856
4857 1) ACPI CA Core Subsystem:
4858
4859 Added 2006 copyright to all module headers and signons. This affects 
4860 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
4861 utilities.
4862  
4863 Enhanced the ACPICA error reporting in order to simplify user migration to 
4864 the non-debug version of ACPICA. Replaced all instances of the 
4865 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4866 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4867 respectively. This preserves all error and warning messages in the non-debug 
4868 version of the ACPICA code (this has been referred to as the "debug lite" 
4869 option.) Over 200 cases were converted to create a total of over 380 
4870 error/warning messages across the ACPICA code. This increases the code and 
4871 data size of the default non-debug version of the code somewhat (about 13K), 
4872 but all error/warning reporting may be disabled if desired (and code 
4873 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4874 configuration option. The size of the debug version of ACPICA remains about 
4875 the same.
4876
4877 Fixed a memory leak within the AML Debugger "Set" command. One object was 
4878 not properly deleted for every successful invocation of the command.
4879
4880 Code and Data Size: The current and previous library sizes for the core 
4881 subsystem are shown below. These are the code and data sizes for the 
4882 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4883 values do not include any ACPI driver or OSPM code. The debug version of the 
4884 code includes the debug output trace mechanism and has a much larger code 
4885 and data size. Note that these values will vary depending on the efficiency 
4886 of the compiler and the compiler options used during generation.
4887
4888   Previous Release:
4889     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4890     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4891   Current Release:
4892     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4893     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4894
4895
4896 2) iASL Compiler/Disassembler:
4897
4898 The compiler now officially supports the ACPI 3.0a specification that was 
4899 released on December 30, 2005. (Specification is available at www.acpi.info)
4900
4901 ----------------------------------------
4902 16 December 2005. Summary of changes for version 20051216:
4903
4904 1) ACPI CA Core Subsystem:
4905
4906 Implemented optional support to allow unresolved names within ASL Package 
4907 objects. A null object is inserted in the package when a named reference 
4908 cannot be located in the current namespace. Enabled via the interpreter 
4909 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4910 that contain such code.
4911
4912 Implemented an optimization to the initialization sequence that can improve 
4913 boot time. During ACPI device initialization, the _STA method is now run if 
4914 and only if the _INI method exists. The _STA method is used to determine if 
4915 the device is present; An _INI can only be run if _STA returns present, but 
4916 it is a waste of time to run the _STA method if the _INI does not exist. 
4917 (Prototype and assistance from Dong Wei)
4918
4919 Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
4920 available in the current compiler. Otherwise, the default (void *) cast is 
4921 used as before.
4922
4923 Fixed some possible memory leaks found within the execution path of the 
4924 Break, Continue, If, and CreateField operators. (Valery Podrezov)
4925
4926 Fixed a problem introduced in the 20051202 release where an exception is 
4927 generated during method execution if a control method attempts to declare 
4928 another method.
4929
4930 Moved resource descriptor string constants that are used by both the AML 
4931 disassembler and AML debugger to the common utilities directory so that 
4932 these components are independent.
4933
4934 Implemented support in the AcpiExec utility (-e switch) to globally ignore 
4935 exceptions during control method execution (method is not aborted.)
4936
4937 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4938 generation.
4939
4940 Code and Data Size: The current and previous library sizes for the core 
4941 subsystem are shown below. These are the code and data sizes for the 
4942 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4943 values do not include any ACPI driver or OSPM code. The debug version of the 
4944 code includes the debug output trace mechanism and has a much larger code 
4945 and data size. Note that these values will vary depending on the efficiency 
4946 of the compiler and the compiler options used during generation.
4947
4948   Previous Release:
4949     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4950     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4951   Current Release:
4952     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4953     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4954
4955
4956 2) iASL Compiler/Disassembler:
4957
4958 Fixed a problem where a CPU stack overflow fault could occur if a recursive 
4959 method call was made from within a Return statement.
4960
4961 ----------------------------------------
4962 02 December 2005. Summary of changes for version 20051202:
4963
4964 1) ACPI CA Core Subsystem:
4965
4966 Modified the parsing of control methods to no longer create namespace 
4967 objects during the first pass of the parse. Objects are now created only 
4968 during the execute phase, at the moment the namespace creation operator is 
4969 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4970 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
4971 reentrant control methods are protected by an AML mutex. The mutex will now 
4972 correctly block multiple threads from attempting to create the same object 
4973 more than once.
4974
4975 Increased the number of available Owner Ids for namespace object tracking 
4976 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4977 some machines with a large number of ACPI tables (either static or dynamic).
4978
4979 Fixed a problem with the AcpiExec utility where a fault could occur when the 
4980 -b switch (batch mode) is used.
4981
4982 Enhanced the namespace dump routine to output the owner ID for each 
4983 namespace object.
4984
4985 Code and Data Size: The current and previous library sizes for the core 
4986 subsystem are shown below. These are the code and data sizes for the 
4987 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4988 values do not include any ACPI driver or OSPM code. The debug version of the 
4989 code includes the debug output trace mechanism and has a much larger code 
4990 and data size. Note that these values will vary depending on the efficiency 
4991 of the compiler and the compiler options used during generation.
4992
4993   Previous Release:
4994     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4995     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4996   Current Release:
4997     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4998     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4999
5000
5001 2) iASL Compiler/Disassembler:
5002
5003 Fixed a parse error during compilation of certain Switch/Case constructs. To 
5004 simplify the parse, the grammar now allows for multiple Default statements 
5005 and this error is now detected and flagged during the analysis phase.
5006
5007 Disassembler: The disassembly now includes the contents of the original 
5008 table header within a comment at the start of the file. This includes the 
5009 name and version of the original ASL compiler.
5010
5011 ----------------------------------------
5012 17 November 2005. Summary of changes for version 20051117:
5013
5014 1) ACPI CA Core Subsystem:
5015
5016 Fixed a problem in the AML parser where the method thread count could be 
5017 decremented below zero if any errors occurred during the method parse phase. 
5018 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
5019 This also fixed a related regression with the mechanism that detects and 
5020 corrects methods that cannot properly handle reentrancy (related to the 
5021 deployment of the new OwnerId mechanism.)
5022
5023 Eliminated the pre-parsing of control methods (to detect errors) during 
5024 table load. Related to the problem above, this was causing unwind issues if 
5025 any errors occurred during the parse, and it seemed to be overkill. A table 
5026 load should not be aborted if there are problems with any single control 
5027 method, thus rendering this feature rather pointless.
5028
5029 Fixed a problem with the new table-driven resource manager where an internal 
5030 buffer overflow could occur for small resource templates.
5031
5032 Implemented a new external interface, AcpiGetVendorResource. This interface 
5033 will find and return a vendor-defined resource descriptor within a _CRS or 
5034 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
5035
5036 Removed the length limit (200) on string objects as per the upcoming ACPI 
5037 3.0A specification. This affects the following areas of the interpreter: 1) 
5038 any implicit conversion of a Buffer to a String, 2) a String object result 
5039 of the ASL Concatentate operator, 3) the String object result of the ASL 
5040 ToString operator.
5041
5042 Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
5043 on a semaphore object would incorrectly timeout. This allows the 
5044 multithreading features of the AcpiExec utility to work properly under 
5045 Windows.
5046
5047 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
5048 the recently added file named "utresrc.c".
5049
5050 Code and Data Size: The current and previous library sizes for the core 
5051 subsystem are shown below. These are the code and data sizes for the 
5052 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5053 values do not include any ACPI driver or OSPM code. The debug version of the 
5054 code includes the debug output trace mechanism and has a much larger code 
5055 and data size. Note that these values will vary depending on the efficiency 
5056 of the compiler and the compiler options used during generation.
5057
5058   Previous Release:
5059     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5060     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5061   Current Release:
5062     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5063     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5064
5065
5066 2) iASL Compiler/Disassembler:
5067
5068 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
5069 specification. For the iASL compiler, this means that string literals within 
5070 the source ASL can be of any length. 
5071
5072 Enhanced the listing output to dump the AML code for resource descriptors 
5073 immediately after the ASL code for each descriptor, instead of in a block at 
5074 the end of the entire resource template.
5075
5076 Enhanced the compiler debug output to dump the entire original parse tree 
5077 constructed during the parse phase, before any transforms are applied to the 
5078 tree. The transformed tree is dumped also.
5079
5080 ----------------------------------------
5081 02 November 2005. Summary of changes for version 20051102:
5082
5083 1) ACPI CA Core Subsystem:
5084
5085 Modified the subsystem initialization sequence to improve GPE support. The 
5086 GPE initialization has been split into two parts in order to defer execution 
5087 of the _PRW methods (Power Resources for Wake) until after the hardware is 
5088 fully initialized and the SCI handler is installed. This allows the _PRW 
5089 methods to access fields protected by the Global Lock. This will fix systems 
5090 where a NO_GLOBAL_LOCK exception has been seen during initialization.
5091
5092 Converted the ACPI internal object disassemble and display code within the 
5093 AML debugger to fully table-driven operation, reducing code size and 
5094 increasing maintainability.
5095
5096 Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
5097 in the 20051021 release.
5098
5099 Implemented support for "local" internal ACPI object types within the 
5100 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
5101 These local types include RegionFields, BankFields, IndexFields, Alias, and 
5102 reference objects.
5103
5104 Moved common AML resource handling code into a new file, "utresrc.c". This 
5105 code is shared by both the Resource Manager and the AML Debugger.
5106
5107 Code and Data Size: The current and previous library sizes for the core 
5108 subsystem are shown below. These are the code and data sizes for the 
5109 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5110 values do not include any ACPI driver or OSPM code. The debug version of the 
5111 code includes the debug output trace mechanism and has a much larger code 
5112 and data size. Note that these values will vary depending on the efficiency 
5113 of the compiler and the compiler options used during generation.
5114
5115   Previous Release:
5116     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5117     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5118   Current Release:
5119     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5120     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5121
5122
5123 2) iASL Compiler/Disassembler:
5124
5125 Fixed a problem with very large initializer lists (more than 4000 elements) 
5126 for both Buffer and Package objects where the parse stack could overflow.
5127
5128 Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
5129 characters within comment fields. The scan is now always performed and is no 
5130 longer optional, detecting invalid characters within a source file 
5131 immediately rather than during the parse phase or later.
5132
5133 Enhanced the ASL grammar definition to force early reductions on all list-
5134 style grammar elements so that the overall parse stack usage is greatly 
5135 reduced. This should improve performance and reduce the possibility of parse 
5136 stack overflow.
5137
5138 Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
5139 with the addition of a %expected statement, the compiler generates from 
5140 source with no warnings.
5141
5142 Fixed a possible segment fault in the disassembler if the input filename 
5143 does not contain a "dot" extension (Thomas Renninger).
5144
5145 ----------------------------------------
5146 21 October 2005. Summary of changes for version 20051021:
5147
5148 1) ACPI CA Core Subsystem:
5149
5150 Implemented support for the EM64T and other x86-64 processors. This 
5151 essentially entails recognizing that these processors support non-aligned 
5152 memory transfers. Previously, all 64-bit processors were assumed to lack 
5153 hardware support for non-aligned transfers.
5154
5155 Completed conversion of the Resource Manager to nearly full table-driven 
5156 operation. Specifically, the resource conversion code (convert AML to 
5157 internal format and the reverse) and the debug code to dump internal 
5158 resource descriptors are fully table-driven, reducing code and data size and 
5159 improving maintainability.
5160
5161 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
5162 on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
5163 Alexey Starikovskiy)
5164
5165 Implemented support within the resource conversion code for the Type-
5166 Specific byte within the various ACPI 3.0 *WordSpace macros.
5167
5168 Fixed some issues within the resource conversion code for the type-specific 
5169 flags for both Memory and I/O address resource descriptors. For Memory, 
5170 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
5171 TTP flags into two separate fields.
5172
5173 Code and Data Size: The current and previous library sizes for the core 
5174 subsystem are shown below. These are the code and data sizes for the 
5175 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5176 values do not include any ACPI driver or OSPM code. The debug version of the 
5177 code includes the debug output trace mechanism and has a much larger code 
5178 and data size. Note that these values will vary depending on the efficiency 
5179 of the compiler and the compiler options used during generation.
5180
5181   Previous Release:
5182     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5183     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5184   Current Release:
5185     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5186     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5187
5188
5189
5190 2) iASL Compiler/Disassembler:
5191
5192 Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
5193 corresponding ResourceSource string was not also present in a resource 
5194 descriptor declaration. This restriction caused problems with existing 
5195 AML/ASL code that includes the Index byte without the string. When such AML 
5196 was disassembled, it could not be compiled without modification. Further, 
5197 the modified code created a resource template with a different size than the 
5198 original, breaking code that used fixed offsets into the resource template 
5199 buffer.
5200
5201 Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
5202 byte. This byte is now emitted if present so that the exact AML can be 
5203 reproduced when the disassembled code is recompiled.
5204
5205 Improved comments and text alignment for the resource descriptor code 
5206 emitted by the disassembler.
5207
5208 Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
5209 Register() resource descriptor.
5210
5211 ----------------------------------------
5212 30 September 2005. Summary of changes for version 20050930:
5213
5214 1) ACPI CA Core Subsystem:
5215
5216 Completed a major overhaul of the Resource Manager code - specifically, 
5217 optimizations in the area of the AML/internal resource conversion code. The 
5218 code has been optimized to simplify and eliminate duplicated code, CPU stack 
5219 use has been decreased by optimizing function parameters and local 
5220 variables, and naming conventions across the manager have been standardized 
5221 for clarity and ease of maintenance (this includes function, parameter, 
5222 variable, and struct/typedef names.) The update may force changes in some 
5223 driver code, depending on how resources are handled by the host OS.
5224
5225 All Resource Manager dispatch and information tables have been moved to a 
5226 single location for clarity and ease of maintenance. One new file was 
5227 created, named "rsinfo.c".
5228
5229 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
5230 guarantee that the argument is not evaluated twice, making them less prone 
5231 to macro side-effects. However, since there exists the possibility of 
5232 additional stack use if a particular compiler cannot optimize them (such as 
5233 in the debug generation case), the original macros are optionally available.  
5234 Note that some invocations of the return_VALUE macro may now cause size 
5235 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
5236 eliminate these. (From Randy Dunlap)
5237
5238 Implemented a new mechanism to enable debug tracing for individual control 
5239 methods. A new external interface, AcpiDebugTrace, is provided to enable 
5240 this mechanism. The intent is to allow the host OS to easily enable and 
5241 disable tracing for problematic control methods. This interface can be 
5242 easily exposed to a user or debugger interface if desired. See the file 
5243 psxface.c for details.
5244
5245 AcpiUtCallocate will now return a valid pointer if a length of zero is 
5246 specified - a length of one is used and a warning is issued. This matches 
5247 the behavior of AcpiUtAllocate.
5248
5249 Code and Data Size: The current and previous library sizes for the core 
5250 subsystem are shown below. These are the code and data sizes for the 
5251 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5252 values do not include any ACPI driver or OSPM code. The debug version of the 
5253 code includes the debug output trace mechanism and has a much larger code 
5254 and data size. Note that these values will vary depending on the efficiency 
5255 of the compiler and the compiler options used during generation.
5256
5257   Previous Release:
5258     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5259     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5260   Current Release:
5261     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5262     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5263
5264
5265 2) iASL Compiler/Disassembler:
5266
5267 A remark is issued if the effective compile-time length of a package or 
5268 buffer is zero. Previously, this was a warning.
5269
5270 ----------------------------------------
5271 16 September 2005. Summary of changes for version 20050916:
5272
5273 1) ACPI CA Core Subsystem:
5274
5275 Fixed a problem within the Resource Manager where support for the Generic 
5276 Register descriptor was not fully implemented. This descriptor is now fully 
5277 recognized, parsed, disassembled, and displayed.
5278
5279 Completely restructured the Resource Manager code to utilize table-driven 
5280 dispatch and lookup, eliminating many of the large switch() statements. This 
5281 reduces overall subsystem code size and code complexity. Affects the 
5282 resource parsing and construction, disassembly, and debug dump output.
5283
5284 Cleaned up and restructured the debug dump output for all resource 
5285 descriptors. Improved readability of the output and reduced code size.
5286
5287 Fixed a problem where changes to internal data structures caused the 
5288 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
5289
5290 Code and Data Size: The current and previous library sizes for the core 
5291 subsystem are shown below. These are the code and data sizes for the 
5292 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5293 values do not include any ACPI driver or OSPM code. The debug version of the 
5294 code includes the debug output trace mechanism and has a much larger code 
5295 and data size. Note that these values will vary depending on the efficiency 
5296 of the compiler and the compiler options used during generation.
5297
5298   Previous Release:
5299     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5300     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5301   Current Release:
5302     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5303     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5304
5305
5306 2) iASL Compiler/Disassembler:
5307
5308 Updated the disassembler to automatically insert an EndDependentFn() macro 
5309 into the ASL stream if this macro is missing in the original AML code, 
5310 simplifying compilation of the resulting ASL module.
5311
5312 Fixed a problem in the disassembler where a disassembled ResourceSource 
5313 string (within a large resource descriptor) was not surrounded by quotes and 
5314 not followed by a comma, causing errors when the resulting ASL module was 
5315 compiled. Also, escape sequences within a ResourceSource string are now 
5316 handled correctly (especially "\\")
5317
5318 ----------------------------------------
5319 02 September 2005. Summary of changes for version 20050902:
5320
5321 1) ACPI CA Core Subsystem:
5322
5323 Fixed a problem with the internal Owner ID allocation and deallocation 
5324 mechanisms for control method execution and recursive method invocation. 
5325 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
5326 messages seen on some systems. Recursive method invocation depth is 
5327 currently limited to 255. (Alexey Starikovskiy)
5328
5329 Completely eliminated all vestiges of support for the "module-level 
5330 executable code" until this support is fully implemented and debugged. This 
5331 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
5332 some systems that invoke this support.
5333
5334 Fixed a problem within the resource manager code where the transaction flags 
5335 for a 64-bit address descriptor were handled incorrectly in the type-
5336 specific flag byte.
5337
5338 Consolidated duplicate code within the address descriptor resource manager 
5339 code, reducing overall subsystem code size.
5340
5341 Fixed a fault when using the AML debugger "disassemble" command to 
5342 disassemble individual control methods.
5343
5344 Removed references to the "release_current" directory within the Unix 
5345 release package.
5346
5347 Code and Data Size: The current and previous core subsystem library sizes 
5348 are shown below. These are the code and data sizes for the acpica.lib 
5349 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
5350 include any ACPI driver or OSPM code. The debug version of the code includes 
5351 the debug output trace mechanism and has a much larger code and data size. 
5352 Note that these values will vary depending on the efficiency of the compiler 
5353 and the compiler options used during generation.
5354
5355   Previous Release:
5356     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5357     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5358   Current Release:
5359     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5360     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5361
5362
5363 2) iASL Compiler/Disassembler:
5364
5365 Implemented an error check for illegal duplicate values in the interrupt and 
5366 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
5367 Interrupt().
5368
5369 Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
5370 too many values in the interrupt list (16 max) and invalid values in the 
5371 list (range 0 - 15)
5372
5373 The maximum length string literal within an ASL file is now restricted to 
5374 200 characters as per the ACPI specification.
5375
5376 Fixed a fault when using the -ln option (generate namespace listing).
5377
5378 Implemented an error check to determine if a DescriptorName within a 
5379 resource descriptor has already been used within the current scope.
5380
5381 ----------------------------------------
5382 15 August 2005.  Summary of changes for version 20050815:
5383  
5384 1) ACPI CA Core Subsystem:
5385  
5386 Implemented a full bytewise compare to determine if a table load request is 
5387 attempting to load a duplicate table. The compare is performed if the table 
5388 signatures and table lengths match. This will allow different tables with 
5389 the same OEM Table ID and revision to be loaded - probably against the ACPI 
5390 specification, but discovered in the field nonetheless.
5391  
5392 Added the changes.txt logfile to each of the zipped release packages.
5393  
5394 Code and Data Size: Current and previous core subsystem library sizes are 
5395 shown below. These are the code and data sizes for the acpica.lib produced 
5396 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5397 any ACPI driver or OSPM code. The debug version of the code includes the 
5398 debug output trace mechanism and has a much larger code and data size. Note 
5399 that these values will vary depending on the efficiency of the compiler and 
5400 the compiler options used during generation.
5401  
5402   Previous Release:
5403     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5404     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5405   Current Release:
5406     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5407     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5408  
5409  
5410 2) iASL Compiler/Disassembler:
5411  
5412 Fixed a problem where incorrect AML code could be generated for Package 
5413 objects if optimization is disabled (via the -oa switch).
5414  
5415 Fixed a problem with where incorrect AML code is generated for variable-
5416 length packages when the package length is not specified and the number of 
5417 initializer values is greater than 255.
5418  
5419
5420 ----------------------------------------
5421 29 July 2005.  Summary of changes for version 20050729:
5422
5423 1) ACPI CA Core Subsystem:
5424
5425 Implemented support to ignore an attempt to install/load a particular ACPI 
5426 table more than once. Apparently there exists BIOS code that repeatedly 
5427 attempts to load the same SSDT upon certain events. With assistance from 
5428 Venkatesh Pallipadi.
5429
5430 Restructured the main interface to the AML parser in order to correctly 
5431 handle all exceptional conditions. This will prevent leakage of the OwnerId 
5432 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5433 machines. With assistance from Alexey Starikovskiy.
5434
5435 Support for "module level code" has been disabled in this version due to a 
5436 number of issues that have appeared on various machines. The support can be 
5437 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5438 compilation. When the issues are fully resolved, the code will be enabled by 
5439 default again.
5440
5441 Modified the internal functions for debug print support to define the 
5442 FunctionName parameter as a (const char *) for compatibility with compiler 
5443 built-in macros such as __FUNCTION__, etc.
5444
5445 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5446
5447 Implemented support to display an object count summary for the AML Debugger 
5448 commands Object and Methods.
5449
5450 Code and Data Size: Current and previous core subsystem library sizes are 
5451 shown below. These are the code and data sizes for the acpica.lib produced 
5452 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5453 any ACPI driver or OSPM code. The debug version of the code includes the 
5454 debug output trace mechanism and has a much larger code and data size. Note 
5455 that these values will vary depending on the efficiency of the compiler and 
5456 the compiler options used during generation.
5457
5458   Previous Release:
5459     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5460     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5461   Current Release:
5462     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5463     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5464
5465
5466 2) iASL Compiler/Disassembler:
5467
5468 Fixed a regression that appeared in the 20050708 version of the compiler 
5469 where an error message was inadvertently emitted for invocations of the _OSI 
5470 reserved control method.
5471
5472 ----------------------------------------
5473 08 July 2005.  Summary of changes for version 20050708:
5474
5475 1) ACPI CA Core Subsystem:
5476
5477 The use of the CPU stack in the debug version of the subsystem has been 
5478 considerably reduced. Previously, a debug structure was declared in every 
5479 function that used the debug macros. This structure has been removed in 
5480 favor of declaring the individual elements as parameters to the debug 
5481 functions. This reduces the cumulative stack use during nested execution of 
5482 ACPI function calls at the cost of a small increase in the code size of the 
5483 debug version of the subsystem. With assistance from Alexey Starikovskiy and 
5484 Len Brown.
5485
5486 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5487 headers to define a macro that will return the current function name at 
5488 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5489 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5490 compiler-dependent header, the function name is saved on the CPU stack (one 
5491 pointer per function.) This mechanism is used because apparently there 
5492 exists no standard ANSI-C defined macro that that returns the function name.
5493
5494 Redesigned and reimplemented the "Owner ID" mechanism used to track 
5495 namespace objects created/deleted by ACPI tables and control method 
5496 execution. A bitmap is now used to allocate and free the IDs, thus solving 
5497 the wraparound problem present in the previous implementation. The size of 
5498 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5499 Starikovskiy).
5500
5501 Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5502 flag definitions within the headers for the predefined ACPI tables. These 
5503 have been replaced by UINT8_BIT in order to increase the code portability of 
5504 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
5505 eliminate bitfields entirely because of a lack of portability.
5506
5507 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5508 is a frequently used function and this improvement increases the performance 
5509 of the entire subsystem (Alexey Starikovskiy).
5510
5511 Fixed several possible memory leaks and the inverse - premature object 
5512 deletion (Alexey Starikovskiy).
5513
5514 Code and Data Size: Current and previous core subsystem library sizes are 
5515 shown below. These are the code and data sizes for the acpica.lib produced 
5516 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5517 any ACPI driver or OSPM code. The debug version of the code includes the 
5518 debug output trace mechanism and has a much larger code and data size. Note 
5519 that these values will vary depending on the efficiency of the compiler and 
5520 the compiler options used during generation.
5521
5522   Previous Release:
5523     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5524     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5525   Current Release:
5526     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5527     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5528
5529 ----------------------------------------
5530 24 June 2005.  Summary of changes for version 20050624:
5531
5532 1) ACPI CA Core Subsystem:
5533
5534 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5535 the host-defined cache object. This allows the OSL implementation to define 
5536 and type this object in any manner desired, simplifying the OSL 
5537 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5538 Linux, and should be defined in the OS-specific header file for other 
5539 operating systems as required.
5540
5541 Changed the interface to AcpiOsAcquireObject to directly return the 
5542 requested object as the function return (instead of ACPI_STATUS.) This 
5543 change was made for performance reasons, since this is the purpose of the 
5544 interface in the first place. AcpiOsAcquireObject is now similar to the 
5545 AcpiOsAllocate interface.
5546
5547 Implemented a new AML debugger command named Businfo. This command displays 
5548 information about all devices that have an associate _PRT object. The _ADR, 
5549 _HID, _UID, and _CID are displayed for these devices.
5550
5551 Modified the initialization sequence in AcpiInitializeSubsystem to call the 
5552 OSL interface AcpiOslInitialize first, before any local initialization. This 
5553 change was required because the global initialization now calls OSL 
5554 interfaces.
5555
5556 Enhanced the Dump command to display the entire contents of Package objects 
5557 (including all sub-objects and their values.) 
5558
5559 Restructured the code base to split some files because of size and/or 
5560 because the code logically belonged in a separate file. New files are listed 
5561 below. All makefiles and project files included in the ACPI CA release have 
5562 been updated.
5563     utilities/utcache.c           /* Local cache interfaces */
5564     utilities/utmutex.c           /* Local mutex support */
5565     utilities/utstate.c           /* State object support */
5566     interpreter/parser/psloop.c   /* Main AML parse loop */
5567
5568 Code and Data Size: Current and previous core subsystem library sizes are 
5569 shown below. These are the code and data sizes for the acpica.lib produced 
5570 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5571 any ACPI driver or OSPM code. The debug version of the code includes the 
5572 debug output trace mechanism and has a much larger code and data size. Note 
5573 that these values will vary depending on the efficiency of the compiler and 
5574 the compiler options used during generation.
5575
5576   Previous Release:
5577     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5578     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5579   Current Release:
5580     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5581     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5582
5583
5584 2) iASL Compiler/Disassembler:
5585
5586 Fixed a regression introduced in version 20050513 where the use of a Package 
5587 object within a Case() statement caused a compile time exception. The 
5588 original behavior has been restored (a Match() operator is emitted.)
5589
5590 ----------------------------------------
5591 17 June 2005.  Summary of changes for version 20050617:
5592
5593 1) ACPI CA Core Subsystem:
5594
5595 Moved the object cache operations into the OS interface layer (OSL) to allow 
5596 the host OS to handle these operations if desired (for example, the Linux 
5597 OSL will invoke the slab allocator). This support is optional; the compile 
5598 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5599 code in the ACPI CA core. The new OSL interfaces are shown below. See 
5600 utalloc.c for an example implementation, and acpiosxf.h for the exact 
5601 interface definitions. With assistance from Alexey Starikovskiy.
5602     AcpiOsCreateCache
5603     AcpiOsDeleteCache
5604     AcpiOsPurgeCache
5605     AcpiOsAcquireObject
5606     AcpiOsReleaseObject
5607
5608 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5609 and restore a flags parameter. This fits better with many OS lock models. 
5610 Note: the current execution state (interrupt handler or not) is no longer 
5611 passed to these interfaces. If necessary, the OSL must determine this state 
5612 by itself, a simple and fast operation. With assistance from Alexey 
5613 Starikovskiy.
5614
5615 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
5616 present if the revision of the RSDP was 2 or greater. According to the ACPI 
5617 specification, the XSDT is optional in all cases, and the table manager 
5618 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5619 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5620 only the RSDT.
5621
5622 Fixed an interpreter problem with the Mid() operator in the case of an input 
5623 string where the resulting output string is of zero length. It now correctly 
5624 returns a valid, null terminated string object instead of a string object 
5625 with a null pointer.
5626
5627 Fixed a problem with the control method argument handling to allow a store 
5628 to an Arg object that already contains an object of type Device. The Device 
5629 object is now correctly overwritten. Previously, an error was returned.
5630
5631
5632 Enhanced the debugger Find command to emit object values in addition to the 
5633 found object pathnames. The output format is the same as the dump namespace 
5634 command.
5635
5636 Enhanced the debugger Set command. It now has the ability to set the value 
5637 of any Named integer object in the namespace (Previously, only method locals 
5638 and args could be set.)
5639
5640 Code and Data Size: Current and previous core subsystem library sizes are 
5641 shown below. These are the code and data sizes for the acpica.lib produced 
5642 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5643 any ACPI driver or OSPM code. The debug version of the code includes the 
5644 debug output trace mechanism and has a much larger code and data size. Note 
5645 that these values will vary depending on the efficiency of the compiler and 
5646 the compiler options used during generation.
5647
5648   Previous Release:
5649     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5650     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5651   Current Release:
5652     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5653     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5654
5655
5656 2) iASL Compiler/Disassembler:
5657
5658 Fixed a regression in the disassembler where if/else/while constructs were 
5659 output incorrectly. This problem was introduced in the previous release 
5660 (20050526). This problem also affected the single-step disassembly in the 
5661 debugger.
5662
5663 Fixed a problem where compiling the reserved _OSI method would randomly (but 
5664 rarely) produce compile errors.
5665
5666 Enhanced the disassembler to emit compilable code in the face of incorrect 
5667 AML resource descriptors. If the optional ResourceSourceIndex is present, 
5668 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5669 disassembly. Otherwise, the resulting code cannot be compiled without 
5670 errors.
5671
5672 ----------------------------------------
5673 26 May 2005.  Summary of changes for version 20050526:
5674
5675 1) ACPI CA Core Subsystem:
5676
5677 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5678 the module level (not within a control method.) These opcodes are executed 
5679 exactly once at the time the table is loaded. This type of code was legal up 
5680 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5681 order to provide backwards compatibility with earlier BIOS implementations. 
5682 This eliminates the "Encountered executable code at module level" warning 
5683 that was previously generated upon detection of such code.
5684
5685 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5686 inadvertently be generated during the lookup of namespace objects in the 
5687 second pass parse of ACPI tables and control methods. It appears that this 
5688 problem could occur during the resolution of forward references to namespace 
5689 objects.
5690
5691 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5692 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5693 allows the deadlock detection debug code to be compiled out in the normal 
5694 case, improving mutex performance (and overall subsystem performance) 
5695 considerably.
5696
5697 Implemented a handful of miscellaneous fixes for possible memory leaks on 
5698 error conditions and error handling control paths. These fixes were 
5699 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5700
5701 Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5702 to prevent a fault in this error case.
5703
5704 Code and Data Size: Current and previous core subsystem library sizes are 
5705 shown below. These are the code and data sizes for the acpica.lib produced 
5706 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5707 any ACPI driver or OSPM code. The debug version of the code includes the 
5708 debug output trace mechanism and has a much larger code and data size. Note 
5709 that these values will vary depending on the efficiency of the compiler and 
5710 the compiler options used during generation.
5711
5712   Previous Release:
5713     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5714     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5715   Current Release:
5716     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5717     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5718
5719
5720 2) iASL Compiler/Disassembler:
5721
5722 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
5723 the module level (not within a control method.) These operators will be 
5724 executed once at the time the table is loaded. This type of code was legal 
5725 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5726 compiler in order to provide backwards compatibility with earlier BIOS ASL 
5727 code.
5728
5729 The ACPI integer width (specified via the table revision ID or the -r 
5730 override, 32 or 64 bits) is now used internally during compile-time constant 
5731 folding to ensure that constants are truncated to 32 bits if necessary. 
5732 Previously, the revision ID value was only emitted in the AML table header.
5733
5734 An error message is now generated for the Mutex and Method operators if the 
5735 SyncLevel parameter is outside the legal range of 0 through 15.
5736
5737 Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
5738 3.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5739 The actual underlying implementation of method argument typechecking is 
5740 still under development, however.
5741
5742 ----------------------------------------
5743 13 May 2005.  Summary of changes for version 20050513:
5744
5745 1) ACPI CA Core Subsystem:
5746
5747 Implemented support for PCI Express root bridges -- added support for device 
5748 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5749
5750 The interpreter now automatically truncates incoming 64-bit constants to 32 
5751 bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5752 also affects the iASL compiler constant folding. (Note: as per below, the 
5753 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5754
5755 Fixed a problem where string and buffer objects with "static" pointers 
5756 (pointers to initialization data within an ACPI table) were not handled 
5757 consistently. The internal object copy operation now always copies the data 
5758 to a newly allocated buffer, regardless of whether the source object is 
5759 static or not.
5760
5761 Fixed a problem with the FromBCD operator where an implicit result 
5762 conversion was improperly performed while storing the result to the target 
5763 operand. Since this is an "explicit conversion" operator, the implicit 
5764 conversion should never be performed on the output.
5765
5766 Fixed a problem with the CopyObject operator where a copy to an existing 
5767 named object did not always completely overwrite the existing object stored 
5768 at name. Specifically, a buffer-to-buffer copy did not delete the existing 
5769 buffer.
5770
5771 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5772 structs for consistency.
5773
5774 Code and Data Size: Current and previous core subsystem library sizes are 
5775 shown below. These are the code and data sizes for the acpica.lib produced 
5776 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5777 any ACPI driver or OSPM code. The debug version of the code includes the 
5778 debug output trace mechanism and has a much larger code and data size. Note 
5779 that these values will vary depending on the efficiency of the compiler and 
5780 the compiler options used during generation.
5781
5782   Previous Release:
5783     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5784     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5785   Current Release: (Same sizes)
5786     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5787     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5788
5789
5790 2) iASL Compiler/Disassembler:
5791
5792 The compiler now emits a warning if an attempt is made to generate a 64-bit 
5793 integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
5794 is truncated to 32 bits.
5795
5796 Fixed a problem with large package objects: if the static length of the 
5797 package is greater than 255, the "variable length package" opcode is 
5798 emitted. Previously, this caused an error. This requires an update to the 
5799 ACPI spec, since it currently (incorrectly) states that packages larger than 
5800 255 elements are not allowed.
5801
5802 The disassembler now correctly handles variable length packages and packages 
5803 larger than 255 elements.
5804
5805 ----------------------------------------
5806 08 April 2005.  Summary of changes for version 20050408:
5807
5808 1) ACPI CA Core Subsystem:
5809
5810 Fixed three cases in the interpreter where an "index" argument to an ASL 
5811 function was still (internally) 32 bits instead of the required 64 bits. 
5812 This was the Index argument to the Index, Mid, and Match operators.
5813
5814 The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5815 not a POSIX-defined function and not present in most kernel-level C 
5816 libraries. All references to the C library strupr function have been removed 
5817 from the headers.
5818
5819 Completed the deployment of static functions/prototypes. All prototypes with 
5820 the static attribute have been moved from the headers to the owning C file.
5821
5822 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
5823 utility). This option allows the utility to extract individual ACPI tables 
5824 from the output of AcpiDmp. It provides the same functionality of the 
5825 acpixtract.pl perl script without the worry of setting the correct perl 
5826 options. AcpiBin runs on Windows and has not yet been generated/validated in 
5827 the Linux/Unix environment (but should be soon).
5828  
5829 Updated and fixed the table dump option for AcpiBin (-d). This option 
5830 converts a single ACPI table to a hex/ascii file, similar to the output of 
5831 AcpiDmp.
5832
5833 Code and Data Size: Current and previous core subsystem library sizes are 
5834 shown below. These are the code and data sizes for the acpica.lib produced 
5835 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5836 any ACPI driver or OSPM code. The debug version of the code includes the 
5837 debug output trace mechanism and has a much larger code and data size. Note 
5838 that these values will vary depending on the efficiency of the compiler and 
5839 the compiler options used during generation.
5840
5841   Previous Release:
5842     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5843     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5844   Current Release:
5845     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5846     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5847
5848
5849 2) iASL Compiler/Disassembler:
5850
5851 Disassembler fix: Added a check to ensure that the table length found in the 
5852 ACPI table header within the input file is not longer than the actual input 
5853 file size. This indicates some kind of file or table corruption.
5854
5855 ----------------------------------------
5856 29 March 2005.  Summary of changes for version 20050329:
5857
5858 1) ACPI CA Core Subsystem:
5859
5860 An error is now generated if an attempt is made to create a Buffer Field of 
5861 length zero (A CreateField with a length operand of zero.)
5862
5863 The interpreter now issues a warning whenever executable code at the module 
5864 level is detected during ACPI table load. This will give some idea of the 
5865 prevalence of this type of code.
5866
5867 Implemented support for references to named objects (other than control 
5868 methods) within package objects.
5869
5870 Enhanced package object output for the debug object. Package objects are now 
5871 completely dumped, showing all elements.
5872
5873 Enhanced miscellaneous object output for the debug object. Any object can 
5874 now be written to the debug object (for example, a device object can be 
5875 written, and the type of the object will be displayed.)
5876
5877 The "static" qualifier has been added to all local functions across both the 
5878 core subsystem and the iASL compiler.
5879
5880 The number of "long" lines (> 80 chars) within the source has been 
5881 significantly reduced, by about 1/3.
5882
5883 Cleaned up all header files to ensure that all CA/iASL functions are 
5884 prototyped (even static functions) and the formatting is consistent.
5885
5886 Two new header files have been added, acopcode.h and acnames.h.
5887
5888 Removed several obsolete functions that were no longer used.
5889
5890 Code and Data Size: Current and previous core subsystem library sizes are 
5891 shown below. These are the code and data sizes for the acpica.lib produced 
5892 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5893 any ACPI driver or OSPM code. The debug version of the code includes the 
5894 debug output trace mechanism and has a much larger code and data size. Note 
5895 that these values will vary depending on the efficiency of the compiler and 
5896 the compiler options used during generation.
5897
5898   Previous Release:
5899     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5900     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5901   Current Release:
5902     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5903     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5904
5905
5906
5907 2) iASL Compiler/Disassembler:
5908
5909 Fixed a problem with the resource descriptor generation/support. For the 
5910 ResourceSourceIndex and the ResourceSource fields, both must be present, or 
5911 both must be not present - can't have one without the other.
5912
5913 The compiler now returns non-zero from the main procedure if any errors have 
5914 occurred during the compilation.
5915
5916
5917 ----------------------------------------
5918 09 March 2005.  Summary of changes for version 20050309:
5919
5920 1) ACPI CA Core Subsystem:
5921
5922 The string-to-buffer implicit conversion code has been modified again after 
5923 a change to the ACPI specification.  In order to match the behavior of the 
5924 other major ACPI implementation, the target buffer is no longer truncated if 
5925 the source string is smaller than an existing target buffer. This change 
5926 requires an update to the ACPI spec, and should eliminate the recent 
5927 AE_AML_BUFFER_LIMIT issues.
5928
5929 The "implicit return" support was rewritten to a new algorithm that solves 
5930 the general case. Rather than attempt to determine when a method is about to 
5931 exit, the result of every ASL operator is saved momentarily until the very 
5932 next ASL operator is executed. Therefore, no matter how the method exits, 
5933 there will always be a saved implicit return value. This feature is only 
5934 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5935 AE_AML_NO_RETURN_VALUE errors when enabled.
5936
5937 Implemented implicit conversion support for the predicate (operand) of the 
5938 If, Else, and While operators. String and Buffer arguments are automatically 
5939 converted to Integers.
5940
5941 Changed the string-to-integer conversion behavior to match the new ACPI 
5942 errata: "If no integer object exists, a new integer is created. The ASCII 
5943 string is interpreted as a hexadecimal constant. Each string character is 
5944 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5945 with the first character as the most significant digit, and ending with the 
5946 first non-hexadecimal character or end-of-string." This means that the first 
5947 non-hex character terminates the conversion and this is the code that was 
5948 changed.
5949
5950 Fixed a problem where the ObjectType operator would fail (fault) when used 
5951 on an Index of a Package which pointed to a null package element. The 
5952 operator now properly returns zero (Uninitialized) in this case.
5953
5954 Fixed a problem where the While operator used excessive memory by not 
5955 properly popping the result stack during execution. There was no memory leak 
5956 after execution, however. (Code provided by Valery Podrezov.)
5957
5958 Fixed a problem where references to control methods within Package objects 
5959 caused the method to be invoked, instead of producing a reference object 
5960 pointing to the method.
5961
5962 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5963 improve performance and reduce code size. (Code provided by Alexey 
5964 Starikovskiy.)
5965
5966 Code and Data Size: Current and previous core subsystem library sizes are 
5967 shown below. These are the code and data sizes for the acpica.lib produced 
5968 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5969 any ACPI driver or OSPM code. The debug version of the code includes the 
5970 debug output trace mechanism and has a much larger code and data size. Note 
5971 that these values will vary depending on the efficiency of the compiler and 
5972 the compiler options used during generation.
5973
5974   Previous Release:
5975     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5976     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5977   Current Release:
5978     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5979     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5980
5981
5982 2) iASL Compiler/Disassembler:
5983
5984 Fixed a problem with the Return operator with no arguments. Since the AML 
5985 grammar for the byte encoding requires an operand for the Return opcode, the 
5986 compiler now emits a Return(Zero) for this case.  An ACPI specification 
5987 update has been written for this case.
5988
5989 For tables other than the DSDT, namepath optimization is automatically 
5990 disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5991 compiler has no knowledge of where, and thus cannot optimize namepaths.
5992
5993 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5994 inadvertently omitted from the ACPI specification, and will require an 
5995 update to the spec.
5996
5997 The source file scan for ASCII characters is now optional (-a). This change 
5998 was made because some vendors place non-ascii characters within comments. 
5999 However, the scan is simply a brute-force byte compare to ensure all 
6000 characters in the file are in the range 0x00 to 0x7F.
6001
6002 Fixed a problem with the CondRefOf operator where the compiler was 
6003 inappropriately checking for the existence of the target. Since the point of 
6004 the operator is to check for the existence of the target at run-time, the 
6005 compiler no longer checks for the target existence.
6006
6007 Fixed a problem where errors generated from the internal AML interpreter 
6008 during constant folding were not handled properly, causing a fault.
6009
6010 Fixed a problem with overly aggressive range checking for the Stall 
6011 operator. The valid range (max 255) is now only checked if the operand is of 
6012 type Integer. All other operand types cannot be statically checked.
6013
6014 Fixed a problem where control method references within the RefOf, DeRefOf, 
6015 and ObjectType operators were not treated properly. They are now treated as 
6016 actual references, not method invocations.
6017
6018 Fixed and enhanced the "list namespace" option (-ln). This option was broken 
6019 a number of releases ago.
6020
6021 Improved error handling for the Field, IndexField, and BankField operators. 
6022 The compiler now cleanly reports and recovers from errors in the field 
6023 component (FieldUnit) list.
6024
6025 Fixed a disassembler problem where the optional ResourceDescriptor fields 
6026 TRS and TTP were not always handled correctly.
6027
6028 Disassembler - Comments in output now use "//" instead of "/*"
6029
6030 ----------------------------------------
6031 28 February 2005.  Summary of changes for version 20050228:
6032
6033 1) ACPI CA Core Subsystem:
6034
6035 Fixed a problem where the result of an Index() operator (an object 
6036 reference) must increment the reference count on the target object for the 
6037 life of the object reference.
6038
6039 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
6040 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
6041 resource descriptors.
6042
6043 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
6044 Space Descriptor" string, indicating interpreter support for the descriptors 
6045 above.
6046
6047 Implemented header support for the new ACPI 3.0 FADT flag bits.
6048
6049 Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
6050 status/enable registers.
6051
6052 Updated header support for the MADT processor local Apic struct and MADT 
6053 platform interrupt source struct for new ACPI 3.0 fields.
6054
6055 Implemented header support for the SRAT and SLIT ACPI tables.
6056
6057 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
6058 at runtime.
6059
6060 Code and Data Size: Current and previous core subsystem library sizes are 
6061 shown below. These are the code and data sizes for the acpica.lib produced 
6062 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6063 any ACPI driver or OSPM code. The debug version of the code includes the 
6064 debug output trace mechanism and has a much larger code and data size. Note 
6065 that these values will vary depending on the efficiency of the compiler and 
6066 the compiler options used during generation.
6067
6068   Previous Release:
6069     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
6070     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
6071   Current Release:
6072     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6073     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
6074
6075
6076 2) iASL Compiler/Disassembler:
6077
6078 Fixed a problem with the internal 64-bit String-to-integer conversion with 
6079 strings less than two characters long.
6080
6081 Fixed a problem with constant folding where the result of the Index() 
6082 operator can not be considered a constant. This means that Index() cannot be 
6083 a type3 opcode and this will require an update to the ACPI specification.
6084
6085 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
6086 descriptor fields. These fields were inadvertently ignored and not output in 
6087 the disassembly of the resource descriptor.
6088
6089
6090  ----------------------------------------
6091 11 February 2005.  Summary of changes for version 20050211:
6092
6093 1) ACPI CA Core Subsystem:
6094
6095 Implemented ACPI 3.0 support for implicit conversion within the Match() 
6096 operator. MatchObjects can now be of type integer, buffer, or string instead 
6097 of just type integer.  Package elements are implicitly converted to the type 
6098 of the MatchObject. This change aligns the behavior of Match() with the 
6099 behavior of the other logical operators (LLess(), etc.) It also requires an 
6100 errata change to the ACPI specification as this support was intended for 
6101 ACPI 3.0, but was inadvertently omitted.
6102
6103 Fixed a problem with the internal implicit "to buffer" conversion. Strings 
6104 that are converted to buffers will cause buffer truncation if the string is 
6105 smaller than the target buffer. Integers that are converted to buffers will 
6106 not cause buffer truncation, only zero extension (both as per the ACPI 
6107 spec.) The problem was introduced when code was added to truncate the 
6108 buffer, but this should not be performed in all cases, only the string case.
6109
6110 Fixed a problem with the Buffer and Package operators where the interpreter 
6111 would get confused if two such operators were used as operands to an ASL 
6112 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
6113 stack was not being popped after the execution of these operators, resulting 
6114 in an AE_NO_RETURN_VALUE exception.
6115
6116 Fixed a problem with constructs of the form Store(Index(...),...). The 
6117 reference object returned from Index was inadvertently resolved to an actual 
6118 value. This problem was introduced in version 20050114 when the behavior of 
6119 Store() was modified to restrict the object types that can be used as the 
6120 source operand (to match the ACPI specification.)
6121
6122 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
6123
6124 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
6125
6126 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
6127
6128 Code and Data Size: Current and previous core subsystem library sizes are 
6129 shown below. These are the code and data sizes for the acpica.lib produced 
6130 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6131 any ACPI driver or OSPM code. The debug version of the code includes the 
6132 debug output trace mechanism and has a much larger code and data size. Note 
6133 that these values will vary depending on the efficiency of the compiler and 
6134 the compiler options used during generation.
6135
6136   Previous Release:
6137     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
6138     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
6139   Current Release:
6140     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
6141     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
6142
6143
6144 2) iASL Compiler/Disassembler:
6145
6146 Fixed a code generation problem in the constant folding optimization code 
6147 where incorrect code was generated if a constant was reduced to a buffer 
6148 object (i.e., a reduced type 5 opcode.)
6149
6150 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
6151 incorrect return type in the internal opcode information table.
6152
6153 ----------------------------------------
6154 25 January 2005.  Summary of changes for version 20050125:
6155
6156 1) ACPI CA Core Subsystem:
6157
6158 Fixed a recently introduced problem with the Global Lock where the 
6159 underlying semaphore was not created.  This problem was introduced in 
6160 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
6161 Acquire() operation on _GL.
6162
6163 The local object cache is now optional, and is disabled by default. Both 
6164 AcpiExec and the iASL compiler enable the cache because they run in user 
6165 mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
6166 to enable the local cache.
6167
6168 Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
6169 optional "implicit return" support where an error was returned if no return 
6170 object was expected, but one was implicitly returned. AE_OK is now returned 
6171 in this case and the implicitly returned object is deleted. 
6172 AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
6173 methods such as _STA and _INI where the return type is known up front.
6174
6175 Fixed a few issues with the internal convert-to-integer code. It now returns 
6176 an error if an attempt is made to convert a null string, a string of only 
6177 blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
6178 and explicit conversion via the ToInteger() operator.
6179
6180 The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
6181 not needed for normal operation and should increase the performance of the 
6182 entire subsystem. The code remains in case it is needed for debug purposes 
6183 again.
6184
6185 The AcpiExec source and makefile are included in the Unix/Linux package for 
6186 the first time.
6187
6188 Code and Data Size: Current and previous core subsystem library sizes are 
6189 shown below. These are the code and data sizes for the acpica.lib produced 
6190 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6191 any ACPI driver or OSPM code. The debug version of the code includes the 
6192 debug output trace mechanism and has a much larger code and data size. Note 
6193 that these values will vary depending on the efficiency of the compiler and 
6194 the compiler options used during generation.
6195
6196   Previous Release:
6197     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6198     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6199   Current Release:
6200     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
6201     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
6202
6203 2) iASL Compiler/Disassembler:
6204
6205 Switch/Case support: A warning is now issued if the type of the Switch value 
6206 cannot be determined at compile time. For example, Switch(Arg0) will 
6207 generate the warning, and the type is assumed to be an integer. As per the 
6208 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
6209 warning.
6210
6211 Switch/Case support: Implemented support for buffer and string objects as 
6212 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
6213 buffers and strings.
6214
6215 Switch/Case support: The emitted code for the LEqual() comparisons now uses 
6216 the switch value as the first operand, not the second. The case value is now 
6217 the second operand, and this allows the case value to be implicitly 
6218 converted to the type of the switch value, not the other way around.
6219
6220 Switch/Case support: Temporary variables are now emitted immediately within 
6221 the control method, not at the global level. This means that there are now 
6222 36 temps available per-method, not 36 temps per-module as was the case with 
6223 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
6224
6225 ----------------------------------------
6226 14 January 2005.  Summary of changes for version 20050114:
6227
6228 Added 2005 copyright to all module headers.  This affects every module in 
6229 the core subsystem, iASL compiler, and the utilities.
6230
6231 1) ACPI CA Core Subsystem:
6232
6233 Fixed an issue with the String-to-Buffer conversion code where the string 
6234 null terminator was not included in the buffer after conversion, but there 
6235 is existing ASL that assumes the string null terminator is included. This is 
6236 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
6237 introduced in the previous version when the code was updated to correctly 
6238 set the converted buffer size as per the ACPI specification. The ACPI spec 
6239 is ambiguous and will be updated to specify that the null terminator must be 
6240 included in the converted buffer. This also affects the ToBuffer() ASL 
6241 operator.
6242
6243 Fixed a problem with the Mid() ASL/AML operator where it did not work 
6244 correctly on Buffer objects. Newly created sub-buffers were not being marked 
6245 as initialized.
6246
6247
6248 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
6249 performed on the OemId and OemTableId table header fields.  These fields are 
6250 not null terminated, so strncmp is now used instead of strcmp.
6251
6252 Implemented a restriction on the Store() ASL/AML operator to align the 
6253 behavior with the ACPI specification.  Previously, any object could be used 
6254 as the source operand.  Now, the only objects that may be used are Integers, 
6255 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
6256 necessary, the original behavior can be restored by enabling the 
6257 EnableInterpreterSlack flag.
6258
6259 Enhanced the optional "implicit return" support to allow an implicit return 
6260 value from methods that are invoked externally via the AcpiEvaluateObject 
6261 interface.  This enables implicit returns from the _STA and _INI methods, 
6262 for example.
6263
6264 Changed the Revision() ASL/AML operator to return the current version of the 
6265 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
6266 the supported ACPI version (This is the function of the _REV method).
6267
6268 Updated the _REV predefined method to return the currently supported version 
6269 of ACPI, now 3.
6270
6271 Implemented batch mode option for the AcpiExec utility (-b).
6272
6273 Code and Data Size: Current and previous core subsystem library sizes are 
6274 shown below. These are the code and data sizes for the acpica.lib produced 
6275 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6276 any ACPI driver or OSPM code. The debug version of the code includes the 
6277 debug output trace mechanism and has a much larger code and data size. Note 
6278 that these values will vary depending on the efficiency of the compiler and 
6279 the compiler options used during generation.
6280
6281   Previous Release:
6282     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6283     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6284   Current Release:
6285     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6286     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6287
6288 ----------------------------------------
6289 10 December 2004.  Summary of changes for version 20041210:
6290
6291 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
6292 ACPI CA core subsystem.
6293
6294 1) ACPI CA Core Subsystem:
6295
6296 Fixed a problem in the ToDecimalString operator where the resulting string 
6297 length was incorrectly calculated. The length is now calculated exactly, 
6298 eliminating incorrect AE_STRING_LIMIT exceptions.
6299
6300 Fixed a problem in the ToHexString operator to allow a maximum 200 character 
6301 string to be produced.
6302
6303 Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
6304 routine where the length of the resulting buffer was not truncated to the 
6305 new size (if the target buffer already existed).
6306
6307 Code and Data Size: Current and previous core subsystem library sizes are 
6308 shown below. These are the code and data sizes for the acpica.lib produced 
6309 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6310 any ACPI driver or OSPM code. The debug version of the code includes the 
6311 debug output trace mechanism and has a much larger code and data size. Note 
6312 that these values will vary depending on the efficiency of the compiler and 
6313 the compiler options used during generation.
6314
6315   Previous Release:
6316     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6317     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6318   Current Release:
6319     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6320     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6321
6322
6323 2) iASL Compiler/Disassembler:
6324
6325 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
6326 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
6327 Includes support in the disassembler.
6328
6329 Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
6330 AccessSize.
6331
6332 Fixed a problem where the _HE resource name for the Interrupt macro was 
6333 referencing bit 0 instead of bit 1.
6334
6335 Implemented check for maximum 255 interrupts in the Interrupt macro.
6336
6337 Fixed a problem with the predefined resource descriptor names where 
6338 incorrect AML code was generated if the offset within the resource buffer 
6339 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
6340 but did not update the surrounding package lengths.
6341
6342 Changes to the Dma macro:  All channels within the channel list must be in 
6343 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
6344 optional (default is BusMaster).
6345
6346 Implemented check for maximum 7 data bytes for the VendorShort macro.
6347
6348 The ReadWrite parameter is now optional for the Memory32 and similar macros.
6349
6350 ----------------------------------------
6351 03 December 2004.  Summary of changes for version 20041203:
6352
6353 1) ACPI CA Core Subsystem:
6354
6355 The low-level field insertion/extraction code (exfldio) has been completely 
6356 rewritten to eliminate unnecessary complexity, bugs, and boundary 
6357 conditions.
6358
6359 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
6360 operators where the input operand could be inadvertently deleted if no 
6361 conversion was necessary (e.g., if the input to ToInteger was an Integer 
6362 object.)
6363
6364 Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
6365 exception code was returned if the resulting string would be > 200 chars.  
6366 AE_STRING_LIMIT is now returned.
6367
6368 Fixed a problem with the Concatenate operator where AE_OK was always 
6369 returned, even if the operation failed.
6370
6371 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
6372 semaphores to be allocated.
6373
6374 Code and Data Size: Current and previous core subsystem library sizes are 
6375 shown below. These are the code and data sizes for the acpica.lib produced 
6376 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6377 any ACPI driver or OSPM code. The debug version of the code includes the 
6378 debug output trace mechanism and has a much larger code and data size. Note 
6379 that these values will vary depending on the efficiency of the compiler and 
6380 the compiler options used during generation.
6381
6382   Previous Release:
6383     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6384     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6385   Current Release:
6386     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6387     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6388
6389
6390 2) iASL Compiler/Disassembler:
6391
6392 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
6393 recently introduced in 20041119.
6394
6395 Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
6396 byte was inadvertently set to zero.
6397
6398 ----------------------------------------
6399 19 November 2004.  Summary of changes for version 20041119:
6400
6401 1) ACPI CA Core Subsystem:
6402
6403 Fixed a problem in the internal ConvertToInteger routine where new integers 
6404 were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
6405 buffers and strings to integers.
6406
6407 Implemented support to store a value to an Index() on a String object. This 
6408 is an ACPI 2.0 feature that had not yet been implemented.
6409
6410 Implemented new behavior for storing objects to individual package elements 
6411 (via the Index() operator). The previous behavior was to invoke the implicit 
6412 conversion rules if an object was already present at the index.  The new 
6413 behavior is to simply delete any existing object and directly store the new 
6414 object. Although the ACPI specification seems unclear on this subject, other 
6415 ACPI implementations behave in this manner.  (This is the root of the 
6416 AE_BAD_HEX_CONSTANT issue.)
6417
6418 Modified the RSDP memory scan mechanism to support the extended checksum for 
6419 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6420 RSDP signature is found with a valid checksum.
6421
6422 Code and Data Size: Current and previous core subsystem library sizes are 
6423 shown below. These are the code and data sizes for the acpica.lib produced 
6424 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6425 any ACPI driver or OSPM code. The debug version of the code includes the 
6426 debug output trace mechanism and has a much larger code and data size. Note 
6427 that these values will vary depending on the efficiency of the compiler and 
6428 the compiler options used during generation.
6429
6430   Previous Release:
6431     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6432     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6433   Current Release:
6434     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6435     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6436
6437
6438 2) iASL Compiler/Disassembler:
6439
6440 Fixed a missing semicolon in the aslcompiler.y file.
6441
6442 ----------------------------------------
6443 05 November 2004.  Summary of changes for version 20041105:
6444
6445 1) ACPI CA Core Subsystem:
6446
6447 Implemented support for FADT revision 2.  This was an interim table (between 
6448 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6449
6450 Implemented optional support to allow uninitialized LocalX and ArgX 
6451 variables in a control method.  The variables are initialized to an Integer 
6452 object with a value of zero.  This support is enabled by setting the 
6453 AcpiGbl_EnableInterpreterSlack flag to TRUE.
6454
6455 Implemented support for Integer objects for the SizeOf operator.  Either 4 
6456 or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6457 depending on the parent table revision).
6458
6459 Fixed a problem in the implementation of the SizeOf and ObjectType operators 
6460 where the operand was resolved to a value too early, causing incorrect 
6461 return values for some objects.
6462
6463 Fixed some possible memory leaks during exceptional conditions.
6464
6465 Code and Data Size: Current and previous core subsystem library sizes are 
6466 shown below. These are the code and data sizes for the acpica.lib produced 
6467 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6468 any ACPI driver or OSPM code. The debug version of the code includes the 
6469 debug output trace mechanism and has a much larger code and data size. Note 
6470 that these values will vary depending on the efficiency of the compiler and 
6471 the compiler options used during generation.
6472
6473   Previous Release:
6474     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6475     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6476   Current Release:
6477     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6478     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6479
6480
6481 2) iASL Compiler/Disassembler:
6482
6483 Implemented support for all ACPI 3.0 reserved names and methods.
6484
6485 Implemented all ACPI 3.0 grammar elements in the front-end, including 
6486 support for semicolons.
6487
6488 Implemented the ACPI 3.0 Function() and ToUUID() macros
6489
6490 Fixed a problem in the disassembler where a Scope() operator would not be 
6491 emitted properly if the target of the scope was in another table.
6492
6493 ----------------------------------------
6494 15 October 2004.  Summary of changes for version 20041015:
6495
6496 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
6497 evaluation to test/verify the following areas. Other suggestions are 
6498 welcome. This will result in an increase in the frequency of releases and 
6499 the number of bug fixes in the next few months.
6500   - Functional tests for all ASL/AML operators
6501   - All implicit/explicit type conversions
6502   - Bit fields and operation regions
6503   - 64-bit math support and 32-bit-only "truncated" math support
6504   - Exceptional conditions, both compiler and interpreter
6505   - Dynamic object deletion and memory leaks
6506   - ACPI 3.0 support when implemented
6507   - External interfaces to the ACPI subsystem
6508
6509
6510 1) ACPI CA Core Subsystem:
6511
6512 Fixed two alignment issues on 64-bit platforms - within debug statements in 
6513 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6514 field within the non-aligned ACPI generic address structure.
6515
6516 Fixed a problem in the Increment and Decrement operators where incorrect 
6517 operand resolution could result in the inadvertent modification of the 
6518 original integer when the integer is passed into another method as an 
6519 argument and the arg is then incremented/decremented.
6520
6521 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6522 BCD number were truncated during conversion.
6523
6524 Fixed a problem in the ToDecimal operator where the length of the resulting 
6525 string could be set incorrectly too long if the input operand was a Buffer 
6526 object.
6527
6528 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6529 within a buffer would prematurely terminate a compare between buffer 
6530 objects.
6531
6532 Added a check for string overflow (>200 characters as per the ACPI 
6533 specification) during the Concatenate operator with two string operands.
6534
6535 Code and Data Size: Current and previous core subsystem library sizes are 
6536 shown below. These are the code and data sizes for the acpica.lib produced 
6537 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6538 any ACPI driver or OSPM code. The debug version of the code includes the 
6539 debug output trace mechanism and has a much larger code and data size. Note 
6540 that these values will vary depending on the efficiency of the compiler and 
6541 the compiler options used during generation.
6542
6543   Previous Release:
6544     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6545     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6546   Current Release:
6547     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6548     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6549
6550
6551
6552 2) iASL Compiler/Disassembler:
6553
6554 Allow the use of the ObjectType operator on uninitialized Locals and Args 
6555 (returns 0 as per the ACPI specification).
6556
6557 Fixed a problem where the compiler would fault if there was a syntax error 
6558 in the FieldName of all of the various CreateXXXField operators.
6559
6560 Disallow the use of lower case letters within the EISAID macro, as per the 
6561 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6562 U is an uppercase letter and N is a hex digit.
6563
6564
6565 ----------------------------------------
6566 06 October 2004.  Summary of changes for version 20041006:
6567
6568 1) ACPI CA Core Subsystem:
6569
6570 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
6571 implements a 64-bit timer with 100 nanosecond granularity.
6572
6573 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6574 implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6575 the timer with the best clock available. Also, it keeps the core subsystem 
6576 out of the clock handling business, since the host OS (usually) performs 
6577 this function.
6578
6579 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6580 functions use a 64-bit address which is part of the packed ACPI Generic 
6581 Address Structure. Since the structure is non-aligned, the alignment macros 
6582 are now used to extract the address to a local variable before use.
6583
6584 Fixed a problem where the ToInteger operator assumed all input strings were 
6585 hexadecimal. The operator now handles both decimal strings and hex strings 
6586 (prefixed with "0x").
6587
6588 Fixed a problem where the string length in the string object created as a 
6589 result of the internal ConvertToString procedure could be incorrect. This 
6590 potentially affected all implicit conversions and also the ToDecimalString 
6591 and ToHexString operators.
6592
6593 Fixed two problems in the ToString operator. If the length parameter was 
6594 zero, an incorrect string object was created and the value of the input 
6595 length parameter was inadvertently changed from zero to Ones.
6596
6597 Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6598 resource macro was ignored.
6599
6600 Simplified the interfaces to the internal division functions, reducing code 
6601 size and complexity.
6602
6603 Code and Data Size: Current and previous core subsystem library sizes are 
6604 shown below. These are the code and data sizes for the acpica.lib produced 
6605 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6606 any ACPI driver or OSPM code. The debug version of the code includes the 
6607 debug output trace mechanism and has a much larger code and data size. Note 
6608 that these values will vary depending on the efficiency of the compiler and 
6609 the compiler options used during generation.
6610
6611   Previous Release:
6612     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6613     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6614   Current Release:
6615     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6616     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6617
6618
6619 2) iASL Compiler/Disassembler:
6620
6621 Implemented support for the ACPI 3.0 Timer operator.
6622
6623 Fixed a problem where the Default() operator was inadvertently ignored in a 
6624 Switch/Case block.  This was a problem in the translation of the Switch 
6625 statement to If...Else pairs.
6626
6627 Added support to allow a standalone Return operator, with no parentheses (or 
6628 operands).
6629
6630 Fixed a problem with code generation for the ElseIf operator where the 
6631 translated Else...If parse tree was improperly constructed leading to the 
6632 loss of some code.
6633
6634 ----------------------------------------
6635 22 September 2004.  Summary of changes for version 20040922:
6636
6637 1) ACPI CA Core Subsystem:
6638
6639 Fixed a problem with the implementation of the LNot() operator where "Ones" 
6640 was not returned for the TRUE case. Changed the code to return Ones instead 
6641 of (!Arg) which was usually 1. This change affects iASL constant folding for 
6642 this operator also.
6643
6644 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6645 initialized properly -- Now zero the entire buffer in this case where the 
6646 buffer already exists.
6647
6648 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6649 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6650 related code considerably. This will require changes/updates to all OS 
6651 interface layers (OSLs.)
6652
6653 Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
6654 a system exception handler to be installed. This handler is invoked upon any 
6655 run-time exception that occurs during control method execution.
6656
6657 Added support for the DSDT in AcpiTbFindTable. This allows the 
6658 DataTableRegion() operator to access the local copy of the DSDT.
6659
6660 Code and Data Size: Current and previous core subsystem library sizes are 
6661 shown below. These are the code and data sizes for the acpica.lib produced 
6662 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6663 any ACPI driver or OSPM code. The debug version of the code includes the 
6664 debug output trace mechanism and has a much larger code and data size. Note 
6665 that these values will vary depending on the efficiency of the compiler and 
6666 the compiler options used during generation.
6667
6668   Previous Release:
6669     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6670     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6671   Current Release:
6672     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6673     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6674
6675
6676 2) iASL Compiler/Disassembler:
6677
6678 Fixed a problem with constant folding and the LNot operator. LNot was 
6679 returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6680 could result in the generation of an incorrect folded/reduced constant.
6681
6682 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
6683 longer occurs if such a comment is at the very end of the input ASL source 
6684 file.
6685
6686 Implemented the "-r" option to override the Revision in the table header. 
6687 The initial use of this option will be to simplify the evaluation of the AML 
6688 interpreter by allowing a single ASL source module to be compiled for either 
6689 32-bit or 64-bit integers.
6690
6691
6692 ----------------------------------------
6693 27 August 2004.  Summary of changes for version 20040827:
6694
6695 1) ACPI CA Core Subsystem:
6696
6697 - Implemented support for implicit object conversion in the non-numeric 
6698 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6699 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6700 the second operand is implicitly converted on the fly to match the type of 
6701 the first operand.  For example:
6702
6703     LEqual (Source1, Source2)
6704
6705 Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6706 The data type of Source1 dictates the required type of Source2. Source2 is 
6707 implicitly converted if necessary to match the type of Source1.
6708
6709 - Updated and corrected the behavior of the string conversion support.  The 
6710 rules concerning conversion of buffers to strings (according to the ACPI 
6711 specification) are as follows:
6712
6713 ToDecimalString - explicit byte-wise conversion of buffer to string of 
6714 decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6715 conversion of buffer to string of hex values (0-FF) separated by commas. 
6716 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6717 copy with no transform except NULL terminated. Any other implicit buffer-to-
6718 string conversion - byte-wise conversion of buffer to string of hex values 
6719 (0-FF) separated by spaces.
6720
6721 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6722
6723 - Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6724 one byte too short in the case of a node in the root scope.  This could 
6725 cause a fault during debug output.
6726
6727 - Code and Data Size: Current and previous core subsystem library sizes are 
6728 shown below.  These are the code and data sizes for the acpica.lib produced 
6729 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6730 any ACPI driver or OSPM code.  The debug version of the code includes the 
6731 debug output trace mechanism and has a much larger code and data size.  Note 
6732 that these values will vary depending on the efficiency of the compiler and 
6733 the compiler options used during generation.
6734
6735   Previous Release:
6736     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6737     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6738   Current Release:
6739     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6740     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6741
6742
6743 2) iASL Compiler/Disassembler:
6744
6745 - Fixed a Linux generation error.
6746
6747
6748 ----------------------------------------
6749 16 August 2004.  Summary of changes for version 20040816:
6750
6751 1) ACPI CA Core Subsystem:
6752
6753 Designed and implemented support within the AML interpreter for the so-
6754 called "implicit return".  This support returns the result of the last ASL 
6755 operation within a control method, in the absence of an explicit Return() 
6756 operator.  A few machines depend on this behavior, even though it is not 
6757 explicitly supported by the ASL language.  It is optional support that can 
6758 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6759
6760 Removed support for the PCI_Config address space from the internal low level 
6761 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6762 support was not used internally, and would not work correctly anyway because 
6763 the PCI bus number and segment number were not supported.  There are 
6764 separate interfaces for PCI configuration space access because of the unique 
6765 interface.
6766
6767 Code and Data Size: Current and previous core subsystem library sizes are 
6768 shown below.  These are the code and data sizes for the acpica.lib produced 
6769 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6770 any ACPI driver or OSPM code.  The debug version of the code includes the 
6771 debug output trace mechanism and has a much larger code and data size.  Note 
6772 that these values will vary depending on the efficiency of the compiler and 
6773 the compiler options used during generation.
6774
6775   Previous Release:
6776     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6777     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6778   Current Release:
6779     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6780     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6781
6782
6783 2) iASL Compiler/Disassembler:
6784
6785 Fixed a problem where constants in ASL expressions at the root level (not 
6786 within a control method) could be inadvertently truncated during code 
6787 generation.  This problem was introduced in the 20040715 release.
6788
6789
6790 ----------------------------------------
6791 15 July 2004.  Summary of changes for version 20040715:
6792
6793 1) ACPI CA Core Subsystem:
6794
6795 Restructured the internal HW GPE interfaces to pass/track the current state 
6796 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
6797 increase flexibility of the interfaces.
6798
6799 Implemented a "lexicographical compare" for String and Buffer objects within 
6800 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6801 as per further clarification to the ACPI specification.  Behavior is similar 
6802 to C library "strcmp".
6803
6804 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6805 external function.  In the 32-bit non-debug case, the stack use has been 
6806 reduced from 168 bytes to 32 bytes.
6807
6808 Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6809 whose purpose is to allow the AML interpreter to forgive certain bad AML 
6810 constructs.  Default setting is FALSE.
6811
6812 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6813 support code.  If enabled, it allows field access to go beyond the end of a 
6814 region definition if the field is within the region length rounded up to the 
6815 next access width boundary (a common coding error.)
6816
6817 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6818 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6819 symbols are lowercased by the latest version of the AcpiSrc tool.
6820
6821 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6822 rename "Register" to simply "Reg" to prevent certain compilers from 
6823 complaining.
6824
6825 Code and Data Size: Current and previous core subsystem library sizes are 
6826 shown below.  These are the code and data sizes for the acpica.lib produced 
6827 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6828 any ACPI driver or OSPM code.  The debug version of the code includes the 
6829 debug output trace mechanism and has a much larger code and data size.  Note 
6830 that these values will vary depending on the efficiency of the compiler and 
6831 the compiler options used during generation.
6832
6833   Previous Release:
6834     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6835     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6836   Current Release:
6837     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6838     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6839
6840
6841 2) iASL Compiler/Disassembler:
6842
6843 Implemented full support for Package objects within the Case() operator.  
6844 Note: The Break() operator is currently not supported within Case blocks 
6845 (TermLists) as there is some question about backward compatibility with ACPI 
6846 1.0 interpreters.
6847
6848
6849 Fixed a problem where complex terms were not supported properly within the 
6850 Switch() operator.
6851
6852 Eliminated extraneous warning for compiler-emitted reserved names of the 
6853 form "_T_x".  (Used in Switch/Case operators.)
6854
6855 Eliminated optimization messages for "_T_x" objects and small constants 
6856 within the DefinitionBlock operator.
6857
6858
6859 ----------------------------------------
6860 15 June 2004.  Summary of changes for version 20040615:
6861
6862 1) ACPI CA Core Subsystem:
6863
6864 Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6865 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6866 LLessEqual.
6867
6868 All directory names in the entire source package are lower case, as they 
6869 were in earlier releases.
6870
6871 Implemented "Disassemble" command in the AML debugger that will disassemble 
6872 a single control method.
6873
6874 Code and Data Size: Current and previous core subsystem library sizes are 
6875 shown below.  These are the code and data sizes for the acpica.lib produced 
6876 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6877 any ACPI driver or OSPM code.  The debug version of the code includes the 
6878 debug output trace mechanism and has a much larger code and data size.  Note 
6879 that these values will vary depending on the efficiency of the compiler and 
6880 the compiler options used during generation.
6881
6882   Previous Release:
6883     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6884     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6885
6886   Current Release:
6887     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6888     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6889
6890
6891 2) iASL Compiler/Disassembler:
6892
6893 Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6894 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6895 LLessEqual.
6896
6897 All directory names in the entire source package are lower case, as they 
6898 were in earlier releases.
6899
6900 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
6901 not found.
6902
6903 Fixed an issue with the Windows version of the compiler where later versions 
6904 of Windows place the FADT in the registry under the name "FADT" and not 
6905 "FACP" as earlier versions did.  This applies when using the -g or -
6906 d<nofilename> options.  The compiler now looks for both strings as 
6907 necessary.
6908
6909 Fixed a problem with compiler namepath optimization where a namepath within 
6910 the Scope() operator could not be optimized if the namepath was a subpath of 
6911 the current scope path.
6912
6913 ----------------------------------------
6914 27 May 2004.  Summary of changes for version 20040527:
6915
6916 1) ACPI CA Core Subsystem:
6917
6918 Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
6919 support in the RSDP scan code.  The original code improperly scanned for the 
6920 EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6921 is to first obtain the EBDA pointer from within the BIOS data area, then 
6922 scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6923 any machines that place the RSDP in the EBDA, however.
6924
6925 Integrated a fix for a possible fault during evaluation of BufferField 
6926 arguments.  Obsolete code that was causing the problem was removed.
6927
6928 Found and fixed a problem in the Field Support Code where data could be 
6929 corrupted on a bit field read that starts on an aligned boundary but does 
6930 not end on an aligned boundary.  Merged the read/write "datum length" 
6931 calculation code into a common procedure.
6932
6933 Rolled in a couple of changes to the FreeBSD-specific header.
6934
6935
6936 Code and Data Size: Current and previous core subsystem library sizes are 
6937 shown below.  These are the code and data sizes for the acpica.lib produced 
6938 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6939 any ACPI driver or OSPM code.  The debug version of the code includes the 
6940 debug output trace mechanism and has a much larger code and data size.  Note 
6941 that these values will vary depending on the efficiency of the compiler and 
6942 the compiler options used during generation.
6943
6944   Previous Release:
6945     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6946     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6947   Current Release:
6948     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6949     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6950
6951
6952 2) iASL Compiler/Disassembler:
6953
6954 Fixed a generation warning produced by some overly-verbose compilers for a 
6955 64-bit constant.
6956
6957 ----------------------------------------
6958 14 May 2004.  Summary of changes for version 20040514:
6959
6960 1) ACPI CA Core Subsystem:
6961
6962 Fixed a problem where hardware GPE enable bits sometimes not set properly 
6963 during and after GPE method execution.  Result of 04/27 changes.
6964
6965 Removed extra "clear all GPEs" when sleeping/waking.
6966
6967 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6968 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6969 the new AcpiEv* calls as appropriate.
6970
6971 ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6972 now "Microsoft Windows NT" for maximum compatibility.  However this can be 
6973 changed by modifying the acconfig.h file.
6974
6975 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
6976 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6977
6978 Run _INI methods on ThermalZone objects.  This is against the ACPI 
6979 specification, but there is apparently ASL code in the field that has these 
6980 _INI methods, and apparently "other" AML interpreters execute them.
6981
6982 Performed a full 16/32/64 bit lint that resulted in some small changes.
6983
6984 Added a sleep simulation command to the AML debugger to test sleep code. 
6985
6986 Code and Data Size: Current and previous core subsystem library sizes are 
6987 shown below.  These are the code and data sizes for the acpica.lib produced 
6988 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6989 any ACPI driver or OSPM code.  The debug version of the code includes the 
6990 debug output trace mechanism and has a much larger code and data size.  Note 
6991 that these values will vary depending on the efficiency of the compiler and 
6992 the compiler options used during generation.
6993
6994   Previous Release:
6995     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6996     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6997   Current Release:
6998     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6999     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
7000
7001 ----------------------------------------
7002 27 April 2004.  Summary of changes for version 20040427:
7003
7004 1) ACPI CA Core Subsystem:
7005
7006 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
7007 now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
7008 The only GPEs allowed to be combination wake/run are for button-style 
7009 devices such as a control-method power button, control-method sleep button, 
7010 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
7011 referenced by any _PRW methods are marked for "runtime" and hardware 
7012 enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
7013 (and disabled at runtime).  However, at sleep time, only those GPEs that 
7014 have been specifically enabled for wake via the AcpiEnableGpe interface will 
7015 actually be hardware enabled.
7016
7017 A new external interface has been added, AcpiSetGpeType(), that is meant to 
7018 be used by device drivers to force a GPE to a particular type.  It will be 
7019 especially useful for the drivers for the button devices mentioned above.
7020
7021 Completed restructuring of the ACPI CA initialization sequence so that 
7022 default operation region handlers are installed before GPEs are initialized 
7023 and the _PRW methods are executed.  This will prevent errors when the _PRW 
7024 methods attempt to access system memory or I/O space.
7025
7026 GPE enable/disable no longer reads the GPE enable register.  We now keep the 
7027 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
7028 thus no longer depend on the hardware to maintain these bits.
7029
7030 Always clear the wake status and fixed/GPE status bits before sleep, even 
7031 for state S5.
7032
7033 Improved the AML debugger output for displaying the GPE blocks and their 
7034 current status.
7035
7036 Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
7037 x = 0,1,2,3,4.
7038
7039 Fixed a problem where the physical address was incorrectly calculated when 
7040 the Load() operator was used to directly load from an Operation Region (vs. 
7041 loading from a Field object.)  Also added check for minimum table length for 
7042 this case.
7043
7044 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
7045 mutex release.
7046
7047 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
7048 consistency with the other fields returned.
7049
7050 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
7051 structure for each GPE in the system, so the size of this structure is 
7052 important.
7053
7054 CPU stack requirement reduction:  Cleaned up the method execution and object 
7055 evaluation paths so that now a parameter structure is passed, instead of 
7056 copying the various method parameters over and over again.
7057
7058 In evregion.c:  Correctly exit and reenter the interpreter region if and 
7059 only if dispatching an operation region request to a user-installed handler.  
7060 Do not exit/reenter when dispatching to a default handler (e.g., default 
7061 system memory or I/O handlers)
7062
7063
7064 Notes for updating drivers for the new GPE support.  The following changes 
7065 must be made to ACPI-related device drivers that are attached to one or more 
7066 GPEs: (This information will be added to the ACPI CA Programmer Reference.)
7067
7068 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
7069 explicitly call AcpiEnableGpe.
7070 2) There is a new interface called AcpiSetGpeType. This should be called 
7071 before enabling the GPE.  Also, this interface will automatically disable 
7072 the GPE if it is currently enabled.
7073 3) AcpiEnableGpe no longer supports a GPE type flag.
7074
7075 Specific drivers that must be changed:
7076 1) EC driver:
7077     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
7078 AeGpeHandler, NULL);
7079     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
7080     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
7081
7082 2) Button Drivers (Power, Lid, Sleep):
7083 Run _PRW method under parent device
7084 If _PRW exists: /* This is a control-method button */
7085     Extract GPE number and possibly GpeDevice
7086     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
7087     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
7088
7089 For all other devices that have _PRWs, we automatically set the GPE type to 
7090 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
7091 must be done on a selective basis, usually requiring some kind of user app 
7092 to allow the user to pick the wake devices.
7093
7094
7095 Code and Data Size: Current and previous core subsystem library sizes are 
7096 shown below.  These are the code and data sizes for the acpica.lib produced 
7097 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7098 any ACPI driver or OSPM code.  The debug version of the code includes the 
7099 debug output trace mechanism and has a much larger code and data size.  Note 
7100 that these values will vary depending on the efficiency of the compiler and 
7101 the compiler options used during generation.
7102
7103   Previous Release:
7104     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7105     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7106   Current Release:
7107
7108     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7109     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
7110
7111
7112
7113 ----------------------------------------
7114 02 April 2004.  Summary of changes for version 20040402:
7115
7116 1) ACPI CA Core Subsystem:
7117
7118 Fixed an interpreter problem where an indirect store through an ArgX 
7119 parameter was incorrectly applying the "implicit conversion rules" during 
7120 the store.  From the ACPI specification: "If the target is a method local or 
7121 argument (LocalX or ArgX), no conversion is performed and the result is 
7122 stored directly to the target".  The new behavior is to disable implicit 
7123 conversion during ALL stores to an ArgX.
7124
7125 Changed the behavior of the _PRW method scan to ignore any and all errors 
7126 returned by a given _PRW.  This prevents the scan from aborting from the 
7127 failure of any single _PRW.
7128
7129 Moved the runtime configuration parameters from the global init procedure to 
7130 static variables in acglobal.h.  This will allow the host to override the 
7131 default values easily.
7132
7133 Code and Data Size: Current and previous core subsystem library sizes are 
7134 shown below.  These are the code and data sizes for the acpica.lib produced 
7135 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7136 any ACPI driver or OSPM code.  The debug version of the code includes the 
7137 debug output trace mechanism and has a much larger code and data size.  Note 
7138 that these values will vary depending on the efficiency of the compiler and 
7139 the compiler options used during generation.
7140
7141   Previous Release:
7142     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7143     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7144   Current Release:
7145     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7146     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7147
7148
7149 2) iASL Compiler/Disassembler:
7150
7151 iASL now fully disassembles SSDTs.  However, External() statements are not 
7152 generated automatically for unresolved symbols at this time.  This is a 
7153 planned feature for future implementation.
7154
7155 Fixed a scoping problem in the disassembler that occurs when the type of the 
7156 target of a Scope() operator is overridden.  This problem caused an 
7157 incorrectly nested internal namespace to be constructed.
7158
7159 Any warnings or errors that are emitted during disassembly are now commented 
7160 out automatically so that the resulting file can be recompiled without any 
7161 hand editing.
7162
7163 ----------------------------------------
7164 26 March 2004.  Summary of changes for version 20040326:
7165
7166 1) ACPI CA Core Subsystem:
7167
7168 Implemented support for "wake" GPEs via interaction between GPEs and the 
7169 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
7170 identified as a WAKE GPE and by default will no longer be enabled at 
7171 runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
7172 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
7173 believe this has been the cause of thousands of "spurious" GPEs on some 
7174 systems.
7175
7176 This new GPE behavior is can be reverted to the original behavior (enable 
7177 ALL GPEs at runtime) via a runtime flag.
7178
7179 Fixed a problem where aliased control methods could not access objects 
7180 properly.  The proper scope within the namespace was not initialized 
7181 (transferred to the target of the aliased method) before executing the 
7182 target method.
7183
7184 Fixed a potential race condition on internal object deletion on the return 
7185 object in AcpiEvaluateObject. 
7186
7187 Integrated a fix for resource descriptors where both _MEM and _MTP were 
7188 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
7189 wide, 0x0F instead of 0x03.)
7190
7191 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
7192 fault in some cases.
7193
7194 Updated Notify() values for debug statements in evmisc.c
7195
7196 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
7197
7198 Code and Data Size: Current and previous core subsystem library sizes are 
7199 shown below.  These are the code and data sizes for the acpica.lib produced 
7200 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7201 any ACPI driver or OSPM code.  The debug version of the code includes the 
7202 debug output trace mechanism and has a much larger code and data size.  Note 
7203 that these values will vary depending on the efficiency of the compiler and 
7204 the compiler options used during generation.
7205
7206   Previous Release:
7207
7208     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7209     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7210   Current Release:
7211     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7212     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7213
7214 ----------------------------------------
7215 11 March 2004.  Summary of changes for version 20040311:
7216
7217 1) ACPI CA Core Subsystem:
7218
7219 Fixed a problem where errors occurring during the parse phase of control 
7220 method execution did not abort cleanly.  For example, objects created and 
7221 installed in the namespace were not deleted.  This caused all subsequent 
7222 invocations of the method to return the AE_ALREADY_EXISTS exception.
7223
7224 Implemented a mechanism to force a control method to "Serialized" execution 
7225 if the method attempts to create namespace objects. (The root of the 
7226 AE_ALREADY_EXISTS problem.)
7227
7228 Implemented support for the predefined _OSI "internal" control method.  
7229 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
7230 "Windows 2001.1", and can be easily upgraded for new strings as necessary.  
7231 This feature will allow "other" operating systems to execute the fully 
7232 tested, "Windows" code path through the ASL code
7233
7234 Global Lock Support:  Now allows multiple acquires and releases with any 
7235 internal thread.  Removed concept of "owning thread" for this special mutex.
7236
7237 Fixed two functions that were inappropriately declaring large objects on the 
7238 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
7239 method execution considerably.
7240
7241 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
7242 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
7243
7244 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
7245 defined on the machine.
7246
7247 Implemented two runtime options:  One to force all control method execution 
7248 to "Serialized" to mimic Windows behavior, another to disable _OSI support 
7249 if it causes problems on a given machine.
7250
7251 Code and Data Size: Current and previous core subsystem library sizes are 
7252 shown below.  These are the code and data sizes for the acpica.lib produced 
7253 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7254 any ACPI driver or OSPM code.  The debug version of the code includes the 
7255 debug output trace mechanism and has a much larger code and data size.  Note 
7256 that these values will vary depending on the efficiency of the compiler and 
7257 the compiler options used during generation.
7258
7259   Previous Release:
7260     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7261     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7262   Current Release:
7263     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7264     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7265
7266 2) iASL Compiler/Disassembler:
7267
7268 Fixed an array size problem for FreeBSD that would cause the compiler to 
7269 fault.
7270
7271 ----------------------------------------
7272 20 February 2004.  Summary of changes for version 20040220:
7273
7274
7275 1) ACPI CA Core Subsystem:
7276
7277 Implemented execution of _SxD methods for Device objects in the 
7278 GetObjectInfo interface.
7279
7280 Fixed calls to _SST method to pass the correct arguments.
7281
7282 Added a call to _SST on wake to restore to "working" state.
7283
7284 Check for End-Of-Buffer failure case in the WalkResources interface.
7285
7286 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
7287 structures to the beginning of the file.
7288
7289 After wake, clear GPE status register(s) before enabling GPEs.
7290
7291 After wake, clear/enable power button.  (Perhaps we should clear/enable all 
7292 fixed events upon wake.)
7293
7294 Fixed a couple of possible memory leaks in the Namespace manager.
7295
7296 Integrated latest acnetbsd.h file.
7297
7298 ----------------------------------------
7299 11 February 2004.  Summary of changes for version 20040211:
7300
7301
7302 1) ACPI CA Core Subsystem:
7303
7304 Completed investigation and implementation of the call-by-reference 
7305 mechanism for control method arguments.
7306
7307 Fixed a problem where a store of an object into an indexed package could 
7308 fail if the store occurs within a different method than the method that 
7309 created the package.
7310
7311 Fixed a problem where the ToDecimal operator could return incorrect results.
7312
7313 Fixed a problem where the CopyObject operator could fail on some of the more 
7314 obscure objects (e.g., Reference objects.)
7315
7316 Improved the output of the Debug object to display buffer, package, and 
7317 index objects.
7318
7319 Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
7320 the expected result.
7321
7322 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
7323 ACPI_AML_INTERNAL exception.
7324
7325 Integrated latest version of acfreebsd.h
7326
7327 ----------------------------------------
7328 16 January 2004.  Summary of changes for version 20040116:
7329
7330 The purpose of this release is primarily to update the copyright years in 
7331 each module, thus causing a huge number of diffs.  There are a few small 
7332 functional changes, however.
7333
7334 1) ACPI CA Core Subsystem:
7335
7336 Improved error messages when there is a problem finding one or more of the 
7337 required base ACPI tables
7338
7339 Reintroduced the definition of APIC_HEADER in actbl.h
7340
7341 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
7342
7343 Removed extraneous reference to NewObj in dsmthdat.c
7344
7345 2) iASL compiler
7346
7347 Fixed a problem introduced in December that disabled the correct disassembly 
7348 of Resource Templates
7349
7350
7351 ----------------------------------------
7352 03 December 2003.  Summary of changes for version 20031203:
7353
7354 1) ACPI CA Core Subsystem:
7355
7356 Changed the initialization of Operation Regions during subsystem
7357 init to perform two entire walks of the ACPI namespace; The first
7358 to initialize the regions themselves, the second to execute the
7359 _REG methods.  This fixed some interdependencies across _REG
7360 methods found on some machines.
7361
7362 Fixed a problem where a Store(Local0, Local1) could simply update
7363 the object reference count, and not create a new copy of the
7364 object if the Local1 is uninitialized.
7365
7366 Implemented support for the _SST reserved method during sleep
7367 transitions.
7368
7369 Implemented support to clear the SLP_TYP and SLP_EN bits when
7370 waking up, this is apparently required by some machines.
7371
7372 When sleeping, clear the wake status only if SleepState is not S5.
7373
7374 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
7375 pointer arithmetic advanced a string pointer too far.
7376
7377 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
7378 could be returned if the requested table has not been loaded.
7379
7380 Within the support for IRQ resources, restructured the handling of
7381 the active and edge/level bits.
7382
7383 Fixed a few problems in AcpiPsxExecute() where memory could be
7384 leaked under certain error conditions.
7385
7386 Improved error messages for the cases where the ACPI mode could
7387 not be entered.
7388
7389 Code and Data Size: Current and previous core subsystem library
7390 sizes are shown below.  These are the code and data sizes for the
7391 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7392 these values do not include any ACPI driver or OSPM code.  The
7393 debug version of the code includes the debug output trace
7394 mechanism and has a much larger code and data size.  Note that
7395 these values will vary depending on the efficiency of the compiler
7396 and the compiler options used during generation.
7397
7398   Previous Release (20031029):
7399     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7400     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7401   Current Release:
7402     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7403     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7404
7405 2) iASL Compiler/Disassembler:
7406
7407 Implemented a fix for the iASL disassembler where a bad index was
7408 generated.  This was most noticeable on 64-bit platforms
7409
7410
7411 ----------------------------------------
7412 29 October 2003.  Summary of changes for version 20031029:
7413
7414 1) ACPI CA Core Subsystem:
7415
7416
7417 Fixed a problem where a level-triggered GPE with an associated
7418 _Lxx control method was incorrectly cleared twice.
7419
7420 Fixed a problem with the Field support code where an access can
7421 occur beyond the end-of-region if the field is non-aligned but
7422 extends to the very end of the parent region (resulted in an
7423 AE_AML_REGION_LIMIT exception.)
7424
7425 Fixed a problem with ACPI Fixed Events where an RT Clock handler
7426 would not get invoked on an RTC event.  The RTC event bitmasks for
7427 the PM1 registers were not being initialized properly.
7428
7429 Implemented support for executing _STA and _INI methods for
7430 Processor objects.  Although this is currently not part of the
7431 ACPI specification, there is existing ASL code that depends on the
7432 init-time execution of these methods.
7433
7434 Implemented and deployed a GetDescriptorName function to decode
7435 the various types of internal descriptors.  Guards against null
7436 descriptors during debug output also.
7437
7438 Implemented and deployed a GetNodeName function to extract the 4-
7439 character namespace node name.  This function simplifies the debug
7440 and error output, as well as guarding against null pointers during
7441 output.
7442
7443 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7444 simplify the debug and error output of 64-bit integers.  This
7445 macro replaces the HIDWORD and LODWORD macros for dumping these
7446 integers.
7447
7448 Updated the implementation of the Stall() operator to only call
7449 AcpiOsStall(), and also return an error if the operand is larger
7450 than 255.  This preserves the required behavior of not
7451 relinquishing the processor, as would happen if AcpiOsSleep() was
7452 called for "long stalls".
7453
7454 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7455 initialized are now treated as NOOPs.
7456
7457 Cleaned up a handful of warnings during 64-bit generation.
7458
7459 Fixed a reported error where and incorrect GPE number was passed
7460 to the GPE dispatch handler.  This value is only used for error
7461 output, however.  Used this opportunity to clean up and streamline
7462 the GPE dispatch code.
7463
7464 Code and Data Size: Current and previous core subsystem library
7465 sizes are shown below.  These are the code and data sizes for the
7466 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7467 these values do not include any ACPI driver or OSPM code.  The
7468
7469 debug version of the code includes the debug output trace
7470 mechanism and has a much larger code and data size.  Note that
7471 these values will vary depending on the efficiency of the compiler
7472 and the compiler options used during generation.
7473
7474   Previous Release (20031002):
7475     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7476     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7477   Current Release:
7478     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7479     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7480
7481
7482 2) iASL Compiler/Disassembler:
7483
7484 Updated the iASL compiler to return an error if the operand to the
7485 Stall() operator is larger than 255.
7486
7487
7488 ----------------------------------------
7489 02 October 2003.  Summary of changes for version 20031002:
7490
7491
7492 1) ACPI CA Core Subsystem:
7493
7494 Fixed a problem with Index Fields where the index was not
7495 incremented for fields that require multiple writes to the
7496 index/data registers (Fields that are wider than the data
7497 register.)
7498
7499 Fixed a problem with all Field objects where a write could go
7500 beyond the end-of-field if the field was larger than the access
7501 granularity and therefore required multiple writes to complete the
7502 request.  An extra write beyond the end of the field could happen
7503 inadvertently.
7504
7505 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7506 would incorrectly be returned if the width of the Data Register
7507 was larger than the specified field access width.
7508
7509 Completed fixes for LoadTable() and Unload() and verified their
7510 operation.  Implemented full support for the "DdbHandle" object
7511 throughout the ACPI CA subsystem.
7512
7513 Implemented full support for the MADT and ECDT tables in the ACPI
7514 CA header files.  Even though these tables are not directly
7515 consumed by ACPI CA, the header definitions are useful for ACPI
7516 device drivers.
7517
7518 Integrated resource descriptor fixes posted to the Linux ACPI
7519 list.  This included checks for minimum descriptor length, and
7520 support for trailing NULL strings within descriptors that have
7521 optional string elements.
7522
7523 Code and Data Size: Current and previous core subsystem library
7524 sizes are shown below.  These are the code and data sizes for the
7525 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7526 these values do not include any ACPI driver or OSPM code.  The
7527 debug version of the code includes the debug output trace
7528 mechanism and has a much larger code and data size.  Note that
7529 these values will vary depending on the efficiency of the compiler
7530 and the compiler options used during generation.
7531
7532   Previous Release (20030918):
7533     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7534     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7535   Current Release:
7536     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7537     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7538
7539
7540 2) iASL Compiler:
7541
7542 Implemented detection of non-ASCII characters within the input
7543 source ASL file.  This catches attempts to compile binary (AML)
7544 files early in the compile, with an informative error message.
7545
7546 Fixed a problem where the disassembler would fault if the output
7547 filename could not be generated or if the output file could not be
7548 opened.
7549
7550 ----------------------------------------
7551 18 September 2003.  Summary of changes for version 20030918:
7552
7553
7554 1) ACPI CA Core Subsystem:
7555
7556 Found and fixed a longstanding problem with the late execution of
7557 the various deferred AML opcodes (such as Operation Regions,
7558 Buffer Fields, Buffers, and Packages).  If the name string
7559 specified for the name of the new object placed the object in a
7560 scope other than the current scope, the initialization/execution
7561 of the opcode failed.  The solution to this problem was to
7562 implement a mechanism where the late execution of such opcodes
7563 does not attempt to lookup/create the name a second time in an
7564 incorrect scope.  This fixes the "region size computed
7565 incorrectly" problem.
7566
7567 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7568 Global Lock AE_BAD_PARAMETER error.
7569
7570 Fixed several 64-bit issues with prototypes, casting and data
7571 types.
7572
7573 Removed duplicate prototype from acdisasm.h
7574
7575 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7576
7577 Code and Data Size: Current and previous core subsystem library
7578 sizes are shown below.  These are the code and data sizes for the
7579 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7580 these values do not include any ACPI driver or OSPM code.  The
7581 debug version of the code includes the debug output trace
7582 mechanism and has a much larger code and data size.  Note that
7583 these values will vary depending on the efficiency of the compiler
7584 and the compiler options used during generation.
7585
7586   Previous Release:
7587
7588     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7589     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7590   Current Release:
7591     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7592     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7593
7594
7595 2) Linux:
7596
7597 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7598 correct sleep time in seconds.
7599
7600 ----------------------------------------
7601 14 July 2003.  Summary of changes for version 20030619:
7602
7603 1) ACPI CA Core Subsystem:
7604
7605 Parse SSDTs in order discovered, as opposed to reverse order
7606 (Hrvoje Habjanic)
7607
7608 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7609 Klausner,
7610    Nate Lawson)
7611
7612
7613 2) Linux:
7614
7615 Dynamically allocate SDT list (suggested by Andi Kleen)
7616
7617 proc function return value cleanups (Andi Kleen)
7618
7619 Correctly handle NMI watchdog during long stalls (Andrew Morton)
7620
7621 Make it so acpismp=force works (reported by Andrew Morton)
7622
7623
7624 ----------------------------------------
7625 19 June 2003.  Summary of changes for version 20030619:
7626
7627 1) ACPI CA Core Subsystem:
7628
7629 Fix To/FromBCD, eliminating the need for an arch-specific #define.
7630
7631 Do not acquire a semaphore in the S5 shutdown path.
7632
7633 Fix ex_digits_needed for 0. (Takayoshi Kochi)
7634
7635 Fix sleep/stall code reversal. (Andi Kleen)
7636
7637 Revert a change having to do with control method calling
7638 semantics.
7639
7640 2) Linux:
7641
7642 acpiphp update (Takayoshi Kochi)
7643
7644 Export acpi_disabled for sonypi (Stelian Pop)
7645
7646 Mention acpismp=force in config help
7647
7648 Re-add acpitable.c and acpismp=force. This improves backwards
7649
7650 compatibility and also cleans up the code to a significant degree.
7651
7652 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7653
7654 ----------------------------------------
7655 22 May 2003.  Summary of changes for version 20030522:
7656
7657 1) ACPI CA Core Subsystem:
7658
7659 Found and fixed a reported problem where an AE_NOT_FOUND error
7660 occurred occasionally during _BST evaluation.  This turned out to
7661 be an Owner ID allocation issue where a called method did not get
7662 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7663 ID UINT16 would wraparound so that the ID would be the same as the
7664 caller's and the called method would delete the caller's
7665 namespace.
7666
7667 Implemented extended error reporting for control methods that are
7668 aborted due to a run-time exception.  Output includes the exact
7669 AML instruction that caused the method abort, a dump of the method
7670 locals and arguments at the time of the abort, and a trace of all
7671 nested control method calls.
7672
7673 Modified the interpreter to allow the creation of buffers of zero
7674 length from the AML code. Implemented new code to ensure that no
7675 attempt is made to actually allocate a memory buffer (of length
7676 zero) - instead, a simple buffer object with a NULL buffer pointer
7677 and length zero is created.  A warning is no longer issued when
7678 the AML attempts to create a zero-length buffer.
7679
7680 Implemented a workaround for the "leading asterisk issue" in
7681 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7682 asterisk is automatically removed if present in any HID, UID, or
7683 CID strings.  The iASL compiler will still flag this asterisk as
7684 an error, however.
7685
7686 Implemented full support for _CID methods that return a package of
7687 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7688 now additionally returns a device _CID list if present.  This
7689 required a change to the external interface in order to pass an
7690 ACPI_BUFFER object as a parameter since the _CID list is of
7691 variable length.
7692
7693 Fixed a problem with the new AE_SAME_HANDLER exception where
7694 handler initialization code did not know about this exception.
7695
7696 Code and Data Size: Current and previous core subsystem library
7697 sizes are shown below.  These are the code and data sizes for the
7698 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7699 these values do not include any ACPI driver or OSPM code.  The
7700 debug version of the code includes the debug output trace
7701 mechanism and has a much larger code and data size.  Note that
7702 these values will vary depending on the efficiency of the compiler
7703 and the compiler options used during generation.
7704
7705   Previous Release (20030509):
7706     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7707     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7708   Current Release:
7709     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7710     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7711
7712
7713 2) Linux:
7714
7715 Fixed a bug in which we would reinitialize the ACPI interrupt
7716 after it was already working, thus disabling all ACPI and the IRQs
7717 for any other device sharing the interrupt. (Thanks to Stian
7718 Jordet)
7719
7720 Toshiba driver update (John Belmonte)
7721
7722 Return only 0 or 1 for our interrupt handler status (Andrew
7723 Morton)
7724
7725
7726 3) iASL Compiler:
7727
7728 Fixed a reported problem where multiple (nested) ElseIf()
7729 statements were not handled correctly by the compiler, resulting
7730 in incorrect warnings and incorrect AML code.  This was a problem
7731 in both the ASL parser and the code generator.
7732
7733
7734 4) Documentation:
7735
7736 Added changes to existing interfaces, new exception codes, and new
7737 text concerning reference count object management versus garbage
7738 collection.
7739
7740 ----------------------------------------
7741 09 May 2003.  Summary of changes for version 20030509.
7742
7743
7744 1) ACPI CA Core Subsystem:
7745
7746 Changed the subsystem initialization sequence to hold off
7747 installation of address space handlers until the hardware has been
7748 initialized and the system has entered ACPI mode.  This is because
7749 the installation of space handlers can cause _REG methods to be
7750 run.  Previously, the _REG methods could potentially be run before
7751 ACPI mode was enabled.
7752
7753 Fixed some memory leak issues related to address space handler and
7754 notify handler installation.  There were some problems with the
7755 reference count mechanism caused by the fact that the handler
7756 objects are shared across several namespace objects.
7757
7758 Fixed a reported problem where reference counts within the
7759 namespace were not properly updated when named objects created by
7760 method execution were deleted.
7761
7762 Fixed a reported problem where multiple SSDTs caused a deletion
7763 issue during subsystem termination.  Restructured the table data
7764 structures to simplify the linked lists and the related code.
7765
7766 Fixed a problem where the table ID associated with secondary
7767 tables (SSDTs) was not being propagated into the namespace objects
7768 created by those tables.  This would only present a problem for
7769 tables that are unloaded at run-time, however.
7770
7771 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7772 type as the length parameter (instead of UINT32).
7773
7774 Solved a long-standing problem where an ALREADY_EXISTS error
7775 appears on various systems.  This problem could happen when there
7776 are multiple PCI_Config operation regions under a single PCI root
7777 bus.  This doesn't happen very frequently, but there are some
7778 systems that do this in the ASL.
7779
7780 Fixed a reported problem where the internal DeleteNode function
7781 was incorrectly handling the case where a namespace node was the
7782 first in the parent's child list, and had additional peers (not
7783 the only child, but first in the list of children.)
7784
7785 Code and Data Size: Current core subsystem library sizes are shown
7786 below.  These are the code and data sizes for the acpica.lib
7787 produced by the Microsoft Visual C++ 6.0 compiler, and these
7788 values do not include any ACPI driver or OSPM code.  The debug
7789 version of the code includes the debug output trace mechanism and
7790 has a much larger code and data size.  Note that these values will
7791 vary depending on the efficiency of the compiler and the compiler
7792 options used during generation.
7793
7794   Previous Release
7795     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7796     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7797   Current Release:
7798     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7799     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7800
7801
7802 2) Linux:
7803
7804 Allow ":" in OS override string (Ducrot Bruno)
7805
7806 Kobject fix (Greg KH)
7807
7808
7809 3 iASL Compiler/Disassembler:
7810
7811 Fixed a problem in the generation of the C source code files (AML
7812 is emitted in C source statements for BIOS inclusion) where the
7813 Ascii dump that appears within a C comment at the end of each line
7814 could cause a compile time error if the AML sequence happens to
7815 have an open comment or close comment sequence embedded.
7816
7817
7818 ----------------------------------------
7819 24 April 2003.  Summary of changes for version 20030424.
7820
7821
7822 1) ACPI CA Core Subsystem:
7823
7824 Support for big-endian systems has been implemented.  Most of the
7825 support has been invisibly added behind big-endian versions of the
7826 ACPI_MOVE_* macros.
7827
7828 Fixed a problem in AcpiHwDisableGpeBlock() and
7829 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7830 low level hardware write routine.  The offset parameter was
7831 actually eliminated from the low level read/write routines because
7832 they had become obsolete.
7833
7834 Fixed a problem where a handler object was deleted twice during
7835 the removal of a fixed event handler.
7836
7837
7838 2) Linux:
7839
7840 A fix for SMP systems with link devices was contributed by
7841
7842 Compaq's Dan Zink.
7843
7844 (2.5) Return whether we handled the interrupt in our IRQ handler.
7845 (Linux ISRs no longer return void, so we can propagate the handler
7846 return value from the ACPI CA core back to the OS.)
7847
7848
7849
7850 3) Documentation:
7851
7852 The ACPI CA Programmer Reference has been updated to reflect new
7853 interfaces and changes to existing interfaces.
7854
7855 ----------------------------------------
7856 28 March 2003.  Summary of changes for version 20030328.
7857
7858 1) ACPI CA Core Subsystem:
7859
7860 The GPE Block Device support has been completed.  New interfaces
7861 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7862 interfaces (enable, disable, clear, getstatus) have been split
7863 into separate interfaces for Fixed Events and General Purpose
7864 Events (GPEs) in order to support GPE Block Devices properly.
7865
7866 Fixed a problem where the error message "Failed to acquire
7867 semaphore" would appear during operations on the embedded
7868 controller (EC).
7869
7870 Code and Data Size: Current core subsystem library sizes are shown
7871 below.  These are the code and data sizes for the acpica.lib
7872 produced by the Microsoft Visual C++ 6.0 compiler, and these
7873 values do not include any ACPI driver or OSPM code.  The debug
7874 version of the code includes the debug output trace mechanism and
7875 has a much larger code and data size.  Note that these values will
7876 vary depending on the efficiency of the compiler and the compiler
7877 options used during generation.
7878
7879   Previous Release
7880     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7881     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7882   Current Release:
7883     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7884     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7885
7886
7887 ----------------------------------------
7888 28 February 2003.  Summary of changes for version 20030228.
7889
7890
7891 1) ACPI CA Core Subsystem:
7892
7893 The GPE handling and dispatch code has been completely overhauled
7894 in preparation for support of GPE Block Devices (ID ACPI0006).
7895 This affects internal data structures and code only; there should
7896 be no differences visible externally.  One new file has been
7897 added, evgpeblk.c
7898
7899 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7900 fields that are used to determine the GPE block lengths.  The
7901 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7902 structures are ignored.  This is per the ACPI specification but it
7903 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
7904 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7905
7906 In the SCI interrupt handler, removed the read of the PM1_CONTROL
7907 register to look at the SCI_EN bit.  On some machines, this read
7908 causes an SMI event and greatly slows down SCI events.  (This may
7909 in fact be the cause of slow battery status response on some
7910 systems.)
7911
7912 Fixed a problem where a store of a NULL string to a package object
7913 could cause the premature deletion of the object.  This was seen
7914 during execution of the battery _BIF method on some systems,
7915 resulting in no battery data being returned.
7916
7917 Added AcpiWalkResources interface to simplify parsing of resource
7918 lists.
7919
7920 Code and Data Size: Current core subsystem library sizes are shown
7921 below.  These are the code and data sizes for the acpica.lib
7922 produced by the Microsoft Visual C++ 6.0 compiler, and these
7923 values do not include any ACPI driver or OSPM code.  The debug
7924 version of the code includes the debug output trace mechanism and
7925 has a much larger code and data size.  Note that these values will
7926 vary depending on the efficiency of the compiler and the compiler
7927 options used during generation.
7928
7929   Previous Release
7930     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7931     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7932   Current Release:
7933     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7934     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7935
7936
7937 2) Linux
7938
7939 S3 fixes (Ole Rohne)
7940
7941 Update ACPI PHP driver with to use new acpi_walk_resource API
7942 (Bjorn Helgaas)
7943
7944 Add S4BIOS support (Pavel Machek)
7945
7946 Map in entire table before performing checksum (John Stultz)
7947
7948 Expand the mem= cmdline to allow the specification of reserved and
7949 ACPI DATA blocks (Pavel Machek)
7950
7951 Never use ACPI on VISWS
7952
7953 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7954
7955 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7956 causing us to think that some systems support C2 when they really
7957 don't.
7958
7959 Do not count processor objects for non-present CPUs (Thanks to
7960 Dominik Brodowski)
7961
7962
7963 3) iASL Compiler:
7964
7965 Fixed a problem where ASL include files could not be found and
7966 opened.
7967
7968 Added support for the _PDC reserved name.
7969
7970
7971 ----------------------------------------
7972 22 January 2003.  Summary of changes for version 20030122.
7973
7974
7975 1) ACPI CA Core Subsystem:
7976
7977 Added a check for constructs of the form:  Store (Local0, Local0)
7978 where Local0 is not initialized.  Apparently, some BIOS
7979 programmers believe that this is a NOOP.  Since this store doesn't
7980 do anything anyway, the new prototype behavior will ignore this
7981 error.  This is a case where we can relax the strict checking in
7982 the interpreter in the name of compatibility.
7983
7984
7985 2) Linux
7986
7987 The AcpiSrc Source Conversion Utility has been released with the
7988 Linux package for the first time.  This is the utility that is
7989 used to convert the ACPI CA base source code to the Linux version.
7990
7991 (Both) Handle P_BLK lengths shorter than 6 more gracefully
7992
7993 (Both) Move more headers to include/acpi, and delete an unused
7994 header.
7995
7996 (Both) Move drivers/acpi/include directory to include/acpi
7997
7998 (Both) Boot functions don't use cmdline, so don't pass it around
7999
8000 (Both) Remove include of unused header (Adrian Bunk)
8001
8002 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
8003 the
8004 former now also includes the latter, acpiphp.h only needs the one,
8005 now.
8006
8007 (2.5) Make it possible to select method of bios restoring after S3
8008 resume. [=> no more ugly ifdefs] (Pavel Machek)
8009
8010 (2.5) Make proc write interfaces work (Pavel Machek)
8011
8012 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
8013
8014 (2.5) Break out ACPI Perf code into its own module, under cpufreq
8015 (Dominik Brodowski)
8016
8017 (2.4) S4BIOS support (Ducrot Bruno)
8018
8019 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
8020 Visinoni)
8021
8022
8023 3) iASL Compiler:
8024
8025 Added support to disassemble SSDT and PSDTs.
8026
8027 Implemented support to obtain SSDTs from the Windows registry if
8028 available.
8029
8030
8031 ----------------------------------------
8032 09 January 2003.  Summary of changes for version 20030109.
8033
8034 1) ACPI CA Core Subsystem:
8035
8036 Changed the behavior of the internal Buffer-to-String conversion
8037 function.  The current ACPI specification states that the contents
8038 of the buffer are "converted to a string of two-character
8039 hexadecimal numbers, each separated by a space".  Unfortunately,
8040 this definition is not backwards compatible with existing ACPI 1.0
8041 implementations (although the behavior was not defined in the ACPI
8042 1.0 specification).  The new behavior simply copies data from the
8043 buffer to the string until a null character is found or the end of
8044 the buffer is reached.  The new String object is always null
8045 terminated.  This problem was seen during the generation of _BIF
8046 battery data where incorrect strings were returned for battery
8047 type, etc.  This will also require an errata to the ACPI
8048 specification.
8049
8050 Renamed all instances of NATIVE_UINT and NATIVE_INT to
8051 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
8052
8053 Copyright in all module headers (both Linux and non-Linux) has be
8054 updated to 2003.
8055
8056 Code and Data Size: Current core subsystem library sizes are shown
8057 below.  These are the code and data sizes for the acpica.lib
8058 produced by the Microsoft Visual C++ 6.0 compiler, and these
8059 values do not include any ACPI driver or OSPM code.  The debug
8060 version of the code includes the debug output trace mechanism and
8061 has a much larger code and data size.  Note that these values will
8062 vary depending on the efficiency of the compiler and the compiler
8063 options used during generation.
8064
8065   Previous Release
8066     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8067     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8068   Current Release:
8069     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8070     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8071
8072
8073 2) Linux
8074
8075 Fixed an oops on module insertion/removal (Matthew Tippett)
8076
8077 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
8078
8079 (2.5) Replace pr_debug (Randy Dunlap)
8080
8081 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
8082
8083 (Both) Eliminate spawning of thread from timer callback, in favor
8084 of schedule_work()
8085
8086 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
8087
8088 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
8089
8090 (Both) Add missing statics to button.c (Pavel Machek)
8091
8092 Several changes have been made to the source code translation
8093 utility that generates the Linux Code in order to make the code
8094 more "Linux-like":
8095
8096 All typedefs on structs and unions have been removed in keeping
8097 with the Linux coding style.
8098
8099 Removed the non-Linux SourceSafe module revision number from each
8100 module header.
8101
8102 Completed major overhaul of symbols to be lowercased for linux.
8103 Doubled the number of symbols that are lowercased.
8104
8105 Fixed a problem where identifiers within procedure headers and
8106 within quotes were not fully lower cased (they were left with a
8107 starting capital.)
8108
8109 Some C macros whose only purpose is to allow the generation of 16-
8110 bit code are now completely removed in the Linux code, increasing
8111 readability and maintainability.
8112
8113 ----------------------------------------
8114
8115 12 December 2002.  Summary of changes for version 20021212.
8116
8117
8118 1) ACPI CA Core Subsystem:
8119
8120 Fixed a problem where the creation of a zero-length AML Buffer
8121 would cause a fault.
8122
8123 Fixed a problem where a Buffer object that pointed to a static AML
8124 buffer (in an ACPI table) could inadvertently be deleted, causing
8125 memory corruption.
8126
8127 Fixed a problem where a user buffer (passed in to the external
8128 ACPI CA interfaces) could be overwritten if the buffer was too
8129 small to complete the operation, causing memory corruption.
8130
8131 Fixed a problem in the Buffer-to-String conversion code where a
8132 string of length one was always returned, regardless of the size
8133 of the input Buffer object.
8134
8135 Removed the NATIVE_CHAR data type across the entire source due to
8136 lack of need and lack of consistent use.
8137
8138 Code and Data Size: Current core subsystem library sizes are shown
8139 below.  These are the code and data sizes for the acpica.lib
8140 produced by the Microsoft Visual C++ 6.0 compiler, and these
8141 values do not include any ACPI driver or OSPM code.  The debug
8142 version of the code includes the debug output trace mechanism and
8143 has a much larger code and data size.  Note that these values will
8144 vary depending on the efficiency of the compiler and the compiler
8145 options used during generation.
8146
8147   Previous Release
8148     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8149     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8150   Current Release:
8151     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8152     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8153
8154
8155 ----------------------------------------
8156 05 December 2002.  Summary of changes for version 20021205.
8157
8158 1) ACPI CA Core Subsystem:
8159
8160 Fixed a problem where a store to a String or Buffer object could
8161 cause corruption of the DSDT if the object type being stored was
8162 the same as the target object type and the length of the object
8163 being stored was equal to or smaller than the original (existing)
8164 target object.  This was seen to cause corruption of battery _BIF
8165 buffers if the _BIF method modified the buffer on the fly.
8166
8167 Fixed a problem where an internal error was generated if a control
8168 method invocation was used in an OperationRegion, Buffer, or
8169 Package declaration.  This was caused by the deferred parsing of
8170 the control method and thus the deferred creation of the internal
8171 method object.  The solution to this problem was to create the
8172 internal method object at the moment the method is encountered in
8173 the first pass - so that subsequent references to the method will
8174 able to obtain the required parameter count and thus properly
8175 parse the method invocation.  This problem presented itself as an
8176 AE_AML_INTERNAL during the pass 1 parse phase during table load.
8177
8178 Fixed a problem where the internal String object copy routine did
8179 not always allocate sufficient memory for the target String object
8180 and caused memory corruption.  This problem was seen to cause
8181 "Allocation already present in list!" errors as memory allocation
8182 became corrupted.
8183
8184 Implemented a new function for the evaluation of namespace objects
8185 that allows the specification of the allowable return object
8186 types.  This simplifies a lot of code that checks for a return
8187 object of one or more specific objects returned from the
8188 evaluation (such as _STA, etc.)  This may become and external
8189 function if it would be useful to ACPI-related drivers.
8190
8191 Completed another round of prefixing #defines with "ACPI_" for
8192 clarity.
8193
8194 Completed additional code restructuring to allow more modular
8195 linking for iASL compiler and AcpiExec.  Several files were split
8196 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
8197
8198 Implemented an abort mechanism to terminate an executing control
8199 method via the AML debugger.  This feature is useful for debugging
8200 control methods that depend (wait) for specific hardware
8201 responses.
8202
8203 Code and Data Size: Current core subsystem library sizes are shown
8204 below.  These are the code and data sizes for the acpica.lib
8205 produced by the Microsoft Visual C++ 6.0 compiler, and these
8206 values do not include any ACPI driver or OSPM code.  The debug
8207 version of the code includes the debug output trace mechanism and
8208 has a much larger code and data size.  Note that these values will
8209 vary depending on the efficiency of the compiler and the compiler
8210 options used during generation.
8211
8212   Previous Release
8213     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8214     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8215   Current Release:
8216     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8217     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8218
8219
8220 2) iASL Compiler/Disassembler
8221
8222 Fixed a compiler code generation problem for "Interrupt" Resource
8223 Descriptors.  If specified in the ASL, the optional "Resource
8224 Source Index" and "Resource Source" fields were not inserted into
8225 the correct location within the AML resource descriptor, creating
8226 an invalid descriptor.
8227
8228 Fixed a disassembler problem for "Interrupt" resource descriptors.
8229 The optional "Resource Source Index" and "Resource Source" fields
8230 were ignored.
8231
8232
8233 ----------------------------------------
8234 22 November 2002.  Summary of changes for version 20021122.
8235
8236
8237 1) ACPI CA Core Subsystem:
8238
8239 Fixed a reported problem where an object stored to a Method Local
8240 or Arg was not copied to a new object during the store - the
8241 object pointer was simply copied to the Local/Arg.  This caused
8242 all subsequent operations on the Local/Arg to also affect the
8243 original source of the store operation.
8244
8245 Fixed a problem where a store operation to a Method Local or Arg
8246 was not completed properly if the Local/Arg contained a reference
8247 (from RefOf) to a named field.  The general-purpose store-to-
8248 namespace-node code is now used so that this case is handled
8249 automatically.
8250
8251 Fixed a problem where the internal object copy routine would cause
8252 a protection fault if the object being copied was a Package and
8253 contained either 1) a NULL package element or 2) a nested sub-
8254 package.
8255
8256 Fixed a problem with the GPE initialization that resulted from an
8257 ambiguity in the ACPI specification.  One section of the
8258 specification states that both the address and length of the GPE
8259 block must be zero if the block is not supported.  Another section
8260 implies that only the address need be zero if the block is not
8261 supported.  The code has been changed so that both the address and
8262 the length must be non-zero to indicate a valid GPE block (i.e.,
8263 if either the address or the length is zero, the GPE block is
8264 invalid.)
8265
8266 Code and Data Size: Current core subsystem library sizes are shown
8267 below.  These are the code and data sizes for the acpica.lib
8268 produced by the Microsoft Visual C++ 6.0 compiler, and these
8269 values do not include any ACPI driver or OSPM code.  The debug
8270 version of the code includes the debug output trace mechanism and
8271 has a much larger code and data size.  Note that these values will
8272 vary depending on the efficiency of the compiler and the compiler
8273 options used during generation.
8274
8275   Previous Release
8276     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8277     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8278   Current Release:
8279     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8280     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8281
8282
8283 2) Linux
8284
8285 Cleaned up EC driver. Exported an external EC read/write
8286 interface. By going through this, other drivers (most notably
8287 sonypi) will be able to serialize access to the EC.
8288
8289
8290 3) iASL Compiler/Disassembler
8291
8292 Implemented support to optionally generate include files for both
8293 ASM and C (the -i switch).  This simplifies BIOS development by
8294 automatically creating include files that contain external
8295 declarations for the symbols that are created within the
8296
8297 (optionally generated) ASM and C AML source files.
8298
8299
8300 ----------------------------------------
8301 15 November 2002.  Summary of changes for version 20021115.
8302
8303 1) ACPI CA Core Subsystem:
8304
8305 Fixed a memory leak problem where an error during resolution of
8306
8307 method arguments during a method invocation from another method
8308 failed to cleanup properly by deleting all successfully resolved
8309 argument objects.
8310
8311 Fixed a problem where the target of the Index() operator was not
8312 correctly constructed if the source object was a package.  This
8313 problem has not been detected because the use of a target operand
8314 with Index() is very rare.
8315
8316 Fixed a problem with the Index() operator where an attempt was
8317 made to delete the operand objects twice.
8318
8319 Fixed a problem where an attempt was made to delete an operand
8320 twice during execution of the CondRefOf() operator if the target
8321 did not exist.
8322
8323 Implemented the first of perhaps several internal create object
8324 functions that create and initialize a specific object type.  This
8325 consolidates duplicated code wherever the object is created, thus
8326 shrinking the size of the subsystem.
8327
8328 Implemented improved debug/error messages for errors that occur
8329 during nested method invocations.  All executing method pathnames
8330 are displayed (with the error) as the call stack is unwound - thus
8331 simplifying debug.
8332
8333 Fixed a problem introduced in the 10/02 release that caused
8334 premature deletion of a buffer object if a buffer was used as an
8335 ASL operand where an integer operand is required (Thus causing an
8336 implicit object conversion from Buffer to Integer.)  The change in
8337 the 10/02 release was attempting to fix a memory leak (albeit
8338 incorrectly.)
8339
8340 Code and Data Size: Current core subsystem library sizes are shown
8341 below.  These are the code and data sizes for the acpica.lib
8342 produced by the Microsoft Visual C++ 6.0 compiler, and these
8343 values do not include any ACPI driver or OSPM code.  The debug
8344 version of the code includes the debug output trace mechanism and
8345 has a much larger code and data size.  Note that these values will
8346 vary depending on the efficiency of the compiler and the compiler
8347 options used during generation.
8348
8349   Previous Release
8350     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8351     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8352   Current Release:
8353     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8354     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8355
8356
8357 2) Linux
8358
8359 Changed the implementation of the ACPI semaphores to use down()
8360 instead of down_interruptable().  It is important that the
8361 execution of ACPI control methods not be interrupted by signals.
8362 Methods must run to completion, or the system may be left in an
8363 unknown/unstable state.
8364
8365 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
8366 (Shawn Starr)
8367
8368
8369 3) iASL Compiler/Disassembler
8370
8371
8372 Changed the default location of output files.  All output files
8373 are now placed in the current directory by default instead of in
8374 the directory of the source file.  This change may affect some
8375 existing makefiles, but it brings the behavior of the compiler in
8376 line with other similar tools.  The location of the output files
8377 can be overridden with the -p command line switch.
8378
8379
8380 ----------------------------------------
8381 11 November 2002.  Summary of changes for version 20021111.
8382
8383
8384 0) ACPI Specification 2.0B is released and is now available at:
8385 http://www.acpi.info/index.html
8386
8387
8388 1) ACPI CA Core Subsystem:
8389
8390 Implemented support for the ACPI 2.0 SMBus Operation Regions.
8391 This includes the early detection and handoff of the request to
8392 the SMBus region handler (avoiding all of the complex field
8393 support code), and support for the bidirectional return packet
8394 from an SMBus write operation.  This paves the way for the
8395 development of SMBus drivers in each host operating system.
8396
8397 Fixed a problem where the semaphore WAIT_FOREVER constant was
8398 defined as 32 bits, but must be 16 bits according to the ACPI
8399 specification.  This had the side effect of causing ASL
8400 Mutex/Event timeouts even though the ASL code requested a wait
8401 forever.  Changed all internal references to the ACPI timeout
8402 parameter to 16 bits to prevent future problems.  Changed the name
8403 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
8404
8405 Code and Data Size: Current core subsystem library sizes are shown
8406 below.  These are the code and data sizes for the acpica.lib
8407 produced by the Microsoft Visual C++ 6.0 compiler, and these
8408 values do not include any ACPI driver or OSPM code.  The debug
8409 version of the code includes the debug output trace mechanism and
8410 has a much larger code and data size.  Note that these values will
8411 vary depending on the efficiency of the compiler and the compiler
8412 options used during generation.
8413
8414   Previous Release
8415     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8416     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8417   Current Release:
8418     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8419     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8420
8421
8422 2) Linux
8423
8424 Module loading/unloading fixes (John Cagle)
8425
8426
8427 3) iASL Compiler/Disassembler
8428
8429 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8430
8431 Implemented support for the disassembly of all SMBus protocol
8432 keywords (SMBQuick, SMBWord, etc.)
8433
8434 ----------------------------------------
8435 01 November 2002.  Summary of changes for version 20021101.
8436
8437
8438 1) ACPI CA Core Subsystem:
8439
8440 Fixed a problem where platforms that have a GPE1 block but no GPE0
8441 block were not handled correctly.  This resulted in a "GPE
8442 overlap" error message.  GPE0 is no longer required.
8443
8444 Removed code added in the previous release that inserted nodes
8445 into the namespace in alphabetical order.  This caused some side-
8446 effects on various machines.  The root cause of the problem is
8447 still under investigation since in theory, the internal ordering
8448 of the namespace nodes should not matter.
8449
8450
8451 Enhanced error reporting for the case where a named object is not
8452 found during control method execution.  The full ACPI namepath
8453 (name reference) of the object that was not found is displayed in
8454 this case.
8455
8456 Note: as a result of the overhaul of the namespace object types in
8457 the previous release, the namespace nodes for the predefined
8458 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8459 instead of ACPI_TYPE_ANY.  This simplifies the namespace
8460 management code but may affect code that walks the namespace tree
8461 looking for specific object types.
8462
8463 Code and Data Size: Current core subsystem library sizes are shown
8464 below.  These are the code and data sizes for the acpica.lib
8465 produced by the Microsoft Visual C++ 6.0 compiler, and these
8466 values do not include any ACPI driver or OSPM code.  The debug
8467 version of the code includes the debug output trace mechanism and
8468 has a much larger code and data size.  Note that these values will
8469 vary depending on the efficiency of the compiler and the compiler
8470 options used during generation.
8471
8472   Previous Release
8473     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8474     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8475   Current Release:
8476     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8477     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8478
8479
8480 2) Linux
8481
8482 Fixed a problem introduced in the previous release where the
8483 Processor and Thermal objects were not recognized and installed in
8484 /proc.  This was related to the scope type change described above.
8485
8486
8487 3) iASL Compiler/Disassembler
8488
8489 Implemented the -g option to get all of the required ACPI tables
8490 from the registry and save them to files (Windows version of the
8491 compiler only.)  The required tables are the FADT, FACS, and DSDT.
8492
8493 Added ACPI table checksum validation during table disassembly in
8494 order to catch corrupted tables.
8495
8496
8497 ----------------------------------------
8498 22 October 2002.  Summary of changes for version 20021022.
8499
8500 1) ACPI CA Core Subsystem:
8501
8502 Implemented a restriction on the Scope operator that the target
8503 must already exist in the namespace at the time the operator is
8504 encountered (during table load or method execution).  In other
8505 words, forward references are not allowed and Scope() cannot
8506 create a new object. This changes the previous behavior where the
8507 interpreter would create the name if not found.  This new behavior
8508 correctly enables the search-to-root algorithm during namespace
8509 lookup of the target name.  Because of this upsearch, this fixes
8510 the known Compaq _SB_.OKEC problem and makes both the AML
8511 interpreter and iASL compiler compatible with other ACPI
8512 implementations.
8513
8514 Completed a major overhaul of the internal ACPI object types for
8515 the ACPI Namespace and the associated operand objects.  Many of
8516 these types had become obsolete with the introduction of the two-
8517 pass namespace load.  This cleanup simplifies the code and makes
8518 the entire namespace load mechanism much clearer and easier to
8519 understand.
8520
8521 Improved debug output for tracking scope opening/closing to help
8522 diagnose scoping issues.  The old scope name as well as the new
8523 scope name are displayed.  Also improved error messages for
8524 problems with ASL Mutex objects and error messages for GPE
8525 problems.
8526
8527 Cleaned up the namespace dump code, removed obsolete code.
8528
8529 All string output (for all namespace/object dumps) now uses the
8530 common ACPI string output procedure which handles escapes properly
8531 and does not emit non-printable characters.
8532
8533 Fixed some issues with constants in the 64-bit version of the
8534 local C library (utclib.c)
8535
8536
8537 2) Linux
8538
8539 EC Driver:  No longer attempts to acquire the Global Lock at
8540 interrupt level.
8541
8542
8543 3) iASL Compiler/Disassembler
8544
8545 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
8546 2 opcodes outside of a control method.  This means that the
8547 "executable" operators (versus the "namespace" operators) cannot
8548 be used at the table level; they can only be used within a control
8549 method.
8550
8551 Implemented the restriction on the Scope() operator where the
8552 target must already exist in the namespace at the time the
8553 operator is encountered (during ASL compilation). In other words,
8554 forward references are not allowed and Scope() cannot create a new
8555 object.  This makes the iASL compiler compatible with other ACPI
8556 implementations and makes the Scope() implementation adhere to the
8557 ACPI specification.
8558
8559 Fixed a problem where namepath optimization for the Alias operator
8560 was optimizing the wrong path (of the two namepaths.)  This caused
8561 a "Missing alias link" error message.
8562
8563 Fixed a problem where an "unknown reserved name" warning could be
8564 incorrectly generated for names like "_SB" when the trailing
8565 underscore is not used in the original ASL.
8566
8567 Fixed a problem where the reserved name check did not handle
8568 NamePaths with multiple NameSegs correctly.  The first nameseg of
8569 the NamePath was examined instead of the last NameSeg.
8570
8571
8572 ----------------------------------------
8573
8574 02 October 2002.  Summary of changes for this release.
8575
8576
8577 1) ACPI CA Core Subsystem version 20021002:
8578
8579 Fixed a problem where a store/copy of a string to an existing
8580 string did not always set the string length properly in the String
8581 object.
8582
8583 Fixed a reported problem with the ToString operator where the
8584 behavior was identical to the ToHexString operator instead of just
8585 simply converting a raw buffer to a string data type.
8586
8587 Fixed a problem where CopyObject and the other "explicit"
8588 conversion operators were not updating the internal namespace node
8589 type as part of the store operation.
8590
8591 Fixed a memory leak during implicit source operand conversion
8592 where the original object was not deleted if it was converted to a
8593 new object of a different type.
8594
8595 Enhanced error messages for all problems associated with namespace
8596 lookups.  Common procedure generates and prints the lookup name as
8597 well as the formatted status.
8598
8599 Completed implementation of a new design for the Alias support
8600 within the namespace.  The existing design did not handle the case
8601 where a new object was assigned to one of the two names due to the
8602 use of an explicit conversion operator, resulting in the two names
8603 pointing to two different objects.  The new design simply points
8604 the Alias name to the original name node - not to the object.
8605 This results in a level of indirection that must be handled in the
8606 name resolution mechanism.
8607
8608 Code and Data Size: Current core subsystem library sizes are shown
8609 below.  These are the code and data sizes for the acpica.lib
8610 produced by the Microsoft Visual C++ 6.0 compiler, and these
8611 values do not include any ACPI driver or OSPM code.  The debug
8612 version of the code includes the debug output trace mechanism and
8613 has a larger code and data size.  Note that these values will vary
8614 depending on the efficiency of the compiler and the compiler
8615 options used during generation.
8616
8617   Previous Release
8618     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8619     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8620   Current Release:
8621     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8622     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8623
8624
8625 2) Linux
8626
8627 Initialize thermal driver's timer before it is used. (Knut
8628 Neumann)
8629
8630 Allow handling negative celsius values. (Kochi Takayoshi)
8631
8632 Fix thermal management and make trip points. R/W (Pavel Machek)
8633
8634 Fix /proc/acpi/sleep. (P. Christeas)
8635
8636 IA64 fixes. (David Mosberger)
8637
8638 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8639
8640 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8641 Brodowski)
8642
8643
8644 3) iASL Compiler/Disassembler
8645
8646 Clarified some warning/error messages.
8647
8648
8649 ----------------------------------------
8650 18 September 2002.  Summary of changes for this release.
8651
8652
8653 1) ACPI CA Core Subsystem version 20020918:
8654
8655 Fixed a reported problem with reference chaining (via the Index()
8656 and RefOf() operators) in the ObjectType() and SizeOf() operators.
8657 The definition of these operators includes the dereferencing of
8658 all chained references to return information on the base object.
8659
8660 Fixed a problem with stores to indexed package elements - the
8661 existing code would not complete the store if an "implicit
8662 conversion" was not performed.  In other words, if the existing
8663 object (package element) was to be replaced completely, the code
8664 didn't handle this case.
8665
8666 Relaxed typechecking on the ASL "Scope" operator to allow the
8667 target name to refer to an object of type Integer, String, or
8668 Buffer, in addition to the scoping object types (Device,
8669 predefined Scopes, Processor, PowerResource, and ThermalZone.)
8670 This allows existing AML code that has workarounds for a bug in
8671 Windows to function properly.  A warning is issued, however.  This
8672 affects both the AML interpreter and the iASL compiler. Below is
8673 an example of this type of ASL code:
8674
8675       Name(DEB,0x00)
8676       Scope(DEB)
8677       {
8678
8679 Fixed some reported problems with 64-bit integer support in the
8680 local implementation of C library functions (clib.c)
8681
8682
8683 2) Linux
8684
8685 Use ACPI fix map region instead of IOAPIC region, since it is
8686 undefined in non-SMP.
8687
8688 Ensure that the SCI has the proper polarity and trigger, even on
8689 systems that do not have an interrupt override entry in the MADT.
8690
8691 2.5 big driver reorganization (Pat Mochel)
8692
8693 Use early table mapping code from acpitable.c (Andi Kleen)
8694
8695 New blacklist entries (Andi Kleen)
8696
8697 Blacklist improvements. Split blacklist code out into a separate
8698 file. Move checking the blacklist to very early. Previously, we
8699 would use ACPI tables, and then halfway through init, check the
8700 blacklist -- too late. Now, it's early enough to completely fall-
8701 back to non-ACPI.
8702
8703
8704 3) iASL Compiler/Disassembler version 20020918:
8705
8706 Fixed a problem where the typechecking code didn't know that an
8707 alias could point to a method.  In other words, aliases were not
8708 being dereferenced during typechecking.
8709
8710
8711 ----------------------------------------
8712 29 August 2002.  Summary of changes for this release.
8713
8714 1) ACPI CA Core Subsystem Version 20020829:
8715
8716 If the target of a Scope() operator already exists, it must be an
8717 object type that actually opens a scope -- such as a Device,
8718 Method, Scope, etc.  This is a fatal runtime error.  Similar error
8719 check has been added to the iASL compiler also.
8720
8721 Tightened up the namespace load to disallow multiple names in the
8722 same scope.  This previously was allowed if both objects were of
8723 the same type.  (i.e., a lookup was the same as entering a new
8724 name).
8725
8726
8727 2) Linux
8728
8729 Ensure that the ACPI interrupt has the proper trigger and
8730 polarity.
8731
8732 local_irq_disable is extraneous. (Matthew Wilcox)
8733
8734 Make "acpi=off" actually do what it says, and not use the ACPI
8735 interpreter *or* the tables.
8736
8737 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8738 Takayoshi)
8739
8740
8741 3) iASL Compiler/Disassembler  Version 20020829:
8742
8743 Implemented namepath optimization for name declarations.  For
8744 example, a declaration like "Method (\_SB_.ABCD)" would get
8745 optimized to "Method (ABCD)" if the declaration is within the
8746 \_SB_ scope.  This optimization is in addition to the named
8747 reference path optimization first released in the previous
8748 version. This would seem to complete all possible optimizations
8749 for namepaths within the ASL/AML.
8750
8751 If the target of a Scope() operator already exists, it must be an
8752 object type that actually opens a scope -- such as a Device,
8753 Method, Scope, etc.
8754
8755 Implemented a check and warning for unreachable code in the same
8756 block below a Return() statement.
8757
8758 Fixed a problem where the listing file was not generated if the
8759 compiler aborted if the maximum error count was exceeded (200).
8760
8761 Fixed a problem where the typechecking of method return values was
8762 broken.  This includes the check for a return value when the
8763 method is invoked as a TermArg (a return value is expected.)
8764
8765 Fixed a reported problem where EOF conditions during a quoted
8766 string or comment caused a fault.
8767
8768
8769 ----------------------------------------
8770 15 August 2002.  Summary of changes for this release.
8771
8772 1) ACPI CA Core Subsystem Version 20020815:
8773
8774 Fixed a reported problem where a Store to a method argument that
8775 contains a reference did not perform the indirect store correctly.
8776 This problem was created during the conversion to the new
8777 reference object model - the indirect store to a method argument
8778 code was not updated to reflect the new model.
8779
8780 Reworked the ACPI mode change code to better conform to ACPI 2.0,
8781 handle corner cases, and improve code legibility (Kochi Takayoshi)
8782
8783 Fixed a problem with the pathname parsing for the carat (^)
8784 prefix.  The heavy use of the carat operator by the new namepath
8785 optimization in the iASL compiler uncovered a problem with the AML
8786 interpreter handling of this prefix.  In the case where one or
8787 more carats precede a single nameseg, the nameseg was treated as
8788 standalone and the search rule (to root) was inadvertently
8789 applied.  This could cause both the iASL compiler and the
8790 interpreter to find the wrong object or to miss the error that
8791 should occur if the object does not exist at that exact pathname.
8792
8793 Found and fixed the problem where the HP Pavilion DSDT would not
8794 load.  This was a relatively minor tweak to the table loading code
8795 (a problem caused by the unexpected encounter with a method
8796 invocation not within a control method), but it does not solve the
8797 overall issue of the execution of AML code at the table level.
8798 This investigation is still ongoing.
8799
8800 Code and Data Size: Current core subsystem library sizes are shown
8801 below.  These are the code and data sizes for the acpica.lib
8802 produced by the Microsoft Visual C++ 6.0 compiler, and these
8803 values do not include any ACPI driver or OSPM code.  The debug
8804 version of the code includes the debug output trace mechanism and
8805 has a larger code and data size.  Note that these values will vary
8806 depending on the efficiency of the compiler and the compiler
8807 options used during generation.
8808
8809   Previous Release
8810     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8811     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8812   Current Release:
8813     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8814     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8815
8816
8817 2) Linux
8818
8819 Remove redundant slab.h include (Brad Hards)
8820
8821 Fix several bugs in thermal.c (Herbert Nachtnebel)
8822
8823 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8824
8825 Change acpi_system_suspend to use updated irq functions (Pavel
8826 Machek)
8827
8828 Export acpi_get_firmware_table (Matthew Wilcox)
8829
8830 Use proper root proc entry for ACPI (Kochi Takayoshi)
8831
8832 Fix early-boot table parsing (Bjorn Helgaas)
8833
8834
8835 3) iASL Compiler/Disassembler
8836
8837 Reworked the compiler options to make them more consistent and to
8838 use two-letter options where appropriate.  We were running out of
8839 sensible letters.   This may break some makefiles, so check the
8840 current options list by invoking the compiler with no parameters.
8841
8842 Completed the design and implementation of the ASL namepath
8843 optimization option for the compiler.  This option optimizes all
8844 references to named objects to the shortest possible path.  The
8845 first attempt tries to utilize a single nameseg (4 characters) and
8846 the "search-to-root" algorithm used by the interpreter.  If that
8847 cannot be used (because either the name is not in the search path
8848 or there is a conflict with another object with the same name),
8849 the pathname is optimized using the carat prefix (usually a
8850 shorter string than specifying the entire path from the root.)
8851
8852 Implemented support to obtain the DSDT from the Windows registry
8853 (when the disassembly option is specified with no input file).
8854 Added this code as the implementation for AcpiOsTableOverride in
8855 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8856 utility) to scan memory for the DSDT to the AcpiOsTableOverride
8857 function in the DOS OSL to make the disassembler truly OS
8858 independent.
8859
8860 Implemented a new option to disassemble and compile in one step.
8861 When used without an input filename, this option will grab the
8862 DSDT from the local machine, disassemble it, and compile it in one
8863 step.
8864
8865 Added a warning message for invalid escapes (a backslash followed
8866 by any character other than the allowable escapes).  This catches
8867 the quoted string error "\_SB_" (which should be "\\_SB_" ).
8868
8869 Also, there are numerous instances in the ACPI specification where
8870 this error occurs.
8871
8872 Added a compiler option to disable all optimizations.  This is
8873 basically the "compatibility mode" because by using this option,
8874 the AML code will come out exactly the same as other ASL
8875 compilers.
8876
8877 Added error messages for incorrectly ordered dependent resource
8878 functions.  This includes: missing EndDependentFn macro at end of
8879 dependent resource list, nested dependent function macros (both
8880 start and end), and missing StartDependentFn macro.  These are
8881 common errors that should be caught at compile time.
8882
8883 Implemented _OSI support for the disassembler and compiler.  _OSI
8884 must be included in the namespace for proper disassembly (because
8885 the disassembler must know the number of arguments.)
8886
8887 Added an "optimization" message type that is optional (off by
8888 default).  This message is used for all optimizations - including
8889 constant folding, integer optimization, and namepath optimization.
8890
8891 ----------------------------------------
8892 25 July 2002.  Summary of changes for this release.
8893
8894
8895 1) ACPI CA Core Subsystem Version 20020725:
8896
8897 The AML Disassembler has been enhanced to produce compilable ASL
8898 code and has been integrated into the iASL compiler (see below) as
8899 well as the single-step disassembly for the AML debugger and the
8900 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8901 resource templates and macros are fully supported.  The
8902 disassembler has been tested on over 30 different AML files,
8903 producing identical AML when the resulting disassembled ASL file
8904 is recompiled with the same ASL compiler.
8905
8906 Modified the Resource Manager to allow zero interrupts and zero
8907 dma channels during the GetCurrentResources call.  This was
8908 causing problems on some platforms.
8909
8910 Added the AcpiOsRedirectOutput interface to the OSL to simplify
8911 output redirection for the AcpiOsPrintf and AcpiOsVprintf
8912 interfaces.
8913
8914 Code and Data Size: Current core subsystem library sizes are shown
8915 below.  These are the code and data sizes for the acpica.lib
8916 produced by the Microsoft Visual C++ 6.0 compiler, and these
8917 values do not include any ACPI driver or OSPM code.  The debug
8918 version of the code includes the debug output trace mechanism and
8919 has a larger code and data size.  Note that these values will vary
8920 depending on the efficiency of the compiler and the compiler
8921 options used during generation.
8922
8923   Previous Release
8924     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8925     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8926   Current Release:
8927     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8928     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8929
8930
8931 2) Linux
8932
8933 Fixed a panic in the EC driver (Dominik Brodowski)
8934
8935 Implemented checksum of the R/XSDT itself during Linux table scan
8936 (Richard Schaal)
8937
8938
8939 3) iASL compiler
8940
8941 The AML disassembler is integrated into the compiler.  The "-d"
8942 option invokes the disassembler  to completely disassemble an
8943 input AML file, producing as output a text ASL file with the
8944 extension ".dsl" (to avoid name collisions with existing .asl
8945 source files.)  A future enhancement will allow the disassembler
8946 to obtain the BIOS DSDT from the registry under Windows.
8947
8948 Fixed a problem with the VendorShort and VendorLong resource
8949 descriptors where an invalid AML sequence was created.
8950
8951 Implemented a fix for BufferData term in the ASL parser.  It was
8952 inadvertently defined twice, allowing invalid syntax to pass and
8953 causing reduction conflicts.
8954
8955 Fixed a problem where the Ones opcode could get converted to a
8956 value of zero if "Ones" was used where a byte, word or dword value
8957 was expected.  The 64-bit value is now truncated to the correct
8958 size with the correct value.
8959
8960
8961
8962 ----------------------------------------
8963 02 July 2002.  Summary of changes for this release.
8964
8965
8966 1) ACPI CA Core Subsystem Version 20020702:
8967
8968 The Table Manager code has been restructured to add several new
8969 features.  Tables that are not required by the core subsystem
8970 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8971 validated in any way and are returned from AcpiGetFirmwareTable if
8972 requested.  The AcpiOsTableOverride interface is now called for
8973 each table that is loaded by the subsystem in order to allow the
8974 host to override any table it chooses.  Previously, only the DSDT
8975 could be overridden.  Added one new files, tbrsdt.c and
8976 tbgetall.c.
8977
8978 Fixed a problem with the conversion of internal package objects to
8979 external objects (when a package is returned from a control
8980 method.)  The return buffer length was set to zero instead of the
8981 proper length of the package object.
8982
8983 Fixed a reported problem with the use of the RefOf and DeRefOf
8984 operators when passing reference arguments to control methods.  A
8985 new type of Reference object is used internally for references
8986 produced by the RefOf operator.
8987
8988 Added additional error messages in the Resource Manager to explain
8989 AE_BAD_DATA errors when they occur during resource parsing.
8990
8991 Split the AcpiEnableSubsystem into two primitives to enable a
8992 finer granularity initialization sequence.  These two calls should
8993 be called in this order: AcpiEnableSubsystem (flags),
8994 AcpiInitializeObjects (flags).  The flags parameter remains the
8995 same.
8996
8997
8998 2) Linux
8999
9000 Updated the ACPI utilities module to understand the new style of
9001 fully resolved package objects that are now returned from the core
9002 subsystem.  This eliminates errors of the form:
9003
9004     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
9005     acpi_utils-0430 [145] acpi_evaluate_reference:
9006         Invalid element in package (not a device reference)
9007
9008 The method evaluation utility uses the new buffer allocation
9009 scheme instead of calling AcpiEvaluate Object twice.
9010
9011 Added support for ECDT. This allows the use of the Embedded
9012
9013 Controller before the namespace has been fully initialized, which
9014 is necessary for ACPI 2.0 support, and for some laptops to
9015 initialize properly. (Laptops using ECDT are still rare, so only
9016 limited testing was performed of the added functionality.)
9017
9018 Fixed memory leaks in the EC driver.
9019
9020 Eliminated a brittle code structure in acpi_bus_init().
9021
9022 Eliminated the acpi_evaluate() helper function in utils.c. It is
9023 no longer needed since acpi_evaluate_object can optionally
9024 allocate memory for the return object.
9025
9026 Implemented fix for keyboard hang when getting battery readings on
9027 some systems (Stephen White)
9028
9029 PCI IRQ routing update (Dominik Brodowski)
9030
9031 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
9032 support
9033
9034 ----------------------------------------
9035 11 June 2002.  Summary of changes for this release.
9036
9037
9038 1) ACPI CA Core Subsystem Version 20020611:
9039
9040 Fixed a reported problem where constants such as Zero and One
9041 appearing within _PRT packages were not handled correctly within
9042 the resource manager code.  Originally reported against the ASL
9043 compiler because the code generator now optimizes integers to
9044 their minimal AML representation (i.e. AML constants if possible.)
9045 The _PRT code now handles all AML constant opcodes correctly
9046 (Zero, One, Ones, Revision).
9047
9048 Fixed a problem with the Concatenate operator in the AML
9049 interpreter where a buffer result object was incorrectly marked as
9050 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
9051
9052 All package sub-objects are now fully resolved before they are
9053 returned from the external ACPI interfaces.  This means that name
9054 strings are resolved to object handles, and constant operators
9055 (Zero, One, Ones, Revision) are resolved to Integers.
9056
9057 Implemented immediate resolution of the AML Constant opcodes
9058 (Zero, One, Ones, Revision) to Integer objects upon detection
9059 within the AML stream. This has simplified and reduced the
9060 generated code size of the subsystem by eliminating about 10
9061 switch statements for these constants (which previously were
9062 contained in Reference objects.)  The complicating issues are that
9063 the Zero opcode is used as a "placeholder" for unspecified
9064 optional target operands and stores to constants are defined to be
9065 no-ops.
9066
9067 Code and Data Size: Current core subsystem library sizes are shown
9068 below. These are the code and data sizes for the acpica.lib
9069 produced by the Microsoft Visual C++ 6.0 compiler, and these
9070 values do not include any ACPI driver or OSPM code.  The debug
9071 version of the code includes the debug output trace mechanism and
9072 has a larger code and data size.  Note that these values will vary
9073 depending on the efficiency of the compiler and the compiler
9074 options used during generation.
9075
9076   Previous Release
9077     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9078     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9079   Current Release:
9080     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
9081     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
9082
9083
9084 2) Linux
9085
9086
9087 Added preliminary support for obtaining _TRA data for PCI root
9088 bridges (Bjorn Helgaas).
9089
9090
9091 3) iASL Compiler Version X2046:
9092
9093 Fixed a problem where the "_DDN" reserved name was defined to be a
9094 control method with one argument.  There are no arguments, and
9095 _DDN does not have to be a control method.
9096
9097 Fixed a problem with the Linux version of the compiler where the
9098 source lines printed with error messages were the wrong lines.
9099 This turned out to be the "LF versus CR/LF" difference between
9100 Windows and Unix.  This appears to be the longstanding issue
9101 concerning listing output and error messages.
9102
9103 Fixed a problem with the Linux version of compiler where opcode
9104 names within error messages were wrong.  This was caused by a
9105 slight difference in the output of the Flex tool on Linux versus
9106 Windows.
9107
9108 Fixed a problem with the Linux compiler where the hex output files
9109 contained some garbage data caused by an internal buffer overrun.
9110
9111
9112 ----------------------------------------
9113 17 May 2002.  Summary of changes for this release.
9114
9115
9116 1) ACPI CA Core Subsystem Version 20020517:
9117
9118 Implemented a workaround to an BIOS bug discovered on the HP
9119 OmniBook where the FADT revision number and the table size are
9120 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
9121 behavior is to fallback to using only the ACPI 1.0 fields of the
9122 FADT if the table is too small to be a ACPI 2.0 table as claimed
9123 by the revision number.  Although this is a BIOS bug, this is a
9124 case where the workaround is simple enough and with no side
9125 effects, so it seemed prudent to add it.  A warning message is
9126 issued, however.
9127
9128 Implemented minimum size checks for the fixed-length ACPI tables -
9129 - the FADT and FACS, as well as consistency checks between the
9130 revision number and the table size.
9131
9132 Fixed a reported problem in the table override support where the
9133 new table pointer was incorrectly treated as a physical address
9134 instead of a logical address.
9135
9136 Eliminated the use of the AE_AML_ERROR exception and replaced it
9137 with more descriptive codes.
9138
9139 Fixed a problem where an exception would occur if an ASL Field was
9140 defined with no named Field Units underneath it (used by some
9141 index fields).
9142
9143 Code and Data Size: Current core subsystem library sizes are shown
9144 below.  These are the code and data sizes for the acpica.lib
9145 produced by the Microsoft Visual C++ 6.0 compiler, and these
9146 values do not include any ACPI driver or OSPM code.  The debug
9147 version of the code includes the debug output trace mechanism and
9148 has a larger code and data size.  Note that these values will vary
9149 depending on the efficiency of the compiler and the compiler
9150 options used during generation.
9151
9152   Previous Release
9153     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9154     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9155   Current Release:
9156     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9157     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9158
9159
9160
9161 2) Linux
9162
9163 Much work done on ACPI init (MADT and PCI IRQ routing support).
9164 (Paul D. and Dominik Brodowski)
9165
9166 Fix PCI IRQ-related panic on boot (Sam Revitch)
9167
9168 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
9169
9170 Fix "MHz" typo (Dominik Brodowski)
9171
9172 Fix RTC year 2000 issue (Dominik Brodowski)
9173
9174 Preclude multiple button proc entries (Eric Brunet)
9175
9176 Moved arch-specific code out of include/platform/aclinux.h
9177
9178 3) iASL Compiler Version X2044:
9179
9180 Implemented error checking for the string used in the EISAID macro
9181 (Usually used in the definition of the _HID object.)  The code now
9182 strictly enforces the PnP format - exactly 7 characters, 3
9183 uppercase letters and 4 hex digits.
9184
9185 If a raw string is used in the definition of the _HID object
9186 (instead of the EISAID macro), the string must contain all
9187 alphanumeric characters (e.g., "*PNP0011" is not allowed because
9188 of the asterisk.)
9189
9190 Implemented checking for invalid use of ACPI reserved names for
9191 most of the name creation operators (Name, Device, Event, Mutex,
9192 OperationRegion, PowerResource, Processor, and ThermalZone.)
9193 Previously, this check was only performed for control methods.
9194
9195 Implemented an additional check on the Name operator to emit an
9196 error if a reserved name that must be implemented in ASL as a
9197 control method is used.  We know that a reserved name must be a
9198 method if it is defined with input arguments.
9199
9200 The warning emitted when a namespace object reference is not found
9201 during the cross reference phase has been changed into an error.
9202 The "External" directive should be used for names defined in other
9203 modules.
9204
9205
9206 4) Tools and Utilities
9207
9208 The 16-bit tools (adump16 and aexec16) have been regenerated and
9209 tested.
9210
9211 Fixed a problem with the output of both acpidump and adump16 where
9212 the indentation of closing parentheses and brackets was not
9213
9214 aligned properly with the parent block.
9215
9216
9217 ----------------------------------------
9218 03 May 2002.  Summary of changes for this release.
9219
9220
9221 1) ACPI CA Core Subsystem Version 20020503:
9222
9223 Added support a new OSL interface that allows the host operating
9224
9225 system software to override the DSDT found in the firmware -
9226 AcpiOsTableOverride.  With this interface, the OSL can examine the
9227 version of the firmware DSDT and replace it with a different one
9228 if desired.
9229
9230 Added new external interfaces for accessing ACPI registers from
9231 device drivers and other system software - AcpiGetRegister and
9232 AcpiSetRegister.  This was simply an externalization of the
9233 existing AcpiHwBitRegister interfaces.
9234
9235 Fixed a regression introduced in the previous build where the
9236 ASL/AML CreateField operator always returned an error,
9237 "destination must be a NS Node".
9238
9239 Extended the maximum time (before failure) to successfully enable
9240 ACPI mode to 3 seconds.
9241
9242 Code and Data Size: Current core subsystem library sizes are shown
9243 below.  These are the code and data sizes for the acpica.lib
9244 produced by the Microsoft Visual C++ 6.0 compiler, and these
9245 values do not include any ACPI driver or OSPM code.  The debug
9246 version of the code includes the debug output trace mechanism and
9247 has a larger code and data size.  Note that these values will vary
9248 depending on the efficiency of the compiler and the compiler
9249 options used during generation.
9250
9251   Previous Release
9252     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9253     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9254   Current Release:
9255     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9256     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9257
9258
9259 2) Linux
9260
9261 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
9262 free. While 3 out of 4 of our in-house systems work fine, the last
9263 one still hangs when testing the LAPIC timer.
9264
9265 Renamed many files in 2.5 kernel release to omit "acpi_" from the
9266 name.
9267
9268 Added warning on boot for Presario 711FR.
9269
9270 Sleep improvements (Pavel Machek)
9271
9272 ACPI can now be built without CONFIG_PCI enabled.
9273
9274 IA64: Fixed memory map functions (JI Lee)
9275
9276
9277 3) iASL Compiler Version X2043:
9278
9279 Added support to allow the compiler to be integrated into the MS
9280 VC++ development environment for one-button compilation of single
9281 files or entire projects -- with error-to-source-line mapping.
9282
9283 Implemented support for compile-time constant folding for the
9284 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
9285 specification.  This allows the ASL writer to use expressions
9286 instead of Integer/Buffer/String constants in terms that must
9287 evaluate to constants at compile time and will also simplify the
9288 emitted AML in any such sub-expressions that can be folded
9289 (evaluated at compile-time.)  This increases the size of the
9290 compiler significantly because a portion of the ACPI CA AML
9291 interpreter is included within the compiler in order to pre-
9292 evaluate constant expressions.
9293
9294
9295 Fixed a problem with the "Unicode" ASL macro that caused the
9296 compiler to fault.  (This macro is used in conjunction with the
9297 _STR reserved name.)
9298
9299 Implemented an AML opcode optimization to use the Zero, One, and
9300 Ones opcodes where possible to further reduce the size of integer
9301 constants and thus reduce the overall size of the generated AML
9302 code.
9303
9304 Implemented error checking for new reserved terms for ACPI version
9305 2.0A.
9306
9307 Implemented the -qr option to display the current list of ACPI
9308 reserved names known to the compiler.
9309
9310 Implemented the -qc option to display the current list of ASL
9311 operators that are allowed within constant expressions and can
9312 therefore be folded at compile time if the operands are constants.
9313
9314
9315 4) Documentation
9316
9317 Updated the Programmer's Reference for new interfaces, data types,
9318 and memory allocation model options.
9319
9320 Updated the iASL Compiler User Reference to apply new format and
9321 add information about new features and options.
9322
9323 ----------------------------------------
9324 19 April 2002.  Summary of changes for this release.
9325
9326 1) ACPI CA Core Subsystem Version 20020419:
9327
9328 The source code base for the Core Subsystem has been completely
9329 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
9330 versions.  The Lint option files used are included in the
9331 /acpi/generate/lint directory.
9332
9333 Implemented enhanced status/error checking across the entire
9334 Hardware manager subsystem.  Any hardware errors (reported from
9335 the OSL) are now bubbled up and will abort a running control
9336 method.
9337
9338
9339 Fixed a problem where the per-ACPI-table integer width (32 or 64)
9340 was stored only with control method nodes, causing a fault when
9341 non-control method code was executed during table loading.  The
9342 solution implemented uses a global variable to indicate table
9343 width across the entire ACPI subsystem.  Therefore, ACPI CA does
9344 not support mixed integer widths across different ACPI tables
9345 (DSDT, SSDT).
9346
9347 Fixed a problem where NULL extended fields (X fields) in an ACPI
9348 2.0 ACPI FADT caused the table load to fail.  Although the
9349 existing ACPI specification is a bit fuzzy on this topic, the new
9350 behavior is to fall back on a ACPI 1.0 field if the corresponding
9351 ACPI 2.0 X field is zero (even though the table revision indicates
9352 a full ACPI 2.0 table.)  The ACPI specification will be updated to
9353 clarify this issue.
9354
9355 Fixed a problem with the SystemMemory operation region handler
9356 where memory was always accessed byte-wise even if the AML-
9357 specified access width was larger than a byte.  This caused
9358 problems on systems with memory-mapped I/O.  Memory is now
9359 accessed with the width specified.  On systems that do not support
9360 non-aligned transfers, a check is made to guarantee proper address
9361 alignment before proceeding in order to avoid an AML-caused
9362 alignment fault within the kernel.
9363
9364
9365 Fixed a problem with the ExtendedIrq resource where only one byte
9366 of the 4-byte Irq field was extracted.
9367
9368 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
9369 function was out of date and required a rewrite.
9370
9371 Code and Data Size: Current core subsystem library sizes are shown
9372 below.  These are the code and data sizes for the acpica.lib
9373 produced by the Microsoft Visual C++ 6.0 compiler, and these
9374 values do not include any ACPI driver or OSPM code.  The debug
9375 version of the code includes the debug output trace mechanism and
9376 has a larger code and data size.  Note that these values will vary
9377 depending on the efficiency of the compiler and the compiler
9378 options used during generation.
9379
9380   Previous Release
9381     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9382     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9383   Current Release:
9384     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9385     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9386
9387
9388 2) Linux
9389
9390 PCI IRQ routing fixes (Dominik Brodowski)
9391
9392
9393 3) iASL Compiler Version X2042:
9394
9395 Implemented an additional compile-time error check for a field
9396 unit whose size + minimum access width would cause a run-time
9397 access beyond the end-of-region.  Previously, only the field size
9398 itself was checked.
9399
9400 The Core subsystem and iASL compiler now share a common parse
9401 object in preparation for compile-time evaluation of the type
9402 3/4/5 ASL operators.
9403
9404
9405 ----------------------------------------
9406 Summary of changes for this release: 03_29_02
9407
9408 1) ACPI CA Core Subsystem Version 20020329:
9409
9410 Implemented support for late evaluation of TermArg operands to
9411 Buffer and Package objects.  This allows complex expressions to be
9412 used in the declarations of these object types.
9413
9414 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
9415 1.0, if the field was larger than 32 bits, it was returned as a
9416 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
9417 the field is returned as a buffer only if the field is larger than
9418 64 bits.  The TableRevision is now considered when making this
9419 conversion to avoid incompatibility with existing ASL code.
9420
9421 Implemented logical addressing for AcpiOsGetRootPointer.  This
9422 allows an RSDP with either a logical or physical address.  With
9423 this support, the host OS can now override all ACPI tables with
9424 one logical RSDP.  Includes implementation of  "typed" pointer
9425 support to allow a common data type for both physical and logical
9426 pointers internally.  This required a change to the
9427 AcpiOsGetRootPointer interface.
9428
9429 Implemented the use of ACPI 2.0 Generic Address Structures for all
9430 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9431 mapped I/O for these ACPI features.
9432
9433 Initialization now ignores not only non-required tables (All
9434 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9435 not validate the table headers of unrecognized tables.
9436
9437 Fixed a problem where a notify handler could only be
9438 installed/removed on an object of type Device.  All "notify"
9439
9440 objects are now supported -- Devices, Processor, Power, and
9441 Thermal.
9442
9443 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9444 critical information is returned when this debug level is enabled.
9445
9446 Code and Data Size: Current core subsystem library sizes are shown
9447 below.  These are the code and data sizes for the acpica.lib
9448 produced by the Microsoft Visual C++ 6.0 compiler, and these
9449 values do not include any ACPI driver or OSPM code.  The debug
9450 version of the code includes the debug output trace mechanism and
9451 has a larger code and data size.  Note that these values will vary
9452 depending on the efficiency of the compiler and the compiler
9453 options used during generation.
9454
9455   Previous Release
9456     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9457     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9458   Current Release:
9459     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9460     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9461
9462
9463 2) Linux:
9464
9465 The processor driver (acpi_processor.c) now fully supports ACPI
9466 2.0-based processor performance control (e.g. Intel(R)
9467 SpeedStep(TM) technology) Note that older laptops that only have
9468 the Intel "applet" interface are not supported through this.  The
9469 'limit' and 'performance' interface (/proc) are fully functional.
9470 [Note that basic policy for controlling performance state
9471 transitions will be included in the next version of ospmd.]  The
9472 idle handler was modified to more aggressively use C2, and PIIX4
9473 errata handling underwent a complete overhaul (big thanks to
9474 Dominik Brodowski).
9475
9476 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9477 based devices in the ACPI namespace are now dynamically bound
9478 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9479 This allows, among other things, ACPI to resolve bus numbers for
9480 subordinate PCI bridges.
9481
9482 Enhanced PCI IRQ routing to get the proper bus number for _PRT
9483 entries defined underneath PCI bridges.
9484
9485 Added IBM 600E to bad bios list due to invalid _ADR value for
9486 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9487
9488 In the process of adding full MADT support (e.g. IOAPIC) for IA32
9489 (acpi.c, mpparse.c) -- stay tuned.
9490
9491 Added back visual differentiation between fixed-feature and
9492 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9493 button/power/PWRF) to simplify button identification.
9494
9495 We no longer use -Wno-unused when compiling debug. Please ignore
9496 any "_THIS_MODULE defined but not used" messages.
9497
9498 Can now shut down the system using "magic sysrq" key.
9499
9500
9501 3) iASL Compiler version 2041:
9502
9503 Fixed a problem where conversion errors for hex/octal/decimal
9504 constants were not reported.
9505
9506 Implemented a fix for the General Register template Address field.
9507 This field was 8 bits when it should be 64.
9508
9509 Fixed a problem where errors/warnings were no longer being emitted
9510 within the listing output file.
9511
9512 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9513 exactly 4 characters, alphanumeric only.
9514
9515
9516
9517
9518 ----------------------------------------
9519 Summary of changes for this release: 03_08_02
9520
9521
9522 1) ACPI CA Core Subsystem Version 20020308:
9523
9524 Fixed a problem with AML Fields where the use of the "AccessAny"
9525 keyword could cause an interpreter error due to attempting to read
9526 or write beyond the end of the parent Operation Region.
9527
9528 Fixed a problem in the SystemMemory Operation Region handler where
9529 an attempt was made to map memory beyond the end of the region.
9530 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9531 errors on some Linux systems.
9532
9533 Fixed a problem where the interpreter/namespace "search to root"
9534 algorithm was not functioning for some object types.  Relaxed the
9535 internal restriction on the search to allow upsearches for all
9536 external object types as well as most internal types.
9537
9538
9539 2) Linux:
9540
9541 We now use safe_halt() macro versus individual calls to sti | hlt.
9542
9543 Writing to the processor limit interface should now work. "echo 1"
9544 will increase the limit, 2 will decrease, and 0 will reset to the
9545
9546 default.
9547
9548
9549 3) ASL compiler:
9550
9551 Fixed segfault on Linux version.
9552
9553
9554 ----------------------------------------
9555 Summary of changes for this release: 02_25_02
9556
9557 1) ACPI CA Core Subsystem:
9558
9559
9560 Fixed a problem where the GPE bit masks were not initialized
9561 properly, causing erratic GPE behavior.
9562
9563 Implemented limited support for multiple calling conventions.  The
9564 code can be generated with either the VPL (variable parameter
9565 list, or "C") convention, or the FPL (fixed parameter list, or
9566 "Pascal") convention.  The core subsystem is about 3.4% smaller
9567 when generated with FPL.
9568
9569
9570 2) Linux
9571
9572 Re-add some /proc/acpi/event functionality that was lost during
9573 the rewrite
9574
9575 Resolved issue with /proc events for fixed-feature buttons showing
9576 up as the system device.
9577
9578 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9579
9580 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9581
9582 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9583
9584 Fixed limit interface & usage to fix bugs with passive cooling
9585 hysterisis.
9586
9587 Restructured PRT support.
9588
9589
9590 ----------------------------------------
9591 Summary of changes for this label: 02_14_02
9592
9593
9594 1) ACPI CA Core Subsystem:
9595
9596 Implemented support in AcpiLoadTable to allow loading of FACS and
9597 FADT tables.
9598
9599 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9600 been removed.  All 64-bit platforms should be migrated to the ACPI
9601 2.0 tables.  The actbl71.h header has been removed from the source
9602 tree.
9603
9604 All C macros defined within the subsystem have been prefixed with
9605 "ACPI_" to avoid collision with other system include files.
9606
9607 Removed the return value for the two AcpiOsPrint interfaces, since
9608 it is never used and causes lint warnings for ignoring the return
9609 value.
9610
9611 Added error checking to all internal mutex acquire and release
9612 calls.  Although a failure from one of these interfaces is
9613 probably a fatal system error, these checks will cause the
9614 immediate abort of the currently executing method or interface.
9615
9616 Fixed a problem where the AcpiSetCurrentResources interface could
9617 fault.  This was a side effect of the deployment of the new memory
9618 allocation model.
9619
9620 Fixed a couple of problems with the Global Lock support introduced
9621 in the last major build.  The "common" (1.0/2.0) internal FACS was
9622 being overwritten with the FACS signature and clobbering the
9623 Global Lock pointer.  Also, the actual firmware FACS was being
9624 unmapped after construction of the "common" FACS, preventing
9625 access to the actual Global Lock field within it.  The "common"
9626 internal FACS is no longer installed as an actual ACPI table; it
9627 is used simply as a global.
9628
9629 Code and Data Size: Current core subsystem library sizes are shown
9630 below.  These are the code and data sizes for the acpica.lib
9631 produced by the Microsoft Visual C++ 6.0 compiler, and these
9632 values do not include any ACPI driver or OSPM code.  The debug
9633 version of the code includes the debug output trace mechanism and
9634 has a larger code and data size.  Note that these values will vary
9635 depending on the efficiency of the compiler and the compiler
9636 options used during generation.
9637
9638   Previous Release (02_07_01)
9639     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9640     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9641   Current Release:
9642     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9643     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9644
9645
9646 2) Linux
9647
9648 Updated Linux-specific code for core macro and OSL interface
9649 changes described above.
9650
9651 Improved /proc/acpi/event. It now can be opened only once and has
9652 proper poll functionality.
9653
9654 Fixed and restructured power management (acpi_bus).
9655
9656 Only create /proc "view by type" when devices of that class exist.
9657
9658 Fixed "charging/discharging" bug (and others) in acpi_battery.
9659
9660 Improved thermal zone code.
9661
9662
9663 3) ASL Compiler, version X2039:
9664
9665
9666 Implemented the new compiler restriction on ASL String hex/octal
9667 escapes to non-null, ASCII values.  An error results if an invalid
9668 value is used.  (This will require an ACPI 2.0 specification
9669 change.)
9670
9671 AML object labels that are output to the optional C and ASM source
9672 are now prefixed with both the ACPI table signature and table ID
9673 to help guarantee uniqueness within a large BIOS project.
9674
9675
9676 ----------------------------------------
9677 Summary of changes for this label: 02_01_02
9678
9679 1) ACPI CA Core Subsystem:
9680
9681 ACPI 2.0 support is complete in the entire Core Subsystem and the
9682 ASL compiler. All new ACPI 2.0 operators are implemented and all
9683 other changes for ACPI 2.0 support are complete.  With
9684 simultaneous code and data optimizations throughout the subsystem,
9685 ACPI 2.0 support has been implemented with almost no additional
9686 cost in terms of code and data size.
9687
9688 Implemented a new mechanism for allocation of return buffers.  If
9689 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9690 be allocated on behalf of the caller.  Consolidated all return
9691 buffer validation and allocation to a common procedure.  Return
9692 buffers will be allocated via the primary OSL allocation interface
9693 since it appears that a separate pool is not needed by most users.
9694 If a separate pool is required for these buffers, the caller can
9695 still use the original mechanism and pre-allocate the buffer(s).
9696
9697 Implemented support for string operands within the DerefOf
9698 operator.
9699
9700 Restructured the Hardware and Event managers to be table driven,
9701 simplifying the source code and reducing the amount of generated
9702 code.
9703
9704 Split the common read/write low-level ACPI register bitfield
9705 procedure into a separate read and write, simplifying the code
9706 considerably.
9707
9708 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9709 used only a handful of times and didn't have enough critical mass
9710 for a separate interface.  Replaced with a common calloc procedure
9711 in the core.
9712
9713 Fixed a reported problem with the GPE number mapping mechanism
9714 that allows GPE1 numbers to be non-contiguous with GPE0.
9715 Reorganized the GPE information and shrunk a large array that was
9716 originally large enough to hold info for all possible GPEs (256)
9717 to simply large enough to hold all GPEs up to the largest GPE
9718 number on the machine.
9719
9720 Fixed a reported problem with resource structure alignment on 64-
9721 bit platforms.
9722
9723 Changed the AcpiEnableEvent and AcpiDisableEvent external
9724 interfaces to not require any flags for the common case of
9725 enabling/disabling a GPE.
9726
9727 Implemented support to allow a "Notify" on a Processor object.
9728
9729 Most TBDs in comments within the source code have been resolved
9730 and eliminated.
9731
9732
9733 Fixed a problem in the interpreter where a standalone parent
9734 prefix (^) was not handled correctly in the interpreter and
9735 debugger.
9736
9737 Removed obsolete and unnecessary GPE save/restore code.
9738
9739 Implemented Field support in the ASL Load operator.  This allows a
9740 table to be loaded from a named field, in addition to loading a
9741 table directly from an Operation Region.
9742
9743 Implemented timeout and handle support in the external Global Lock
9744 interfaces.
9745
9746 Fixed a problem in the AcpiDump utility where pathnames were no
9747 longer being generated correctly during the dump of named objects.
9748
9749 Modified the AML debugger to give a full display of if/while
9750 predicates instead of just one AML opcode at a time.  (The
9751 predicate can have several nested ASL statements.)  The old method
9752 was confusing during single stepping.
9753
9754 Code and Data Size: Current core subsystem library sizes are shown
9755 below. These are the code and data sizes for the acpica.lib
9756 produced by the Microsoft Visual C++ 6.0 compiler, and these
9757 values do not include any ACPI driver or OSPM code.  The debug
9758 version of the code includes the debug output trace mechanism and
9759 has a larger code and data size.  Note that these values will vary
9760 depending on the efficiency of the compiler and the compiler
9761 options used during generation.
9762
9763   Previous Release (12_18_01)
9764      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9765      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9766    Current Release:
9767      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9768      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9769
9770 2) Linux
9771
9772  Implemented fix for PIIX reverse throttling errata (Processor
9773 driver)
9774
9775 Added new Limit interface (Processor and Thermal drivers)
9776
9777 New thermal policy (Thermal driver)
9778
9779 Many updates to /proc
9780
9781 Battery "low" event support (Battery driver)
9782
9783 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9784
9785 IA32 - IA64 initialization unification, no longer experimental
9786
9787 Menuconfig options redesigned
9788
9789 3) ASL Compiler, version X2037:
9790
9791 Implemented several new output features to simplify integration of
9792 AML code into  firmware: 1) Output the AML in C source code with
9793 labels for each named ASL object.  The    original ASL source code
9794 is interleaved as C comments. 2) Output the AML in ASM source code
9795 with labels and interleaved ASL    source. 3) Output the AML in
9796 raw hex table form, in either C or ASM.
9797
9798 Implemented support for optional string parameters to the
9799 LoadTable operator.
9800
9801 Completed support for embedded escape sequences within string
9802 literals.  The compiler now supports all single character escapes
9803 as well as the Octal and Hex escapes.  Note: the insertion of a
9804 null byte into a string literal (via the hex/octal escape) causes
9805 the string to be immediately terminated.  A warning is issued.
9806
9807 Fixed a problem where incorrect AML was generated for the case
9808 where an ASL namepath consists of a single parent prefix (
9809
9810 ) with no trailing name segments.
9811
9812 The compiler has been successfully generated with a 64-bit C
9813 compiler.
9814
9815
9816
9817
9818 ----------------------------------------
9819 Summary of changes for this label: 12_18_01
9820
9821 1) Linux
9822
9823 Enhanced blacklist with reason and severity fields. Any table's
9824 signature may now be used to identify a blacklisted system.
9825
9826 Call _PIC control method to inform the firmware which interrupt
9827 model the OS is using. Turn on any disabled link devices.
9828
9829 Cleaned up busmgr /proc error handling (Andreas Dilger)
9830
9831  2) ACPI CA Core Subsystem:
9832
9833 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9834 while loop)
9835
9836 Completed implementation of the ACPI 2.0 "Continue",
9837 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9838 operators.  All new ACPI 2.0 operators are now implemented in both
9839 the ASL compiler and the AML interpreter.  The only remaining ACPI
9840 2.0 task is support for the String data type in the DerefOf
9841 operator.  Fixed a problem with AcquireMutex where the status code
9842 was lost if the caller had to actually wait for the mutex.
9843
9844 Increased the maximum ASL Field size from 64K bits to 4G bits.
9845
9846 Completed implementation of the external Global Lock interfaces --
9847 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9848 Handler parameters were added.
9849
9850 Completed another pass at removing warnings and issues when
9851 compiling with 64-bit compilers.  The code now compiles cleanly
9852 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9853 add and subtract (diff) macros have changed considerably.
9854
9855
9856 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
9857 64-bit platforms, 32-bits on all others.  This type is used
9858 wherever memory allocation and/or the C sizeof() operator is used,
9859 and affects the OSL memory allocation interfaces AcpiOsAllocate
9860 and AcpiOsCallocate.
9861
9862 Implemented sticky user breakpoints in the AML debugger.
9863
9864 Code and Data Size: Current core subsystem library sizes are shown
9865 below. These are the code and data sizes for the acpica.lib
9866 produced by the Microsoft Visual C++ 6.0 compiler, and these
9867 values do not include any ACPI driver or OSPM code.  The debug
9868 version of the code includes the debug output trace mechanism and
9869 has a larger code and data size. Note that these values will vary
9870 depending on the efficiency of the compiler and the compiler
9871 options used during generation.
9872
9873   Previous Release (12_05_01)
9874      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9875      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9876    Current Release:
9877      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9878      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9879
9880  3) ASL Compiler, version X2034:
9881
9882 Now checks for (and generates an error if detected) the use of a
9883 Break or Continue statement without an enclosing While statement.
9884
9885
9886 Successfully generated the compiler with the Intel 64-bit C
9887 compiler.
9888
9889  ----------------------------------------
9890 Summary of changes for this label: 12_05_01
9891
9892  1) ACPI CA Core Subsystem:
9893
9894 The ACPI 2.0 CopyObject operator is fully implemented.  This
9895 operator creates a new copy of an object (and is also used to
9896 bypass the "implicit conversion" mechanism of the Store operator.)
9897
9898 The ACPI 2.0 semantics for the SizeOf operator are fully
9899 implemented.  The change is that performing a SizeOf on a
9900 reference object causes an automatic dereference of the object to
9901 tha actual value before the size is evaluated. This behavior was
9902 undefined in ACPI 1.0.
9903
9904 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9905 have been implemented.  The interrupt polarity and mode are now
9906 independently set.
9907
9908 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9909 appearing in Package objects were not properly converted to
9910 integers when the internal Package was converted to an external
9911 object (via the AcpiEvaluateObject interface.)
9912
9913 Fixed a problem with the namespace object deletion mechanism for
9914 objects created by control methods.  There were two parts to this
9915 problem: 1) Objects created during the initialization phase method
9916 parse were not being deleted, and 2) The object owner ID mechanism
9917 to track objects was broken.
9918
9919 Fixed a problem where the use of the ASL Scope operator within a
9920 control method would result in an invalid opcode exception.
9921
9922 Fixed a problem introduced in the previous label where the buffer
9923 length required for the _PRT structure was not being returned
9924 correctly.
9925
9926 Code and Data Size: Current core subsystem library sizes are shown
9927 below. These are the code and data sizes for the acpica.lib
9928 produced by the Microsoft Visual C++ 6.0 compiler, and these
9929 values do not include any ACPI driver or OSPM code.  The debug
9930 version of the code includes the debug output trace mechanism and
9931 has a larger code and data size.  Note that these values will vary
9932 depending on the efficiency of the compiler and the compiler
9933 options used during generation.
9934
9935   Previous Release (11_20_01)
9936      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9937      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9938
9939   Current Release:
9940      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9941      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9942
9943  2) Linux:
9944
9945 Updated all files to apply cleanly against 2.4.16.
9946
9947 Added basic PCI Interrupt Routing Table (PRT) support for IA32
9948 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9949 version supports both static and dyanmic PRT entries, but dynamic
9950 entries are treated as if they were static (not yet
9951 reconfigurable).  Architecture- specific code to use this data is
9952 absent on IA32 but should be available shortly.
9953
9954 Changed the initialization sequence to start the ACPI interpreter
9955 (acpi_init) prior to initialization of the PCI driver (pci_init)
9956 in init/main.c.  This ordering is required to support PRT and
9957 facilitate other (future) enhancement.  A side effect is that the
9958 ACPI bus driver and certain device drivers can no longer be loaded
9959 as modules.
9960
9961 Modified the 'make menuconfig' options to allow PCI Interrupt
9962 Routing support to be included without the ACPI Bus and other
9963 device drivers.
9964
9965  3) ASL Compiler, version X2033:
9966
9967 Fixed some issues with the use of the new CopyObject and
9968 DataTableRegion operators.  Both are fully functional.
9969
9970  ----------------------------------------
9971 Summary of changes for this label: 11_20_01
9972
9973  20 November 2001.  Summary of changes for this release.
9974
9975  1) ACPI CA Core Subsystem:
9976
9977 Updated Index support to match ACPI 2.0 semantics.  Storing a
9978 Integer, String, or Buffer to an Index of a Buffer will store only
9979 the least-significant byte of the source to the Indexed buffer
9980 byte.  Multiple writes are not performed.
9981
9982 Fixed a problem where the access type used in an AccessAs ASL
9983 operator was not recorded correctly into the field object.
9984
9985 Fixed a problem where ASL Event objects were created in a
9986 signalled state. Events are now created in an unsignalled state.
9987
9988 The internal object cache is now purged after table loading and
9989 initialization to reduce the use of dynamic kernel memory -- on
9990 the assumption that object use is greatest during the parse phase
9991 of the entire table (versus the run-time use of individual control
9992 methods.)
9993
9994 ACPI 2.0 variable-length packages are now fully operational.
9995
9996 Code and Data Size: Code and Data optimizations have permitted new
9997 feature development with an actual reduction in the library size.
9998 Current core subsystem library sizes are shown below.  These are
9999 the code and data sizes for the acpica.lib produced by the
10000 Microsoft Visual C++ 6.0 compiler, and these values do not include
10001 any ACPI driver or OSPM code.  The debug version of the code
10002 includes the debug output trace mechanism and has a larger code
10003 and data size.  Note that these values will vary depending on the
10004 efficiency of the compiler and the compiler options used during
10005 generation.
10006
10007   Previous Release (11_09_01):
10008      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10009      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10010
10011   Current Release:
10012      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
10013      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
10014
10015  2) Linux:
10016
10017 Enhanced the ACPI boot-time initialization code to allow the use
10018 of Local APIC tables for processor enumeration on IA-32, and to
10019 pave the way for a fully MPS-free boot (on SMP systems) in the
10020 near future.  This functionality replaces
10021 arch/i386/kernel/acpitables.c, which was introduced in an earlier
10022 2.4.15-preX release.  To enable this feature you must add
10023 "acpi_boot=on" to the kernel command line -- see the help entry
10024 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
10025 the works...
10026
10027 Restructured the configuration options to allow boot-time table
10028 parsing support without inclusion of the ACPI Interpreter (and
10029 other) code.
10030
10031 NOTE: This release does not include fixes for the reported events,
10032 power-down, and thermal passive cooling issues (coming soon).
10033
10034  3) ASL Compiler:
10035
10036 Added additional typechecking for Fields within restricted access
10037 Operation Regions.  All fields within EC and CMOS regions must be
10038 declared with ByteAcc. All fields withing SMBus regions must be
10039 declared with the BufferAcc access type.
10040
10041 Fixed a problem where the listing file output of control methods
10042 no longer interleaved the actual AML code with the ASL source
10043 code.
10044
10045
10046
10047
10048 ----------------------------------------
10049 Summary of changes for this label: 11_09_01
10050
10051 1) ACPI CA Core Subsystem:
10052
10053 Implemented ACPI 2.0-defined support for writes to fields with a
10054 Buffer, String, or Integer source operand that is smaller than the
10055 target field. In these cases, the source operand is zero-extended
10056 to fill the target field.
10057
10058 Fixed a problem where a Field starting bit offset (within the
10059 parent operation region) was calculated incorrectly if the
10060
10061 alignment of the field differed from the access width.  This
10062 affected CreateWordField, CreateDwordField, CreateQwordField, and
10063 possibly other fields that use the "AccessAny" keyword.
10064
10065 Fixed a problem introduced in the 11_02_01 release where indirect
10066 stores through method arguments did not operate correctly.
10067
10068 2) Linux:
10069
10070 Implemented boot-time ACPI table parsing support
10071 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
10072 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
10073 legacy BIOS interfaces (e.g. MPS) for the configuration of system
10074 processors, memory, and interrupts during setup_arch().  Note that
10075 this patch does not include the required architecture-specific
10076 changes required to apply this information -- subsequent patches
10077 will be posted for both IA32 and IA64 to achieve this.
10078
10079 Added low-level sleep support for IA32 platforms, courtesy of Pat
10080 Mochel. This allows IA32 systems to transition to/from various
10081 sleeping states (e.g. S1, S3), although the lack of a centralized
10082 driver model and power-manageable drivers will prevent its
10083 (successful) use on most systems.
10084
10085 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
10086 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
10087 tables" option, etc.
10088
10089 Increased the default timeout for the EC driver from 1ms to 10ms
10090 (1000 cycles of 10us) to try to address AE_TIME errors during EC
10091 transactions.
10092
10093  ----------------------------------------
10094 Summary of changes for this label: 11_02_01
10095
10096 1) ACPI CA Core Subsystem:
10097
10098 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
10099 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
10100 implemented.
10101
10102 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
10103 changes to support ACPI 2.0 Qword field access.  Read/Write
10104 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
10105 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
10106 the value parameter for the address space handler interface is now
10107 an ACPI_INTEGER.  OSL implementations of these interfaces must now
10108 handle the case where the Width parameter is 64.
10109
10110 Index Fields: Fixed a problem where unaligned bit assembly and
10111 disassembly for IndexFields was not supported correctly.
10112
10113 Index and Bank Fields:  Nested Index and Bank Fields are now
10114 supported. During field access, a check is performed to ensure
10115 that the value written to an Index or Bank register is not out of
10116 the range of the register.  The Index (or Bank) register is
10117 written before each access to the field data. Future support will
10118 include allowing individual IndexFields to be wider than the
10119 DataRegister width.
10120
10121 Fields: Fixed a problem where the AML interpreter was incorrectly
10122 attempting to write beyond the end of a Field/OpRegion.  This was
10123 a boundary case that occurred when a DWORD field was written to a
10124 BYTE access OpRegion, forcing multiple writes and causing the
10125 interpreter to write one datum too many.
10126
10127 Fields: Fixed a problem with Field/OpRegion access where the
10128 starting bit address of a field was incorrectly calculated if the
10129 current access type was wider than a byte (WordAcc, DwordAcc, or
10130 QwordAcc).
10131
10132 Fields: Fixed a problem where forward references to individual
10133 FieldUnits (individual Field names within a Field definition) were
10134 not resolved during the AML table load.
10135
10136 Fields: Fixed a problem where forward references from a Field
10137 definition to the parent Operation Region definition were not
10138 resolved during the AML table load.
10139
10140 Fields: Duplicate FieldUnit names within a scope are now detected
10141 during AML table load.
10142
10143 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
10144 returned an incorrect name for the root node.
10145
10146 Code and Data Size: Code and Data optimizations have permitted new
10147 feature development with an actual reduction in the library size.
10148 Current core subsystem library sizes are shown below.  These are
10149 the code and data sizes for the acpica.lib produced by the
10150 Microsoft Visual C++ 6.0 compiler, and these values do not include
10151 any ACPI driver or OSPM code.  The debug version of the code
10152 includes the debug output trace mechanism and has a larger code
10153 and data size.  Note that these values will vary depending on the
10154 efficiency of the compiler and the compiler options used during
10155 generation.
10156
10157   Previous Release (10_18_01):
10158      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10159      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10160
10161   Current Release:
10162      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10163      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10164
10165  2) Linux:
10166
10167 Improved /proc processor output (Pavel Machek) Re-added
10168 MODULE_LICENSE("GPL") to all modules.
10169
10170  3) ASL Compiler version X2030:
10171
10172 Duplicate FieldUnit names within a scope are now detected and
10173 flagged as errors.
10174
10175  4) Documentation:
10176
10177 Programmer Reference updated to reflect OSL and address space
10178 handler interface changes described above.
10179
10180 ----------------------------------------
10181 Summary of changes for this label: 10_18_01
10182
10183 ACPI CA Core Subsystem:
10184
10185 Fixed a problem with the internal object reference count mechanism
10186 that occasionally caused premature object deletion. This resolves
10187 all of the outstanding problem reports where an object is deleted
10188 in the middle of an interpreter evaluation.  Although this problem
10189 only showed up in rather obscure cases, the solution to the
10190 problem involved an adjustment of all reference counts involving
10191 objects attached to namespace nodes.
10192
10193 Fixed a problem with Field support in the interpreter where
10194 writing to an aligned field whose length is an exact multiple (2
10195 or greater) of the field access granularity would cause an attempt
10196 to write beyond the end of the field.
10197
10198 The top level AML opcode execution functions within the
10199 interpreter have been renamed with a more meaningful and
10200 consistent naming convention.  The modules exmonad.c and
10201 exdyadic.c were eliminated.  New modules are exoparg1.c,
10202 exoparg2.c, exoparg3.c, and exoparg6.c.
10203
10204 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
10205
10206 Fixed a problem where the AML debugger was causing some internal
10207 objects to not be deleted during subsystem termination.
10208
10209 Fixed a problem with the external AcpiEvaluateObject interface
10210 where the subsystem would fault if the named object to be
10211 evaluated refered to a constant such as Zero, Ones, etc.
10212
10213 Fixed a problem with IndexFields and BankFields where the
10214 subsystem would fault if the index, data, or bank registers were
10215 not defined in the same scope as the field itself.
10216
10217 Added printf format string checking for compilers that support
10218 this feature.  Corrected more than 50 instances of issues with
10219 format specifiers within invocations of ACPI_DEBUG_PRINT
10220 throughout the core subsystem code.
10221
10222 The ASL "Revision" operator now returns the ACPI support level
10223 implemented in the core - the value "2" since the ACPI 2.0 support
10224 is more than 50% implemented.
10225
10226 Enhanced the output of the AML debugger "dump namespace" command
10227 to output in a more human-readable form.
10228
10229 Current core subsystem library code sizes are shown below.  These
10230
10231 are the code and data sizes for the acpica.lib produced by the
10232 Microsoft Visual C++ 6.0 compiler, and these values do not include
10233 any ACPI driver or OSPM code.  The debug version of the code
10234 includes the full debug trace mechanism -- leading to a much
10235
10236 larger code and data size.  Note that these values will vary
10237 depending on the efficiency of the compiler and the compiler
10238 options used during generation.
10239
10240      Previous Label (09_20_01):
10241      Non-Debug Version:    65K Code,     5K Data,     70K Total
10242      Debug Version:       138K Code,    58K Data,    196K Total
10243
10244      This Label:
10245
10246      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10247      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10248
10249 Linux:
10250
10251 Implemented a "Bad BIOS Blacklist" to track machines that have
10252 known ASL/AML problems.
10253
10254 Enhanced the /proc interface for the thermal zone driver and added
10255 support for _HOT (the critical suspend trip point).  The 'info'
10256 file now includes threshold/policy information, and allows setting
10257 of _SCP (cooling preference) and _TZP (polling frequency) values
10258 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
10259 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
10260 preference to the passive/quiet mode (if supported by the ASL).
10261
10262 Implemented a workaround for a gcc bug that resuted in an OOPs
10263 when loading the control method battery driver.
10264
10265  ----------------------------------------
10266 Summary of changes for this label: 09_20_01
10267
10268  ACPI CA Core Subsystem:
10269
10270 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
10271 modified to allow individual GPE levels to be flagged as wake-
10272 enabled (i.e., these GPEs are to remain enabled when the platform
10273 sleeps.)
10274
10275 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
10276 support wake-enabled GPEs.  This means that upon entering the
10277 sleep state, all GPEs that are not wake-enabled are disabled.
10278 When leaving the sleep state, these GPEs are reenabled.
10279
10280 A local double-precision divide/modulo module has been added to
10281 enhance portability to OS kernels where a 64-bit math library is
10282 not available.  The new module is "utmath.c".
10283
10284 Several optimizations have been made to reduce the use of CPU
10285 stack.  Originally over 2K, the maximum stack usage is now below
10286 2K at 1860  bytes (1.82k)
10287
10288 Fixed a problem with the AcpiGetFirmwareTable interface where the
10289 root table pointer was not mapped into a logical address properly.
10290
10291 Fixed a problem where a NULL pointer was being dereferenced in the
10292 interpreter code for the ASL Notify operator.
10293
10294 Fixed a problem where the use of the ASL Revision operator
10295 returned an error. This operator now returns the current version
10296 of the ACPI CA core subsystem.
10297
10298 Fixed a problem where objects passed as control method parameters
10299 to AcpiEvaluateObject were always deleted at method termination.
10300 However, these objects may end up being stored into the namespace
10301 by the called method.  The object reference count mechanism was
10302 applied to these objects instead of a force delete.
10303
10304 Fixed a problem where static strings or buffers (contained in the
10305 AML code) that are declared as package elements within the ASL
10306 code could cause a fault because the interpreter would attempt to
10307 delete them.  These objects are now marked with the "static
10308 object" flag to prevent any attempt to delete them.
10309
10310 Implemented an interpreter optimization to use operands directly
10311 from the state object instead of extracting the operands to local
10312 variables.  This reduces stack use and code size, and improves
10313 performance.
10314
10315 The module exxface.c was eliminated as it was an unnecessary extra
10316 layer of code.
10317
10318 Current core subsystem library code sizes are shown below.  These
10319 are the code and data sizes for the acpica.lib produced by the
10320 Microsoft Visual C++ 6.0 compiler, and these values do not include
10321 any ACPI driver or OSPM code.  The debug version of the code
10322 includes the full debug trace mechanism -- leading to a much
10323 larger code and data size.  Note that these values will vary
10324 depending on the efficiency of the compiler and the compiler
10325 options used during generation.
10326
10327   Non-Debug Version:  65K Code,   5K Data,   70K Total
10328 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
10329 Total  (Previously 195K)
10330
10331 Linux:
10332
10333 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
10334 Integer objects are now 64 bits wide
10335
10336 All Acpi data types and structures are now in lower case.  Only
10337 Acpi macros are upper case for differentiation.
10338
10339  Documentation:
10340
10341 Changes to the external interfaces as described above.
10342
10343  ----------------------------------------
10344 Summary of changes for this label: 08_31_01
10345
10346  ACPI CA Core Subsystem:
10347
10348 A bug with interpreter implementation of the ASL Divide operator
10349 was found and fixed.  The implicit function return value (not the
10350 explicit store operands) was returning the remainder instead of
10351 the quotient.  This was a longstanding bug and it fixes several
10352 known outstanding issues on various platforms.
10353
10354 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
10355 been further optimized for size.  There are 700 invocations of the
10356 DEBUG_PRINT macro alone, so each optimization reduces the size of
10357 the debug version of the subsystem significantly.
10358
10359 A stack trace mechanism has been implemented.  The maximum stack
10360 usage is about 2K on 32-bit platforms.  The debugger command "stat
10361 stack" will display the current maximum stack usage.
10362
10363 All public symbols and global variables within the subsystem are
10364 now prefixed with the string "Acpi".  This keeps all of the
10365 symbols grouped together in a kernel map, and avoids conflicts
10366 with other kernel subsystems.
10367
10368 Most of the internal fixed lookup tables have been moved into the
10369 code segment via the const operator.
10370
10371 Several enhancements have been made to the interpreter to both
10372 reduce the code size and improve performance.
10373
10374 Current core subsystem library code sizes are shown below.  These
10375 are the code and data sizes for the acpica.lib produced by the
10376 Microsoft Visual C++ 6.0 compiler, and these values do not include
10377 any ACPI driver or OSPM code.  The debug version of the code
10378 includes the full debug trace mechanism which contains over 700
10379 invocations of the DEBUG_PRINT macro, 500 function entry macro
10380 invocations, and over 900 function exit macro invocations --
10381 leading to a much larger code and data size.  Note that these
10382 values will vary depending on the efficiency of the compiler and
10383 the compiler options used during generation.
10384
10385         Non-Debug Version:  64K Code,   5K Data,   69K Total
10386 Debug Version:     137K Code,  58K Data,  195K Total
10387
10388  Linux:
10389
10390 Implemented wbinvd() macro, pending a kernel-wide definition.
10391
10392 Fixed /proc/acpi/event to handle poll() and short reads.
10393
10394  ASL Compiler, version X2026:
10395
10396 Fixed a problem introduced in the previous label where the AML
10397
10398 code emitted for package objects produced packages with zero
10399 length.
10400
10401  ----------------------------------------
10402 Summary of changes for this label: 08_16_01
10403
10404 ACPI CA Core Subsystem:
10405
10406 The following ACPI 2.0 ASL operators have been implemented in the
10407 AML interpreter (These are already supported by the Intel ASL
10408 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
10409 ToBuffer.  Support for 64-bit AML constants is implemented in the
10410 AML parser, debugger, and disassembler.
10411
10412 The internal memory tracking mechanism (leak detection code) has
10413 been upgraded to reduce the memory overhead (a separate tracking
10414 block is no longer allocated for each memory allocation), and now
10415 supports all of the internal object caches.
10416
10417 The data structures and code for the internal object caches have
10418 been coelesced and optimized so that there is a single cache and
10419 memory list data structure and a single group of functions that
10420 implement generic cache management.  This has reduced the code
10421 size in both the debug and release versions of the subsystem.
10422
10423 The DEBUG_PRINT macro(s) have been optimized for size and replaced
10424 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10425 different, because it generates a single call to an internal
10426 function.  This results in a savings of about 90 bytes per
10427 invocation, resulting in an overall code and data savings of about
10428 16% in the debug version of the subsystem.
10429
10430  Linux:
10431
10432 Fixed C3 disk corruption problems and re-enabled C3 on supporting
10433 machines.
10434
10435 Integrated low-level sleep code by Patrick Mochel.
10436
10437 Further tweaked source code Linuxization.
10438
10439 Other minor fixes.
10440
10441  ASL Compiler:
10442
10443 Support for ACPI 2.0 variable length packages is fixed/completed.
10444
10445 Fixed a problem where the optional length parameter for the ACPI
10446 2.0 ToString operator.
10447
10448 Fixed multiple extraneous error messages when a syntax error is
10449 detected within the declaration line of a control method.
10450
10451  ----------------------------------------
10452 Summary of changes for this label: 07_17_01
10453
10454 ACPI CA Core Subsystem:
10455
10456 Added a new interface named AcpiGetFirmwareTable to obtain any
10457 ACPI table via the ACPI signature.  The interface can be called at
10458 any time during kernel initialization, even before the kernel
10459 virtual memory manager is initialized and paging is enabled.  This
10460 allows kernel subsystems to obtain ACPI tables very early, even
10461 before the ACPI CA subsystem is initialized.
10462
10463 Fixed a problem where Fields defined with the AnyAcc attribute
10464 could be resolved to the incorrect address under the following
10465 conditions: 1) the field width is larger than 8 bits and 2) the
10466 parent operation region is not defined on a DWORD boundary.
10467
10468 Fixed a problem where the interpreter is not being locked during
10469 namespace initialization (during execution of the _INI control
10470 methods), causing an error when an attempt is made to release it
10471 later.
10472
10473 ACPI 2.0 support in the AML Interpreter has begun and will be
10474 ongoing throughout the rest of this year.  In this label, The Mod
10475 operator is implemented.
10476
10477 Added a new data type to contain full PCI addresses named
10478 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10479 and Function values.
10480
10481  Linux:
10482
10483 Enhanced the Linux version of the source code to change most
10484 capitalized ACPI type names to lowercase. For example, all
10485 instances of ACPI_STATUS are changed to acpi_status.  This will
10486 result in a large diff, but the change is strictly cosmetic and
10487 aligns the CA code closer to the Linux coding standard.
10488
10489 OSL Interfaces:
10490
10491 The interfaces to the PCI configuration space have been changed to
10492 add the PCI Segment number and to split the single 32-bit combined
10493 DeviceFunction field into two 16-bit fields.  This was
10494 accomplished by moving the four values that define an address in
10495 PCI configuration space (segment, bus, device, and function) to
10496 the new ACPI_PCI_ID structure.
10497
10498 The changes to the PCI configuration space interfaces led to a
10499 reexamination of the complete set of address space access
10500 interfaces for PCI, I/O, and Memory.  The previously existing 18
10501 interfaces have proven difficult to maintain (any small change
10502 must be propagated across at least 6 interfaces) and do not easily
10503 allow for future expansion to 64 bits if necessary.  Also, on some
10504 systems, it would not be appropriate to demultiplex the access
10505 width (8, 16, 32,or 64) before calling the OSL if the
10506 corresponding native OS interfaces contain a similar access width
10507 parameter.  For these reasons, the 18 address space interfaces
10508 have been replaced by these 6 new ones:
10509
10510 AcpiOsReadPciConfiguration
10511 AcpiOsWritePciConfiguration
10512 AcpiOsReadMemory
10513 AcpiOsWriteMemory
10514 AcpiOsReadPort
10515 AcpiOsWritePort
10516
10517 Added a new interface named AcpiOsGetRootPointer to allow the OSL
10518 to perform the platform and/or OS-specific actions necessary to
10519 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10520 interface will simply call down to the CA core to perform the low-
10521 memory search for the table.  On IA-64, the RSDP is obtained from
10522 EFI.  Migrating this interface to the OSL allows the CA core to
10523
10524 remain OS and platform independent.
10525
10526 Added a new interface named AcpiOsSignal to provide a generic
10527 "function code and pointer" interface for various miscellaneous
10528 signals and notifications that must be made to the host OS.   The
10529 first such signals are intended to support the ASL Fatal and
10530 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10531 interface has been obsoleted.
10532
10533 The definition of the AcpiFormatException interface has been
10534 changed to simplify its use.  The caller no longer must supply a
10535 buffer to the call; A pointer to a const string is now returned
10536 directly.  This allows the call to be easily used in printf
10537 statements, etc. since the caller does not have to manage a local
10538 buffer.
10539
10540
10541  ASL Compiler, Version X2025:
10542
10543 The ACPI 2.0 Switch/Case/Default operators have been implemented
10544 and are fully functional.  They will work with all ACPI 1.0
10545 interpreters, since the operators are simply translated to If/Else
10546 pairs.
10547
10548 The ACPI 2.0 ElseIf operator is implemented and will also work
10549 with 1.0 interpreters, for the same reason.
10550
10551 Implemented support for ACPI 2.0 variable-length packages.  These
10552 packages have a separate opcode, and their size is determined by
10553 the interpreter at run-time.
10554
10555 Documentation The ACPI CA Programmer Reference has been updated to
10556 reflect the new interfaces and changes to existing interfaces.
10557
10558  ------------------------------------------
10559 Summary of changes for this label: 06_15_01
10560
10561  ACPI CA Core Subsystem:
10562
10563 Fixed a problem where a DWORD-accessed field within a Buffer
10564 object would get its byte address inadvertently rounded down to
10565 the nearest DWORD.  Buffers are always Byte-accessible.
10566
10567  ASL Compiler, version X2024:
10568
10569 Fixed a problem where the Switch() operator would either fault or
10570 hang the compiler.  Note however, that the AML code for this ACPI
10571 2.0 operator is not yet implemented.
10572
10573 Compiler uses the new AcpiOsGetTimer interface to obtain compile
10574 timings.
10575
10576 Implementation of the CreateField operator automatically converts
10577 a reference to a named field within a resource descriptor from a
10578 byte offset to a bit offset if required.
10579
10580 Added some missing named fields from the resource descriptor
10581 support. These are the names that are automatically created by the
10582 compiler to reference fields within a descriptor.  They are only
10583 valid at compile time and are not passed through to the AML
10584 interpreter.
10585
10586 Resource descriptor named fields are now typed as Integers and
10587 subject to compile-time typechecking when used in expressions.
10588
10589  ------------------------------------------
10590 Summary of changes for this label: 05_18_01
10591
10592  ACPI CA Core Subsystem:
10593
10594 Fixed a couple of problems in the Field support code where bits
10595 from adjacent fields could be returned along with the proper field
10596 bits. Restructured the field support code to improve performance,
10597 readability and maintainability.
10598
10599 New DEBUG_PRINTP macro automatically inserts the procedure name
10600 into the output, saving hundreds of copies of procedure name
10601 strings within the source, shrinking the memory footprint of the
10602 debug version of the core subsystem.
10603
10604  Source Code Structure:
10605
10606 The source code directory tree was restructured to reflect the
10607 current organization of the component architecture.  Some files
10608 and directories have been moved and/or renamed.
10609
10610  Linux:
10611
10612 Fixed leaking kacpidpc processes.
10613
10614 Fixed queueing event data even when /proc/acpi/event is not
10615 opened.
10616
10617  ASL Compiler, version X2020:
10618
10619 Memory allocation performance enhancement - over 24X compile time
10620 improvement on large ASL files.  Parse nodes and namestring
10621 buffers are now allocated from a large internal compiler buffer.
10622
10623 The temporary .SRC file is deleted unless the "-s" option is
10624 specified
10625
10626 The "-d" debug output option now sends all output to the .DBG file
10627 instead of the console.
10628
10629 "External" second parameter is now optional
10630
10631 "ElseIf" syntax now properly allows the predicate
10632
10633 Last operand to "Load" now recognized as a Target operand
10634
10635 Debug object can now be used anywhere as a normal object.
10636
10637 ResourceTemplate now returns an object of type BUFFER
10638
10639 EISAID now returns an object of type INTEGER
10640
10641 "Index" now works with a STRING operand
10642
10643 "LoadTable" now accepts optional parameters
10644
10645 "ToString" length parameter is now optional
10646
10647 "Interrupt (ResourceType," parse error fixed.
10648
10649 "Register" with a user-defined region space parse error fixed
10650
10651 Escaped backslash at the end of a string ("\\") scan/parse error
10652 fixed
10653
10654 "Revision" is now an object of type INTEGER.
10655
10656
10657
10658 ------------------------------------------
10659 Summary of changes for this label: 05_02_01
10660
10661 Linux:
10662
10663 /proc/acpi/event now blocks properly.
10664
10665 Removed /proc/sys/acpi. You can still dump your DSDT from
10666 /proc/acpi/dsdt.
10667
10668  ACPI CA Core Subsystem:
10669
10670 Fixed a problem introduced in the previous label where some of the
10671 "small" resource descriptor types were not recognized.
10672
10673 Improved error messages for the case where an ASL Field is outside
10674 the range of the parent operation region.
10675
10676  ASL Compiler, version X2018:
10677
10678
10679 Added error detection for ASL Fields that extend beyond the length
10680 of the parent operation region (only if the length of the region
10681 is known at compile time.)  This includes fields that have a
10682 minimum access width that is smaller than the parent region, and
10683 individual field units that are partially or entirely beyond the
10684 extent of the parent.
10685
10686
10687
10688 ------------------------------------------
10689 Summary of changes for this label: 04_27_01
10690
10691  ACPI CA Core Subsystem:
10692
10693 Fixed a problem where the namespace mutex could be released at the
10694 wrong time during execution of AcpiRemoveAddressSpaceHandler.
10695
10696 Added optional thread ID output for debug traces, to simplify
10697 debugging of multiple threads.  Added context switch notification
10698 when the debug code realizes that a different thread is now
10699 executing ACPI code.
10700
10701 Some additional external data types have been prefixed with the
10702 string "ACPI_" for consistency.  This may effect existing code.
10703 The data types affected are the external callback typedefs - e.g.,
10704
10705 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10706
10707  Linux:
10708
10709 Fixed an issue with the OSL semaphore implementation where a
10710 thread was waking up with an error from receiving a SIGCHLD
10711 signal.
10712
10713 Linux version of ACPI CA now uses the system C library for string
10714 manipulation routines instead of a local implementation.
10715
10716 Cleaned up comments and removed TBDs.
10717
10718  ASL Compiler, version X2017:
10719
10720 Enhanced error detection and reporting for all file I/O
10721 operations.
10722
10723  Documentation:
10724
10725 Programmer Reference updated to version 1.06.
10726
10727
10728
10729 ------------------------------------------
10730 Summary of changes for this label: 04_13_01
10731
10732  ACPI CA Core Subsystem:
10733
10734 Restructured support for BufferFields and RegionFields.
10735 BankFields support is now fully operational.  All known 32-bit
10736 limitations on field sizes have been removed.  Both BufferFields
10737 and (Operation) RegionFields are now supported by the same field
10738 management code.
10739
10740 Resource support now supports QWORD address and IO resources. The
10741 16/32/64 bit address structures and the Extended IRQ structure
10742 have been changed to properly handle Source Resource strings.
10743
10744 A ThreadId of -1 is now used to indicate a "mutex not acquired"
10745 condition internally and must never be returned by AcpiOsThreadId.
10746 This reserved value was changed from 0 since Unix systems allow a
10747 thread ID of 0.
10748
10749 Linux:
10750
10751 Driver code reorganized to enhance portability
10752
10753 Added a kernel configuration option to control ACPI_DEBUG
10754
10755 Fixed the EC driver to honor _GLK.
10756
10757 ASL Compiler, version X2016:
10758
10759 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10760 address space was set to 0, not 0x7f as it should be.
10761
10762  ------------------------------------------
10763 Summary of changes for this label: 03_13_01
10764
10765  ACPI CA Core Subsystem:
10766
10767 During ACPI initialization, the _SB_._INI method is now run if
10768 present.
10769
10770 Notify handler fix - notifies are deferred until the parent method
10771 completes execution.  This fixes the "mutex already acquired"
10772 issue seen occasionally.
10773
10774 Part of the "implicit conversion" rules in ACPI 2.0 have been
10775 found to cause compatibility problems with existing ASL/AML.  The
10776 convert "result-to-target-type" implementation has been removed
10777 for stores to method Args and Locals.  Source operand conversion
10778 is still fully implemented.  Possible changes to ACPI 2.0
10779 specification pending.
10780
10781 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10782 length.
10783
10784 Fix for compiler warnings for 64-bit compiles.
10785
10786  Linux:
10787
10788 /proc output aligned for easier parsing.
10789
10790 Release-version compile problem fixed.
10791
10792 New kernel configuration options documented in Configure.help.
10793
10794 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10795 context" message.
10796
10797  OSPM:
10798
10799 Power resource driver integrated with bus manager.
10800
10801 Fixed kernel fault during active cooling for thermal zones.
10802
10803 Source Code:
10804
10805 The source code tree has been restructured.
10806
10807
10808
10809 ------------------------------------------
10810 Summary of changes for this label: 03_02_01
10811
10812  Linux OS Services Layer (OSL):
10813
10814 Major revision of all Linux-specific code.
10815
10816 Modularized all ACPI-specific drivers.
10817
10818 Added new thermal zone and power resource drivers.
10819
10820 Revamped /proc interface (new functionality is under /proc/acpi).
10821
10822 New kernel configuration options.
10823
10824  Linux known issues:
10825
10826 New kernel configuration options not documented in Configure.help
10827 yet.
10828
10829
10830 Module dependencies not currently implemented. If used, they
10831 should be loaded in this order: busmgr, power, ec, system,
10832 processor, battery, ac_adapter, button, thermal.
10833
10834 Modules will not load if CONFIG_MODVERSION is set.
10835
10836 IBM 600E - entering S5 may reboot instead of shutting down.
10837
10838 IBM 600E - Sleep button may generate "Invalid <NULL> context"
10839 message.
10840
10841 Some systems may fail with "execution mutex already acquired"
10842 message.
10843
10844  ACPI CA Core Subsystem:
10845
10846 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
10847 for the  deadlock detection code. Defined to return a non-zero, 32-
10848 bit thread ID for the currently executing thread.  May be a non-
10849 zero constant integer on single-thread systems.
10850
10851 Implemented deadlock detection for internal subsystem mutexes.  We
10852 may add conditional compilation for this code (debug only) later.
10853
10854 ASL/AML Mutex object semantics are now fully supported.  This
10855 includes multiple acquires/releases by owner and support for the
10856
10857 Mutex SyncLevel parameter.
10858
10859 A new "Force Release" mechanism automatically frees all ASL
10860 Mutexes that have been acquired but not released when a thread
10861 exits the interpreter.  This forces conformance to the ACPI spec
10862 ("All mutexes must be released when an invocation exits") and
10863 prevents deadlocked ASL threads.  This mechanism can be expanded
10864 (later) to monitor other resource acquisitions if OEM ASL code
10865 continues to misbehave (which it will).
10866
10867 Several new ACPI exception codes have been added for the Mutex
10868 support.
10869
10870 Recursive method calls are now allowed and supported (the ACPI
10871 spec does in fact allow recursive method calls.)  The number of
10872 recursive calls is subject to the restrictions imposed by the
10873 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10874 parameter.
10875
10876 Implemented support for the SyncLevel parameter for control
10877 methods (ACPI 2.0 feature)
10878
10879 Fixed a deadlock problem when multiple threads attempted to use
10880 the interpreter.
10881
10882 Fixed a problem where the string length of a String package
10883 element was not always set in a package returned from
10884 AcpiEvaluateObject.
10885
10886 Fixed a problem where the length of a String package element was
10887 not always included in the length of the overall package returned
10888 from AcpiEvaluateObject.
10889
10890 Added external interfaces (Acpi*) to the ACPI debug memory
10891 manager.  This manager keeps a list of all outstanding
10892 allocations, and can therefore detect memory leaks and attempts to
10893 free memory blocks more than once. Useful for code such as the
10894 power manager, etc.  May not be appropriate for device drivers.
10895 Performance with the debug code enabled is slow.
10896
10897 The ACPI Global Lock is now an optional hardware element.
10898
10899  ASL Compiler Version X2015:
10900
10901 Integrated changes to allow the compiler to be generated on
10902 multiple platforms.
10903
10904 Linux makefile added to generate the compiler on Linux
10905
10906  Source Code:
10907
10908 All platform-specific headers have been moved to their own
10909 subdirectory, Include/Platform.
10910
10911 New source file added, Interpreter/ammutex.c
10912
10913 New header file, Include/acstruct.h
10914
10915  Documentation:
10916
10917 The programmer reference has been updated for the following new
10918 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10919
10920  ------------------------------------------
10921 Summary of changes for this label: 02_08_01
10922
10923 Core ACPI CA Subsystem: Fixed a problem where an error was
10924 incorrectly returned if the return resource buffer was larger than
10925 the actual data (in the resource interfaces).
10926
10927 References to named objects within packages are resolved to the
10928
10929 full pathname string before packages are returned directly (via
10930 the AcpiEvaluateObject interface) or indirectly via the resource
10931 interfaces.
10932
10933 Linux OS Services Layer (OSL):
10934
10935 Improved /proc battery interface.
10936
10937
10938 Added C-state debugging output and other miscellaneous fixes.
10939
10940 ASL Compiler Version X2014:
10941
10942 All defined method arguments can now be used as local variables,
10943 including the ones that are not actually passed in as parameters.
10944 The compiler tracks initialization of the arguments and issues an
10945 exception if they are used without prior assignment (just like
10946 locals).
10947
10948 The -o option now specifies a filename prefix that is used for all
10949 output files, including the AML output file.  Otherwise, the
10950 default behavior is as follows:  1) the AML goes to the file
10951 specified in the DSDT.  2) all other output files use the input
10952 source filename as the base.
10953
10954  ------------------------------------------
10955 Summary of changes for this label: 01_25_01
10956
10957 Core ACPI CA Subsystem: Restructured the implementation of object
10958 store support within the  interpreter.  This includes support for
10959 the Store operator as well  as any ASL operators that include a
10960 target operand.
10961
10962 Partially implemented support for Implicit Result-to-Target
10963 conversion. This is when a result object is converted on the fly
10964 to the type of  an existing target object.  Completion of this
10965 support is pending  further analysis of the ACPI specification
10966 concerning this matter.
10967
10968 CPU-specific code has been removed from the subsystem (hardware
10969 directory).
10970
10971 New Power Management Timer functions added
10972
10973 Linux OS Services Layer (OSL): Moved system state transition code
10974 to the core, fixed it, and modified  Linux OSL accordingly.
10975
10976 Fixed C2 and C3 latency calculations.
10977
10978
10979 We no longer use the compilation date for the version message on
10980 initialization, but retrieve the version from AcpiGetSystemInfo().
10981
10982 Incorporated for fix Sony VAIO machines.
10983
10984 Documentation:  The Programmer Reference has been updated and
10985 reformatted.
10986
10987
10988 ASL Compiler:  Version X2013: Fixed a problem where the line
10989 numbering and error reporting could get out  of sync in the
10990 presence of multiple include files.
10991
10992  ------------------------------------------
10993 Summary of changes for this label: 01_15_01
10994
10995 Core ACPI CA Subsystem:
10996
10997 Implemented support for type conversions in the execution of the
10998 ASL  Concatenate operator (The second operand is converted to
10999 match the type  of the first operand before concatenation.)
11000
11001 Support for implicit source operand conversion is partially
11002 implemented.   The ASL source operand types Integer, Buffer, and
11003 String are freely  interchangeable for most ASL operators and are
11004 converted by the interpreter  on the fly as required.  Implicit
11005 Target operand conversion (where the  result is converted to the
11006 target type before storing) is not yet implemented.
11007
11008 Support for 32-bit and 64-bit BCD integers is implemented.
11009
11010 Problem fixed where a field read on an aligned field could cause a
11011 read  past the end of the field.
11012
11013 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
11014 does not return a value, but the caller expects one.  (The ASL
11015 compiler flags this as a warning.)
11016
11017 ASL Compiler:
11018
11019 Version X2011:
11020 1. Static typechecking of all operands is implemented. This
11021 prevents the use of invalid objects (such as using a Package where
11022 an Integer is required) at compile time instead of at interpreter
11023 run-time.
11024 2. The ASL source line is printed with ALL errors and warnings.
11025 3. Bug fix for source EOF without final linefeed.
11026 4. Debug option is split into a parse trace and a namespace trace.
11027 5. Namespace output option (-n) includes initial values for
11028 integers and strings.
11029 6. Parse-only option added for quick syntax checking.
11030 7. Compiler checks for duplicate ACPI name declarations
11031
11032 Version X2012:
11033 1. Relaxed typechecking to allow interchangeability between
11034 strings, integers, and buffers.  These types are now converted by
11035 the interpreter at runtime.
11036 2. Compiler reports time taken by each internal subsystem in the
11037 debug         output file.
11038
11039
11040  ------------------------------------------
11041 Summary of changes for this label: 12_14_00
11042
11043 ASL Compiler:
11044
11045 This is the first official release of the compiler. Since the
11046 compiler requires elements of the Core Subsystem, this label
11047 synchronizes everything.
11048
11049 ------------------------------------------
11050 Summary of changes for this label: 12_08_00
11051
11052
11053 Fixed a problem where named references within the ASL definition
11054 of both OperationRegions and CreateXXXFields did not work
11055 properly.  The symptom was an AE_AML_OPERAND_TYPE during
11056 initialization of the region/field. This is similar (but not
11057 related internally) to the problem that was fixed in the last
11058 label.
11059
11060 Implemented both 32-bit and 64-bit support for the BCD ASL
11061 functions ToBCD and FromBCD.
11062
11063 Updated all legal headers to include "2000" in the copyright
11064 years.
11065
11066  ------------------------------------------
11067 Summary of changes for this label: 12_01_00
11068
11069 Fixed a problem where method invocations within the ASL definition
11070 of both OperationRegions and CreateXXXFields did not work
11071 properly.  The symptom was an AE_AML_OPERAND_TYPE during
11072 initialization of the region/field:
11073
11074   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
11075 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
11076 (0x3005)
11077
11078 Fixed a problem where operators with more than one nested
11079 subexpression would fail.  The symptoms were varied, by mostly
11080 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
11081 problem that has gone unnoticed until now.
11082
11083   Subtract (Add (1,2), Multiply (3,4))
11084
11085 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
11086 previous build (The prefix part of a relative path was handled
11087 incorrectly).
11088
11089 Fixed a problem where Operation Region initialization failed if
11090 the operation region name was a "namepath" instead of a simple
11091 "nameseg". Symptom was an AE_NO_OPERAND error.
11092
11093 Fixed a problem where an assignment to a local variable via the
11094 indirect RefOf mechanism only worked for the first such
11095 assignment.  Subsequent assignments were ignored.
11096
11097  ------------------------------------------
11098 Summary of changes for this label: 11_15_00
11099
11100 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
11101 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
11102 the AML  interpreter does NOT have support for the new 2.0 ASL
11103 grammar terms at this time.
11104
11105 All ACPI hardware access is via the GAS structures in the ACPI 2.0
11106 FADT.
11107
11108 All physical memory addresses across all platforms are now 64 bits
11109 wide. Logical address width remains dependent on the platform
11110 (i.e., "void *").
11111
11112 AcpiOsMapMemory interface changed to a 64-bit physical address.
11113
11114 The AML interpreter integer size is now 64 bits, as per the ACPI
11115 2.0 specification.
11116
11117 For backwards compatibility with ACPI 1.0, ACPI tables with a
11118 revision number less than 2 use 32-bit integers only.
11119
11120 Fixed a problem where the evaluation of OpRegion operands did not
11121 always resolve them to numbers properly.
11122
11123 ------------------------------------------
11124 Summary of changes for this label: 10_20_00
11125
11126 Fix for CBN_._STA issue.  This fix will allow correct access to
11127 CBN_ OpRegions when the _STA returns 0x8.
11128
11129 Support to convert ACPI constants (Ones, Zeros, One) to actual
11130 values before a package object is returned
11131
11132 Fix for method call as predicate to if/while construct causing
11133 incorrect if/while behavior
11134
11135 Fix for Else block package lengths sometimes calculated wrong (if
11136 block > 63 bytes)
11137
11138 Fix for Processor object length field, was always zero
11139
11140 Table load abort if FACP sanity check fails
11141
11142 Fix for problem with Scope(name) if name already exists
11143
11144 Warning emitted if a named object referenced cannot be found
11145 (resolved) during method execution.
11146
11147
11148
11149
11150
11151 ------------------------------------------
11152 Summary of changes for this label: 9_29_00
11153
11154 New table initialization interfaces: AcpiInitializeSubsystem no
11155 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
11156 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
11157 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
11158 AcpiLoadTables
11159
11160 Note: These interface changes require changes to all existing OSDs
11161
11162 The PCI_Config default address space handler is always installed
11163 at the root namespace object.
11164
11165 -------------------------------------------
11166 Summary of changes for this label: 09_15_00
11167
11168 The new initialization architecture is implemented.  New
11169 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
11170 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
11171
11172 (Namespace is automatically loaded when a table is loaded)
11173
11174 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
11175 52 bytes to 32 bytes.  There is usually one of these for every
11176 namespace object, so the memory savings is significant.
11177
11178 Implemented just-in-time evaluation of the CreateField operators.
11179
11180 Bug fixes for IA-64 support have been integrated.
11181
11182 Additional code review comments have been implemented
11183
11184 The so-called "third pass parse" has been replaced by a final walk
11185 through the namespace to initialize all operation regions (address
11186 spaces) and fields that have not yet been initialized during the
11187 execution of the various _INI and REG methods.
11188
11189 New file - namespace/nsinit.c
11190
11191 -------------------------------------------
11192 Summary of changes for this label: 09_01_00
11193
11194 Namespace manager data structures have been reworked to change the
11195 primary  object from a table to a single object.  This has
11196 resulted in dynamic memory  savings of 3X within the namespace and
11197 2X overall in the ACPI CA subsystem.
11198
11199 Fixed problem where the call to AcpiEvFindPciRootBuses was
11200 inadvertently left  commented out.
11201
11202 Reduced the warning count when generating the source with the GCC
11203 compiler.
11204
11205 Revision numbers added to each module header showing the
11206 SourceSafe version of the file.  Please refer to this version
11207 number when giving us feedback or comments on individual modules.
11208
11209 The main object types within the subsystem have been renamed to
11210 clarify their  purpose:
11211
11212 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
11213 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
11214 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
11215
11216 NOTE: no changes to the initialization sequence are included in
11217 this label.
11218
11219 -------------------------------------------
11220 Summary of changes for this label: 08_23_00
11221
11222 Fixed problem where TerminateControlMethod was being called
11223 multiple times per  method
11224
11225 Fixed debugger problem where single stepping caused a semaphore to
11226 be  oversignalled
11227
11228 Improved performance through additional parse object caching -
11229 added  ACPI_EXTENDED_OP type
11230
11231 -------------------------------------------
11232 Summary of changes for this label: 08_10_00
11233
11234 Parser/Interpreter integration:  Eliminated the creation of
11235 complete parse trees  for ACPI tables and control methods.
11236 Instead, parse subtrees are created and  then deleted as soon as
11237 they are processed (Either entered into the namespace or  executed
11238 by the interpreter).  This reduces the use of dynamic kernel
11239 memory  significantly. (about 10X)
11240
11241 Exception codes broken into classes and renumbered.  Be sure to
11242 recompile all  code that includes acexcep.h.  Hopefully we won't
11243 have to renumber the codes  again now that they are split into
11244 classes (environment, programmer, AML code,  ACPI table, and
11245 internal).
11246
11247 Fixed some additional alignment issues in the Resource Manager
11248 subcomponent
11249
11250 Implemented semaphore tracking in the AcpiExec utility, and fixed
11251 several places  where mutexes/semaphores were being unlocked
11252 without a corresponding lock  operation.  There are no known
11253 semaphore or mutex "leaks" at this time.
11254
11255 Fixed the case where an ASL Return operator is used to return an
11256 unnamed  package.
11257
11258 -------------------------------------------
11259 Summary of changes for this label: 07_28_00
11260
11261 Fixed a problem with the way addresses were calculated in
11262 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
11263 manifested itself when a Field was  created with WordAccess or
11264 DwordAccess, but the field unit defined within the  Field was less
11265
11266 than a Word or Dword.
11267
11268 Fixed a problem in AmlDumpOperands() module's loop to pull
11269 operands off of the  operand stack to display information. The
11270 problem manifested itself as a TLB  error on 64-bit systems when
11271 accessing an operand stack with two or more  operands.
11272
11273 Fixed a problem with the PCI configuration space handlers where
11274 context was  getting confused between accesses. This required a
11275 change to the generic address  space handler and address space
11276 setup definitions. Handlers now get both a  global handler context
11277 (this is the one passed in by the user when executing
11278 AcpiInstallAddressSpaceHandler() and a specific region context
11279 that is unique to  each region (For example, the _ADR, _SEG and
11280 _BBN values associated with a  specific region). The generic
11281 function definitions have changed to the  following:
11282
11283 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
11284 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
11285 *HandlerContext, // This used to be void *Context void
11286 *RegionContext); // This is an additional parameter
11287
11288 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
11289 RegionHandle, UINT32 Function, void *HandlerContext,  void
11290 **RegionContext); // This used to be **ReturnContext
11291
11292 -------------------------------------------
11293 Summary of changes for this label: 07_21_00
11294
11295 Major file consolidation and rename.  All files within the
11296 interpreter have been  renamed as well as most header files.  This
11297 was done to prevent collisions with  existing files in the host
11298 OSs -- filenames such as "config.h" and "global.h"  seem to be
11299 quite common.  The VC project files have been updated.  All
11300 makefiles  will require modification.
11301
11302 The parser/interpreter integration continues in Phase 5 with the
11303 implementation  of a complete 2-pass parse (the AML is parsed
11304 twice) for each table;  This  avoids the construction of a huge
11305 parse tree and therefore reduces the amount of  dynamic memory
11306 required by the subsystem.  Greater use of the parse object cache
11307 means that performance is unaffected.
11308
11309 Many comments from the two code reviews have been rolled in.
11310
11311 The 64-bit alignment support is complete.
11312
11313 -------------------------------------------
11314 Summary of changes for this label: 06_30_00
11315
11316 With a nod and a tip of the hat to the technology of yesteryear,
11317 we've added  support in the source code for 80 column output
11318 devices.  The code is now mostly  constrained to 80 columns or
11319 less to support environments and editors that 1)  cannot display
11320 or print more than 80 characters on a single line, and 2) cannot
11321 disable line wrapping.
11322
11323 A major restructuring of the namespace data structure has been
11324 completed.  The  result is 1) cleaner and more
11325 understandable/maintainable code, and 2) a  significant reduction
11326 in the dynamic memory requirement for each named ACPI  object
11327 (almost half).
11328
11329 -------------------------------------------
11330 Summary of changes for this label: 06_23_00
11331
11332 Linux support has been added.  In order to obtain approval to get
11333 the ACPI CA  subsystem into the Linux kernel, we've had to make
11334 quite a few changes to the  base subsystem that will affect all
11335 users (all the changes are generic and OS- independent).  The
11336 effects of these global changes have been somewhat far  reaching.
11337 Files have been merged and/or renamed and interfaces have been
11338 renamed.   The major changes are described below.
11339
11340 Osd* interfaces renamed to AcpiOs* to eliminate namespace
11341 pollution/confusion  within our target kernels.  All OSD
11342 interfaces must be modified to match the new  naming convention.
11343
11344 Files merged across the subsystem.  A number of the smaller source
11345 and header  files have been merged to reduce the file count and
11346 increase the density of the  existing files.  There are too many
11347 to list here.  In general, makefiles that  call out individual
11348 files will require rebuilding.
11349
11350 Interpreter files renamed.  All interpreter files now have the
11351 prefix am*  instead of ie* and is*.
11352
11353 Header files renamed:  The acapi.h file is now acpixf.h.  The
11354 acpiosd.h file is  now acpiosxf.h.  We are removing references to
11355 the acronym "API" since it is  somewhat windowsy. The new name is
11356 "external interface" or xface or xf in the  filenames.j
11357
11358
11359 All manifest constants have been forced to upper case (some were
11360 mixed case.)   Also, the string "ACPI_" has been prepended to many
11361 (not all) of the constants,  typedefs, and structs.
11362
11363 The globals "DebugLevel" and "DebugLayer" have been renamed
11364 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
11365
11366 All other globals within the subsystem are now prefixed with
11367 "AcpiGbl_" Internal procedures within the subsystem are now
11368 prefixed with "Acpi" (with only  a few exceptions).  The original
11369 two-letter abbreviation for the subcomponent  remains after "Acpi"
11370 - for example, CmCallocate became AcpiCmCallocate.
11371
11372 Added a source code translation/conversion utility.  Used to
11373 generate the Linux  source code, it can be modified to generate
11374 other types of source as well. Can  also be used to cleanup
11375 existing source by removing extraneous spaces and blank  lines.
11376 Found in tools/acpisrc/*
11377
11378 OsdUnMapMemory was renamed to OsdUnmapMemory and then
11379 AcpiOsUnmapMemory.  (UnMap  became Unmap).
11380
11381 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
11382 When set to  one, this indicates that the caller wants to use the
11383
11384 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
11385 both types.  However, implementers of this  call may want to use
11386 different OS primitives depending on the type of semaphore
11387 requested.  For example, some operating systems provide separate
11388
11389 "mutex" and  "semaphore" interfaces - where the mutex interface is
11390 much faster because it  doesn't have all the overhead of a full
11391 semaphore implementation.
11392
11393 Fixed a deadlock problem where a method that accesses the PCI
11394 address space can  block forever if it is the first access to the
11395 space.
11396
11397 -------------------------------------------
11398 Summary of changes for this label: 06_02_00
11399
11400 Support for environments that cannot handle unaligned data
11401 accesses (e.g.  firmware and OS environments devoid of alignment
11402 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
11403 been added (via configurable macros) in  these three areas: -
11404 Transfer of data from the raw AML byte stream is done via byte
11405 moves instead of    word/dword/qword moves. - External objects are
11406 aligned within the user buffer, including package   elements (sub-
11407 objects). - Conversion of name strings to UINT32 Acpi Names is now
11408 done byte-wise.
11409
11410 The Store operator was modified to mimic Microsoft's
11411 implementation when storing  to a Buffer Field.
11412
11413 Added a check of the BM_STS bit before entering C3.
11414
11415 The methods subdirectory has been obsoleted and removed.  A new
11416 file, cmeval.c  subsumes the functionality.
11417
11418 A 16-bit (DOS) version of AcpiExec has been developed.  The
11419 makefile is under  the acpiexec directory.