]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
Merge OpenSSL 1.0.1e.
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 17 January 2013. Summary of changes for version 20130117:
3
4
5 1) ACPICA Kernel-resident Subsystem:
6
7 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
8 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
9 objects to return a package containing one integer, most BIOS code returns 
10 two integers and the previous code reflects that. However, we also need to 
11 support BIOS code that actually implements to the ACPI spec, and this 
12 change reflects this.
13
14 Fixed two issues with the ACPI_DEBUG_PRINT macros:
15 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
16 C compilers that require this support.
17 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
18 ACPI_DEBUG is already used by many of the various hosts.
19
20 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
21 copyright to all module headers and signons, including the standard Linux 
22 header. This affects virtually every file in the ACPICA core subsystem, 
23 iASL compiler, all ACPICA utilities, and the test suites.
24
25 Example Code and Data Size: These are the sizes for the OS-independent 
26 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
27 debug version of the code includes the debug output trace mechanism and 
28 has a much larger code and data size.
29
30   Previous Release:
31     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
32     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
33   Current Release:
34     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
35     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
36
37
38 2) iASL Compiler/Disassembler and Tools:
39
40 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
41 prevent a possible fault on some hosts. Some C libraries modify the arg 
42 pointer parameter to vfprintf making it difficult to call it twice in the 
43 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
44 does not affect the Windows OSL since the Win C library does not modify 
45 the arg pointer. Chao Guan, Bob Moore.
46
47 iASL: Fixed a possible infinite loop when the maximum error count is 
48 reached. If an output file other than the .AML file is specified (such as 
49 a listing file), and the maximum number of errors is reached, do not 
50 attempt to flush data to the output file(s) as the compiler is aborting. 
51 This can cause an infinite loop as the max error count code essentially 
52 keeps calling itself.
53
54 iASL/Disassembler: Added an option (-in) to ignore NOOP opcodes/operators. 
55 Implemented for both the compiler and the disassembler. Often, the NOOP 
56 opcode is used as padding for packages that are changed dynamically by the 
57 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
58 errors. This option causes the disassembler to ignore all NOOP opcodes 
59 (0xA3), and it also causes the compiler to ignore all ASL source code NOOP 
60 statements as well.
61
62 Debugger: Enhanced the Sleep command to execute all sleep states. This 
63 change allows Sleep to be invoked with no arguments and causes the 
64 debugger to execute all of the sleep states, 0-5, automatically.
65
66 ----------------------------------------
67 20 December 2012. Summary of changes for version 20121220:
68
69 1) ACPICA Kernel-resident Subsystem:
70
71 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
72 alternate entry point for AcpiWalkResources and improves the usability of 
73 the resource manager by accepting as input a buffer containing the output 
74 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
75 input buffer is not deleted by this interface so that it can be used by 
76 the host later. See the ACPICA reference for details.
77
78 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
79 (DSDT version < 2). The constant will be truncated and this warning 
80 reflects that behavior.
81
82 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
83 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
84 both get and set the new wake bit in these descriptors, separately from 
85 the existing share bit. Reported by Aaron Lu.
86
87 Interpreter: Fix Store() when an implicit conversion is not possible. For 
88 example, in the cases such as a store of a string to an existing package 
89 object, implement the store as a CopyObject(). This is a small departure 
90 from the ACPI specification which states that the control method should be 
91 aborted in this case. However, the ASLTS suite depends on this behavior.
92
93 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
94 macros: check if debug output is currently enabled as soon as possible to 
95 minimize performance impact if debug is in fact not enabled.
96
97 Source code restructuring: Cleanup to improve modularity. The following 
98 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
99 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
100 Associated makefiles and project files have been updated.
101
102 Changed an exception code for LoadTable operator. For the case where one 
103 of the input strings is too long, change the returned exception code from 
104 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
105
106 Fixed a possible memory leak in dispatcher error path. On error, delete 
107 the mutex object created during method mutex creation. Reported by 
108 tim.gardner@canonical.com.
109
110 Example Code and Data Size: These are the sizes for the OS-independent 
111 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
112 debug version of the code includes the debug output trace mechanism and 
113 has a much larger code and data size.
114
115   Previous Release:
116     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
117     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
118   Current Release:
119     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
120     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
121
122
123 2) iASL Compiler/Disassembler and Tools:
124
125 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
126 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
127 will not allow the interpreter to differentiate between a method and a 
128 method invocation when these are used as an argument to the ObjectType 
129 operator. The ACPI specification change is to disallow a method invocation 
130 (UserTerm) for the ObjectType operator.
131
132 Finish support for the TPM2 and CSRT tables in the headers, table 
133 compiler, and disassembler.
134
135 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
136 always expires immediately if the semaphore is not available. The original 
137 code was using a relative-time timeout, but sem_timedwait requires the use 
138 of an absolute time.
139
140 iASL: Added a remark if the Timer() operator is used within a 32-bit 
141 table. This operator returns a 64-bit time value that will be truncated 
142 within a 32-bit table.
143
144 iASL Source code restructuring: Cleanup to improve modularity. The 
145 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
146 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
147 been updated.
148
149
150 ----------------------------------------
151 14 November 2012. Summary of changes for version 20121114:
152
153 1) ACPICA Kernel-resident Subsystem:
154
155 Implemented a performance enhancement for ACPI/AML Package objects. This 
156 change greatly increases the performance of Package objects within the 
157 interpreter. It changes the processing of reference counts for packages by 
158 optimizing for the most common case where the package sub-objects are 
159 either Integers, Strings, or Buffers. Increases the overall performance of 
160 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 2X.) 
161 Chao Guan. ACPICA BZ 943.
162
163 Implemented and deployed common macros to extract flag bits from resource 
164 descriptors. Improves readability and maintainability of the code. Fixes a 
165 problem with the UART serial bus descriptor for the number of data bits 
166 flags (was incorrectly 2 bits, should be 3).
167
168 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
169 of the macros and changed the SETx macros to the style of (destination, 
170 source). Also added ACPI_CASTx companion macros. Lv Zheng.
171
172 Example Code and Data Size: These are the sizes for the OS-independent 
173 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
174 debug version of the code includes the debug output trace mechanism and 
175 has a much larger code and data size.
176
177   Previous Release:
178     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
179     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
180   Current Release:
181     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
182     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
183
184
185 2) iASL Compiler/Disassembler and Tools:
186
187 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
188 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
189 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
190
191 Disassembler: Fixed a problem with external declaration generation. Fixes 
192 a problem where an incorrect pathname could be generated for an external 
193 declaration if the original reference to the object includes leading 
194 carats (^). ACPICA BZ 984.
195
196 Debugger: Completed a major update for the Disassemble<method> command. 
197 This command was out-of-date and did not properly disassemble control 
198 methods that had any reasonable complexity. This fix brings the command up 
199 to the same level as the rest of the disassembler. Adds one new file, 
200 dmdeferred.c, which is existing code that is now common with the main 
201 disassembler and the debugger disassemble command. ACPICA MZ 978.
202
203 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
204 Newer versions of Bison emit this prototype, so moved the prototype out of 
205 the iASL header to where it is actually used in order to avoid a duplicate 
206 declaration.
207
208 iASL/Tools: Standardized use of the stream I/O functions:
209   1) Ensure check for I/O error after every fopen/fread/fwrite
210   2) Ensure proper order of size/count arguments for fread/fwrite
211   3) Use test of (Actual != Requested) after all fwrite, and most fread
212   4) Standardize I/O error messages
213 Improves reliability and maintainability of the code. Bob Moore, Lv Zheng. 
214 ACPICA BZ 981.
215
216 Disassembler: Prevent duplicate External() statements. During generation 
217 of external statements, detect similar pathnames that are actually 
218 duplicates such as these:
219   External (\ABCD)
220   External (ABCD)
221 Remove all leading '\' characters from pathnames during the external 
222 statement generation so that duplicates will be detected and tossed. 
223 ACPICA BZ 985.
224
225 Tools: Replace low-level I/O with stream I/O functions. Replace 
226 open/read/write/close with the stream I/O equivalents 
227 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
228 Moore.
229
230 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
231 name header so that AcpiXtract recognizes the output file/table.
232
233 iASL: Remove obsolete -2 option flag. Originally intended to force the 
234 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
235 and the entire concept is now obsolete.
236
237 ----------------------------------------
238 18 October 2012. Summary of changes for version 20121018:
239
240
241 1) ACPICA Kernel-resident Subsystem:
242
243 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
244 introduced by late changes to the table as it was added to the ACPI 5.0 
245 specification. Includes header, disassembler, and data table compiler 
246 support as well as a new version of the MPST template.
247
248 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
249 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
250 methods: _HID, _CID, and _UID.
251
252 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
253 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
254 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
255 names for their various drivers. Affects the AcpiGetObjectInfo external 
256 interface, and other internal interfaces as well.
257
258 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
259 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
260 on machines that support non-aligned transfers. Optimizes for this case 
261 rather than using a strncpy. With assistance from Zheng Lv.
262
263 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
264 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
265
266 Added a new debug print message for AML mutex objects that are force-
267 released. At control method termination, any currently acquired mutex 
268 objects are force-released. Adds a new debug-only message for each one 
269 that is released.
270
271 Audited/updated all ACPICA return macros and the function debug depth 
272 counter: 1) Ensure that all functions that use the various TRACE macros 
273 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
274 return statements surround the return expression (value) with parens to 
275 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
276 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
277
278 Global source code changes/maintenance: All extra lines at the start and 
279 end of each source file have been removed for consistency. Also, within 
280 comments, all new sentences start with a single space instead of a double 
281 space, again for consistency across the code base.
282
283 Example Code and Data Size: These are the sizes for the OS-independent 
284 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
285 debug version of the code includes the debug output trace mechanism and 
286 has a much larger code and data size.
287
288   Previous Release:
289     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
290     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
291   Current Release:
292     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
293     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
294
295
296 2) iASL Compiler/Disassembler and Tools:
297
298 AcpiExec: Improved the algorithm used for memory leak/corruption 
299 detection. Added some intelligence to the code that maintains the global 
300 list of allocated memory. The list is now ordered by allocated memory 
301 address, significantly improving performance. When running AcpiExec on 
302 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
303 on the platform and/or the environment. Note, this performance 
304 enhancement affects the AcpiExec utility only, not the kernel-resident 
305 ACPICA code.
306
307 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
308 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
309 incorrect table offset reported for invalid opcodes. Report the original 
310 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
311
312 Disassembler: Enhanced the -vt option to emit the binary table data in 
313 hex format to assist with debugging.
314
315 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
316 size of file structure. Colin Ian King.
317
318 ----------------------------------------
319 13 September 2012. Summary of changes for version 20120913:
320
321
322 1) ACPICA Kernel-resident Subsystem:
323
324 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
325 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
326 and 
327 MCE(6).
328  
329 Table Manager: Merged/removed duplicate code in the root table resize 
330 functions. One function is external, the other is internal. Lv Zheng, 
331 ACPICA 
332 BZ 846.
333
334 Makefiles: Completely removed the obsolete "Linux" makefiles under 
335 acpica/generate/linux. These makefiles are obsolete and have been replaced 
336 by 
337 the generic unix makefiles under acpica/generate/unix.
338
339 Makefiles: Ensure that binary files always copied properly. Minor rule 
340 change 
341 to ensure that the final binary output files are always copied up to the 
342 appropriate binary directory (bin32 or bin64.)
343
344 Example Code and Data Size: These are the sizes for the OS-independent 
345 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
346 debug 
347 version of the code includes the debug output trace mechanism and has a 
348 much 
349 larger code and data size.
350
351   Previous Release:
352     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
353     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
354   Current Release:
355     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
356     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
357
358
359 2) iASL Compiler/Disassembler and Tools:
360
361 Disassembler: Fixed a possible fault during the disassembly of resource 
362 descriptors when a second parse is required because of the invocation of 
363 external control methods within the table. With assistance from 
364 adq@lidskialf.net. ACPICA BZ 976.
365
366 iASL: Fixed a namepath optimization problem. An error can occur if the 
367 parse 
368 node that contains the namepath to be optimized does not have a parent 
369 node 
370 that is a named object. This change fixes the problem.
371
372 iASL: Fixed a regression where the AML file is not deleted on errors. The 
373 AML 
374 output file should be deleted if there are any errors during the compiler. 
375 The 
376 only exception is if the -f (force output) option is used. ACPICA BZ 974.
377
378 iASL: Added a feature to automatically increase internal line buffer 
379 sizes. 
380 Via realloc(), automatically increase the internal line buffer sizes as 
381 necessary to support very long source code lines. The current version of 
382 the 
383 preprocessor requires a buffer long enough to contain full source code 
384 lines. 
385 This change increases the line buffer(s) if the input lines go beyond the 
386 current buffer size. This eliminates errors that occurred when a source 
387 code 
388 line was longer than the buffer.
389
390 iASL: Fixed a problem with constant folding in method declarations. The 
391 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
392 if a 
393 Type3 opcode was used.
394
395 Debugger: Improved command help support. For incorrect argument count, 
396 display 
397 full help for the command. For help command itself, allow an argument to 
398 specify a command.
399
400 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
401 errors during execution of the suite. Guan Chao.
402
403 ----------------------------------------
404 16 August 2012. Summary of changes for version 20120816:
405
406
407 1) ACPICA Kernel-resident Subsystem:
408
409 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
410 _GTS 
411 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
412 deprecated and will probably be removed from the ACPI specification. 
413 Windows 
414 does not invoke them, and reportedly never will. The final nail in the 
415 coffin 
416 is that the ACPI specification states that these methods must be run with 
417 interrupts off, which is not going to happen in a kernel interpreter. 
418 Note: 
419 Linux has removed all use of the methods also. It was discovered that 
420 invoking these functions caused failures on some machines, probably 
421 because 
422 they were never tested since Windows does not call them. Affects two 
423 external 
424 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
425 ACPICA BZ 969.
426
427 Implemented support for complex bit-packed buffers returned from the _PLD 
428 (Physical Location of Device) predefined method. Adds a new external 
429 interface, AcpiDecodePldBuffer that parses the buffer into a more usable C 
430 structure. Note: C Bitfields cannot be used for this type of predefined 
431 structure since the memory layout of individual bitfields is not defined 
432 by 
433 the C language. In addition, there are endian concerns where a compiler 
434 will 
435 change the bitfield ordering based on the machine type. The new ACPICA 
436 interface eliminates these issues, and should be called after _PLD is 
437 executed. ACPICA BZ 954.
438
439 Implemented a change to allow a scope change to root (via "Scope (\)") 
440 during 
441 execution of module-level ASL code (code that is executed at table load 
442 time.) Lin Ming.
443
444 Added the Windows8/Server2012 string for the _OSI method. This change adds 
445
446 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
447 2012.
448
449 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
450 2) 
451 and CSRT (Core System Resource Table).
452
453 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
454 names. This simplifies access to the buffers returned by these predefined 
455 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
456
457 GPE support: Removed an extraneous parameter from the various low-level 
458 internal GPE functions. Tang Feng.
459
460 Removed the linux makefiles from the unix packages. The generate/linux 
461 makefiles are obsolete and have been removed from the unix tarball release 
462 packages. The replacement makefiles are under generate/unix, and there is 
463
464 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
465
466 Updates for Unix makefiles:
467 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
468 2) Update linker flags (move to end of command line) for AcpiExec utility. 
469 Guan Chao.
470
471 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
472 utxface.c to improve modularity and reduce file size.
473
474 Example Code and Data Size: These are the sizes for the OS-independent 
475 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
476 debug version of the code includes the debug output trace mechanism and 
477 has a 
478 much larger code and data size.
479
480   Previous Release:
481     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
482     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
483   Current Release:
484     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
485     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
486
487
488 2) iASL Compiler/Disassembler and Tools:
489
490 iASL: Fixed a problem with constant folding for fixed-length constant 
491 expressions. The constant-folding code was not being invoked for constant 
492 expressions that allow the use of type 3/4/5 opcodes to generate constants 
493 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
494 result 
495 in the generation of invalid AML bytecode. ACPICA BZ 970.
496
497 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
498 apparently automatically emit some of the necessary externals. This change 
499 handles these versions in order to eliminate generation warnings.
500
501 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
502
503 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
504 appears 
505 within comments in the output file.
506
507 Debugger: Fixed a regression with the "Threads" command where 
508 AE_BAD_PARAMETER was always returned.
509
510 ----------------------------------------
511 11 July 2012. Summary of changes for version 20120711:
512
513 1) ACPICA Kernel-resident Subsystem:
514
515 Fixed a possible fault in the return package object repair code. Fixes a 
516 problem that can occur when a lone package object is wrapped with an outer 
517 package object in order to force conformance to the ACPI specification. 
518 Can 
519 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
520 _DLM, 
521 _CSD, _PSD, _TSD.
522
523 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
524 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
525 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
526 state 
527 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
528 both 
529 Intel and other vendors. (for Intel: ICH4-M and earlier)
530
531 This change removes the code to disable/enable bus master arbitration 
532 during 
533 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
534 causes 
535 resume problems on some machines. The change has been in use for over 
536 seven 
537 years within Linux.
538
539 Implemented two new external interfaces to support host-directed dynamic 
540 ACPI 
541 table load and unload. They are intended to simplify the host 
542 implementation 
543 of hot-plug support:
544   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
545   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
546 table.
547 See the ACPICA reference for additional details. Adds one new file, 
548 components/tables/tbxfload.c
549
550 Implemented and deployed two new interfaces for errors and warnings that 
551 are 
552 known to be caused by BIOS/firmware issues:
553   AcpiBiosError: Prints "ACPI Firmware Error" message.
554   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
555 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
556 table 
557 and FADT errors. Additional deployment to be completed as appropriate in 
558 the 
559 future. The associated conditional macros are ACPI_BIOS_ERROR and 
560 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. ACPICA 
561 BZ 
562 843.
563
564 Implicit notify support: ensure that no memory allocation occurs within a 
565 critical region. This fix moves a memory allocation outside of the time 
566 that a 
567 spinlock is held. Fixes issues on systems that do not allow this behavior. 
568 Jung-uk Kim.
569
570 Split exception code utilities and tables into a new file, 
571 utilities/utexcep.c
572
573 Example Code and Data Size: These are the sizes for the OS-independent 
574 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
575 debug 
576 version of the code includes the debug output trace mechanism and has a 
577 much 
578 larger code and data size.
579
580   Previous Release:
581     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
582     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
583   Current Release:
584     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
585     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
586
587
588 2) iASL Compiler/Disassembler and Tools:
589
590 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
591 of 
592 0. Jung-uk Kim.
593
594 Debugger: Enhanced the "tables" command to emit additional information 
595 about 
596 the current set of ACPI tables, including the owner ID and flags decode.
597
598 Debugger: Reimplemented the "unload" command to use the new 
599 AcpiUnloadParentTable external interface. This command was disable 
600 previously 
601 due to need for an unload interface.
602
603 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
604 option 
605 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
606
607 ----------------------------------------
608 20 June 2012. Summary of changes for version 20120620:
609
610
611 1) ACPICA Kernel-resident Subsystem:
612
613 Implemented support to expand the "implicit notify" feature to allow 
614 multiple 
615 devices to be notified by a single GPE. This feature automatically 
616 generates a 
617 runtime device notification in the absence of a BIOS-provided GPE control 
618 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
619 notify is 
620 provided by ACPICA for Windows compatibility, and is a workaround for BIOS 
621 AML 
622 code errors. See the description of the AcpiSetupGpeForWake interface in 
623 the 
624 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
625
626 Changed some comments and internal function names to simplify and ensure 
627 correctness of the Linux code translation. No functional changes.
628
629 Example Code and Data Size: These are the sizes for the OS-independent 
630 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
631 debug 
632 version of the code includes the debug output trace mechanism and has a 
633 much 
634 larger code and data size.
635
636   Previous Release:
637     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
638     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
639   Current Release:
640     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
641     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
642
643
644 2) iASL Compiler/Disassembler and Tools:
645
646 Disassembler: Added support to emit short, commented descriptions for the 
647 ACPI 
648 predefined names in order to improve the readability of the disassembled 
649 output. ACPICA BZ 959. Changes include:
650   1) Emit descriptions for all standard predefined names (_INI, _STA, 
651 _PRW, 
652 etc.)
653   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
654   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
655 etc.)
656
657 AcpiSrc: Fixed several long-standing Linux code translation issues. 
658 Argument 
659 descriptions in function headers are now translated properly to lower case 
660 and 
661 underscores. ACPICA BZ 961. Also fixes translation problems such as these: 
662 (old -> new)
663   i_aSL -> iASL
664   00-7_f -> 00-7F
665   16_k -> 16K
666   local_fADT -> local_FADT
667   execute_oSI -> execute_OSI
668
669 iASL: Fixed a problem where null bytes were inadvertently emitted into 
670 some 
671 listing files.
672
673 iASL: Added the existing debug options to the standard help screen. There 
674 are 
675 no longer two different help screens. ACPICA BZ 957.
676
677 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
678 Also 
679 expand some of the descriptions where appropriate.
680
681 iASL: Fixed the -ot option (display compile times/statistics). Was not 
682 working 
683 properly for standard output; only worked for the debug file case.
684
685 ----------------------------------------
686 18 May 2012. Summary of changes for version 20120518:
687
688
689 1) ACPICA Core Subsystem:
690
691 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
692 defined 
693 to block until asynchronous events such as notifies and GPEs have 
694 completed. 
695 Within ACPICA, it is only called before a notify or GPE handler is 
696 removed/uninstalled. It also may be useful for the host OS within related 
697 drivers such as the Embedded Controller driver. See the ACPICA reference 
698 for 
699 additional information. ACPICA BZ 868.
700
701 ACPI Tables: Added a new error message for a possible overflow failure 
702 during 
703 the conversion of FADT 32-bit legacy register addresses to internal common 
704 64-
705 bit GAS structure representation. The GAS has a one-byte "bit length" 
706 field, 
707 thus limiting the register length to 255 bits. ACPICA BZ 953.
708
709 Example Code and Data Size: These are the sizes for the OS-independent 
710 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
711 debug 
712 version of the code includes the debug output trace mechanism and has a 
713 much 
714 larger code and data size.
715
716   Previous Release:
717     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
718     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
719   Current Release:
720     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
721     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
722
723
724 2) iASL Compiler/Disassembler and Tools:
725
726 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
727 macro. 
728 This keyword was added late in the ACPI 5.0 release cycle and was not 
729 implemented until now.
730
731 Disassembler: Added support for Operation Region externals. Adds missing 
732 support for operation regions that are defined in another table, and 
733 referenced locally via a Field or BankField ASL operator. Now generates 
734 the 
735 correct External statement.
736
737 Disassembler: Several additional fixes for the External() statement 
738 generation 
739 related to some ASL operators. Also, order the External() statements 
740 alphabetically in the disassembler output. Fixes the External() generation 
741 for 
742 the Create* field, Alias, and Scope operators:
743  1) Create* buffer field operators - fix type mismatch warning on 
744 disassembly
745  2) Alias - implement missing External support
746  3) Scope - fix to make sure all necessary externals are emitted.
747
748 iASL: Improved pathname support. For include files, merge the prefix 
749 pathname 
750 with the file pathname and eliminate unnecessary components. Convert 
751 backslashes in all pathnames to forward slashes, for readability. Include 
752 file 
753 pathname changes affect both #include and Include() type operators.
754
755 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
756 end 
757 of a valid line by inserting a newline and then returning the EOF during 
758 the 
759 next call to GetNextLine. Prevents the line from being ignored due to EOF 
760 condition.
761
762 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
763 Error 
764 and Warning messages are now correctly recognized for both the source code 
765 browser and the global error and warning counts.
766
767 ----------------------------------------
768 20 April 2012. Summary of changes for version 20120420:
769
770
771 1) ACPICA Core Subsystem:
772
773 Implemented support for multiple notify handlers. This change adds support 
774 to 
775 allow multiple system and device notify handlers on Device, Thermal Zone, 
776 and 
777 Processor objects. This can simplify the host OS notification 
778 implementation. 
779 Also re-worked and restructured the entire notify support code to simplify 
780 handler installation, handler removal, notify event queuing, and notify 
781 dispatch to handler(s). Note: there can still only be two global notify 
782 handlers - one for system notifies and one for device notifies. There are 
783 no 
784 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
785 Moore, Rafael Wysocki.
786
787 Fixed a regression in the package repair code where the object reference 
788 count was calculated incorrectly. Regression was introduced in the commit 
789 "Support to add Package wrappers".
790
791 Fixed a couple possible memory leaks in the AML parser, in the error 
792 recovery 
793 path. Jesper Juhl, Lin Ming.
794
795 Example Code and Data Size: These are the sizes for the OS-independent 
796 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
797 debug version of the code includes the debug output trace mechanism and 
798 has a 
799 much larger code and data size.
800
801   Previous Release:
802     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
803     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
804   Current Release:
805     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
806     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
807
808
809 2) iASL Compiler/Disassembler and Tools:
810
811 iASL: Fixed a problem with the resource descriptor support where the 
812 length 
813 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
814 included in cumulative descriptor offset, resulting in incorrect values 
815 for 
816 resource tags within resource descriptors appearing after a 
817 StartDependent* 
818 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
819
820 iASL and Preprocessor: Implemented full support for the #line directive to 
821 correctly track original source file line numbers through the .i 
822 preprocessor 
823 output file - for error and warning messages.
824
825 iASL: Expand the allowable byte constants for address space IDs. 
826 Previously, 
827 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
828 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
829
830 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
831
832 iASL: Add option to completely disable the preprocessor (-Pn).
833
834 iASL: Now emit all error/warning messages to standard error (stderr) by 
835 default (instead of the previous stdout).
836
837 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
838 Update 
839 for resource descriptor offset fix above. Update/cleanup error output 
840 routines. Enable and send iASL errors/warnings to an error logfile 
841 (error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed 
842 several extraneous "unrecognized operator" messages.
843
844 ----------------------------------------
845 20 March 2012. Summary of changes for version 20120320:
846
847
848 1) ACPICA Core Subsystem:
849
850 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
851 (Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently 
852 does not execute these methods, and therefore these methods are often 
853 untested. It has been seen on some systems where the execution of these 
854 methods causes errors and also prevents the machine from entering S5. It 
855 is 
856 therefore suggested that host operating systems do not execute these 
857 methods 
858 by default. In the future, perhaps these methods can be optionally 
859 executed 
860 based on the age of the system and/or what is the newest version of 
861 Windows 
862 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
863 and 
864 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
865 Ming.
866
867 Fixed a problem where the length of the local/common FADT was set too 
868 early. 
869 The local FADT table length cannot be set to the common length until the 
870 original length has been examined. There is code that checks the table 
871 length 
872 and sets various fields appropriately. This can affect older machines with 
873 early FADT versions. For example, this can cause inadvertent writes to the 
874 CST_CNT register. Julian Anastasov.
875
876 Fixed a mapping issue related to a physical table override. Use the 
877 deferred 
878 mapping mechanism for tables loaded via the physical override OSL 
879 interface. 
880 This allows for early mapping before the virtual memory manager is 
881 available. 
882 Thomas Renninger, Bob Moore.
883
884 Enhanced the automatic return-object repair code: Repair a common problem 
885 with 
886 predefined methods that are defined to return a variable-length Package of 
887 sub-objects. If there is only one sub-object, some BIOS ASL code 
888 mistakenly 
889 simply returns the single object instead of a Package with one sub-object. 
890 This new support will repair this error by wrapping a Package object 
891 around 
892 the original object, creating the correct and expected Package with one 
893 sub-
894 object. Names that can be repaired in this manner include: _ALR, _CSD, 
895 _HPX, 
896 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
897 939.
898
899 Changed the exception code returned for invalid ACPI paths passed as 
900 parameters to external interfaces such as AcpiEvaluateObject. Was 
901 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
902
903 Example Code and Data Size: These are the sizes for the OS-independent 
904 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
905 debug 
906 version of the code includes the debug output trace mechanism and has a 
907 much 
908 larger code and data size.
909
910   Previous Release:
911     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
912     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
913   Current Release:
914     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
915     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
916
917
918 2) iASL Compiler/Disassembler and Tools:
919
920 iASL: Added the infrastructure and initial implementation of a integrated 
921 C-
922 like preprocessor. This will simplify BIOS development process by 
923 eliminating 
924 the need for a separate preprocessing step during builds. On Windows, it 
925 also 
926 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
927 features including full #define() macro support are still under 
928 development. 
929 These preprocessor directives are supported:
930     #define
931     #elif
932     #else
933     #endif
934     #error
935     #if
936     #ifdef
937     #ifndef
938     #include
939     #pragma message
940     #undef
941     #warning
942 In addition, these new command line options are supported:
943     -D <symbol> Define symbol for preprocessor use
944     -li         Create preprocessed output file (*.i)
945     -P          Preprocess only and create preprocessor output file (*.i)
946
947 Table Compiler: Fixed a problem where the equals operator within an 
948 expression 
949 did not work properly.
950
951 Updated iASL to use the current versions of Bison/Flex. Updated the 
952 Windows 
953 project file to invoke these tools from the standard location. ACPICA BZ 
954 904. 
955 Versions supported:
956     Flex for Windows:  V2.5.4
957     Bison for Windows: V2.4.1
958
959 ----------------------------------------
960 15 February 2012. Summary of changes for version 20120215:
961
962
963 1) ACPICA Core Subsystem:
964
965 There have been some major changes to the sleep/wake support code, as 
966 described below (a - e).
967
968 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
969 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
970 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
971 the 
972 time the _BFS method is called and the _WAK method is called. NOTE: all 
973 hosts 
974 must update their wake/resume code or else sleep/wake will not work 
975 properly. 
976 Rafael Wysocki.
977
978 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
979 _WAK 
980 method. Some machines require that the GPEs are enabled before the _WAK 
981 method 
982 is executed. Thomas Renninger.
983
984 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit. 
985 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
986 to 
987 determine whether the system is rebooting or resuming. Matthew Garrett.
988
989 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
990 Sleep) to 
991 match the ACPI specification requirement. Rafael Wysocki.
992
993 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
994 registers within the V5 FADT. This support adds two new files: 
995 hardware/hwesleep.c implements the support for the new registers. Moved 
996 all 
997 sleep/wake external interfaces to hardware/hwxfsleep.c.
998
999
1000 Added a new OSL interface for ACPI table overrides, 
1001 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
1002 table via a physical address, instead of the logical address required by 
1003 AcpiOsTableOverride. This simplifies the host implementation. Initial 
1004 implementation by Thomas Renninger. The ACPICA implementation creates a 
1005 single 
1006 shared function for table overrides that attempts both a logical and a 
1007 physical override.
1008
1009 Expanded the OSL memory read/write interfaces to 64-bit data 
1010 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
1011 transfer support for GAS register structures passed to AcpiRead and 
1012 AcpiWrite.
1013
1014 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
1015 custom 
1016 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
1017 model. 
1018 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
1019 about 
1020 10% of the code and 5% of the static data, and the following hardware ACPI 
1021 features become unavailable:
1022     PM Event and Control registers
1023     SCI interrupt (and handler)
1024     Fixed Events
1025     General Purpose Events (GPEs)
1026     Global Lock
1027     ACPI PM timer
1028     FACS table (Waking vectors and Global Lock)
1029
1030 Updated the unix tarball directory structure to match the ACPICA git 
1031 source 
1032 tree. This ensures that the generic unix makefiles work properly (in 
1033 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
1034
1035 Updated the return value of the _REV predefined method to integer value 5 
1036 to 
1037 reflect ACPI 5.0 support.
1038
1039 Moved the external ACPI PM timer interface prototypes to the public 
1040 acpixf.h 
1041 file where they belong.
1042
1043 Example Code and Data Size: These are the sizes for the OS-independent 
1044 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1045 debug 
1046 version of the code includes the debug output trace mechanism and has a 
1047 much 
1048 larger code and data size.
1049
1050   Previous Release:
1051     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1052     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1053   Current Release:
1054     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1055     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1056
1057
1058 2) iASL Compiler/Disassembler and Tools:
1059
1060 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
1061 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
1062 incorrectly displayed.
1063
1064 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
1065 specification.
1066
1067 ----------------------------------------
1068 11 January 2012. Summary of changes for version 20120111:
1069
1070
1071 1) ACPICA Core Subsystem:
1072
1073 Implemented a new mechanism to allow host device drivers to check for 
1074 address 
1075 range conflicts with ACPI Operation Regions. Both SystemMemory and 
1076 SystemIO 
1077 address spaces are supported. A new external interface, 
1078 AcpiCheckAddressRange, 
1079 allows drivers to check an address range against the ACPI namespace. See 
1080 the 
1081 ACPICA reference for additional details. Adds one new file, 
1082 utilities/utaddress.c. Lin Ming, Bob Moore.
1083
1084 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control 
1085 and 
1086 Status registers, update the ACPI 5.0 flags, and update internal data 
1087 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
1088 5.0 
1089 FADT is 268 bytes.
1090
1091 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
1092 copyright to 
1093 all module headers and signons, including the standard Linux header. This 
1094 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
1095 and 
1096 all ACPICA utilities.
1097
1098 Example Code and Data Size: These are the sizes for the OS-independent 
1099 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1100 debug 
1101 version of the code includes the debug output trace mechanism and has a 
1102 much 
1103 larger code and data size.
1104
1105   Previous Release:
1106     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1107     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1108   Current Release:
1109     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1110     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1111
1112
1113 2) iASL Compiler/Disassembler and Tools:
1114
1115 Disassembler: fixed a problem with the automatic resource tag generation 
1116 support. Fixes a problem where the resource tags are inadvertently not 
1117 constructed if the table being disassembled contains external references 
1118 to 
1119 control methods. Moved the actual construction of the tags to after the 
1120 final 
1121 namespace is constructed (after 2nd parse is invoked due to external 
1122 control 
1123 method references.) ACPICA BZ 941.
1124
1125 Table Compiler: Make all "generic" operators caseless. These are the 
1126 operators 
1127 like UINT8, String, etc. Making these caseless improves ease-of-use. 
1128 ACPICA BZ 
1129 934.
1130
1131 ----------------------------------------
1132 23 November 2011. Summary of changes for version 20111123:
1133
1134 0) ACPI 5.0 Support:
1135
1136 This release contains full support for the ACPI 5.0 specification, as 
1137 summarized below.
1138
1139 Reduced Hardware Support:
1140 -------------------------
1141
1142 This support allows for ACPI systems without the usual ACPI hardware. This 
1143 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
1144 will 
1145 not attempt to initialize or use any of the usual ACPI hardware. Note, 
1146 when 
1147 this flag is set, all of the following ACPI hardware is assumed to be not 
1148 present and is not initialized or accessed:
1149
1150     General Purpose Events (GPEs)
1151     Fixed Events (PM1a/PM1b and PM Control)
1152     Power Management Timer and Console Buttons (power/sleep)
1153     Real-time Clock Alarm
1154     Global Lock
1155     System Control Interrupt (SCI)
1156     The FACS is assumed to be non-existent
1157
1158 ACPI Tables:
1159 ------------
1160
1161 All new tables and updates to existing tables are fully supported in the 
1162 ACPICA headers (for use by device drivers), the disassembler, and the iASL 
1163 Data Table Compiler. ACPI 5.0 defines these new tables:
1164
1165     BGRT        /* Boot Graphics Resource Table */
1166     DRTM        /* Dynamic Root of Trust for Measurement table */
1167     FPDT        /* Firmware Performance Data Table */
1168     GTDT        /* Generic Timer Description Table */
1169     MPST        /* Memory Power State Table */
1170     PCCT        /* Platform Communications Channel Table */
1171     PMTT        /* Platform Memory Topology Table */
1172     RASF        /* RAS Feature table */
1173
1174 Operation Regions/SpaceIDs:
1175 ---------------------------
1176
1177 All new operation regions are fully supported by the iASL compiler, the 
1178 disassembler, and the ACPICA runtime code (for dispatch to region 
1179 handlers.) 
1180 The new operation region Space IDs are:
1181
1182     GeneralPurposeIo
1183     GenericSerialBus
1184
1185 Resource Descriptors:
1186 ---------------------
1187
1188 All new ASL resource descriptors are fully supported by the iASL compiler, 
1189 the 
1190 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
1191 (including 
1192 all new predefined resource tags). New descriptors are:
1193
1194     FixedDma
1195     GpioIo
1196     GpioInt
1197     I2cSerialBus
1198     SpiSerialBus
1199     UartSerialBus
1200
1201 ASL/AML Operators, New and Modified:
1202 ------------------------------------
1203
1204 One new operator is added, the Connection operator, which is used to 
1205 associate 
1206 a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
1207 field objects within an operation region. Several new protocols are 
1208 associated 
1209 with the AccessAs operator. All are fully supported by the iASL compiler, 
1210 disassembler, and runtime ACPICA AML interpreter:
1211
1212     Connection                      // Declare Field Connection attributes
1213     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
1214     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
1215     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1216     RawDataBuffer                       // Data type for Vendor Data 
1217 fields
1218
1219 Predefined ASL/AML Objects:
1220 ---------------------------
1221
1222 All new predefined objects/control-methods are supported by the iASL 
1223 compiler 
1224 and the ACPICA runtime validation/repair (arguments and return values.) 
1225 New 
1226 predefined names include the following:
1227
1228 Standard Predefined Names (Objects or Control Methods):
1229     _AEI, _CLS, _CPC, _CWS, _DEP,
1230     _DLM, _EVT, _GCP, _CRT, _GWS,
1231     _HRV, _PRE, _PSE, _SRT, _SUB.
1232
1233 Resource Tags (Names used to access individual fields within resource 
1234 descriptors):
1235     _DBT, _DPL, _DRS, _END, _FLC,
1236     _IOR, _LIN, _MOD, _PAR, _PHA,
1237     _PIN, _PPI, _POL, _RXL, _SLV,
1238     _SPE, _STB, _TXL, _VEN.
1239
1240 ACPICA External Interfaces:
1241 ---------------------------
1242
1243 Several new interfaces have been defined for use by ACPI-related device 
1244 drivers and other host OS services:
1245
1246 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
1247 to 
1248 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
1249 provided by the BIOS. They are intended to be used in conjunction with the 
1250 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
1251 mutual exclusion with the AML code/interpreter.
1252
1253 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
1254 defined 
1255 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
1256 provides 
1257 resource descriptors associated with hardware-reduced platform events, 
1258 similar 
1259 to the AcpiGetCurrentResources interface.
1260
1261 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
1262 operation regions, information about the Connection() object and any 
1263 optional 
1264 length information is passed to the region handler within the Context 
1265 parameter.
1266
1267 AcpiBufferToResource: This interface converts a raw AML buffer containing 
1268
1269 resource template or resource descriptor to the ACPI_RESOURCE internal 
1270 format 
1271 suitable for use by device drivers. Can be used by an operation region 
1272 handler 
1273 to convert the Connection() buffer object into a ACPI_RESOURCE.
1274
1275 Miscellaneous/Tools/TestSuites: 
1276 -------------------------------
1277
1278 Support for extended _HID names (Four alpha characters instead of three).
1279 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1280 Support for ACPI 5.0 features in the ASLTS test suite.
1281 Fully updated documentation (ACPICA and iASL reference documents.)
1282
1283 ACPI Table Definition Language:
1284 -------------------------------
1285
1286 Support for this language was implemented and released as a subsystem of 
1287 the 
1288 iASL compiler in 2010. (See the iASL compiler User Guide.)
1289
1290
1291 Non-ACPI 5.0 changes for this release:
1292 --------------------------------------
1293
1294 1) ACPICA Core Subsystem:
1295
1296 Fix a problem with operation region declarations where a failure can occur 
1297 if 
1298 the region name and an argument that evaluates to an object (such as the 
1299 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
1300 937.
1301
1302 Do not abort an ACPI table load if an invalid space ID is found within. 
1303 This 
1304 will be caught later if the offending method is executed. ACPICA BZ 925.
1305
1306 Fixed an issue with the FFixedHW space ID where the ID was not always 
1307 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1308
1309 Fixed a problem with the 32-bit generation of the unix-specific OSL 
1310 (osunixxf.c). Lin Ming, ACPICA BZ 936.
1311
1312 Several changes made to enable generation with the GCC 4.6 compiler. 
1313 ACPICA BZ 
1314 935.
1315
1316 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
1317 Index/Bank 
1318 field registers out-of-range.
1319
1320 2) iASL Compiler/Disassembler and Tools:
1321
1322 iASL: Implemented the __PATH__ operator, which returns the full pathname 
1323 of 
1324 the current source file.
1325
1326 AcpiHelp: Automatically display expanded keyword information for all ASL 
1327 operators.
1328
1329 Debugger: Add "Template" command to disassemble/dump resource template 
1330 buffers.
1331
1332 Added a new master script to generate and execute the ASLTS test suite. 
1333 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1334
1335 iASL: Fix problem with listing generation during processing of the 
1336 Switch() 
1337 operator where AML listing was disabled until the entire Switch block was 
1338 completed.
1339
1340 iASL: Improve support for semicolon statement terminators. Fix "invalid 
1341 character" message for some cases when the semicolon is used. Semicolons 
1342 are 
1343 now allowed after every <Term> grammar element. ACPICA BZ 927.
1344
1345 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
1346 923.
1347
1348 Disassembler: Fix problem with disassembly of the DataTableRegion operator 
1349 where an inadvertent "Unhandled deferred opcode" message could be 
1350 generated.
1351
1352 3) Example Code and Data Size
1353
1354 These are the sizes for the OS-independent acpica.lib produced by the 
1355 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
1356 includes the debug output trace mechanism and has a much larger code and 
1357 data 
1358 size.
1359
1360   Previous Release:
1361     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1362     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1363   Current Release:
1364     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1365     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1366
1367 ----------------------------------------
1368 22 September 2011. Summary of changes for version 20110922:
1369
1370 0) ACPI 5.0 News:
1371
1372 Support for ACPI 5.0 in ACPICA has been underway for several months and 
1373 will 
1374 be released at the same time that ACPI 5.0 is officially released.
1375
1376 The ACPI 5.0 specification is on track for release in the next few months.
1377  
1378 1) ACPICA Core Subsystem:
1379
1380 Fixed a problem where the maximum sleep time for the Sleep() operator was 
1381 intended to be limited to two seconds, but was inadvertently limited to 20 
1382 seconds instead.
1383
1384 Linux and Unix makefiles: Added header file dependencies to ensure correct 
1385 generation of ACPICA core code and utilities. Also simplified the 
1386 makefiles 
1387 considerably through the use of the vpath variable to specify search 
1388 paths. 
1389 ACPICA BZ 924.
1390
1391 2) iASL Compiler/Disassembler and Tools:
1392
1393 iASL: Implemented support to check the access length for all fields 
1394 created to 
1395 access named Resource Descriptor fields. For example, if a resource field 
1396 is 
1397 defined to be two bits, a warning is issued if a CreateXxxxField() is used 
1398 with an incorrect bit length. This is implemented for all current resource 
1399 descriptor names. ACPICA BZ 930.
1400   
1401 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
1402 56-
1403 bit integers.
1404
1405 iASL: Fixed a couple of issues associated with variable-length package 
1406 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
1407
1408 VAR_PACKAGE when these are used as a package length. 2) Allow the 
1409 VAR_PACKAGE 
1410 opcode (in addition to PACKAGE) when validating object types for 
1411 predefined 
1412 names.
1413
1414 iASL: Emit statistics for all output files (instead of just the ASL input 
1415 and 
1416 AML output). Includes listings, hex files, etc.
1417
1418 iASL: Added -G option to the table compiler to allow the compilation of 
1419 custom 
1420 ACPI tables. The only part of a table that is required is the standard 36-
1421 byte 
1422 ACPI header.
1423
1424 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
1425 headers), 
1426 which also adds correct 64-bit support. Also, now all output filenames are 
1427 completely lower case.
1428
1429 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
1430 loading table files. A warning is issued for any such tables. The only 
1431 exception is an FADT. This also fixes a possible fault when attempting to 
1432 load 
1433 non-AML tables. ACPICA BZ 932.
1434
1435 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
1436 missing table terminator could cause a fault when using the -p option.
1437
1438 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
1439 statistics.
1440
1441 3) Example Code and Data Size
1442
1443 These are the sizes for the OS-independent acpica.lib produced by the 
1444 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
1445 includes the debug output trace mechanism and has a much larger code and 
1446 data 
1447 size.
1448
1449   Previous Release (VC 9.0):
1450     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1451     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1452   Current Release (VC 9.0):
1453     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1454     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1455
1456
1457 ----------------------------------------
1458 23 June 2011. Summary of changes for version 20110623:
1459
1460 1) ACPI CA Core Subsystem:
1461
1462 Updated the predefined name repair mechanism to not attempt repair of a 
1463 _TSS 
1464 return object if a _PSS object is present. We can only sort the _TSS 
1465 return 
1466 package if there is no _PSS within the same scope. This is because if _PSS 
1467 is 
1468 present, the ACPI specification dictates that the _TSS Power Dissipation 
1469 field 
1470 is to be ignored, and therefore some BIOSs leave garbage values in the 
1471 _TSS 
1472 Power field(s). In this case, it is best to just return the _TSS package 
1473 as-
1474 is. Reported by, and fixed with assistance from Fenghua Yu.
1475
1476 Added an option to globally disable the control method return value 
1477 validation 
1478 and repair. This runtime option can be used to disable return value repair 
1479 if 
1480 this is causing a problem on a particular machine. Also added an option to 
1481 AcpiExec (-dr) to set this disable flag.
1482
1483 All makefiles and project files: Major changes to improve generation of 
1484 ACPICA 
1485 tools. ACPICA BZ 912:
1486     Reduce default optimization levels to improve compatibility
1487     For Linux, add strict-aliasing=0 for gcc 4
1488     Cleanup and simplify use of command line defines
1489     Cleanup multithread library support
1490     Improve usage messages
1491
1492 Linux-specific header: update handling of THREAD_ID and pthread. For the 
1493 32-
1494 bit case, improve casting to eliminate possible warnings, especially with 
1495 the 
1496 acpica tools.
1497
1498 Example Code and Data Size: These are the sizes for the OS-independent 
1499 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1500 debug 
1501 version of the code includes the debug output trace mechanism and has a 
1502 much 
1503 larger code and data size.
1504
1505   Previous Release (VC 9.0):
1506     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
1507     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1508   Current Release (VC 9.0):
1509     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1510     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1511
1512 2) iASL Compiler/Disassembler and Tools:
1513
1514 With this release, a new utility named "acpihelp" has been added to the 
1515 ACPICA 
1516 package. This utility summarizes the ACPI specification chapters for the 
1517 ASL 
1518 and AML languages. It generates under Linux/Unix as well as Windows, and 
1519 provides the following functionality:
1520     Find/display ASL operator(s) -- with description and syntax.
1521     Find/display ASL keyword(s) -- with exact spelling and descriptions.
1522     Find/display ACPI predefined name(s) -- with description, number
1523         of arguments, and the return value data type.
1524     Find/display AML opcode name(s) -- with opcode, arguments, and 
1525 grammar.
1526     Decode/display AML opcode -- with opcode name, arguments, and grammar.
1527
1528 Service Layers: Make multi-thread support configurable. Conditionally 
1529 compile 
1530 the multi-thread support so that threading libraries will not be linked if 
1531 not 
1532 necessary. The only tool that requires multi-thread support is AcpiExec.
1533
1534 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
1535 of 
1536 Bison appear to want the interface to yyerror to be a const char * (or at 
1537 least this is a problem when generating iASL on some systems.) ACPICA BZ 
1538 923 
1539 Pierre Lejeune.
1540
1541 Tools: Fix for systems where O_BINARY is not defined. Only used for 
1542 Windows 
1543 versions of the tools.
1544
1545 ----------------------------------------
1546 27 May 2011. Summary of changes for version 20110527:
1547
1548 1) ACPI CA Core Subsystem:
1549
1550 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
1551 table 
1552 signature. Now, only allow SSDT, OEMx, and a null signature. History:
1553     1) Originally, we checked the table signature for "SSDT" or "PSDT".
1554        (PSDT is now obsolete.)
1555     2) We added support for OEMx tables, signature "OEM" plus a fourth
1556        "don't care" character.
1557     3) Valid tables were encountered with a null signature, so we just
1558        gave up on validating the signature, (05/2008).
1559     4) We encountered non-AML tables such as the MADT, which caused
1560        interpreter errors and kernel faults. So now, we once again allow
1561        only SSDT, OEMx, and now, also a null signature. (05/2011).
1562
1563 Added the missing _TDL predefined name to the global name list in order to 
1564 enable validation. Affects both the core ACPICA code and the iASL 
1565 compiler.
1566
1567 Example Code and Data Size: These are the sizes for the OS-independent 
1568 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1569 debug 
1570 version of the code includes the debug output trace mechanism and has a 
1571 much 
1572 larger code and data size.
1573
1574   Previous Release (VC 9.0):
1575     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1576     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1577   Current Release (VC 9.0):
1578     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
1579     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1580
1581 2) iASL Compiler/Disassembler and Tools:
1582
1583 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
1584 the 
1585 debugger command line. This adds support beyond simple integers -- 
1586 including 
1587 Strings, Buffers, and Packages. Includes support for nested packages. 
1588 Increased the default command line buffer size to accommodate these 
1589 arguments. 
1590 See the ACPICA reference for details and syntax. ACPICA BZ 917.
1591  
1592 Debugger/AcpiExec: Implemented support for "default" method arguments for 
1593 the 
1594 Execute/Debug command. Now, the debugger will always invoke a control 
1595 method 
1596 with the required number of arguments -- even if the command line 
1597 specifies 
1598 none or insufficient arguments. It uses default integer values for any 
1599 missing 
1600 arguments. Also fixes a bug where only six method arguments maximum were 
1601 supported instead of the required seven.
1602
1603 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
1604 and 
1605 also return status in order to prevent buffer overruns. See the ACPICA 
1606 reference for details and syntax. ACPICA BZ 921
1607
1608 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
1609 makefiles to simplify support for the two different but similar parser 
1610 generators, bison and yacc.
1611
1612 Updated the generic unix makefile for gcc 4. The default gcc version is 
1613 now 
1614 expected to be 4 or greater, since options specific to gcc 4 are used.
1615
1616 ----------------------------------------
1617 13 April 2011. Summary of changes for version 20110413:
1618
1619 1) ACPI CA Core Subsystem:
1620
1621 Implemented support to execute a so-called "orphan" _REG method under the 
1622 EC 
1623 device. This change will force the execution of a _REG method underneath 
1624 the 
1625 EC 
1626 device even if there is no corresponding operation region of type 
1627 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
1628 compatible with Windows behavior. ACPICA BZ 875.
1629
1630 Added more predefined methods that are eligible for automatic NULL package 
1631 element removal. This change adds another group of predefined names to the 
1632 list 
1633 of names that can be repaired by having NULL package elements dynamically 
1634 removed. This group are those methods that return a single variable-length 
1635 package containing simple data types such as integers, buffers, strings. 
1636 This 
1637 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
1638 _PSL, 
1639 _Sx, 
1640 and _TZD. ACPICA BZ 914.
1641
1642 Split and segregated all internal global lock functions to a new file, 
1643 evglock.c.
1644
1645 Updated internal address SpaceID for DataTable regions. Moved this 
1646 internal 
1647 space 
1648 id in preparation for ACPI 5.0 changes that will include some new space 
1649 IDs. 
1650 This 
1651 change should not affect user/host code.
1652
1653 Example Code and Data Size: These are the sizes for the OS-independent 
1654 acpica.lib 
1655 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
1656 version of 
1657 the code includes the debug output trace mechanism and has a much larger 
1658 code 
1659 and 
1660 data size.
1661
1662   Previous Release (VC 9.0):
1663     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1664     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1665   Current Release (VC 9.0):
1666     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1667     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1668
1669 2) iASL Compiler/Disassembler and Tools:
1670
1671 iASL/DTC: Major update for new grammar features. Allow generic data types 
1672 in 
1673 custom ACPI tables. Field names are now optional. Any line can be split to 
1674 multiple lines using the continuation char (\). Large buffers now use 
1675 line-
1676 continuation character(s) and no colon on the continuation lines. See the 
1677 grammar 
1678 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
1679 Moore.
1680
1681 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
1682 statements. 
1683 Since the parser stuffs a "zero" as the return value for these statements 
1684 (due 
1685 to 
1686 the underlying AML grammar), they were seen as "return with value" by the 
1687 iASL 
1688 semantic checking. They are now seen correctly as "null" return 
1689 statements.
1690
1691 iASL: Check if a_REG declaration has a corresponding Operation Region. 
1692 Adds a 
1693 check for each _REG to ensure that there is in fact a corresponding 
1694 operation 
1695 region declaration in the same scope. If not, the _REG method is not very 
1696 useful 
1697 since it probably won't be executed. ACPICA BZ 915.
1698
1699 iASL/DTC: Finish support for expression evaluation. Added a new expression 
1700 parser 
1701 that implements c-style operator precedence and parenthesization. ACPICA 
1702 bugzilla 
1703 908.
1704
1705 Disassembler/DTC: Remove support for () and <> style comments in data 
1706 tables. 
1707 Now 
1708 that DTC has full expression support, we don't want to have comment 
1709 strings 
1710 that 
1711 start with a parentheses or a less-than symbol. Now, only the standard /* 
1712 and 
1713 // 
1714 comments are supported, as well as the bracket [] comments.
1715
1716 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
1717 "unusual" 
1718 headers in the acpidump file. Update the header validation to support 
1719 these 
1720 tables. Problem introduced in previous AcpiXtract version in the change to 
1721 support "wrong checksum" error messages emitted by acpidump utility.
1722
1723 iASL: Add a * option to generate all template files (as a synonym for ALL) 
1724 as 
1725 in 
1726 "iasl -T *" or "iasl -T ALL".
1727
1728 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
1729 completely 
1730 abort the compiler on "fatal" errors, simply should abort the current 
1731 compile. 
1732 This allows multiple compiles with a single (possibly wildcard) compiler 
1733 invocation.
1734
1735 ----------------------------------------
1736 16 March 2011. Summary of changes for version 20110316:
1737
1738 1) ACPI CA Core Subsystem:
1739
1740 Fixed a problem caused by a _PRW method appearing at the namespace root 
1741 scope 
1742 during the setup of wake GPEs. A fault could occur if a _PRW directly 
1743 under 
1744 the 
1745 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
1746
1747 Implemented support for "spurious" Global Lock interrupts. On some 
1748 systems, a 
1749 global lock interrupt can occur without the pending flag being set. Upon a 
1750 GL 
1751 interrupt, we now ensure that a thread is actually waiting for the lock 
1752 before 
1753 signaling GL availability. Rafael Wysocki, Bob Moore.
1754
1755 Example Code and Data Size: These are the sizes for the OS-independent 
1756 acpica.lib 
1757 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
1758 version of 
1759 the code includes the debug output trace mechanism and has a much larger 
1760 code 
1761 and 
1762 data size.
1763
1764   Previous Release (VC 9.0):
1765     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1766     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1767   Current Release (VC 9.0):
1768     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1769     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1770
1771 2) iASL Compiler/Disassembler and Tools:
1772
1773 Implemented full support for the "SLIC" ACPI table. Includes support in 
1774 the 
1775 header files, disassembler, table compiler, and template generator. Bob 
1776 Moore, 
1777 Lin Ming.
1778
1779 AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
1780 Apparently some or all versions of acpidump will occasionally emit a 
1781 comment 
1782 like 
1783 "Wrong checksum", etc., into the dump file. This was causing problems for 
1784 AcpiXtract. ACPICA BZ 905.
1785
1786 iASL: Fix the Linux makefile by removing an inadvertent double file 
1787 inclusion. 
1788 ACPICA BZ 913.
1789
1790 AcpiExec: Update installation of operation region handlers. Install one 
1791 handler 
1792 for a user-defined address space. This is used by the ASL test suite 
1793 (ASLTS).
1794
1795 ----------------------------------------
1796 11 February 2011. Summary of changes for version 20110211:
1797
1798 1) ACPI CA Core Subsystem:
1799
1800 Added a mechanism to defer _REG methods for some early-installed handlers. 
1801 Most user handlers should be installed before call to AcpiEnableSubsystem. 
1802 However, Event handlers and region handlers should be installed after 
1803 AcpiInitializeObjects. Override handlers for the "default" regions should 
1804 be 
1805 installed early, however. This change executes all _REG methods for the 
1806 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
1807 chicken/egg issues between them. ACPICA BZ 848.
1808
1809 Implemented an optimization for GPE detection. This optimization will 
1810 simply 
1811 ignore GPE registers that contain no enabled GPEs -- there is no need to 
1812 read the register since this information is available internally. This 
1813 becomes more important on machines with a large GPE space. ACPICA bugzilla 
1814 884. Lin Ming. Suggestion from Joe Liu.
1815
1816 Removed all use of the highly unreliable FADT revision field. The revision 
1817 number in the FADT has been found to be completely unreliable and cannot 
1818 be 
1819 trusted. Only the actual table length can be used to infer the version. 
1820 This 
1821 change updates the ACPICA core and the disassembler so that both no longer 
1822 even look at the FADT version and instead depend solely upon the FADT 
1823 length.
1824
1825 Fix an unresolved name issue for the no-debug and no-error-message source 
1826 generation cases. The _AcpiModuleName was left undefined in these cases, 
1827 but 
1828 it is actually needed as a parameter to some interfaces. Define 
1829 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
1830
1831 Split several large files (makefiles and project files updated)
1832   utglobal.c   -> utdecode.c
1833   dbcomds.c    -> dbmethod.c dbnames.c
1834   dsopcode.c   -> dsargs.c dscontrol.c
1835   dsload.c     -> dsload2.c
1836   aslanalyze.c -> aslbtypes.c aslwalks.c
1837
1838 Example Code and Data Size: These are the sizes for the OS-independent 
1839 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1840 debug version of the code includes the debug output trace mechanism and 
1841 has 
1842 a much larger code and data size.
1843
1844   Previous Release (VC 9.0):
1845     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1846     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1847   Current Release (VC 9.0):
1848     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1849     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1850
1851 2) iASL Compiler/Disassembler and Tools:
1852
1853 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
1854 These are useful C-style macros with the standard definitions. ACPICA 
1855 bugzilla 898.
1856
1857 iASL/DTC: Added support for integer expressions and labels. Support for 
1858 full 
1859 expressions for all integer fields in all ACPI tables. Support for labels 
1860 in 
1861 "generic" portions of tables such as UEFI. See the iASL reference manual.
1862
1863 Debugger: Added a command to display the status of global handlers. The 
1864 "handlers" command will display op region, fixed event, and miscellaneous 
1865 global handlers. installation status -- and for op regions, whether 
1866 default 
1867 or user-installed handler will be used.
1868
1869 iASL: Warn if reserved method incorrectly returns a value. Many predefined 
1870 names are defined such that they do not return a value. If implemented as 
1871
1872 method, issue a warning if such a name explicitly returns a value. ACPICA 
1873 Bugzilla 855.
1874
1875 iASL: Added detection of GPE method name conflicts. Detects a conflict 
1876 where 
1877 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
1878 (For 
1879 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
1880
1881 iASL/DTC: Fixed a couple input scanner issues with comments and line 
1882 numbers. Comment remover could get confused and miss a comment ending. 
1883 Fixed 
1884 a problem with line counter maintenance.
1885
1886 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
1887 is 
1888 no need to abort on simple errors within a field definition.
1889
1890 Debugger: Simplified the output of the help command. All help output now 
1891 in 
1892 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
1893
1894 ----------------------------------------
1895 12 January 2011. Summary of changes for version 20110112:
1896
1897 1) ACPI CA Core Subsystem:
1898
1899 Fixed a race condition between method execution and namespace walks that 
1900 can 
1901 possibly cause a fault. The problem was apparently introduced in version 
1902 20100528 as a result of a performance optimization that reduces the number 
1903 of 
1904 namespace walks upon method exit by using the delete_namespace_subtree 
1905 function instead of the delete_namespace_by_owner function used 
1906 previously. 
1907 Bug is a missing namespace lock in the delete_namespace_subtree function. 
1908 dana.myers@oracle.com
1909
1910 Fixed several issues and a possible fault with the automatic "serialized" 
1911 method support. History: This support changes a method to "serialized" on 
1912 the 
1913 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
1914 possibility that it cannot handle reentrancy. This fix repairs a couple of 
1915 issues seen in the field, especially on machines with many cores:
1916
1917     1) Delete method children only upon the exit of the last thread,
1918        so as to not delete objects out from under other running threads
1919       (and possibly causing a fault.)
1920     2) Set the "serialized" bit for the method only upon the exit of the
1921        Last thread, so as to not cause deadlock when running threads
1922        attempt to exit.
1923     3) Cleanup the use of the AML "MethodFlags" and internal method flags
1924        so that there is no longer any confusion between the two.
1925
1926     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
1927
1928 Debugger: Now lock the namespace for duration of a namespace dump. 
1929 Prevents 
1930 issues if the namespace is changing dynamically underneath the debugger. 
1931 Especially affects temporary namespace nodes, since the debugger displays 
1932 these also.
1933
1934 Updated the ordering of include files. The ACPICA headers should appear 
1935 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
1936 set 
1937 any necessary compiler-specific defines, etc. Affects the ACPI-related 
1938 tools 
1939 and utilities.
1940
1941 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
1942 copyright 
1943 to all module headers and signons, including the Linux header. This 
1944 affects 
1945 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
1946 utilities.
1947
1948 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
1949 project files for VC++ 6.0 are now obsolete. New project files can be 
1950 found 
1951 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
1952 details.
1953
1954 Example Code and Data Size: These are the sizes for the OS-independent 
1955 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1956 debug version of the code includes the debug output trace mechanism and 
1957 has a 
1958 much larger code and data size.
1959
1960   Previous Release (VC 6.0):
1961     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1962     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1963   Current Release (VC 9.0):
1964     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1965     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1966
1967 2) iASL Compiler/Disassembler and Tools:
1968
1969 iASL: Added generic data types to the Data Table compiler. Add "generic" 
1970 data 
1971 types such as UINT32, String, Unicode, etc., to simplify the generation of 
1972 platform-defined tables such as UEFI. Lin Ming.
1973
1974 iASL: Added listing support for the Data Table Compiler. Adds listing 
1975 support 
1976 (-l) to display actual binary output for each line of input code.
1977
1978 ----------------------------------------
1979 09 December 2010. Summary of changes for version 20101209:
1980
1981 1) ACPI CA Core Subsystem:
1982
1983 Completed the major overhaul of the GPE support code that was begun in 
1984 July 
1985 2010. Major features include: removal of _PRW execution in ACPICA (host 
1986 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
1987 changes to existing interfaces, simplification of GPE handler operation, 
1988 and 
1989 a handful of new interfaces:
1990
1991     AcpiUpdateAllGpes
1992     AcpiFinishGpe
1993     AcpiSetupGpeForWake
1994     AcpiSetGpeWakeMask
1995     One new file, evxfgpe.c to consolidate all external GPE interfaces.
1996
1997 See the ACPICA Programmer Reference for full details and programming 
1998 information. See the new section 4.4 "General Purpose Event (GPE) Support" 
1999 for a full overview, and section 8.7 "ACPI General Purpose Event 
2000 Management" 
2001 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
2002 Bob Moore, Rafael Wysocki.
2003
2004 Implemented a new GPE feature for Windows compatibility, the "Implicit 
2005 Wake 
2006 GPE Notify". This feature will automatically issue a Notify(2) on a device 
2007 when a Wake GPE is received if there is no corresponding GPE method or 
2008 handler. ACPICA BZ 870.
2009
2010 Fixed a problem with the Scope() operator during table parse and load 
2011 phase. 
2012 During load phase (table load or method execution), the scope operator 
2013 should 
2014 not enter the target into the namespace. Instead, it should open a new 
2015 scope 
2016 at the target location. Linux BZ 19462, ACPICA BZ 882.
2017
2018 Example Code and Data Size: These are the sizes for the OS-independent 
2019 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2020 debug version of the code includes the debug output trace mechanism and 
2021 has a 
2022 much larger code and data size.
2023
2024   Previous Release:
2025     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2026     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2027   Current Release:
2028     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2029     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2030
2031 2) iASL Compiler/Disassembler and Tools:
2032
2033 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
2034 are 
2035 "bus-specific" per the ACPI specification, and therefore any characters 
2036 are 
2037 acceptable. The only checks that can be performed are for a null string 
2038 and 
2039 perhaps for a leading asterisk. ACPICA BZ 886.
2040
2041 iASL: Fixed a problem where a syntax error that caused a premature EOF 
2042 condition on the source file emitted a very confusing error message. The 
2043 premature EOF is now detected correctly. ACPICA BZ 891.
2044
2045 Disassembler: Decode the AccessSize within a Generic Address Structure 
2046 (byte 
2047 access, word access, etc.) Note, this field does not allow arbitrary bit 
2048 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2049
2050 New: AcpiNames utility - Example namespace dump utility. Shows an example 
2051 of 
2052 ACPICA configuration for a minimal namespace dump utility. Uses table and 
2053 namespace managers, but no AML interpreter. Does not add any functionality 
2054 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
2055 partition and configure ACPICA. ACPICA BZ 883.
2056
2057 AML Debugger: Increased the debugger buffer size for method return 
2058 objects. 
2059 Was 4K, increased to 16K. Also enhanced error messages for debugger method 
2060 execution, including the buffer overflow case.
2061
2062 ----------------------------------------
2063 13 October 2010. Summary of changes for version 20101013:
2064
2065 1) ACPI CA Core Subsystem:
2066
2067 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
2068 now 
2069 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
2070 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2071
2072 Changed the type of the predefined namespace object _TZ from ThermalZone 
2073 to 
2074 Device. This was found to be confusing to the host software that processes 
2075 the various thermal zones, since _TZ is not really a ThermalZone. However, 
2076
2077 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
2078 Zhang.
2079
2080 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
2081 string is "Windows 2006 SP2".
2082
2083 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
2084 nsrepair 
2085 code automatically repairs _HID-related strings, this type of code is no 
2086 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
2087
2088 Example Code and Data Size: These are the sizes for the OS-independent 
2089 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2090 debug version of the code includes the debug output trace mechanism and 
2091 has a 
2092 much larger code and data size.
2093
2094   Previous Release:
2095     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2096     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2097   Current Release:
2098     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2099     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2100
2101 2) iASL Compiler/Disassembler and Tools:
2102
2103 iASL: Implemented additional compile-time validation for _HID strings. The 
2104 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length 
2105 of 
2106 the string must be exactly seven or eight characters. For both _HID and 
2107 _CID 
2108 strings, all characters must be alphanumeric. ACPICA BZ 874.
2109
2110 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
2111 descriptors that are mostly or all zeros, with the expectation that they 
2112 will 
2113 be filled in at runtime. iASL now allows this as long as there is a 
2114 "resource 
2115 tag" (name) associated with the descriptor, which gives the ASL a handle 
2116 needed to modify the descriptor. ACPICA BZ 873.
2117
2118 Added single-thread support to the generic Unix application OSL. Primarily 
2119 for iASL support, this change removes the use of semaphores in the single-
2120 threaded ACPICA tools/applications - increasing performance. The 
2121 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
2122 option. ACPICA BZ 879.
2123
2124 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
2125 support 
2126 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2127
2128 iASL: Moved all compiler messages to a new file, aslmessages.h.
2129
2130 ----------------------------------------
2131 15 September 2010. Summary of changes for version 20100915:
2132
2133 1) ACPI CA Core Subsystem:
2134
2135 Removed the AcpiOsDerivePciId OSL interface. The various host 
2136 implementations 
2137 of this function were not OS-dependent and are now obsolete and can be 
2138 removed from all host OSLs. This function has been replaced by 
2139 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
2140 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
2141 module, hwpci.c. ACPICA BZ 857.
2142
2143 Implemented a dynamic repair for _HID and _CID strings. The following 
2144 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
2145 string, and 2) the entire string is uppercased. Both repairs are in 
2146 accordance with the ACPI specification and will simplify host driver code. 
2147 ACPICA BZ 871.
2148
2149 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
2150 always UINT64. This simplifies the ACPICA code, especially any printf 
2151 output. 
2152 UINT64 is the only common data type for all thread_id types across all 
2153 operating systems. It is now up to the host OSL to cast the native 
2154 thread_id 
2155 type to UINT64 before returning the value to ACPICA (via 
2156 AcpiOsGetThreadId). 
2157 Lin Ming, Bob Moore.
2158
2159 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
2160 "inline" 
2161 keyword is not standard across compilers, and this type allows inline to 
2162 be 
2163 configured on a per-compiler basis. Lin Ming.
2164
2165 Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
2166 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
2167 value 
2168 during suspend/restore operations. ACPICA BZ 869.
2169
2170 All code that implements error/warning messages with the "ACPI:" prefix 
2171 has 
2172 been moved to a new module, utxferror.c.
2173
2174 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
2175 it 
2176 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
2177
2178 Example Code and Data Size: These are the sizes for the OS-independent 
2179 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2180 debug version of the code includes the debug output trace mechanism and 
2181 has a 
2182 much larger code and data size.
2183
2184   Previous Release:
2185     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2186     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2187   Current Release:
2188     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2189     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2190
2191 2) iASL Compiler/Disassembler and Tools:
2192
2193 iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
2194 This keeps the output files free of random error messages that may 
2195 originate 
2196 from within the namespace/interpreter code. Used this opportunity to merge 
2197 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
2198 866. Lin Ming, Bob Moore.
2199
2200 Tools: update some printfs for ansi warnings on size_t. Handle width 
2201 change 
2202 of size_t on 32-bit versus 64-bit generations. Lin Ming.
2203
2204 ----------------------------------------
2205 06 August 2010. Summary of changes for version 20100806:
2206
2207 1) ACPI CA Core Subsystem:
2208
2209 Designed and implemented a new host interface to the _OSI support code. 
2210 This 
2211 will allow the host to dynamically add or remove multiple _OSI strings, as 
2212 well as install an optional handler that is called for each _OSI 
2213 invocation. 
2214 Also added a new AML debugger command, 'osi' to display and modify the 
2215 global 
2216 _OSI string table, and test support in the AcpiExec utility. See the 
2217 ACPICA 
2218 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2219 New Functions:
2220     AcpiInstallInterface - Add an _OSI string.
2221     AcpiRemoveInterface - Delete an _OSI string.
2222     AcpiInstallInterfaceHandler - Install optional _OSI handler.
2223 Obsolete Functions:
2224     AcpiOsValidateInterface - no longer used.
2225 New Files:
2226     source/components/utilities/utosi.c
2227
2228 Re-introduced the support to enable multi-byte transfers for Embedded 
2229 Controller (EC) operation regions. A reported problem was found to be a 
2230 bug 
2231 in the host OS, not in the multi-byte support. Previously, the maximum 
2232 data 
2233 size passed to the EC operation region handler was a single byte. There 
2234 are 
2235 often EC Fields larger than one byte that need to be transferred, and it 
2236 is 
2237 useful for the EC driver to lock these as a single transaction. This 
2238 change 
2239 enables single transfers larger than 8 bits. This effectively changes the 
2240 access to the EC space from ByteAcc to AnyAcc, and will probably require 
2241 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2242 bit 
2243 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2244
2245 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
2246 prototype in acpiosxf.h had the output value pointer as a (void *).
2247 It should be a (UINT64 *). This may affect some host OSL code.
2248
2249 Fixed a couple problems with the recently modified Linux makefiles for 
2250 iASL 
2251 and AcpiExec. These new makefiles place the generated object files in the 
2252 local directory so that there can be no collisions between the files that 
2253 are 
2254 shared between them that are compiled with different options.
2255
2256 Example Code and Data Size: These are the sizes for the OS-independent 
2257 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2258 debug version of the code includes the debug output trace mechanism and 
2259 has a 
2260 much larger code and data size.
2261
2262   Previous Release:
2263     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2264     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2265   Current Release:
2266     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2267     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2268
2269 2) iASL Compiler/Disassembler and Tools:
2270
2271 iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
2272 namespace from and disassemble an entire group of AML files. Useful for 
2273 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
2274 and 
2275 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2276
2277 iASL: Allow multiple invocations of -e option. This change allows multiple 
2278 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
2279 834. 
2280 Lin Ming.
2281
2282 ----------------------------------------
2283 02 July 2010. Summary of changes for version 20100702:
2284
2285 1) ACPI CA Core Subsystem:
2286
2287 Implemented several updates to the recently added GPE reference count 
2288 support. The model for "wake" GPEs is changing to give the host OS 
2289 complete 
2290 control of these GPEs. Eventually, the ACPICA core will not execute any 
2291 _PRW 
2292 methods, since the host already must execute them. Also, additional 
2293 changes 
2294 were made to help ensure that the reference counts are kept in proper 
2295 synchronization with reality. Rafael J. Wysocki.
2296
2297 1) Ensure that GPEs are not enabled twice during initialization.
2298 2) Ensure that GPE enable masks stay in sync with the reference count.
2299 3) Do not inadvertently enable GPEs when writing GPE registers.
2300 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
2301 interface. This interface will set or clear individual GPEs for wakeup.
2302 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
2303 interfaces 
2304 are now used for "runtime" GPEs only.
2305
2306 Changed the behavior of the GPE install/remove handler interfaces. The GPE 
2307 is 
2308 no longer disabled during this process, as it was found to cause problems 
2309 on 
2310 some machines. Rafael J. Wysocki.
2311
2312 Reverted a change introduced in version 20100528 to enable Embedded 
2313 Controller multi-byte transfers. This change was found to cause problems 
2314 with 
2315 Index Fields and possibly Bank Fields. It will be reintroduced when these 
2316 problems have been resolved.
2317
2318 Fixed a problem with references to Alias objects within Package Objects. A 
2319 reference to an Alias within the definition of a Package was not always 
2320 resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
2321 were resolved to the actual object instead of a reference to the object as 
2322 it 
2323 should be. Package objects are only allowed to contain integer, string, 
2324 buffer, package, and reference objects. Redhat bugzilla 608648.
2325
2326 Example Code and Data Size: These are the sizes for the OS-independent 
2327 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2328 debug version of the code includes the debug output trace mechanism and 
2329 has a 
2330 much larger code and data size.
2331
2332   Previous Release:
2333     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2334     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
2335   Current Release:
2336     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2337     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2338
2339 2) iASL Compiler/Disassembler and Tools:
2340
2341 iASL: Implemented a new compiler subsystem to allow definition and 
2342 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
2343 These 
2344 are called "ACPI Data Tables", and the new compiler is the "Data Table 
2345 Compiler". This compiler is intended to simplify the existing error-prone 
2346 process of creating these tables for the BIOS, as well as allowing the 
2347 disassembly, modification, recompilation, and override of existing ACPI 
2348 data 
2349 tables. See the iASL User Guide for detailed information.
2350
2351 iASL: Implemented a new Template Generator option in support of the new 
2352 Data 
2353 Table Compiler. This option will create examples of all known ACPI tables 
2354 that can be used as the basis for table development. See the iASL 
2355 documentation and the -T option.
2356
2357 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
2358 Descriptor Table).
2359
2360 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
2361 object files in the local directory so that there can be no collisions 
2362 between the shared files between them that are generated with different 
2363 options.
2364
2365 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
2366 the #define __APPLE__ to enable this support.
2367
2368 ----------------------------------------
2369 28 May 2010. Summary of changes for version 20100528:
2370
2371 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
2372 available at www.acpi.info. This is primarily an errata release.
2373
2374 1) ACPI CA Core Subsystem:
2375
2376 Undefined ACPI tables: We are looking for the definitions for the 
2377 following 
2378 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
2379
2380 Implemented support to enable multi-byte transfers for Embedded Controller 
2381 (EC) operation regions. Previously, the maximum data size passed to the EC 
2382 operation region handler was a single byte. There are often EC Fields 
2383 larger 
2384 than one byte that need to be transferred, and it is useful for the EC 
2385 driver 
2386 to lock these as a single transaction. This change enables single 
2387 transfers 
2388 larger than 8 bits. This effectively changes the access to the EC space 
2389 from 
2390 ByteAcc to AnyAcc, and will probably require changes to the host OS 
2391 Embedded 
2392 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
2393 bit 
2394 transfers. Alexey Starikovskiy, Lin Ming
2395
2396 Implemented a performance enhancement for namespace search and access. 
2397 This 
2398 change enhances the performance of namespace searches and walks by adding 
2399
2400 backpointer to the parent in each namespace node. On large namespaces, 
2401 this 
2402 change can improve overall ACPI performance by up to 9X. Adding a pointer 
2403 to 
2404 each namespace node increases the overall size of the internal namespace 
2405 by 
2406 about 5%, since each namespace entry usually consists of both a namespace 
2407 node and an ACPI operand object. However, this is the first growth of the 
2408 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
2409
2410 Implemented a performance optimization that reduces the number of 
2411 namespace 
2412 walks. On control method exit, only walk the namespace if the method is 
2413 known 
2414 to have created namespace objects outside of its local scope. Previously, 
2415 the 
2416 entire namespace was traversed on each control method exit. This change 
2417 can 
2418 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
2419 Moore.
2420
2421 Added support to truncate I/O addresses to 16 bits for Windows 
2422 compatibility. 
2423 Some ASL code has been seen in the field that inadvertently has bits set 
2424 above bit 15. This feature is optional and is enabled if the BIOS requests 
2425 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
2426 Garrett, Bob Moore.
2427
2428 Added support to limit the maximum time for the ASL Sleep() operator. To 
2429 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
2430 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
2431 bugzilla 854.
2432
2433 Added run-time validation support for the _WDG and_WED Microsoft 
2434 predefined 
2435 methods. These objects are defined by "Windows Instrumentation", and are 
2436 not 
2437 part of the ACPI spec. ACPICA BZ 860.
2438
2439 Expanded all statistic counters used during namespace and device 
2440 initialization from 16 to 32 bits in order to support very large 
2441 namespaces.
2442
2443 Replaced all instances of %d in printf format specifiers with %u since 
2444 nearly 
2445 all integers in ACPICA are unsigned.
2446
2447 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
2448 returned 
2449 as AE_NO_HANDLER.
2450
2451 Example Code and Data Size: These are the sizes for the OS-independent 
2452 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2453 debug version of the code includes the debug output trace mechanism and 
2454 has a 
2455 much larger code and data size.
2456
2457   Previous Release:
2458     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
2459     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
2460   Current Release:
2461     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2462     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
2463
2464 2) iASL Compiler/Disassembler and Tools:
2465
2466 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
2467 methods. These objects are defined by "Windows Instrumentation", and are 
2468 not 
2469 part of the ACPI spec. ACPICA BZ 860.
2470
2471 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
2472 option will disable the tracking mechanism, which improves performance 
2473 considerably.
2474
2475 AcpiExec: Restructured the command line options into -d (disable) and -e 
2476 (enable) options.
2477
2478 ----------------------------------------
2479 28 April 2010. Summary of changes for version 20100428:
2480
2481 1) ACPI CA Core Subsystem:
2482
2483 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
2484 including FADT-based and GPE Block Devices, execute any _PRW methods in 
2485 the 
2486 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
2487 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
2488 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
2489 Devices. Provides compatibility with other ACPI implementations. Two new 
2490 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
2491 Moore.
2492
2493 Fixed a regression introduced in version 20100331 within the table manager 
2494 where initial table loading could fail. This was introduced in the fix for 
2495 AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
2496 data structures to clarify their meaning and use.
2497
2498 Fixed a possible allocation overrun during internal object copy in 
2499 AcpiUtCopySimpleObject. The original code did not correctly handle the 
2500 case 
2501 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
2502 847.
2503
2504 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
2505 possible access beyond end-of-allocation. Also, now fully validate 
2506 descriptor 
2507 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
2508
2509 Example Code and Data Size: These are the sizes for the OS-independent 
2510 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2511 debug version of the code includes the debug output trace mechanism and 
2512 has a 
2513 much larger code and data size.
2514
2515   Previous Release:
2516     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
2517     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
2518   Current Release:
2519     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
2520     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
2521
2522 2) iASL Compiler/Disassembler and Tools:
2523
2524 iASL: Implemented Min/Max/Len/Gran validation for address resource 
2525 descriptors. This change implements validation for the address fields that 
2526 are common to all address-type resource descriptors. These checks are 
2527 implemented: Checks for valid Min/Max, length within the Min/Max window, 
2528 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
2529 table 6-40 in the ACPI 4.0a specification. Also split the large 
2530 aslrestype1.c 
2531 and aslrestype2.c files into five new files. ACPICA BZ 840.
2532
2533 iASL: Added support for the _Wxx predefined names. This support was 
2534 missing 
2535 and these names were not recognized by the compiler as valid predefined 
2536 names. ACPICA BZ 851.
2537
2538 iASL: Added an error for all predefined names that are defined to return 
2539 no 
2540 value and thus must be implemented as Control Methods. These include all 
2541 of 
2542 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
2543 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
2544
2545 iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
2546 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
2547 be 
2548 dynamically loaded via the Load() operator. Also cleaned up output for the 
2549 -
2550 ta and -tc options. ACPICA BZ 853.
2551
2552 Tests: Added a new file with examples of extended iASL error checking. 
2553 Demonstrates the advanced error checking ability of the iASL compiler. 
2554 Available at tests/misc/badcode.asl.
2555
2556 ----------------------------------------
2557 31 March 2010. Summary of changes for version 20100331:
2558
2559 1) ACPI CA Core Subsystem:
2560
2561 Completed a major update for the GPE support in order to improve support 
2562 for 
2563 shared GPEs and to simplify both host OS and ACPICA code. Added a 
2564 reference 
2565 count mechanism to support shared GPEs that require multiple device 
2566 drivers. 
2567 Several external interfaces have changed. One external interface has been 
2568 removed. One new external interface was added. Most of the GPE external 
2569 interfaces now use the GPE spinlock instead of the events mutex (and the 
2570 Flags parameter for many GPE interfaces has been removed.) See the updated 
2571 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
2572 Rafael 
2573 Wysocki. ACPICA BZ 831.
2574
2575 Changed:
2576     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
2577 Removed:
2578     AcpiSetGpeType
2579 New:
2580     AcpiSetGpe
2581
2582 Implemented write support for DataTable operation regions. These regions 
2583 are 
2584 defined via the DataTableRegion() operator. Previously, only read support 
2585 was 
2586 implemented. The ACPI specification allows DataTableRegions to be 
2587 read/write, 
2588 however.
2589
2590 Implemented a new subsystem option to force a copy of the DSDT to local 
2591 memory. Optionally copy the entire DSDT to local memory (instead of simply 
2592 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
2593 replace 
2594 the original DSDT, creating the need for this option. Default is FALSE, do 
2595 not copy the DSDT.
2596
2597 Implemented detection of a corrupted or replaced DSDT. This change adds 
2598 support to detect a DSDT that has been corrupted and/or replaced from 
2599 outside 
2600 the OS (by firmware). This is typically catastrophic for the system, but 
2601 has 
2602 been seen on some machines. Once this problem has been detected, the DSDT 
2603 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
2604
2605 Fixed two problems with AcpiReallocateRootTable during the root table 
2606 copy. 
2607 When copying the root table to the new allocation, the length used was 
2608 incorrect. The new size was used instead of the current table size, 
2609 meaning 
2610 too much data was copied. Also, the count of available slots for ACPI 
2611 tables 
2612 was not set correctly. Alexey Starikovskiy, Bob Moore.
2613
2614 Example Code and Data Size: These are the sizes for the OS-independent 
2615 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2616 debug version of the code includes the debug output trace mechanism and 
2617 has a 
2618 much larger code and data size.
2619
2620   Previous Release:
2621     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
2622     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
2623   Current Release:
2624     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
2625     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
2626
2627 2) iASL Compiler/Disassembler and Tools:
2628
2629 iASL: Implement limited typechecking for values returned from predefined 
2630 control methods. The type of any returned static (unnamed) object is now 
2631 validated. For example, Return(1). ACPICA BZ 786.
2632
2633 iASL: Fixed a predefined name object verification regression. Fixes a 
2634 problem 
2635 introduced in version 20100304. An error is incorrectly generated if a 
2636 predefined name is declared as a static named object with a value defined 
2637 using the keywords "Zero", "One", or "Ones". Lin Ming.
2638
2639 iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
2640 reducing the requested registry access rights. ACPICA BZ 842.
2641
2642 Disassembler: fixed a possible fault when generating External() 
2643 statements. 
2644 Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
2645 (carat). Fixes a string length allocation calculation. Lin Ming.
2646
2647 ----------------------------------------
2648 04 March 2010. Summary of changes for version 20100304:
2649
2650 1) ACPI CA Core Subsystem:
2651
2652 Fixed a possible problem with the AML Mutex handling function 
2653 AcpiExReleaseMutex where the function could fault under the very rare 
2654 condition when the interpreter has blocked, the interpreter lock is 
2655 released, 
2656 the interpreter is then reentered via the same thread, and attempts to 
2657 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
2658 Lin 
2659 Ming.
2660
2661 Implemented additional configuration support for the AML "Debug Object". 
2662 Output from the debug object can now be enabled via a global variable, 
2663 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
2664 debugging. 
2665 This debug output is now available in the release version of ACPICA 
2666 instead 
2667 of just the debug version. Also, the entire debug output module can now be 
2668 configured out of the ACPICA build if desired. One new file added, 
2669 executer/exdebug.c. Lin Ming, Bob Moore.
2670
2671 Added header support for the ACPI MCHI table (Management Controller Host 
2672 Interface Table). This table was added in ACPI 4.0, but the defining 
2673 document 
2674 has only recently become available.
2675
2676 Standardized output of integer values for ACPICA warnings/errors. Always 
2677 use 
2678 0x prefix for hex output, always use %u for unsigned integer decimal 
2679 output. 
2680 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
2681 invocations.) These invocations were converted from the original 
2682 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
2683
2684 Example Code and Data Size: These are the sizes for the OS-independent 
2685 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2686 debug version of the code includes the debug output trace mechanism and 
2687 has a 
2688 much larger code and data size.
2689
2690   Previous Release:
2691     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
2692     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
2693   Current Release:
2694     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
2695     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
2696
2697 2) iASL Compiler/Disassembler and Tools:
2698
2699 iASL: Implemented typechecking support for static (non-control method) 
2700 predefined named objects that are declared with the Name() operator. For 
2701 example, the type of this object is now validated to be of type Integer: 
2702 Name(_BBN, 1). This change migrates the compiler to using the core 
2703 predefined 
2704 name table instead of maintaining a local version. Added a new file, 
2705 aslpredef.c. ACPICA BZ 832.
2706
2707 Disassembler: Added support for the ACPI 4.0 MCHI table.
2708
2709 ----------------------------------------
2710 21 January 2010. Summary of changes for version 20100121:
2711
2712 1) ACPI CA Core Subsystem:
2713
2714 Added the 2010 copyright to all module headers and signons. This affects 
2715 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
2716 tools/utilities, and the test suites.
2717
2718 Implemented a change to the AcpiGetDevices interface to eliminate 
2719 unnecessary 
2720 invocations of the _STA method. In the case where a specific _HID is 
2721 requested, do not run _STA until a _HID match is found. This eliminates 
2722 potentially dozens of _STA calls during a search for a particular 
2723 device/HID, 
2724 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
2725
2726 Implemented an additional repair for predefined method return values. 
2727 Attempt 
2728 to repair unexpected NULL elements within returned Package objects. Create 
2729 an 
2730 Integer of value zero, a NULL String, or a zero-length Buffer as 
2731 appropriate. 
2732 ACPICA BZ 818. Lin Ming, Bob Moore.
2733
2734 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
2735 the 
2736 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
2737 (with 
2738 64-bit AML integers). It is now obsolete and this change removes it from 
2739 the 
2740 ACPICA code base, replaced by UINT64. The original typedef has been 
2741 retained 
2742 for now for compatibility with existing device driver code. ACPICA BZ 824.
2743
2744 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
2745 the parse tree object.
2746
2747 Added additional warning options for the gcc-4 generation. Updated the 
2748 source 
2749 accordingly. This includes some code restructuring to eliminate 
2750 unreachable 
2751 code, elimination of some gotos, elimination of unused return values, some 
2752 additional casting, and removal of redundant declarations.
2753
2754 Example Code and Data Size: These are the sizes for the OS-independent 
2755 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2756 debug version of the code includes the debug output trace mechanism and 
2757 has a 
2758 much larger code and data size.
2759
2760   Previous Release:
2761     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
2762     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
2763   Current Release:
2764     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
2765     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
2766
2767 2) iASL Compiler/Disassembler and Tools:
2768
2769 No functional changes for this release.
2770
2771 ----------------------------------------
2772 14 December 2009. Summary of changes for version 20091214:
2773
2774 1) ACPI CA Core Subsystem:
2775
2776 Enhanced automatic data type conversions for predefined name repairs. This 
2777 change expands the automatic repairs/conversions for predefined name 
2778 return 
2779 values to make Integers, Strings, and Buffers fully interchangeable. Also, 
2780
2781 Buffer can be converted to a Package of Integers if necessary. The 
2782 nsrepair.c 
2783 module was completely restructured. Lin Ming, Bob Moore.
2784
2785 Implemented automatic removal of null package elements during predefined 
2786 name 
2787 repairs. This change will automatically remove embedded and trailing NULL 
2788 package elements from returned package objects that are defined to contain 
2789
2790 variable number of sub-packages. The driver is then presented with a 
2791 package 
2792 with no null elements to deal with. ACPICA BZ 819.
2793
2794 Implemented a repair for the predefined _FDE and _GTM names. The expected 
2795 return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
2796 possible problems (both seen in the field), where a package of integers is 
2797 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
2798 Kim.
2799
2800 Implemented additional module-level code support. This change will 
2801 properly 
2802 execute module-level code that is not at the root of the namespace (under 
2803
2804 Device object, etc.). Now executes the code within the current scope 
2805 instead 
2806 of the root. ACPICA BZ 762. Lin Ming.
2807
2808 Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
2809 problem where mutex errors can occur when running a _REG method that is in 
2810 the same scope as a method-defined operation region or an operation region 
2811 under a module-level IF block. This type of code is rare, so the problem 
2812 has 
2813 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
2814
2815 Fixed a possible memory leak during module-level code execution. An object 
2816 could be leaked for each block of executed module-level code if the 
2817 interpreter slack mode is enabled This change deletes any implicitly 
2818 returned 
2819 object from the module-level code block. Lin Ming.
2820
2821 Removed messages for successful predefined repair(s). The repair mechanism 
2822 was considered too wordy. Now, messages are only unconditionally emitted 
2823 if 
2824 the return object cannot be repaired. Existing messages for successful 
2825 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
2826 827.
2827
2828 Example Code and Data Size: These are the sizes for the OS-independent 
2829 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2830 debug version of the code includes the debug output trace mechanism and 
2831 has a 
2832 much larger code and data size.
2833
2834   Previous Release:
2835     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
2836     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
2837   Current Release:
2838     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
2839     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
2840
2841 2) iASL Compiler/Disassembler and Tools:
2842
2843 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
2844 files 
2845 were no longer automatically removed at the termination of the compile.
2846
2847 acpiexec: Implemented the -f option to specify default region fill value. 
2848 This option specifies the value used to initialize buffers that simulate 
2849 operation regions. Default value is zero. Useful for debugging problems 
2850 that 
2851 depend on a specific initial value for a region or field.
2852
2853 ----------------------------------------
2854 12 November 2009. Summary of changes for version 20091112:
2855
2856 1) ACPI CA Core Subsystem:
2857
2858 Implemented a post-order callback to AcpiWalkNamespace. The existing 
2859 interface only has a pre-order callback. This change adds an additional 
2860 parameter for a post-order callback which will be more useful for bus 
2861 scans. 
2862 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
2863
2864 Modified the behavior of the operation region memory mapping cache for 
2865 SystemMemory. Ensure that the memory mappings created for operation 
2866 regions 
2867 do not cross 4K page boundaries. Crossing a page boundary while mapping 
2868 regions can cause kernel warnings on some hosts if the pages have 
2869 different 
2870 attributes. Such regions are probably BIOS bugs, and this is the 
2871 workaround. 
2872 Linux BZ 14445. Lin Ming.
2873
2874 Implemented an automatic repair for predefined methods that must return 
2875 sorted lists. This change will repair (by sorting) packages returned by 
2876 _ALR, 
2877 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
2878 sorted 
2879 and do not contain NULL package elements. Adds one new file, 
2880 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
2881
2882 Fixed a possible fault during predefined name validation if a return 
2883 Package 
2884 object contains NULL elements. Also adds a warning if a NULL element is 
2885 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
2886 may 
2887 include repair or removal of all such NULL elements where possible.
2888
2889 Implemented additional module-level executable AML code support. This 
2890 change 
2891 will execute module-level code that is not at the root of the namespace 
2892 (under a Device object, etc.) at table load time. Module-level executable 
2893 AML 
2894 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
2895
2896 Implemented a new internal function to create Integer objects. This 
2897 function 
2898 simplifies miscellaneous object creation code. ACPICA BZ 823.
2899
2900 Reduced the severity of predefined repair messages, Warning to Info. Since 
2901 the object was successfully repaired, a warning is too severe. Reduced to 
2902 an 
2903 info message for now. These messages may eventually be changed to debug-
2904 only. 
2905 ACPICA BZ 812.
2906
2907 Example Code and Data Size: These are the sizes for the OS-independent 
2908 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2909 debug version of the code includes the debug output trace mechanism and 
2910 has a 
2911 much larger code and data size.
2912
2913   Previous Release:
2914     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
2915     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
2916   Current Release:
2917     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
2918     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
2919
2920 2) iASL Compiler/Disassembler and Tools:
2921
2922 iASL: Implemented Switch() with While(1) so that Break works correctly. 
2923 This 
2924 change correctly implements the Switch operator with a surrounding 
2925 While(1) 
2926 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
2927
2928 iASL: Added a message if a package initializer list is shorter than 
2929 package 
2930 length. Adds a new remark for a Package() declaration if an initializer 
2931 list 
2932 exists, but is shorter than the declared length of the package. Although 
2933 technically legal, this is probably a coding error and it is seen in the 
2934 field. ACPICA BZ 815. Lin Ming, Bob Moore.
2935
2936 iASL: Fixed a problem where the compiler could fault after the maximum 
2937 number 
2938 of errors was reached (200).
2939
2940 acpixtract: Fixed a possible warning for pointer cast if the compiler 
2941 warning 
2942 level set very high.
2943
2944 ----------------------------------------
2945 13 October 2009. Summary of changes for version 20091013:
2946
2947 1) ACPI CA Core Subsystem:
2948
2949 Fixed a problem where an Operation Region _REG method could be executed 
2950 more 
2951 than once. If a custom address space handler is installed by the host 
2952 before 
2953 the "initialize operation regions" phase of the ACPICA initialization, any 
2954 _REG methods for that address space could be executed twice. This change 
2955 fixes the problem. ACPICA BZ 427. Lin Ming.
2956
2957 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
2958 invocation of "Scope(\)" is executed (change scope to root), one internal 
2959 operand object was leaked. Lin Ming.
2960
2961 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
2962 return value is defined as a Field object in the AML, and the field
2963 size is less than or equal to the default width of an integer (32 or 
2964 64),_MAT 
2965 can incorrectly return an Integer instead of a Buffer. ACPICA now 
2966 automatically repairs this problem. ACPICA BZ 810.
2967
2968 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
2969 The 
2970 "OEM Information" field is often incorrectly returned as an Integer with 
2971 value zero if the field is not supported by the platform. This is due to 
2972 an 
2973 ambiguity in the ACPI specification. The field should always be a string. 
2974 ACPICA now automatically repairs this problem by returning a NULL string 
2975 within the returned Package. ACPICA BZ 807.
2976
2977 Example Code and Data Size: These are the sizes for the OS-independent 
2978 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2979 debug version of the code includes the debug output trace mechanism and 
2980 has a 
2981 much larger code and data size.
2982
2983   Previous Release:
2984     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
2985     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
2986   Current Release:
2987     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
2988     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
2989
2990 2) iASL Compiler/Disassembler and Tools:
2991
2992 Disassembler: Fixed a problem where references to external symbols that 
2993 contained one or more parent-prefixes (carats) were not handled correctly, 
2994 possibly causing a fault. ACPICA BZ 806. Lin Ming.
2995
2996 Disassembler: Restructured the code so that all functions that handle 
2997 external symbols are in a single module. One new file is added, 
2998 common/dmextern.c.
2999
3000 AML Debugger: Added a max count argument for the Batch command (which 
3001 executes multiple predefined methods within the namespace.)
3002
3003 iASL: Updated the compiler documentation (User Reference.) Available at 
3004 http://www.acpica.org/documentation/. ACPICA BZ 750.
3005
3006 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
3007 files.
3008
3009 ----------------------------------------
3010 03 September 2009. Summary of changes for version 20090903:
3011
3012 1) ACPI CA Core Subsystem:
3013
3014 For Windows Vista compatibility, added the automatic execution of an _INI 
3015 method located at the namespace root (\_INI). This method is executed at 
3016 table load time. This support is in addition to the automatic execution of 
3017 \_SB._INI. Lin Ming.
3018
3019 Fixed a possible memory leak in the interpreter for AML package objects if 
3020 the package initializer list is longer than the defined size of the 
3021 package. 
3022 This apparently can only happen if the BIOS changes the package size on 
3023 the 
3024 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
3025 interpreter will truncate the package to the defined size (and issue an 
3026 error 
3027 message), but previously could leave the extra objects undeleted if they 
3028 were 
3029 pre-created during the argument processing (such is the case if the 
3030 package 
3031 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3032
3033 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
3034 This has been reported in the field. Previously, ACPICA would zero out the 
3035 buffer/string. Now, the operation is treated as a noop. Provides Windows 
3036 compatibility. ACPICA BZ 803. Lin Ming.
3037
3038 Removed an extraneous error message for ASL constructs of the form 
3039 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
3040 statements 
3041 are seen in many BIOSs and are once again treated as NOOPs and no error is 
3042 emitted when they are encountered. ACPICA BZ 785.
3043
3044 Fixed an extraneous warning message if a _DSM reserved method returns a 
3045 Package object. _DSM can return any type of object, so validation on the 
3046 return type cannot be performed. ACPICA BZ 802.
3047
3048 Example Code and Data Size: These are the sizes for the OS-independent 
3049 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3050 debug version of the code includes the debug output trace mechanism and 
3051 has a 
3052 much larger code and data size.
3053
3054   Previous Release:
3055     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3056     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3057   Current Release:
3058     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3059     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3060
3061 2) iASL Compiler/Disassembler and Tools:
3062
3063 iASL: Fixed a problem with the use of the Alias operator and Resource 
3064 Templates. The correct alias is now constructed and no error is emitted. 
3065 ACPICA BZ 738.
3066
3067 iASL: Implemented the -I option to specify additional search directories 
3068 for 
3069 include files. Allows multiple additional search paths for include files. 
3070 Directories are searched in the order specified on the command line (after 
3071 the local directory is searched.) ACPICA BZ 800.
3072
3073 iASL: Fixed a problem where the full pathname for include files was not 
3074 emitted for warnings/errors. This caused the IDE support to not work 
3075 properly. ACPICA BZ 765.
3076
3077 iASL: Implemented the -@ option to specify a Windows-style response file 
3078 containing additional command line options. ACPICA BZ 801.
3079
3080 AcpiExec: Added support to load multiple AML files simultaneously (such as 
3081
3082 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
3083 pathname. These features allow all machine tables to be easily loaded and 
3084 debugged together. ACPICA BZ 804.
3085
3086 Disassembler: Added missing support for disassembly of HEST table Error 
3087 Bank 
3088 subtables. 
3089
3090 ----------------------------------------
3091 30 July 2009. Summary of changes for version 20090730:
3092
3093 The ACPI 4.0 implementation for ACPICA is complete with this release.
3094
3095 1) ACPI CA Core Subsystem:
3096
3097 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
3098 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
3099 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
3100 BERT, 
3101 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
3102 There 
3103 have been some ACPI 4.0 changes to other existing tables. Split the large 
3104 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3105
3106 ACPI 4.0: Implemented predefined name validation for all new names. There 
3107 are 
3108 31 new names in ACPI 4.0. The predefined validation module was split into 
3109 two 
3110 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3111
3112 Implemented support for so-called "module-level executable code". This is 
3113 executable AML code that exists outside of any control method and is 
3114 intended 
3115 to be executed at table load time. Although illegal since ACPI 2.0, this 
3116 type 
3117 of code still exists and is apparently still being created. Blocks of this 
3118 code are now detected and executed as intended. Currently, the code blocks 
3119 must exist under either an If, Else, or While construct; these are the 
3120 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3121
3122 Implemented an automatic dynamic repair for predefined names that return 
3123 nested Package objects. This applies to predefined names that are defined 
3124 to 
3125 return a variable-length Package of sub-packages. If the number of sub-
3126 packages is one, BIOS code is occasionally seen that creates a simple 
3127 single 
3128 package with no sub-packages. This code attempts to fix the problem by 
3129 wrapping a new package object around the existing package. These methods 
3130 can 
3131 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
3132 790.
3133
3134 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
3135 interface. 
3136 The _HID/_CID matching was broken and no longer matched IDs correctly. 
3137 ACPICA 
3138 BZ 793.
3139
3140 Fixed a problem with AcpiReset where the reset would silently fail if the 
3141 register was one of the protected I/O ports. AcpiReset now bypasses the 
3142 port 
3143 validation mechanism. This may eventually be driven into the 
3144 AcpiRead/Write 
3145 interfaces.
3146
3147 Fixed a regression related to the recent update of the AcpiRead/Write 
3148 interfaces. A sleep/suspend could fail if the optional PM2 Control 
3149 register 
3150 does not exist during an attempt to write the Bus Master Arbitration bit. 
3151 (However, some hosts already delete the code that writes this bit, and the 
3152 code may in fact be obsolete at this date.) ACPICA BZ 799.
3153
3154 Fixed a problem where AcpiTerminate could fault if inadvertently called 
3155 twice 
3156 in succession. ACPICA BZ 795.
3157
3158 Example Code and Data Size: These are the sizes for the OS-independent 
3159 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3160 debug version of the code includes the debug output trace mechanism and 
3161 has a 
3162 much larger code and data size.
3163
3164   Previous Release:
3165     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3166     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3167   Current Release:
3168     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3169     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3170
3171 2) iASL Compiler/Disassembler and Tools:
3172
3173 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
3174 changes to existing tables. ACPICA BZ 775.
3175
3176 ----------------------------------------
3177 25 June 2009. Summary of changes for version 20090625:
3178
3179 The ACPI 4.0 Specification was released on June 16 and is available at 
3180 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
3181 continue for the next few releases.
3182
3183 1) ACPI CA Core Subsystem:
3184
3185 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
3186 address space. Includes support for bi-directional data buffers and an 
3187 IPMI 
3188 address space handler (to be installed by an IPMI device driver.) ACPICA 
3189 BZ 
3190 773. Lin Ming.
3191
3192 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
3193 support in both the header files and the disassembler.
3194
3195 Completed a major update for the AcpiGetObjectInfo external interface. 
3196 Changes include:
3197  - Support for variable, unlimited length HID, UID, and CID strings.
3198  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
3199 etc.)
3200  - Call the _SxW power methods on behalf of a device object.
3201  - Determine if a device is a PCI root bridge.
3202  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3203 These changes will require an update to all callers of this interface. See 
3204 the updated ACPICA Programmer Reference for details. One new source file 
3205 has 
3206 been added - utilities/utids.c. ACPICA BZ 368, 780.
3207
3208 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
3209 transfers. The Value parameter has been extended from 32 bits to 64 bits 
3210 in 
3211 order to support new ACPI 4.0 tables. These changes will require an update 
3212 to 
3213 all callers of these interfaces. See the ACPICA Programmer Reference for 
3214 details. ACPICA BZ 768.
3215
3216 Fixed several problems with AcpiAttachData. The handler was not invoked 
3217 when 
3218 the host node was deleted. The data sub-object was not automatically 
3219 deleted 
3220 when the host node was deleted. The interface to the handler had an unused 
3221 parameter, this was removed. ACPICA BZ 778.
3222
3223 Enhanced the function that dumps ACPI table headers. All non-printable 
3224 characters in the string fields are now replaced with '?' (Signature, 
3225 OemId, 
3226 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
3227 these fields are occasionally seen in the field. ACPICA BZ 788.
3228
3229 Fixed a problem with predefined method repair code where the code that 
3230 attempts to repair/convert an object of incorrect type is only executed on 
3231 the first time the predefined method is called. The mechanism that 
3232 disables 
3233 warnings on subsequent calls was interfering with the repair mechanism. 
3234 ACPICA BZ 781.
3235
3236 Fixed a possible memory leak in the predefined validation/repair code when 
3237
3238 buffer is automatically converted to an expected string object.
3239
3240 Removed obsolete 16-bit files from the distribution and from the current 
3241 git 
3242 tree head. ACPICA BZ 776.
3243
3244 Example Code and Data Size: These are the sizes for the OS-independent 
3245 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3246 debug version of the code includes the debug output trace mechanism and 
3247 has a 
3248 much larger code and data size.
3249
3250   Previous Release:
3251     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
3252     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
3253   Current Release:
3254     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3255     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3256
3257 2) iASL Compiler/Disassembler and Tools:
3258
3259 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
3260 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
3261
3262 ACPI 4.0: iASL - implemented compile-time validation support for all new 
3263 predefined names and control methods (31 total). ACPICA BZ 769.
3264
3265 ----------------------------------------
3266 21 May 2009. Summary of changes for version 20090521:
3267
3268 1) ACPI CA Core Subsystem:
3269
3270 Disabled the preservation of the SCI enable bit in the PM1 control 
3271 register. 
3272 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to 
3273 be 
3274 a "preserved" bit - "OSPM always preserves this bit position", section 
3275 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
3276 because the bit needs to be explicitly set by the OS as a workaround. No 
3277 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
3278 attempts to preserve this bit.
3279
3280 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
3281 incorrectly formed _PRT package could cause a fault. Added validation to 
3282 ensure that each package element is actually a sub-package.
3283
3284 Implemented a new interface to install or override a single control 
3285 method, 
3286 AcpiInstallMethod. This interface is useful when debugging in order to 
3287 repair 
3288 an existing method or to install a missing method without having to 
3289 override 
3290 the entire ACPI table. See the ACPICA Programmer Reference for use and 
3291 examples. Lin Ming, Bob Moore.
3292
3293 Fixed several reference count issues with the DdbHandle object that is 
3294 created from a Load or LoadTable operator. Prevent premature deletion of 
3295 the 
3296 object. Also, mark the object as invalid once the table has been unloaded. 
3297 This is needed because the handle itself may not be deleted after the 
3298 table 
3299 unload, depending on whether it has been stored in a named object by the 
3300 caller. Lin Ming.
3301
3302 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
3303 mutexes of the same sync level are acquired but then not released in 
3304 strict 
3305 opposite order, the internally maintained Current Sync Level becomes 
3306 confused 
3307 and can cause subsequent execution errors. ACPICA BZ 471.
3308
3309 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
3310 specification has been changed to make the SyncLevel for mutex objects 
3311 more 
3312 useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
3313 same as the current sync level. This makes more sense than the previous 
3314 rule 
3315 (SyncLevel less than or equal). This change updates the code to match the 
3316 specification.
3317
3318 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
3319 The 
3320 (local) cache must be locked during all cache object deletions. Andrew 
3321 Baumann.
3322
3323 Updated the Load operator to use operation region interfaces. This 
3324 replaces 
3325 direct memory mapping with region access calls. Now, all region accesses 
3326 go 
3327 through the installed region handler as they should.
3328
3329 Simplified and optimized the NsGetNextNode function. Reduced parameter 
3330 count 
3331 and reduced code for this frequently used function.
3332
3333 Example Code and Data Size: These are the sizes for the OS-independent 
3334 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3335 debug version of the code includes the debug output trace mechanism and 
3336 has a 
3337 much larger code and data size.
3338
3339   Previous Release:
3340     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
3341     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
3342   Current Release:
3343     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
3344     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
3345
3346 2) iASL Compiler/Disassembler and Tools:
3347
3348 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
3349 problems 
3350 with sub-table disassembly and handling invalid sub-tables. Attempt 
3351 recovery 
3352 after an invalid sub-table ID.
3353
3354 ----------------------------------------
3355 22 April 2009. Summary of changes for version 20090422:
3356
3357 1) ACPI CA Core Subsystem:
3358
3359 Fixed a compatibility issue with the recently released I/O port protection 
3360 mechanism. For windows compatibility, 1) On a port protection violation, 
3361 simply ignore the request and do not return an exception (allow the 
3362 control 
3363 method to continue execution.) 2) If only part of the request overlaps a 
3364 protected port, read/write the individual ports that are not protected. 
3365 Linux 
3366 BZ 13036. Lin Ming
3367
3368 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
3369 actually 
3370 breaks into the AML debugger if the debugger is present. This matches the 
3371 ACPI-defined behavior.
3372
3373 Fixed several possible warnings related to the use of the configurable 
3374 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
3375 pointer with no warnings. Also fixes several warnings in printf-like 
3376 statements for the 64-bit build when the type is configured as a pointer. 
3377 ACPICA BZ 766, 767.
3378
3379 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
3380 on 
3381 warning options.) Examples include printf formats, aliasing, unused 
3382 globals, 
3383 missing prototypes, missing switch default statements, use of non-ANSI 
3384 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
3385 for 
3386 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
3387
3388 Example Code and Data Size: These are the sizes for the OS-independent 
3389 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3390 debug version of the code includes the debug output trace mechanism and 
3391 has a 
3392 much larger code and data size.
3393
3394   Previous Release:
3395     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
3396     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
3397   Current Release:
3398     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
3399     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
3400
3401 2) iASL Compiler/Disassembler and Tools:
3402
3403 iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings 
3404 on 
3405 the 64-bit build.
3406
3407 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
3408 not 
3409 correctly digest Windows/DOS formatted files (with CR/LF).
3410
3411 iASL: Added a new option for "quiet mode" (-va) that produces only the 
3412 compilation summary, not individual errors and warnings. Useful for large 
3413 batch compilations.
3414
3415 AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
3416 timeout that can be used to detect hang conditions during execution of AML 
3417 code (includes both internal semaphores and AML-defined mutexes and 
3418 events.)
3419
3420 Added new makefiles for the generation of acpica in a generic unix-like 
3421 environment. These makefiles are intended to generate the acpica tools and 
3422 utilities from the original acpica git source tree structure.
3423
3424 Test Suites: Updated and cleaned up the documentation files. Updated the 
3425 copyrights to 2009, affecting all source files. Use the new version of 
3426 iASL 
3427 with quiet mode. Increased the number of available semaphores in the 
3428 Windows 
3429 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
3430 added 
3431 an alternate implementation of the semaphore timeout to allow aslts to 
3432 execute fully on Cygwin.
3433
3434 ----------------------------------------
3435 20 March 2009. Summary of changes for version 20090320:
3436
3437 1) ACPI CA Core Subsystem:
3438
3439 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
3440 table 
3441 unloads. Added a reader/writer locking mechanism to allow multiple 
3442 concurrent 
3443 namespace walks (readers), but block a dynamic table unload until it can 
3444 gain 
3445 exclusive write access to the namespace. This fixes a problem where a 
3446 table 
3447 unload could (possibly catastrophically) delete the portion of the 
3448 namespace 
3449 that is currently being examined by a walk. Adds a new file, utlock.c, 
3450 that 
3451 implements the reader/writer lock mechanism. ACPICA BZ 749.
3452
3453 Fixed a regression introduced in version 20090220 where a change to the 
3454 FADT 
3455 handling could cause the ACPICA subsystem to access non-existent I/O 
3456 ports.
3457
3458 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
3459 The 
3460 FADT can contain both 32-bit and 64-bit versions of these addresses. 
3461 Previously, the 64-bit versions were favored, meaning that if both 32 and 
3462 64 
3463 versions were valid, but not equal, the 64-bit version was used. This was 
3464 found to cause some machines to fail. Now, in this case, the 32-bit 
3465 version 
3466 is used instead. This now matches the Windows behavior.
3467
3468 Implemented a new mechanism to protect certain I/O ports. Provides 
3469 Microsoft 
3470 compatibility and protects the standard PC I/O ports from access via AML 
3471 code. Adds a new file, hwvalid.c
3472
3473 Fixed a possible extraneous warning message from the FADT support. The 
3474 message warns of a 32/64 length mismatch between the legacy and GAS 
3475 definitions for a register.
3476
3477 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
3478 is 
3479 made obsolete by the port protection mechanism above. It was previously 
3480 used 
3481 to validate the entire address range of an operation region, which could 
3482 be 
3483 incorrect if the range included illegal ports, but fields within the 
3484 operation region did not actually access those ports. Validation is now 
3485 performed on a per-field basis instead of the entire region.
3486
3487 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
3488 Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
3489 means a read/modify/write when writing to the register. However, for 
3490 status 
3491 registers, writing a one means clear the event. Writing a zero means 
3492 preserve 
3493 the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
3494 and the ACPICA code now simply always writes a zero to the ignored bit.
3495
3496 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
3497 As 
3498 per the ACPI specification, for the control registers, preserve 
3499 (read/modify/write) all bits that are defined as either reserved or 
3500 ignored.
3501
3502 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
3503 When reading the register, zero the write-only bits as per the ACPI spec. 
3504 ACPICA BZ 443. Lin Ming.
3505
3506 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
3507 wants to reply true to this request. The Windows strings are the only 
3508 paths 
3509 through the AML that are tested and known to work properly.
3510
3511   Previous Release:
3512     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
3513     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
3514   Current Release:
3515     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
3516     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
3517
3518 2) iASL Compiler/Disassembler and Tools:
3519
3520 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
3521 and 
3522 aetables.c
3523
3524 ----------------------------------------
3525 20 February 2009. Summary of changes for version 20090220:
3526
3527 1) ACPI CA Core Subsystem:
3528
3529 Optimized the ACPI register locking. Removed locking for reads from the 
3530 ACPI 
3531 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
3532 not required when reading the single-bit registers. The 
3533 AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
3534 This will improve performance for reads on these registers. ACPICA BZ 760.
3535
3536 Fixed the parameter validation for AcpiRead/Write. Now return 
3537 AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS 
3538 if 
3539 the register has an address of zero. Previously, these cases simply 
3540 returned 
3541 AE_OK. For optional registers such as PM1B status/enable/control, the 
3542 caller 
3543 should check for a valid register address before calling. ACPICA BZ 748.
3544
3545 Renamed the external ACPI bit register access functions. Renamed 
3546 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
3547 functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
3548 Also, restructured the code for these functions by simplifying the code 
3549 path 
3550 and condensing duplicate code to reduce code size.
3551
3552 Added new functions to transparently handle the possibly split PM1 A/B 
3553 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
3554 now handle the split registers for PM1 Status, Enable, and Control. ACPICA 
3555 BZ 
3556 746.
3557
3558 Added a function to handle the PM1 control registers, 
3559 AcpiHwWritePm1Control. 
3560 This function writes both of the PM1 control registers (A/B). These 
3561 registers 
3562 are different than the PM1 A/B status and enable registers in that 
3563 different 
3564 values can be written to the A/B registers. Most notably, the SLP_TYP bits 
3565 can be different, as per the values returned from the _Sx predefined 
3566 methods.
3567
3568 Removed an extra register write within AcpiHwClearAcpiStatus. This 
3569 function 
3570 was writing an optional PM1B status register twice. The existing call to 
3571 the 
3572 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
3573 A/B 
3574 register. ACPICA BZ 751.
3575
3576 Split out the PM1 Status registers from the FADT. Added new globals for 
3577 these 
3578 registers (A/B), similar to the way the PM1 Enable registers are handled. 
3579 Instead of overloading the FADT Event Register blocks. This makes the code 
3580 clearer and less prone to error.
3581
3582 Fixed the warning message for when the platform contains too many ACPI 
3583 tables 
3584 for the default size of the global root table data structure. The 
3585 calculation 
3586 for the truncation value was incorrect.
3587
3588 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
3589 obsolete macro, since it is now a simple reference to ->common.type. There 
3590 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
3591
3592 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
3593 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
3594 simply SLEEP_TYPE. ACPICA BZ 754.
3595
3596 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
3597 function is only needed on 64-bit host operating systems and is thus not 
3598 included for 32-bit hosts.
3599
3600 Debug output: print the input and result for invocations of the _OSI 
3601 reserved 
3602 control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
3603 verbosity of this debug level. Len Brown.
3604
3605 Example Code and Data Size: These are the sizes for the OS-independent 
3606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3607 debug version of the code includes the debug output trace mechanism and 
3608 has a 
3609 much larger code and data size.
3610
3611   Previous Release:
3612     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
3613     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
3614   Current Release:
3615     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
3616     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
3617
3618 2) iASL Compiler/Disassembler and Tools:
3619
3620 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
3621 various legal performance profiles.
3622
3623 ----------------------------------------
3624 23 January 2009. Summary of changes for version 20090123:
3625
3626 1) ACPI CA Core Subsystem:
3627
3628 Added the 2009 copyright to all module headers and signons. This affects 
3629 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3630 the tools/utilities.
3631
3632 Implemented a change to allow the host to override any ACPI table, 
3633 including 
3634 dynamically loaded tables. Previously, only the DSDT could be replaced by 
3635 the 
3636 host. With this change, the AcpiOsTableOverride interface is called for 
3637 each 
3638 table found in the RSDT/XSDT during ACPICA initialization, and also 
3639 whenever 
3640 a table is dynamically loaded via the AML Load operator.
3641
3642 Updated FADT flag definitions, especially the Boot Architecture flags.
3643
3644 Debugger: For the Find command, automatically pad the input ACPI name with 
3645 underscores if the name is shorter than 4 characters. This enables a match 
3646 with the actual namespace entry which is itself padded with underscores.
3647
3648 Example Code and Data Size: These are the sizes for the OS-independent 
3649 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3650 debug version of the code includes the debug output trace mechanism and 
3651 has a 
3652 much larger code and data size.
3653
3654   Previous Release:
3655     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
3656     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
3657   Current Release:
3658     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
3659     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
3660
3661 2) iASL Compiler/Disassembler and Tools:
3662
3663 Fix build error under Bison-2.4.
3664
3665 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
3666 Architecture 
3667 flags. Now decode all flags, regardless of the FADT version. Flag output 
3668 includes the FADT version which first defined each flag.
3669
3670 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
3671 and 
3672 DSDT). Windows only.
3673
3674 ----------------------------------------
3675 04 December 2008. Summary of changes for version 20081204:
3676
3677 1) ACPI CA Core Subsystem:
3678
3679 The ACPICA Programmer Reference has been completely updated and revamped 
3680 for 
3681 this release. This includes updates to the external interfaces, OSL 
3682 interfaces, the overview sections, and the debugger reference.
3683
3684 Several new ACPICA interfaces have been implemented and documented in the 
3685 programmer reference:
3686 AcpiReset - Writes the reset value to the FADT-defined reset register.
3687 AcpiDisableAllGpes - Disable all available GPEs.
3688 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
3689 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
3690 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
3691 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
3692 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
3693
3694 Most of the public ACPI hardware-related interfaces have been moved to a 
3695 new 
3696 file, components/hardware/hwxface.c
3697
3698 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
3699 register lengths within the FADT are now used, and the low level ACPI 
3700 register access no longer hardcodes the ACPI register lengths. Given that 
3701 there may be some risk in actually trusting the FADT register lengths, a 
3702 run-
3703 time option was added to fall back to the default hardcoded lengths if the 
3704 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
3705 option is set to true for now, and a warning is issued if a suspicious 
3706 FADT 
3707 register length is overridden with the default value.
3708
3709 Fixed a reference count issue in NsRepairObject. This problem was 
3710 introduced 
3711 in version 20081031 as part of a fix to repair Buffer objects within 
3712 Packages. Lin Ming.
3713
3714 Added semaphore support to the Linux/Unix application OS-services layer 
3715 (OSL). ACPICA BZ 448. Lin Ming.
3716
3717 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
3718 will 
3719 be implemented in the OSL, or will binary semaphores be used instead.
3720
3721 Example Code and Data Size: These are the sizes for the OS-independent 
3722 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3723 debug version of the code includes the debug output trace mechanism and 
3724 has a 
3725 much larger code and data size.
3726
3727   Previous Release:
3728     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
3729     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
3730   Current Release:
3731     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
3732     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
3733
3734 2) iASL Compiler/Disassembler and Tools:
3735
3736 iASL: Completed the '-e' option to include additional ACPI tables in order 
3737 to 
3738 aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
3739 Ming.
3740
3741 iASL: Removed the "named object in while loop" error. The compiler cannot 
3742 determine how many times a loop will execute. ACPICA BZ 730.
3743
3744 Disassembler: Implemented support for FADT revision 2 (MS extension). 
3745 ACPICA 
3746 BZ 743.
3747
3748 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
3749
3750 ----------------------------------------
3751 31 October 2008. Summary of changes for version 20081031:
3752
3753 1) ACPI CA Core Subsystem:
3754
3755 Restructured the ACPICA header files into public/private. acpi.h now 
3756 includes 
3757 only the "public" acpica headers. All other acpica headers are "private" 
3758 and 
3759 should not be included by acpica users. One new file, accommon.h is used 
3760 to 
3761 include the commonly used private headers for acpica code generation. 
3762 Future 
3763 plans include moving all private headers to a new subdirectory.
3764
3765 Implemented an automatic Buffer->String return value conversion for 
3766 predefined ACPI methods. For these methods (such as _BIF), added automatic 
3767 conversion for return objects that are required to be a String, but a 
3768 Buffer 
3769 was found instead. This can happen when reading string battery data from 
3770 an 
3771 operation region, because it used to be difficult to convert the data from 
3772 buffer to string from within the ASL. Ensures that the host OS is provided 
3773 with a valid null-terminated string. Linux BZ 11822.
3774
3775 Updated the FACS waking vector interfaces. Split 
3776 AcpiSetFirmwareWakingVector 
3777 into two: one for the 32-bit vector, another for the 64-bit vector. This 
3778 is 
3779 required because the host OS must setup the wake much differently for each 
3780 vector (real vs. protected mode, etc.) and the interface itself should not 
3781 be 
3782 deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
3783 interface, as it served no purpose (only the firmware reads the vector, OS 
3784 only writes the vector.) ACPICA BZ 731.
3785
3786 Implemented a mechanism to escape infinite AML While() loops. Added a loop 
3787 counter to force exit from AML While loops if the count becomes too large. 
3788 This can occur in poorly written AML when the hardware does not respond 
3789 within a while loop and the loop does not implement a timeout. The maximum 
3790 loop count is configurable. A new exception code is returned when a loop 
3791 is 
3792 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
3793
3794 Optimized the execution of AML While loops. Previously, a control state 
3795 object was allocated and freed for each execution of the loop. The 
3796 optimization is to simply reuse the control state for each iteration. This 
3797 speeds up the raw loop execution time by about 5%.
3798
3799 Enhanced the implicit return mechanism. For Windows compatibility, return 
3800 an 
3801 implicit integer of value zero for methods that contain no executable 
3802 code. 
3803 Such methods are seen in the field as stubs (presumably), and can cause 
3804 drivers to fail if they expect a return value. Lin Ming.
3805
3806 Allow multiple backslashes as root prefixes in namepaths. In a fully 
3807 qualified namepath, allow multiple backslash prefixes. This can happen 
3808 (and 
3809 is seen in the field) because of the use of a double-backslash in strings 
3810 (since backslash is the escape character) causing confusion. ACPICA BZ 739 
3811 Lin Ming.
3812
3813 Emit a warning if two different FACS or DSDT tables are discovered in the 
3814 FADT. Checks if there are two valid but different addresses for the FACS 
3815 and 
3816 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
3817
3818 Consolidated the method argument count validation code. Merged the code 
3819 that 
3820 validates control method argument counts into the predefined validation 
3821 module. Eliminates possible multiple warnings for incorrect argument 
3822 counts.
3823
3824 Implemented ACPICA example code. Includes code for ACPICA initialization, 
3825 handler installation, and calling a control method. Available at 
3826 source/tools/examples.
3827
3828 Added a global pointer for FACS table to simplify internal FACS access. 
3829 Use 
3830 the global pointer instead of using AcpiGetTableByIndex for each FACS 
3831 access. 
3832 This simplifies the code for the Global Lock and the Firmware Waking 
3833 Vector(s).
3834
3835 Example Code and Data Size: These are the sizes for the OS-independent 
3836 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3837 debug version of the code includes the debug output trace mechanism and 
3838 has a 
3839 much larger code and data size.
3840
3841   Previous Release:
3842     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
3843     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
3844   Current Release:
3845     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
3846     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
3847
3848 2) iASL Compiler/Disassembler and Tools:
3849
3850 iASL: Improved disassembly of external method calls. Added the -e option 
3851 to 
3852 allow the inclusion of additional ACPI tables to help with the disassembly 
3853 of 
3854 method invocations and the generation of external declarations during the 
3855 disassembly. Certain external method invocations cannot be disassembled 
3856 properly without the actual declaration of the method. Use the -e option 
3857 to 
3858 include the table where the external method(s) are actually declared. Most 
3859 useful for disassembling SSDTs that make method calls back to the master 
3860 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
3861 -d 
3862 -e dsdt.aml ssdt1.aml
3863
3864 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
3865 problem where the use of an alias within a namepath would result in a not 
3866 found error or cause the compiler to fault. Also now allows forward 
3867 references from the Alias operator itself. ACPICA BZ 738.
3868
3869 ----------------------------------------
3870 26 September 2008. Summary of changes for version 20080926:
3871
3872 1) ACPI CA Core Subsystem:
3873
3874 Designed and implemented a mechanism to validate predefined ACPI methods 
3875 and 
3876 objects. This code validates the predefined ACPI objects (objects whose 
3877 names 
3878 start with underscore) that appear in the namespace, at the time they are 
3879 evaluated. The argument count and the type of the returned object are 
3880 validated against the ACPI specification. The purpose of this validation 
3881 is 
3882 to detect problems with the BIOS-implemented predefined ACPI objects 
3883 before 
3884 the results are returned to the ACPI-related drivers. Future enhancements 
3885 may 
3886 include actual repair of incorrect return objects where possible. Two new 
3887 files are nspredef.c and acpredef.h.
3888
3889 Fixed a fault in the AML parser if a memory allocation fails during the Op 
3890 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
3891
3892 Fixed an issue with implicit return compatibility. This change improves 
3893 the 
3894 implicit return mechanism to be more compatible with the MS interpreter. 
3895 Lin 
3896 Ming, ACPICA BZ 349.
3897
3898 Implemented support for zero-length buffer-to-string conversions. Allow 
3899 zero 
3900 length strings during interpreter buffer-to-string conversions. For 
3901 example, 
3902 during the ToDecimalString and ToHexString operators, as well as implicit 
3903 conversions. Fiodor Suietov, ACPICA BZ 585.
3904
3905 Fixed two possible memory leaks in the error exit paths of 
3906 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
3907 similar in that they use a stack of state objects in order to eliminate 
3908 recursion. The stack must be fully unwound and deallocated if an error 
3909 occurs. Lin Ming. ACPICA BZ 383.
3910
3911 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
3912 global 
3913 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
3914 Moore ACPICA BZ 442.
3915
3916 Removed the obsolete version number in module headers. Removed the 
3917 "$Revision" number that appeared in each module header. This version 
3918 number 
3919 was useful under SourceSafe and CVS, but has no meaning under git. It is 
3920 not 
3921 only incorrect, it could also be misleading.
3922
3923 Example Code and Data Size: These are the sizes for the OS-independent 
3924 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3925 debug version of the code includes the debug output trace mechanism and 
3926 has a 
3927 much larger code and data size.
3928
3929   Previous Release:
3930     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
3931     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
3932   Current Release:
3933     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
3934     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
3935
3936 ----------------------------------------
3937 29 August 2008. Summary of changes for version 20080829:
3938
3939 1) ACPI CA Core Subsystem:
3940
3941 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
3942 Reference. Changes include the elimination of cheating on the Object field 
3943 for the DdbHandle subtype, addition of a reference class field to 
3944 differentiate the various reference types (instead of an AML opcode), and 
3945 the 
3946 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
3947
3948 Reduce an error to a warning for an incorrect method argument count. 
3949 Previously aborted with an error if too few arguments were passed to a 
3950 control method via the external ACPICA interface. Now issue a warning 
3951 instead 
3952 and continue. Handles the case where the method inadvertently declares too 
3953 many arguments, but does not actually use the extra ones. Applies mainly 
3954 to 
3955 the predefined methods. Lin Ming. Linux BZ 11032.
3956
3957 Disallow the evaluation of named object types with no intrinsic value. 
3958 Return 
3959 AE_TYPE for objects that have no value and therefore evaluation is 
3960 undefined: 
3961 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
3962 of 
3963 these types were allowed, but an exception would be generated at some 
3964 point 
3965 during the evaluation. Now, the error is generated up front.
3966
3967 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
3968 (nsnames.c). Fixes a leak in the error exit path.
3969
3970 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
3971 debug 
3972 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
3973 ACPI_EXCEPTION 
3974 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
3975 ACPI_LV_EVENTS.
3976
3977 Removed obsolete and/or unused exception codes from the acexcep.h header. 
3978 There is the possibility that certain device drivers may be affected if 
3979 they 
3980 use any of these exceptions.
3981
3982 The ACPICA documentation has been added to the public git source tree, 
3983 under 
3984 acpica/documents. Included are the ACPICA programmer reference, the iASL 
3985 compiler reference, and the changes.txt release logfile.
3986
3987 Example Code and Data Size: These are the sizes for the OS-independent 
3988 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3989 debug version of the code includes the debug output trace mechanism and 
3990 has a 
3991 much larger code and data size.
3992
3993   Previous Release:
3994     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
3995     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
3996   Current Release:
3997     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
3998     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
3999
4000 2) iASL Compiler/Disassembler and Tools:
4001
4002 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
4003 defines _SCP with 3 arguments. Previous versions defined it with only 1 
4004 argument. iASL now allows both definitions.
4005
4006 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
4007 length subtables when disassembling ACPI tables. Also fixed a couple of 
4008 errors where a full 16-bit table type field was not extracted from the 
4009 input 
4010 properly.
4011
4012 acpisrc: Improve comment counting mechanism for generating source code 
4013 statistics. Count first and last lines of multi-line comments as 
4014 whitespace, 
4015 not comment lines. Handle Linux legal header in addition to standard 
4016 acpica 
4017 header.
4018
4019 ----------------------------------------
4020
4021 29 July 2008. Summary of changes for version 20080729:
4022
4023 1) ACPI CA Core Subsystem:
4024
4025 Fix a possible deadlock in the GPE dispatch. Remove call to 
4026 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
4027 attempt 
4028 to acquire the GPE lock but can deadlock since the GPE lock is already 
4029 held 
4030 at dispatch time. This code was introduced in version 20060831 as a 
4031 response 
4032 to Linux BZ 6881 and has since been removed from Linux.
4033
4034 Add a function to dereference returned reference objects. Examines the 
4035 return 
4036 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
4037 are 
4038 automatically dereferenced in an attempt to return something useful (these 
4039 reference types cannot be converted into an external ACPI_OBJECT.) 
4040 Provides 
4041 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4042
4043 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
4044 subtables for the MADT and one new subtable for the SRAT. Includes 
4045 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
4046 x2APIC 
4047 Specification, June 2008.
4048
4049 Additional error checking for pathname utilities. Add error check after 
4050 all 
4051 calls to AcpiNsGetPathnameLength. Add status return from 
4052 AcpiNsBuildExternalPath and check after all calls. Add parameter 
4053 validation 
4054 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4055
4056 Return status from the global init function AcpiUtGlobalInitialize. This 
4057 is 
4058 used by both the kernel subsystem and the utilities such as iASL compiler. 
4059 The function could possibly fail when the caches are initialized. Yang Yi.
4060
4061 Add a function to decode reference object types to strings. Created for 
4062 improved error messages. 
4063
4064 Improve object conversion error messages. Better error messages during 
4065 object 
4066 conversion from internal to the external ACPI_OBJECT. Used for external 
4067 calls 
4068 to AcpiEvaluateObject.
4069
4070 Example Code and Data Size: These are the sizes for the OS-independent 
4071 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4072 debug version of the code includes the debug output trace mechanism and 
4073 has a 
4074 much larger code and data size.
4075
4076   Previous Release:
4077     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4078     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4079   Current Release:
4080     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4081     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4082
4083 2) iASL Compiler/Disassembler and Tools:
4084
4085 Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
4086 introduced in version 20080701. If the object being evaluated (via execute 
4087 command) is not a method, the debugger can hang while trying to obtain 
4088 non-
4089 existent parameters.
4090
4091 iASL: relax error for using reserved "_T_x" identifiers. These names can 
4092 appear in a disassembled ASL file if they were emitted by the original 
4093 compiler. Instead of issuing an error or warning and forcing the user to 
4094 manually change these names, issue a remark instead.
4095
4096 iASL: error if named object created in while loop. Emit an error if any 
4097 named 
4098 object is created within a While loop. If allowed, this code will generate 
4099
4100 run-time error on the second iteration of the loop when an attempt is made 
4101 to 
4102 create the same named object twice. ACPICA bugzilla 730.
4103
4104 iASL: Support absolute pathnames for include files. Add support for 
4105 absolute 
4106 pathnames within the Include operator. previously, only relative pathnames 
4107 were supported.
4108
4109 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
4110 Descriptor. 
4111 The ACPI spec requires one interrupt minimum. BZ 423
4112
4113 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
4114 Handles the case for the Interrupt Resource Descriptor where
4115 the ResourceSource argument is omitted but ResourceSourceIndex
4116 is present. Now leave room for the Index. BZ 426
4117
4118 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
4119 cases 
4120 where an error message is emitted if the target does not exist. BZ 516
4121
4122 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
4123 (get ACPI tables on Windows). This was apparently broken in version 
4124 20070919.
4125
4126 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
4127 where 
4128 the EOF happens immediately after the last table in the input file. Print 
4129 completion message. Previously, no message was displayed in this case.
4130
4131 ----------------------------------------
4132 01 July 2008. Summary of changes for version 20080701:
4133
4134 0) Git source tree / acpica.org
4135
4136 Fixed a problem where a git-clone from http would not transfer the entire 
4137 source tree.
4138
4139 1) ACPI CA Core Subsystem:
4140
4141 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
4142 enable bit. Now performs a read-change-write of the enable register 
4143 instead 
4144 of simply writing out the cached enable mask. This will prevent 
4145 inadvertent 
4146 enabling of GPEs if a rogue GPE is received during initialization (before 
4147 GPE 
4148 handlers are installed.)
4149
4150 Implemented a copy for dynamically loaded tables. Previously, dynamically 
4151 loaded tables were simply mapped - but on some machines this memory is 
4152 corrupted after suspend. Now copy the table to a local buffer. For the 
4153 OpRegion case, added checksum verify. Use the table length from the table 
4154 header, not the region length. For the Buffer case, use the table length 
4155 also. Dennis Noordsij, Bob Moore. BZ 10734
4156
4157 Fixed a problem where the same ACPI table could not be dynamically loaded 
4158 and 
4159 unloaded more than once. Without this change, a table cannot be loaded 
4160 again 
4161 once it has been loaded/unloaded one time. The current mechanism does not 
4162 unregister a table upon an unload. During a load, if the same table is 
4163 found, 
4164 this no longer returns an exception. BZ 722
4165
4166 Fixed a problem where the wrong descriptor length was calculated for the 
4167 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
4168 are calculated as 12 bytes long, but the actual length in the internal 
4169 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
4170 Reported 
4171 by Linn Crosetto. BZ 728
4172
4173 Fixed a possible memory leak in the Unload operator. The DdbHandle 
4174 returned 
4175 by Load() did not have its reference count decremented during unload, 
4176 leading 
4177 to a memory leak. Lin Ming. BZ 727
4178
4179 Fixed a possible memory leak when deleting thermal/processor objects. Any 
4180 associated notify handlers (and objects) were not being deleted. Fiodor 
4181 Suietov. BZ 506
4182
4183 Fixed the ordering of the ASCII names in the global mutex table to match 
4184 the 
4185 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
4186 only. 
4187 Vegard Nossum. BZ 726
4188
4189 Enhanced the AcpiGetObjectInfo interface to return the number of required 
4190 arguments if the object is a control method. Added this call to the 
4191 debugger 
4192 so the proper number of default arguments are passed to a method. This 
4193 prevents a warning when executing methods from AcpiExec.
4194
4195 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
4196 AE_BAD_PARAMETER if input handle is invalid. BZ 474
4197
4198 Fixed an extraneous warning from exconfig.c on the 64-bit build.
4199
4200 Example Code and Data Size: These are the sizes for the OS-independent 
4201 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4202 debug version of the code includes the debug output trace mechanism and 
4203 has a 
4204 much larger code and data size.
4205
4206   Previous Release:
4207     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
4208     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
4209   Current Release:
4210     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4211     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4212
4213 2) iASL Compiler/Disassembler and Tools:
4214
4215 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
4216 resource descriptor names.
4217
4218 iASL: Detect invalid ASCII characters in input (windows version). Removed 
4219 the 
4220 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
4221 characters in the input. BZ 441
4222
4223 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
4224 the 
4225 "result of operation not used" warning when the DDB handle returned from 
4226 LoadTable is not used. The warning is not needed. BZ 590
4227
4228 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method 
4229 to 
4230 pass address of table to the AML. Added option to disable OpRegion 
4231 simulation 
4232 to allow creation of an OpRegion with a real address that was passed to 
4233 _CFG. 
4234 All of this allows testing of the Load and Unload operators from AcpiExec.
4235
4236 Debugger: update tables command for unloaded tables. Handle unloaded 
4237 tables 
4238 and use the standard table header output routine.
4239
4240 ----------------------------------------
4241 09 June 2008. Summary of changes for version 20080609:
4242
4243 1) ACPI CA Core Subsystem:
4244
4245 Implemented a workaround for reversed _PRT entries. A significant number 
4246 of 
4247 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
4248 change dynamically detects and repairs this problem. Provides 
4249 compatibility 
4250 with MS ACPI. BZ 6859
4251
4252 Simplified the internal ACPI hardware interfaces to eliminate the locking 
4253 flag parameter from Register Read/Write. Added a new external interface, 
4254 AcpiGetRegisterUnlocked.
4255
4256 Fixed a problem where the invocation of a GPE control method could hang. 
4257 This 
4258 was a regression introduced in 20080514. The new method argument count 
4259 validation mechanism can enter an infinite loop when a GPE method is 
4260 dispatched. Problem fixed by removing the obsolete code that passed GPE 
4261 block 
4262 information to the notify handler via the control method parameter 
4263 pointer.
4264
4265 Fixed a problem where the _SST execution status was incorrectly returned 
4266 to 
4267 the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
4268 20080514. _SST is optional and a NOT_FOUND exception should never be 
4269 returned. BZ 716
4270
4271 Fixed a problem where a deleted object could be accessed from within the 
4272 AML 
4273 parser. This was a regression introduced in version 20080123 as a fix for 
4274 the 
4275 Unload operator. Lin Ming. BZ 10669
4276
4277 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
4278 operands 
4279 and eliminated the use of a negative index in a loop. Operands are now 
4280 displayed in the correct order, not backwards. This also fixes a 
4281 regression 
4282 introduced in 20080514 on 64-bit systems where the elimination of 
4283 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
4284 715
4285
4286 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
4287 exit 
4288 path did not delete a locally allocated structure.
4289
4290 Updated definitions for the DMAR and SRAT tables to synchronize with the 
4291 current specifications. Includes disassembler support.
4292
4293 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
4294 loop termination value was used. Loop terminated on iteration early, 
4295 missing 
4296 one mutex. Linn Crosetto
4297
4298 Example Code and Data Size: These are the sizes for the OS-independent 
4299 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4300 debug version of the code includes the debug output trace mechanism and 
4301 has a 
4302 much larger code and data size.
4303
4304   Previous Release:
4305     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
4306     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
4307   Current Release:
4308     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
4309     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
4310
4311 2) iASL Compiler/Disassembler and Tools:
4312
4313 Disassembler: Implemented support for EisaId() within _CID objects. Now 
4314 disassemble integer _CID objects back to EisaId invocations, including 
4315 multiple integers within _CID packages. Includes single-step support for 
4316 debugger also.
4317
4318 Disassembler: Added support for DMAR and SRAT table definition changes.
4319
4320 ----------------------------------------
4321 14 May 2008. Summary of changes for version 20080514:
4322
4323 1) ACPI CA Core Subsystem:
4324
4325 Fixed a problem where GPEs were enabled too early during the ACPICA 
4326 initialization. This could lead to "handler not installed" errors on some 
4327 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
4328 This 
4329 ensures that all operation regions and devices throughout the namespace 
4330 have 
4331 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
4332
4333 Implemented a change to the enter sleep code. Moved execution of the _GTS 
4334 method to just before setting sleep enable bit. The execution was moved 
4335 from 
4336 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
4337 immediately before the SLP_EN bit is set, as per the ACPI specification. 
4338 Luming Yu, BZ 1653.
4339
4340 Implemented a fix to disable unknown GPEs (2nd version). Now always 
4341 disable 
4342 the GPE, even if ACPICA thinks that that it is already disabled. It is 
4343 possible that the AML or some other code has enabled the GPE unbeknownst 
4344 to 
4345 the ACPICA code.
4346
4347 Fixed a problem with the Field operator where zero-length fields would 
4348 return 
4349 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
4350 ASL 
4351 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
4352
4353 Implemented a fix for the Load operator, now load the table at the 
4354 namespace 
4355 root. This reverts a change introduced in version 20071019. The table is 
4356 now 
4357 loaded at the namespace root even though this goes against the ACPI 
4358 specification. This provides compatibility with other ACPI 
4359 implementations. 
4360 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
4361 Ming.
4362
4363 Fixed a problem where ACPICA would not Load() tables with unusual 
4364 signatures. 
4365 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
4366 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
4367 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
4368 such 
4369 signatures, ACPICA must be compatible. BZ 10454.
4370
4371 Fixed a possible negative array index in AcpiUtValidateException. Added 
4372 NULL 
4373 fields to the exception string arrays to eliminate a -1 subtraction on the 
4374 SubStatus field.
4375
4376 Updated the debug tracking macros to reduce overall code and data size. 
4377 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
4378 instead of pointers to static strings. Jan Beulich and Bob Moore.
4379
4380 Implemented argument count checking in control method invocation via 
4381 AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
4382 many. This applies only to extern programmatic control method execution, 
4383 not 
4384 method-to-method calls within the AML. Lin Ming.
4385
4386 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
4387 no 
4388 longer needed, especially with the removal of 16-bit support. It was 
4389 replaced 
4390 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit 
4391 on 
4392 32/64-bit platforms is required.
4393
4394 Added the C const qualifier for appropriate string constants -- mostly 
4395 MODULE_NAME and printf format strings. Jan Beulich.
4396
4397 Example Code and Data Size: These are the sizes for the OS-independent 
4398 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4399 debug version of the code includes the debug output trace mechanism and 
4400 has a 
4401 much larger code and data size.
4402
4403   Previous Release:
4404     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
4405     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
4406   Current Release:
4407     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
4408     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
4409
4410 2) iASL Compiler/Disassembler and Tools:
4411
4412 Implemented ACPI table revision ID validation in the disassembler. Zero is 
4413 always invalid. For DSDTs, the ID controls the interpreter integer width. 
4414
4415 means 32-bit and this is unusual. 2 or greater is 64-bit.
4416
4417 ----------------------------------------
4418 21 March 2008. Summary of changes for version 20080321:
4419
4420 1) ACPI CA Core Subsystem:
4421
4422 Implemented an additional change to the GPE support in order to suppress 
4423 spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
4424 disable incoming GPEs that are neither enabled nor disabled -- meaning 
4425 that 
4426 the GPE is unknown to the system. This should prevent future interrupt 
4427 floods 
4428 from that GPE. BZ 6217 (Zhang Rui)
4429
4430 Fixed a problem where NULL package elements were not returned to the 
4431 AcpiEvaluateObject interface correctly. The element was simply ignored 
4432 instead of returning a NULL ACPI_OBJECT package element, potentially 
4433 causing 
4434 a buffer overflow and/or confusing the caller who expected a fixed number 
4435 of 
4436 elements. BZ 10132 (Lin Ming, Bob Moore)
4437
4438 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
4439 Dword, 
4440 Qword), Field, BankField, and IndexField operators when invoked from 
4441 inside 
4442 an executing control method. In this case, these operators created 
4443 namespace 
4444 nodes that were incorrectly left marked as permanent nodes instead of 
4445 temporary nodes. This could cause a problem if there is race condition 
4446 between an exiting control method and a running namespace walk. (Reported 
4447 by 
4448 Linn Crosetto)
4449
4450 Fixed a problem where the CreateField and CreateXXXField operators would 
4451 incorrectly allow duplicate names (the name of the field) with no 
4452 exception 
4453 generated.
4454
4455 Implemented several changes for Notify handling. Added support for new 
4456 Notify 
4457 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
4458 PowerResource objects is no longer allowed, as per the ACPI specification. 
4459 (Bob Moore, Zhang Rui)
4460
4461 All Reference Objects returned via the AcpiEvaluateObject interface are 
4462 now 
4463 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
4464 for 
4465 NULL objects - either NULL package elements or unresolved named 
4466 references.
4467
4468 Fixed a problem where an extraneous debug message was produced for package 
4469 objects (when debugging enabled). The message "Package List length larger 
4470 than NumElements count" is now produced in the correct case, and is now an 
4471 error message rather than a debug message. Added a debug message for the 
4472 opposite case, where NumElements is larger than the Package List (the 
4473 package 
4474 will be padded out with NULL elements as per the ACPI spec.)
4475
4476 Implemented several improvements for the output of the ASL "Debug" object 
4477 to 
4478 clarify and keep all data for a given object on one output line.
4479
4480 Fixed two size calculation issues with the variable-length Start Dependent 
4481 resource descriptor.
4482
4483 Example Code and Data Size: These are the sizes for the OS-independent 
4484 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4485 debug version of the code includes the debug output trace mechanism and 
4486 has 
4487 a much larger code and data size.
4488
4489   Previous Release:
4490     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
4491     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
4492   Current Release:
4493     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
4494     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
4495
4496 2) iASL Compiler/Disassembler and Tools:
4497
4498 Fixed a problem with the use of the Switch operator where execution of the 
4499 containing method by multiple concurrent threads could cause an 
4500 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
4501 actual Switch opcode, it must be simulated with local named temporary 
4502 variables and if/else pairs. The solution chosen was to mark any method 
4503 that 
4504 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
4505 469.
4506
4507 ----------------------------------------
4508 13 February 2008. Summary of changes for version 20080213:
4509
4510 1) ACPI CA Core Subsystem:
4511
4512 Implemented another MS compatibility design change for GPE/Notify 
4513 handling. 
4514 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
4515 to 
4516 complete first. It is expected that the OSL will queue the enable request 
4517 behind all pending notify requests (may require changes to the local host 
4518 OSL 
4519 in AcpiOsExecute). Alexey Starikovskiy.
4520
4521 Fixed a problem where buffer and package objects passed as arguments to a 
4522 control method via the external AcpiEvaluateObject interface could cause 
4523 an 
4524 AE_AML_INTERNAL exception depending on the order and type of operators 
4525 executed by the target control method.
4526
4527 Fixed a problem where resource descriptor size optimization could cause a 
4528 problem when a _CRS resource template is passed to a _SRS method. The _SRS 
4529 resource template must use the same descriptors (with the same size) as 
4530 returned from _CRS. This change affects the following resource 
4531 descriptors: 
4532 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
4533 9487)
4534
4535 Fixed a problem where a CopyObject to RegionField, BankField, and 
4536 IndexField 
4537 objects did not perform an implicit conversion as it should. These types 
4538 must 
4539 retain their initial type permanently as per the ACPI specification. 
4540 However, 
4541 a CopyObject to all other object types should not perform an implicit 
4542 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
4543
4544 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
4545 match device CIDs did not examine the entire list of available CIDs, but 
4546 instead aborted on the first non-matching CID. Andrew Patterson.
4547
4548 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
4549 was 
4550 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
4551 truncating the upper dword of a 64-bit value. This macro is only used to 
4552 display debug output, so no incorrect calculations were made. Also, 
4553 reimplemented the macro so that a 64-bit shift is not performed by 
4554 inefficient compilers.
4555
4556 Added missing va_end statements that should correspond with each va_start 
4557 statement.
4558
4559 Example Code and Data Size: These are the sizes for the OS-independent 
4560 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4561 debug version of the code includes the debug output trace mechanism and 
4562 has 
4563 a much larger code and data size.
4564
4565   Previous Release:
4566     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
4567     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
4568   Current Release:
4569     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
4570     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
4571
4572 2) iASL Compiler/Disassembler and Tools:
4573
4574 Implemented full disassembler support for the following new ACPI tables: 
4575 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
4576 complicated HEST table. These tables support the Windows Hardware Error 
4577 Architecture (WHEA).
4578
4579 ----------------------------------------
4580 23 January 2008. Summary of changes for version 20080123:
4581
4582 1) ACPI CA Core Subsystem:
4583
4584 Added the 2008 copyright to all module headers and signons. This affects 
4585 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
4586 the tools/utilities.
4587
4588 Fixed a problem with the SizeOf operator when used with Package and Buffer 
4589 objects. These objects have deferred execution for some arguments, and the 
4590 execution is now completed before the SizeOf is executed. This problem 
4591 caused 
4592 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
4593 BZ 
4594 9558
4595
4596 Implemented an enhancement to the interpreter "slack mode". In the absence 
4597 of 
4598 an explicit return or an implicitly returned object from the last executed 
4599 opcode, a control method will now implicitly return an integer of value 0 
4600 for 
4601 Microsoft compatibility. (Lin Ming) BZ 392
4602
4603 Fixed a problem with the Load operator where an exception was not returned 
4604 in 
4605 the case where the table is already loaded. (Lin Ming) BZ 463
4606
4607 Implemented support for the use of DDBHandles as an Indexed Reference, as 
4608 per 
4609 the ACPI spec. (Lin Ming) BZ 486
4610
4611 Implemented support for UserTerm (Method invocation) for the Unload 
4612 operator 
4613 as per the ACPI spec. (Lin Ming) BZ 580
4614
4615 Fixed a problem with the LoadTable operator where the OemId and OemTableId 
4616 input strings could cause unexpected failures if they were shorter than 
4617 the 
4618 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
4619
4620 Implemented support for UserTerm (Method invocation) for the Unload 
4621 operator 
4622 as per the ACPI spec. (Lin Ming) BZ 580
4623
4624 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
4625 HEST, 
4626 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
4627
4628 Example Code and Data Size: These are the sizes for the OS-independent 
4629 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4630 debug version of the code includes the debug output trace mechanism and 
4631 has 
4632 a much larger code and data size.
4633
4634   Previous Release:
4635     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
4636     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
4637   Current Release:
4638     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
4639     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
4640
4641 2) iASL Compiler/Disassembler and Tools:
4642
4643 Implemented support in the disassembler for checksum validation on 
4644 incoming 
4645 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
4646 table 
4647 header dump at the start of the disassembly.
4648
4649 Implemented additional debugging information in the namespace listing file 
4650 created during compilation. In addition to the namespace hierarchy, the 
4651 full 
4652 pathname to each namespace object is displayed.
4653
4654 Fixed a problem with the disassembler where invalid ACPI tables could 
4655 cause 
4656 faults or infinite loops.
4657
4658 Fixed an unexpected parse error when using the optional "parameter types" 
4659 list in a control method declaration. (Lin Ming) BZ 397
4660
4661 Fixed a problem where two External declarations with the same name did not 
4662 cause an error (Lin Ming) BZ 509
4663
4664 Implemented support for full TermArgs (adding Argx, Localx and method 
4665 invocation) for the ParameterData parameter to the LoadTable operator. 
4666 (Lin 
4667 Ming) BZ 583,587
4668
4669 ----------------------------------------
4670 19 December 2007. Summary of changes for version 20071219:
4671
4672 1) ACPI CA Core Subsystem:
4673
4674 Implemented full support for deferred execution for the TermArg string 
4675 arguments for DataTableRegion. This enables forward references and full 
4676 operand resolution for the three string arguments. Similar to 
4677 OperationRegion 
4678 deferred argument execution.) Lin Ming. BZ 430
4679
4680 Implemented full argument resolution support for the BankValue argument to 
4681 BankField. Previously, only constants were supported, now any TermArg may 
4682 be 
4683 used. Lin Ming BZ 387, 393
4684
4685 Fixed a problem with AcpiGetDevices where the search of a branch of the 
4686 device tree could be terminated prematurely. In accordance with the ACPI 
4687 specification, the search down the current branch is terminated if a 
4688 device 
4689 is both not present and not functional (instead of just not present.) 
4690 Yakui 
4691 Zhao.
4692
4693 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
4694 if 
4695 the underlying AML code changed the GPE enable registers. Now, any unknown 
4696 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
4697 disabled 
4698 instead of simply ignored. Rui Zhang.
4699
4700 Fixed a problem with Index Fields where the Index register was incorrectly 
4701 limited to a maximum of 32 bits. Now any size may be used.
4702
4703 Fixed a couple memory leaks associated with "implicit return" objects when 
4704 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
4705
4706 Example Code and Data Size: These are the sizes for the OS-independent 
4707 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4708 debug version of the code includes the debug output trace mechanism and 
4709 has 
4710 a much larger code and data size.
4711
4712   Previous Release:
4713     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
4714     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
4715   Current Release:
4716     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
4717     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
4718
4719 ----------------------------------------
4720 14 November 2007. Summary of changes for version 20071114:
4721
4722 1) ACPI CA Core Subsystem:
4723
4724 Implemented event counters for each of the Fixed Events, the ACPI SCI 
4725 (interrupt) itself, and control methods executed. Named 
4726 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
4727 These 
4728 should be useful for debugging and statistics.
4729
4730 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
4731 contents of the various event counters. Returns the current values for 
4732 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
4733 AcpiMethodCount. The interface can be expanded in the future if new 
4734 counters 
4735 are added. Device drivers should use this interface rather than access the 
4736 counters directly.
4737
4738 Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
4739 the ShortDivide function worked incorrectly, causing problems with the BCD 
4740 functions with large input values. A truncation from 64-bit to 32-bit 
4741 inadvertently occurred. Internal BZ 435. Lin Ming
4742
4743 Fixed a problem with Index references passed as method arguments. 
4744 References 
4745 passed as arguments to control methods were dereferenced immediately 
4746 (before 
4747 control was passed to the called method). The references are now correctly 
4748 passed directly to the called method. BZ 5389. Lin Ming
4749
4750 Fixed a problem with CopyObject used in conjunction with the Index 
4751 operator. 
4752 The reference was incorrectly dereferenced before the copy. The reference 
4753 is 
4754 now correctly copied. BZ 5391. Lin Ming
4755
4756 Fixed a problem with Control Method references within Package objects. 
4757 These 
4758 references are now correctly generated. This completes the package 
4759 construction overhaul that began in version 20071019.
4760
4761 Example Code and Data Size: These are the sizes for the OS-independent 
4762 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4763 debug version of the code includes the debug output trace mechanism and 
4764 has 
4765 a much larger code and data size.
4766
4767   Previous Release:
4768     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
4769     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
4770   Current Release:
4771     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
4772     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
4773
4774
4775 2) iASL Compiler/Disassembler and Tools:
4776
4777 The AcpiExec utility now installs handlers for all of the predefined 
4778 Operation Region types. New types supported are: PCI_Config, CMOS, and 
4779 PCIBARTarget.
4780
4781 Fixed a problem with the 64-bit version of AcpiExec where the extended 
4782 (64-
4783 bit) address fields for the DSDT and FACS within the FADT were not being 
4784 used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
4785 and Bob Moore
4786
4787 ----------------------------------------
4788 19 October 2007. Summary of changes for version 20071019:
4789
4790 1) ACPI CA Core Subsystem:
4791
4792 Fixed a problem with the Alias operator when the target of the alias is a 
4793 named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
4794 Processor, and ThermalZone. In these cases, any children of the original 
4795 operator could not be accessed via the alias, potentially causing 
4796 unexpected 
4797 AE_NOT_FOUND exceptions. (BZ 9067)
4798
4799 Fixed a problem with the Package operator where all named references were 
4800 created as object references and left otherwise unresolved. According to 
4801 the 
4802 ACPI specification, a Package can only contain Data Objects or references 
4803 to 
4804 control methods. The implication is that named references to Data Objects 
4805 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
4806 immediately upon package creation. This is the approach taken with this 
4807 change. References to all other named objects (Methods, Devices, Scopes, 
4808 etc.) are all now properly created as reference objects. (BZ 5328)
4809
4810 Reverted a change to Notify handling that was introduced in version 
4811 20070508. This version changed the Notify handling from asynchronous to 
4812 fully synchronous (Device driver Notify handling with respect to the 
4813 Notify 
4814 ASL operator). It was found that this change caused more problems than it 
4815 solved and was removed by most users.
4816
4817 Fixed a problem with the Increment and Decrement operators where the type 
4818 of 
4819 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
4820 Lin Ming.
4821
4822 Fixed a problem with the Load and LoadTable operators where the table 
4823 location within the namespace was ignored. Instead, the table was always 
4824 loaded into the root or current scope. Lin Ming.
4825
4826 Fixed a problem with the Load operator when loading a table from a buffer 
4827 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
4828
4829 Fixed a problem with the Debug object where a store of a DdbHandle 
4830 reference 
4831 object to the Debug object could cause a fault.
4832
4833 Added a table checksum verification for the Load operator, in the case 
4834 where 
4835 the load is from a buffer. (BZ 578).
4836
4837 Implemented additional parameter validation for the LoadTable operator. 
4838 The 
4839 length of the input strings SignatureString, OemIdString, and OemTableId 
4840 are 
4841 now checked for maximum lengths. (BZ 582) Lin Ming.
4842
4843 Example Code and Data Size: These are the sizes for the OS-independent 
4844 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4845 debug version of the code includes the debug output trace mechanism and 
4846 has 
4847 a much larger code and data size.
4848
4849   Previous Release:
4850     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
4851     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
4852   Current Release:
4853     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
4854     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
4855
4856
4857 2) iASL Compiler/Disassembler:
4858
4859 Fixed a problem where if a single file was specified and the file did not 
4860 exist, no error message was emitted. (Introduced with wildcard support in 
4861 version 20070917.)
4862
4863 ----------------------------------------
4864 19 September 2007. Summary of changes for version 20070919:
4865
4866 1) ACPI CA Core Subsystem:
4867
4868 Designed and implemented new external interfaces to install and remove 
4869 handlers for ACPI table-related events. Current events that are defined 
4870 are 
4871 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
4872 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
4873 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
4874
4875 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
4876 (acpi_serialized option on Linux) could cause some systems to hang during 
4877 initialization. (Bob Moore) BZ 8171
4878
4879 Fixed a problem where objects of certain types (Device, ThermalZone, 
4880 Processor, PowerResource) can be not found if they are declared and 
4881 referenced from within the same control method (Lin Ming) BZ 341
4882
4883 Example Code and Data Size: These are the sizes for the OS-independent 
4884 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4885 debug version of the code includes the debug output trace mechanism and 
4886 has 
4887 a much larger code and data size.
4888
4889   Previous Release:
4890     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
4891     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
4892   Current Release:
4893     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
4894     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
4895
4896
4897 2) iASL Compiler/Disassembler:
4898
4899 Implemented support to allow multiple files to be compiled/disassembled in 
4900
4901 single invocation. This includes command line wildcard support for both 
4902 the 
4903 Windows and Unix versions of the compiler. This feature simplifies the 
4904 disassembly and compilation of multiple ACPI tables in a single directory.
4905
4906 ----------------------------------------
4907 08 May 2007. Summary of changes for version 20070508:
4908
4909 1) ACPI CA Core Subsystem:
4910
4911 Implemented a Microsoft compatibility design change for the handling of 
4912 the 
4913 Notify AML operator. Previously, notify handlers were dispatched and 
4914 executed completely asynchronously in a deferred thread. The new design 
4915 still executes the notify handlers in a different thread, but the original 
4916 thread that executed the Notify() now waits at a synchronization point for 
4917 the notify handler to complete. Some machines depend on a synchronous 
4918 Notify 
4919 operator in order to operate correctly.
4920
4921 Implemented support to allow Package objects to be passed as method 
4922 arguments to the external AcpiEvaluateObject interface. Previously, this 
4923 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
4924 implemented since there were no reserved control methods that required it 
4925 until recently.
4926
4927 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
4928 that 
4929 contained invalid non-zero values in reserved fields could cause later 
4930 failures because these fields have meaning in later revisions of the FADT. 
4931 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
4932 fields 
4933 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
4934
4935 Fixed a problem where the Global Lock handle was not properly updated if a 
4936 thread that acquired the Global Lock via executing AML code then attempted 
4937 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
4938 Joe 
4939 Liu.
4940
4941 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
4942 could be corrupted if the interrupt being removed was at the head of the 
4943 list. Reported by Linn Crosetto.
4944
4945 Example Code and Data Size: These are the sizes for the OS-independent 
4946 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4947 debug version of the code includes the debug output trace mechanism and 
4948 has 
4949 a much larger code and data size.
4950
4951   Previous Release:
4952     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
4953     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
4954   Current Release:
4955     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
4956     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
4957
4958 ----------------------------------------
4959 20 March 2007. Summary of changes for version 20070320:
4960
4961 1) ACPI CA Core Subsystem:
4962
4963 Implemented a change to the order of interpretation and evaluation of AML 
4964 operand objects within the AML interpreter. The interpreter now evaluates 
4965 operands in the order that they appear in the AML stream (and the 
4966 corresponding ASL code), instead of in the reverse order (after the entire 
4967 operand list has been parsed). The previous behavior caused several subtle 
4968 incompatibilities with the Microsoft AML interpreter as well as being 
4969 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
4970
4971 Implemented a change to the ACPI Global Lock support. All interfaces to 
4972 the 
4973 global lock now allow the same thread to acquire the lock multiple times. 
4974 This affects the AcpiAcquireGlobalLock external interface to the global 
4975 lock 
4976 as well as the internal use of the global lock to support AML fields -- a 
4977 control method that is holding the global lock can now simultaneously 
4978 access 
4979 AML fields that require global lock protection. Previously, in both cases, 
4980 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
4981 to 
4982 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
4983 Controller. There is no change to the behavior of the AML Acquire 
4984 operator, 
4985 as this can already be used to acquire a mutex multiple times by the same 
4986 thread. BZ 8066. With assistance from Alexey Starikovskiy.
4987
4988 Fixed a problem where invalid objects could be referenced in the AML 
4989 Interpreter after error conditions. During operand evaluation, ensure that 
4990 the internal "Return Object" field is cleared on error and only valid 
4991 pointers are stored there. Caused occasional access to deleted objects 
4992 that 
4993 resulted in "large reference count" warning messages. Valery Podrezov.
4994
4995 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
4996 on 
4997 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
4998 Podrezov.
4999
5000 Fixed an internal problem with the handling of result objects on the 
5001 interpreter result stack. BZ 7872. Valery Podrezov.
5002
5003 Removed obsolete code that handled the case where AML_NAME_OP is the 
5004 target 
5005 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
5006 7874. Valery Podrezov.
5007
5008 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was 
5009
5010 remnant from the previously discontinued 16-bit support.
5011
5012 Example Code and Data Size: These are the sizes for the OS-independent 
5013 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5014 debug version of the code includes the debug output trace mechanism and 
5015 has 
5016 a much larger code and data size.
5017
5018   Previous Release:
5019     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5020     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5021   Current Release:
5022     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5023     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5024
5025 ----------------------------------------
5026 26 January 2007. Summary of changes for version 20070126:
5027
5028 1) ACPI CA Core Subsystem:
5029
5030 Added the 2007 copyright to all module headers and signons. This affects 
5031 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
5032 the utilities.
5033
5034 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
5035 during a table load. A bad pointer was passed in the case where the DSDT 
5036 is 
5037 overridden, causing a fault in this case.
5038
5039 Example Code and Data Size: These are the sizes for the OS-independent 
5040 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5041 debug version of the code includes the debug output trace mechanism and 
5042 has 
5043 a much larger code and data size.
5044
5045   Previous Release:
5046     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5047     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5048   Current Release:
5049     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5050     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5051
5052 ----------------------------------------
5053 15 December 2006. Summary of changes for version 20061215:
5054
5055 1) ACPI CA Core Subsystem:
5056
5057 Support for 16-bit ACPICA has been completely removed since it is no 
5058 longer 
5059 necessary and it clutters the code. All 16-bit macros, types, and 
5060 conditional compiles have been removed, cleaning up and simplifying the 
5061 code 
5062 across the entire subsystem. DOS support is no longer needed since the 
5063 bootable Linux firmware kit is now available.
5064
5065 The handler for the Global Lock is now removed during AcpiTerminate to 
5066 enable a clean subsystem restart, via the implementation of the 
5067 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
5068 HP)
5069
5070 Implemented enhancements to the multithreading support within the debugger 
5071 to enable improved multithreading debugging and evaluation of the 
5072 subsystem. 
5073 (Valery Podrezov)
5074
5075 Debugger: Enhanced the Statistics/Memory command to emit the total 
5076 (maximum) 
5077 memory used during the execution, as well as the maximum memory consumed 
5078 by 
5079 each of the various object types. (Valery Podrezov)
5080
5081 Example Code and Data Size: These are the sizes for the OS-independent 
5082 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5083 debug version of the code includes the debug output trace mechanism and 
5084 has 
5085 a much larger code and data size.
5086
5087   Previous Release:
5088     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5089     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5090   Current Release:
5091     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5092     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5093
5094
5095 2) iASL Compiler/Disassembler and Tools:
5096
5097 AcpiExec: Implemented a new option (-m) to display full memory use 
5098 statistics upon subsystem/program termination. (Valery Podrezov)
5099
5100 ----------------------------------------
5101 09 November 2006. Summary of changes for version 20061109:
5102
5103 1) ACPI CA Core Subsystem:
5104
5105 Optimized the Load ASL operator in the case where the source operand is an 
5106 operation region. Simply map the operation region memory, instead of 
5107 performing a bytewise read. (Region must be of type SystemMemory, see 
5108 below.)
5109
5110 Fixed the Load ASL operator for the case where the source operand is a 
5111 region field. A buffer object is also allowed as the source operand. BZ 
5112 480
5113
5114 Fixed a problem where the Load ASL operator allowed the source operand to 
5115 be 
5116 an operation region of any type. It is now restricted to regions of type 
5117 SystemMemory, as per the ACPI specification. BZ 481
5118
5119 Additional cleanup and optimizations for the new Table Manager code.
5120
5121 AcpiEnable will now fail if all of the required ACPI tables are not loaded 
5122 (FADT, FACS, DSDT). BZ 477
5123
5124 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
5125 this 
5126 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
5127 manually optimized to be aligned and will not work if it is byte-packed. 
5128
5129 Example Code and Data Size: These are the sizes for the OS-independent 
5130 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5131 debug version of the code includes the debug output trace mechanism and 
5132 has 
5133 a much larger code and data size.
5134
5135   Previous Release:
5136     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5137     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5138   Current Release:
5139     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5140     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5141
5142
5143 2) iASL Compiler/Disassembler and Tools:
5144
5145 Fixed a problem where the presence of the _OSI predefined control method 
5146 within complex expressions could cause an internal compiler error.
5147
5148 AcpiExec: Implemented full region support for multiple address spaces. 
5149 SpaceId is now part of the REGION object. BZ 429
5150
5151 ----------------------------------------
5152 11 October 2006. Summary of changes for version 20061011:
5153
5154 1) ACPI CA Core Subsystem:
5155
5156 Completed an AML interpreter performance enhancement for control method 
5157 execution. Previously a 2-pass parse/execution, control methods are now 
5158 completely parsed and executed in a single pass. This improves overall 
5159 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
5160 use. (Valery Podrezov + interpreter changes in version 20051202 that 
5161 eliminated namespace loading during the pass one parse.)
5162
5163 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
5164 not 
5165 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
5166 now 
5167 obtained and also checked for an ID match.
5168
5169 Implemented additional support for the PCI _ADR execution: upsearch until 
5170
5171 device scope is found before executing _ADR. This allows PCI_Config 
5172 operation regions to be declared locally within control methods underneath 
5173 PCI device objects.
5174
5175 Fixed a problem with a possible race condition between threads executing 
5176 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
5177 modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
5178 entries created during any concurrent control method execution. An 
5179 additional namespace race condition is known to exist between 
5180 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
5181 investigation.
5182
5183 Restructured the AML ParseLoop function, breaking it into several 
5184 subfunctions in order to reduce CPU stack use and improve maintainability. 
5185 (Mikhail Kouzmich)
5186
5187 AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
5188 of prefix handle and pathname. BZ 478
5189
5190 Example Code and Data Size: These are the sizes for the OS-independent 
5191 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5192 debug version of the code includes the debug output trace mechanism and 
5193 has 
5194 a much larger code and data size.
5195
5196   Previous Release:
5197     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5198     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
5199   Current Release:
5200     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5201     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5202
5203 2) iASL Compiler/Disassembler and Tools:
5204
5205 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
5206 Manager 
5207 to restore original behavior.
5208
5209 ----------------------------------------
5210 27 September 2006. Summary of changes for version 20060927:
5211
5212 1) ACPI CA Core Subsystem:
5213
5214 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
5215 These functions now use a spinlock for mutual exclusion and the interrupt 
5216 level indication flag is not needed.
5217
5218 Fixed a problem with the Global Lock where the lock could appear to be 
5219 obtained before it is actually obtained. The global lock semaphore was 
5220 inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
5221 Suietov.
5222
5223 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
5224 during 
5225 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
5226
5227 Example Code and Data Size: These are the sizes for the OS-independent 
5228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5229 debug version of the code includes the debug output trace mechanism and 
5230 has 
5231 a much larger code and data size.
5232
5233   Previous Release:
5234     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5235     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
5236   Current Release:
5237     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5238     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
5239
5240
5241 2) iASL Compiler/Disassembler and Tools:
5242
5243 Fixed a compilation problem with the pre-defined Resource Descriptor field 
5244 names where an "object does not exist" error could be incorrectly 
5245 generated 
5246 if the parent ResourceTemplate pathname places the template within a 
5247 different namespace scope than the current scope. (BZ 7212)
5248
5249 Fixed a problem where the compiler could hang after syntax errors detected 
5250 in an ElseIf construct. (BZ 453)
5251
5252 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
5253 operator. An incorrect output filename was produced when this parameter 
5254 was 
5255 a null string (""). Now, the original input filename is used as the AML 
5256 output filename, with an ".aml" extension.
5257
5258 Implemented a generic batch command mode for the AcpiExec utility (execute 
5259 any AML debugger command) (Valery Podrezov).
5260
5261 ----------------------------------------
5262 12 September 2006. Summary of changes for version 20060912:
5263
5264 1) ACPI CA Core Subsystem:
5265
5266 Enhanced the implementation of the "serialized mode" of the interpreter 
5267 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
5268 specified, instead of creating a serialization semaphore per control 
5269 method, 
5270 the interpreter lock is simply no longer released before a blocking 
5271 operation during control method execution. This effectively makes the AML 
5272 Interpreter single-threaded. The overhead of a semaphore per-method is 
5273 eliminated.
5274
5275 Fixed a regression where an error was no longer emitted if a control 
5276 method 
5277 attempts to create 2 objects of the same name. This once again returns 
5278 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
5279 that 
5280 will dynamically serialize the control method to possible prevent future 
5281 errors. (BZ 440)
5282
5283 Integrated a fix for a problem with PCI Express HID detection in the PCI 
5284 Config Space setup procedure. (BZ 7145)
5285
5286 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
5287 AcpiHwInitialize function - the FADT registers are now validated when the 
5288 table is loaded.
5289
5290 Added two new warnings during FADT verification - 1) if the FADT is larger 
5291 than the largest known FADT version, and 2) if there is a mismatch between 
5292
5293 32-bit block address and the 64-bit X counterpart (when both are non-
5294 zero.)
5295
5296 Example Code and Data Size: These are the sizes for the OS-independent 
5297 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5298 debug version of the code includes the debug output trace mechanism and 
5299 has 
5300 a much larger code and data size.
5301
5302   Previous Release:
5303     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
5304     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
5305   Current Release:
5306     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5307     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
5308
5309
5310 2) iASL Compiler/Disassembler and Tools:
5311
5312 Fixed a problem with the implementation of the Switch() operator where the 
5313 temporary variable was declared too close to the actual Switch, instead of 
5314 at method level. This could cause a problem if the Switch() operator is 
5315 within a while loop, causing an error on the second iteration. (BZ 460)
5316
5317 Disassembler - fix for error emitted for unknown type for target of scope 
5318 operator. Now, ignore it and continue.
5319
5320 Disassembly of an FADT now verifies the input FADT and reports any errors 
5321 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
5322
5323 Disassembly of raw data buffers with byte initialization data now prefixes 
5324 each output line with the current buffer offset.
5325
5326 Disassembly of ASF! table now includes all variable-length data fields at 
5327 the end of some of the subtables.
5328
5329 The disassembler now emits a comment if a buffer appears to be a 
5330 ResourceTemplate, but cannot be disassembled as such because the EndTag 
5331 does 
5332 not appear at the very end of the buffer.
5333
5334 AcpiExec - Added the "-t" command line option to enable the serialized 
5335 mode 
5336 of the AML interpreter.
5337
5338 ----------------------------------------
5339 31 August 2006. Summary of changes for version 20060831:
5340
5341 1) ACPI CA Core Subsystem:
5342
5343 Miscellaneous fixes for the Table Manager:
5344 - Correctly initialize internal common FADT for all 64-bit "X" fields
5345 - Fixed a couple table mapping issues during table load
5346 - Fixed a couple alignment issues for IA64
5347 - Initialize input array to zero in AcpiInitializeTables
5348 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
5349 AcpiGetTableByIndex
5350
5351 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
5352 now 
5353 immediately disabled to prevent the waking GPE from firing again and to 
5354 prevent other wake GPEs from interrupting the wake process.
5355
5356 Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
5357 be used for debugging systems with a large number of ACPI interrupts.
5358
5359 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
5360 both the ACPICA headers and the disassembler.
5361
5362 Example Code and Data Size: These are the sizes for the OS-independent 
5363 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5364 debug version of the code includes the debug output trace mechanism and 
5365 has 
5366 a much larger code and data size.
5367
5368   Previous Release:
5369     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
5370     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
5371   Current Release:
5372     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
5373     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
5374
5375
5376 2) iASL Compiler/Disassembler and Tools:
5377
5378 Disassembler support for the DMAR ACPI table.
5379
5380 ----------------------------------------
5381 23 August 2006. Summary of changes for version 20060823:
5382
5383 1) ACPI CA Core Subsystem:
5384
5385 The Table Manager component has been completely redesigned and 
5386 reimplemented. The new design is much simpler, and reduces the overall 
5387 code 
5388 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
5389 is 
5390 now possible to obtain the ACPI tables very early during kernel 
5391 initialization, even before dynamic memory management is initialized. 
5392 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
5393
5394 Obsolete ACPICA interfaces:
5395
5396 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
5397 init 
5398 time).
5399 - AcpiLoadTable: Not needed.
5400 - AcpiUnloadTable: Not needed.
5401
5402 New ACPICA interfaces:
5403
5404 - AcpiInitializeTables: Must be called before the table manager can be 
5405 used.
5406 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
5407 allocated memory after it becomes available.
5408 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
5409 in the RSDT/XSDT.
5410
5411 Other ACPICA changes:
5412
5413 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
5414 Use 
5415 AcpiOsUnmapMemory to free this mapping.
5416 - AcpiGetTable returns the actual mapped table. The mapping is managed 
5417 internally and must not be deleted by the caller. Use of this interface 
5418 causes no additional dynamic memory allocation.
5419 - AcpiFindRootPointer: Support for physical addressing has been 
5420 eliminated, 
5421 it appeared to be unused.
5422 - The interface to AcpiOsMapMemory has changed to be consistent with the 
5423 other allocation interfaces.
5424 - The interface to AcpiOsGetRootPointer has changed to eliminate 
5425 unnecessary 
5426 parameters.
5427 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
5428 bit platforms. Was previously 64 bits on all platforms.
5429 - The interface to the ACPI Global Lock acquire/release macros have 
5430 changed 
5431 slightly since ACPICA no longer keeps a local copy of the FACS with a 
5432 constructed pointer to the actual global lock.
5433
5434 Porting to the new table manager:
5435
5436 - AcpiInitializeTables: Must be called once, and can be called anytime 
5437 during the OS initialization process. It allows the host to specify an 
5438 area 
5439 of memory to be used to store the internal version of the RSDT/XSDT (root 
5440 table). This allows the host to access ACPI tables before memory 
5441 management 
5442 is initialized and running.
5443 - AcpiReallocateRootTable: Can be called after memory management is 
5444 running 
5445 to copy the root table to a dynamically allocated array, freeing up the 
5446 scratch memory specified in the call to AcpiInitializeTables.
5447 - AcpiSubsystemInitialize: This existing interface is independent of the 
5448 Table Manager, and does not have to be called before the Table Manager can 
5449 be used, it only must be called before the rest of ACPICA can be used.
5450 - ACPI Tables: Some changes have been made to the names and structure of 
5451 the 
5452 actbl.h and actbl1.h header files and may require changes to existing 
5453 code. 
5454 For example, bitfields have been completely removed because of their lack 
5455 of 
5456 portability across C compilers.
5457 - Update interfaces to the Global Lock acquire/release macros if local 
5458 versions are used. (see acwin.h)
5459
5460 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
5461
5462 New files: tbfind.c
5463
5464 Example Code and Data Size: These are the sizes for the OS-independent 
5465 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5466 debug version of the code includes the debug output trace mechanism and 
5467 has 
5468 a much larger code and data size.
5469
5470   Previous Release:
5471     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5472     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5473   Current Release:
5474     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
5475     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
5476
5477
5478 2) iASL Compiler/Disassembler and Tools:
5479
5480 No changes for this release.
5481
5482 ----------------------------------------
5483 21 July 2006. Summary of changes for version 20060721:
5484
5485 1) ACPI CA Core Subsystem:
5486
5487 The full source code for the ASL test suite used to validate the iASL 
5488 compiler and the ACPICA core subsystem is being released with the ACPICA 
5489 source for the first time. The source is contained in a separate package 
5490 and 
5491 consists of over 1100 files that exercise all ASL/AML operators. The 
5492 package 
5493 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
5494 Suietov)
5495
5496 Completed a new design and implementation for support of the ACPI Global 
5497 Lock. On the OS side, the global lock is now treated as a standard AML 
5498 mutex. Previously, multiple OS threads could "acquire" the global lock 
5499 simultaneously. However, this could cause the BIOS to be starved out of 
5500 the 
5501 lock - especially in cases such as the Embedded Controller driver where 
5502 there is a tight coupling between the OS and the BIOS.
5503
5504 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
5505 The Global Lock interrupt handler no longer queues the execution of a 
5506 separate thread to signal the global lock semaphore. Instead, the 
5507 semaphore 
5508 is signaled directly from the interrupt handler.
5509
5510 Implemented support within the AML interpreter for package objects that 
5511 contain a larger AML length (package list length) than the package element 
5512 count. In this case, the length of the package is truncated to match the 
5513 package element count. Some BIOS code apparently modifies the package 
5514 length 
5515 on the fly, and this change supports this behavior. Provides compatibility 
5516 with the MS AML interpreter. (With assistance from Fiodor Suietov)
5517
5518 Implemented a temporary fix for the BankValue parameter of a Bank Field to 
5519 support all constant values, now including the Zero and One opcodes. 
5520 Evaluation of this parameter must eventually be converted to a full 
5521 TermArg 
5522 evaluation. A not-implemented error is now returned (temporarily) for non-
5523 constant values for this parameter.
5524
5525 Fixed problem reports (Fiodor Suietov) integrated:
5526 - Fix for premature object deletion after CopyObject on Operation Region 
5527 (BZ 
5528 350)
5529
5530 Example Code and Data Size: These are the sizes for the OS-independent 
5531 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5532 debug version of the code includes the debug output trace mechanism and 
5533 has 
5534 a much larger code and data size.
5535
5536   Previous Release:
5537     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
5538     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
5539   Current Release:
5540     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5541     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5542
5543
5544 2) iASL Compiler/Disassembler and Tools:
5545
5546 No changes for this release.
5547
5548 ----------------------------------------
5549 07 July 2006. Summary of changes for version 20060707:
5550
5551 1) ACPI CA Core Subsystem:
5552
5553 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
5554 that do not allow the initialization of address pointers within packed 
5555 structures - even though the hardware itself may support misaligned 
5556 transfers. Some of the debug data structures are packed by default to 
5557 minimize size.
5558
5559 Added an error message for the case where AcpiOsGetThreadId() returns 
5560 zero. 
5561 A non-zero value is required by the core ACPICA code to ensure the proper 
5562 operation of AML mutexes and recursive control methods.
5563
5564 The DSDT is now the only ACPI table that determines whether the AML 
5565 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
5566 but 
5567 the hooks for per-table 32/64 switching have been removed from the code. A 
5568 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
5569
5570 Fixed a possible leak of an OwnerID in the error path of 
5571 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
5572 deletion to a single place in AcpiTbUninstallTable to correct possible 
5573 leaks 
5574 when using the AcpiTbDeleteTablesByType interface (with assistance from 
5575 Lance Ortiz.)
5576
5577 Fixed a problem with Serialized control methods where the semaphore 
5578 associated with the method could be over-signaled after multiple method 
5579 invocations.
5580
5581 Fixed two issues with the locking of the internal namespace data 
5582 structure. 
5583 Both the Unload() operator and AcpiUnloadTable interface now lock the 
5584 namespace during the namespace deletion associated with the table unload 
5585 (with assistance from Linn Crosetto.)
5586
5587 Fixed problem reports (Valery Podrezov) integrated:
5588 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
5589
5590 Fixed problem reports (Fiodor Suietov) integrated:
5591 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
5592 - On Address Space handler deletion, needless deactivation call (BZ 374)
5593 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
5594 - Possible memory leak, Notify sub-objects of Processor, Power, 
5595 ThermalZone 
5596 (BZ 376)
5597 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
5598 - Minimum Length of RSDT should be validated (BZ 379)
5599 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
5600 Handler (BZ (380)
5601 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
5602 loaded 
5603 (BZ 381)
5604
5605 Example Code and Data Size: These are the sizes for the OS-independent 
5606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5607 debug version of the code includes the debug output trace mechanism and 
5608 has 
5609 a much larger code and data size.
5610
5611   Previous Release:
5612     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
5613     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
5614   Current Release:
5615     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5616     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5617
5618
5619 2) iASL Compiler/Disassembler and Tools:
5620
5621 Fixed problem reports:
5622 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
5623 436)
5624
5625 ----------------------------------------
5626 23 June 2006. Summary of changes for version 20060623:
5627
5628 1) ACPI CA Core Subsystem:
5629
5630 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
5631 allows the type to be customized to the host OS for improved efficiency 
5632 (since a spinlock is usually a very small object.)
5633
5634 Implemented support for "ignored" bits in the ACPI registers. According to 
5635 the ACPI specification, these bits should be preserved when writing the 
5636 registers via a read/modify/write cycle. There are 3 bits preserved in 
5637 this 
5638 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
5639
5640 Implemented the initial deployment of new OSL mutex interfaces. Since some 
5641 host operating systems have separate mutex and semaphore objects, this 
5642 feature was requested. The base code now uses mutexes (and the new mutex 
5643 interfaces) wherever a binary semaphore was used previously. However, for 
5644 the current release, the mutex interfaces are defined as macros to map 
5645 them 
5646 to the existing semaphore interfaces. Therefore, no OSL changes are 
5647 required 
5648 at this time. (See acpiosxf.h)
5649
5650 Fixed several problems with the support for the control method SyncLevel 
5651 parameter. The SyncLevel now works according to the ACPI specification and 
5652 in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
5653 is a property of the executing thread. Mutual exclusion for control 
5654 methods 
5655 is now implemented with a mutex instead of a semaphore.
5656
5657 Fixed three instances of the use of the C shift operator in the bitfield 
5658 support code (exfldio.c) to avoid the use of a shift value larger than the 
5659 target data width. The behavior of C compilers is undefined in this case 
5660 and 
5661 can cause unpredictable results, and therefore the case must be detected 
5662 and 
5663 avoided. (Fiodor Suietov)
5664
5665 Added an info message whenever an SSDT or OEM table is loaded dynamically 
5666 via the Load() or LoadTable() ASL operators. This should improve debugging 
5667 capability since it will show exactly what tables have been loaded (beyond 
5668 the tables present in the RSDT/XSDT.)
5669
5670 Example Code and Data Size: These are the sizes for the OS-independent 
5671 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5672 debug version of the code includes the debug output trace mechanism and 
5673 has 
5674 a much larger code and data size.
5675
5676   Previous Release:
5677     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
5678     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
5679   Current Release:
5680     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
5681     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
5682
5683
5684 2) iASL Compiler/Disassembler and Tools:
5685
5686 No changes for this release.
5687
5688 ----------------------------------------
5689 08 June 2006. Summary of changes for version 20060608:
5690
5691 1) ACPI CA Core Subsystem:
5692
5693 Converted the locking mutex used for the ACPI hardware to a spinlock. This 
5694 change should eliminate all problems caused by attempting to acquire a 
5695 semaphore at interrupt level, and it means that all ACPICA external 
5696 interfaces that directly access the ACPI hardware can be safely called 
5697 from 
5698 interrupt level. OSL code that implements the semaphore interfaces should 
5699 be 
5700 able to eliminate any workarounds for being called at interrupt level.
5701
5702 Fixed a regression introduced in 20060526 where the ACPI device 
5703 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
5704 device 
5705 did not have an optional _INI method.
5706
5707 Fixed an IndexField issue where a write to the Data Register should be 
5708 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
5709 433, 
5710 Fiodor Suietov)
5711
5712 Fixed problem reports (Valery Podrezov) integrated:
5713 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
5714
5715 Fixed problem reports (Fiodor Suietov) integrated:
5716 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
5717
5718 Removed four global mutexes that were obsolete and were no longer being 
5719 used.
5720
5721 Example Code and Data Size: These are the sizes for the OS-independent 
5722 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5723 debug version of the code includes the debug output trace mechanism and 
5724 has 
5725 a much larger code and data size.
5726
5727   Previous Release:
5728     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
5729     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
5730   Current Release:
5731     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
5732     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
5733
5734
5735 2) iASL Compiler/Disassembler and Tools:
5736
5737 Fixed a fault when using -g option (get tables from registry) on Windows 
5738 machines.
5739
5740 Fixed problem reports integrated:
5741 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
5742 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
5743 Suietov)
5744 - Global table revision override (-r) is ignored (BZ 413)
5745
5746 ----------------------------------------
5747 26 May 2006. Summary of changes for version 20060526:
5748
5749 1) ACPI CA Core Subsystem:
5750
5751 Restructured, flattened, and simplified the internal interfaces for 
5752 namespace object evaluation - resulting in smaller code, less CPU stack 
5753 use, 
5754 and fewer interfaces. (With assistance from Mikhail Kouzmich)
5755
5756 Fixed a problem with the CopyObject operator where the first parameter was 
5757 not typed correctly for the parser, interpreter, compiler, and 
5758 disassembler. 
5759 Caused various errors and unexpected behavior.
5760
5761 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
5762 produced incorrect results with some C compilers. Since the behavior of C 
5763 compilers when the shift value is larger than the datatype width is 
5764 apparently not well defined, the interpreter now detects this condition 
5765 and 
5766 simply returns zero as expected in all such cases. (BZ 395)
5767
5768 Fixed problem reports (Valery Podrezov) integrated:
5769 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
5770 - Allow interpreter to handle nested method declarations (BZ 5361)
5771
5772 Fixed problem reports (Fiodor Suietov) integrated:
5773 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
5774 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
5775 356)
5776 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
5777 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
5778 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
5779 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
5780 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
5781 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
5782 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
5783 365)
5784 - Status of the Global Initialization Handler call not used (BZ 366)
5785 - Incorrect object parameter to Global Initialization Handler (BZ 367)
5786
5787 Example Code and Data Size: These are the sizes for the OS-independent 
5788 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5789 debug version of the code includes the debug output trace mechanism and 
5790 has 
5791 a much larger code and data size.
5792
5793   Previous Release:
5794     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
5795     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
5796   Current Release:
5797     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
5798     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
5799
5800
5801 2) iASL Compiler/Disassembler and Tools:
5802
5803 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
5804 namespace identifiers with no collision with existing resource descriptor 
5805 macro names. This provides compatibility with other ASL compilers and is 
5806 most useful for disassembly/recompilation of existing tables without parse 
5807 errors. (With assistance from Thomas Renninger)
5808
5809 Disassembler: fixed an incorrect disassembly problem with the 
5810 DataTableRegion and CopyObject operators. Fixed a possible fault during 
5811 disassembly of some Alias operators.
5812
5813 ----------------------------------------
5814 12 May 2006. Summary of changes for version 20060512:
5815
5816 1) ACPI CA Core Subsystem:
5817
5818 Replaced the AcpiOsQueueForExecution interface with a new interface named 
5819 AcpiOsExecute. The major difference is that the new interface does not 
5820 have 
5821 a Priority parameter, this appeared to be useless and has been replaced by 
5822
5823 Type parameter. The Type tells the host what type of execution is being 
5824 requested, such as global lock handler, notify handler, GPE handler, etc. 
5825 This allows the host to queue and execute the request as appropriate for 
5826 the 
5827 request type, possibly using different work queues and different 
5828 priorities 
5829 for the various request types. This enables fixes for multithreading 
5830 deadlock problems such as BZ #5534, and will require changes to all 
5831 existing 
5832 OS interface layers. (Alexey Starikovskiy and Bob Moore)
5833
5834 Fixed a possible memory leak associated with the support for the so-called 
5835 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
5836 Suietov)
5837
5838 Fixed a problem with the Load() operator where a table load from an 
5839 operation region could overwrite an internal table buffer by up to 7 bytes 
5840 and cause alignment faults on IPF systems. (With assistance from Luming 
5841 Yu)
5842
5843 Example Code and Data Size: These are the sizes for the OS-independent 
5844 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5845 debug version of the code includes the debug output trace mechanism and 
5846 has 
5847 a much larger code and data size.
5848
5849   Previous Release:
5850     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
5851     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
5852   Current Release:
5853     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
5854     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
5855
5856
5857
5858 2) iASL Compiler/Disassembler and Tools:
5859
5860 Disassembler: Implemented support to cross reference the internal 
5861 namespace 
5862 and automatically generate ASL External() statements for symbols not 
5863 defined 
5864 within the current table being disassembled. This will simplify the 
5865 disassembly and recompilation of interdependent tables such as SSDTs since 
5866 these statements will no longer have to be added manually.
5867
5868 Disassembler: Implemented experimental support to automatically detect 
5869 invocations of external control methods and generate appropriate 
5870 External() 
5871 statements. This is problematic because the AML cannot be correctly parsed 
5872 until the number of arguments for each control method is known. Currently, 
5873 standalone method invocations and invocations as the source operand of a 
5874 Store() statement are supported.
5875
5876 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
5877 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
5878 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
5879 more readable and likely closer to the original ASL source.
5880
5881 ----------------------------------------
5882 21 April 2006. Summary of changes for version 20060421:
5883
5884 1) ACPI CA Core Subsystem:
5885
5886 Removed a device initialization optimization introduced in 20051216 where 
5887 the _STA method was not run unless an _INI was also present for the same 
5888 device. This optimization could cause problems because it could allow _INI 
5889 methods to be run within a not-present device subtree. (If a not-present 
5890 device had no _INI, _STA would not be run, the not-present status would 
5891 not 
5892 be discovered, and the children of the device would be incorrectly 
5893 traversed.)
5894
5895 Implemented a new _STA optimization where namespace subtrees that do not 
5896 contain _INI are identified and ignored during device initialization. 
5897 Selectively running _STA can significantly improve boot time on large 
5898 machines (with assistance from Len Brown.)
5899
5900 Implemented support for the device initialization case where the returned 
5901 _STA flags indicate a device not-present but functioning. In this case, 
5902 _INI 
5903 is not run, but the device children are examined for presence, as per the 
5904 ACPI specification.
5905
5906 Implemented an additional change to the IndexField support in order to 
5907 conform to MS behavior. The value written to the Index Register is not 
5908 simply a byte offset, it is a byte offset in units of the access width of 
5909 the parent Index Field. (Fiodor Suietov)
5910
5911 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
5912 interface is called during the creation of all AML operation regions, and 
5913 allows the host OS to exert control over what addresses it will allow the 
5914 AML code to access. Operation Regions whose addresses are disallowed will 
5915 cause a runtime exception when they are actually accessed (will not affect 
5916 or abort table loading.) See oswinxf or osunixxf for an example 
5917 implementation.
5918
5919 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
5920 interface allows the host OS to match the various "optional" 
5921 interface/behavior strings for the _OSI predefined control method as 
5922 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
5923 for an example implementation.
5924
5925 Restructured and corrected various problems in the exception handling code 
5926 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
5927 (with assistance from Takayoshi Kochi.)
5928
5929 Modified the Linux source converter to ignore quoted string literals while 
5930 converting identifiers from mixed to lower case. This will correct 
5931 problems 
5932 with the disassembler and other areas where such strings must not be 
5933 modified.
5934
5935 The ACPI_FUNCTION_* macros no longer require quotes around the function 
5936 name. This allows the Linux source converter to convert the names, now 
5937 that 
5938 the converter ignores quoted strings.
5939
5940 Example Code and Data Size: These are the sizes for the OS-independent 
5941 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5942 debug version of the code includes the debug output trace mechanism and 
5943 has 
5944 a much larger code and data size.
5945
5946   Previous Release:
5947
5948     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
5949     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
5950   Current Release:
5951     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
5952     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
5953
5954
5955 2) iASL Compiler/Disassembler and Tools:
5956
5957 Implemented 3 new warnings for iASL, and implemented multiple warning 
5958 levels 
5959 (w2 flag).
5960
5961 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
5962 not 
5963 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
5964 check for the possible timeout, a warning is issued.
5965
5966 2) Useless operators: If an ASL operator does not specify an optional 
5967 target 
5968 operand and it also does not use the function return value from the 
5969 operator, a warning is issued since the operator effectively does nothing.
5970
5971 3) Unreferenced objects: If a namespace object is created, but never 
5972 referenced, a warning is issued. This is a warning level 2 since there are 
5973 cases where this is ok, such as when a secondary table is loaded that uses 
5974 the unreferenced objects. Even so, care is taken to only flag objects that 
5975 don't look like they will ever be used. For example, the reserved methods 
5976 (starting with an underscore) are usually not referenced because it is 
5977 expected that the OS will invoke them.
5978
5979 ----------------------------------------
5980 31 March 2006. Summary of changes for version 20060331:
5981
5982 1) ACPI CA Core Subsystem:
5983
5984 Implemented header file support for the following additional ACPI tables: 
5985 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
5986 support, 
5987 all current and known ACPI tables are now defined in the ACPICA headers 
5988 and 
5989 are available for use by device drivers and other software.
5990
5991 Implemented support to allow tables that contain ACPI names with invalid 
5992 characters to be loaded. Previously, this would cause the table load to 
5993 fail, but since there are several known cases of such tables on existing 
5994 machines, this change was made to enable ACPI support for them. Also, this 
5995 matches the behavior of the Microsoft ACPI implementation.
5996
5997 Fixed a couple regressions introduced during the memory optimization in 
5998 the 
5999 20060317 release. The namespace node definition required additional 
6000 reorganization and an internal datatype that had been changed to 8-bit was 
6001 restored to 32-bit. (Valery Podrezov)
6002
6003 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
6004 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
6005 null pointers are now trapped and ignored, matching the behavior of the 
6006 previous implementation before the deployment of AcpiOsReleaseObject.
6007 (Valery Podrezov, Fiodor Suietov)
6008
6009 Fixed a memory mapping leak during the deletion of a SystemMemory 
6010 operation 
6011 region where a cached memory mapping was not deleted. This became a 
6012 noticeable problem for operation regions that are defined within 
6013 frequently 
6014 used control methods. (Dana Meyers)
6015
6016 Reorganized the ACPI table header files into two main files: one for the 
6017 ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
6018 ACPI tables that are consumed by the drivers and other software. The 
6019 various 
6020 FADT definitions were merged into one common section and three different 
6021 tables (ACPI 1.0, 1.0+, and 2.0)
6022
6023 Example Code and Data Size: These are the sizes for the OS-independent 
6024 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6025 debug version of the code includes the debug output trace mechanism and 
6026 has 
6027 a much larger code and data size.
6028
6029   Previous Release:
6030     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6031     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6032   Current Release:
6033     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6034     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6035
6036
6037 2) iASL Compiler/Disassembler and Tools:
6038
6039 Disassembler: Implemented support to decode and format all non-AML ACPI 
6040 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
6041 added to the ACPICA headers, therefore all current and known ACPI tables 
6042 are 
6043 supported.
6044
6045 Disassembler: The change to allow ACPI names with invalid characters also 
6046 enables the disassembly of such tables. Invalid characters within names 
6047 are 
6048 changed to '*' to make the name printable; the iASL compiler will still 
6049 generate an error for such names, however, since this is an invalid ACPI 
6050 character.
6051
6052 Implemented an option for AcpiXtract (-a) to extract all tables found in 
6053 the 
6054 input file. The default invocation extracts only the DSDTs and SSDTs.
6055
6056 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
6057 makefile for the AcpiXtract utility.
6058
6059 ----------------------------------------
6060 17 March 2006. Summary of changes for version 20060317:
6061
6062 1) ACPI CA Core Subsystem:
6063
6064 Implemented the use of a cache object for all internal namespace nodes. 
6065 Since there are about 1000 static nodes in a typical system, this will 
6066 decrease memory use for cache implementations that minimize per-allocation 
6067 overhead (such as a slab allocator.)
6068
6069 Removed the reference count mechanism for internal namespace nodes, since 
6070 it 
6071 was deemed unnecessary. This reduces the size of each namespace node by 
6072 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
6073 and 32 bytes for the 64-bit case.
6074
6075 Optimized several internal data structures to reduce object size on 64-bit 
6076 platforms by packing data within the 64-bit alignment. This includes the 
6077 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
6078 instances corresponding to the namespace objects.
6079
6080 Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
6081 and "Windows 2006".
6082
6083 Split the allocation tracking mechanism out to a separate file, from 
6084 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
6085 application-level code. Kernels may wish to not include uttrack.c in 
6086 distributions.
6087
6088 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
6089 associated 
6090 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
6091 macros.)
6092
6093 Code and Data Size: These are the sizes for the acpica.lib produced by the 
6094 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6095 ACPI 
6096 driver or OSPM code. The debug version of the code includes the debug 
6097 output 
6098 trace mechanism and has a much larger code and data size. Note that these 
6099 values will vary depending on the efficiency of the compiler and the 
6100 compiler options used during generation.
6101
6102   Previous Release:
6103     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6104     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6105   Current Release:
6106     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6107     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6108
6109
6110 2) iASL Compiler/Disassembler and Tools:
6111
6112 Implemented an ANSI C version of the acpixtract utility. This version will 
6113 automatically extract the DSDT and all SSDTs from the input acpidump text 
6114 file and dump the binary output to separate files. It can also display a 
6115 summary of the input file including the headers for each table found and 
6116 will extract any single ACPI table, with any signature. (See 
6117 source/tools/acpixtract)
6118
6119 ----------------------------------------
6120 10 March 2006. Summary of changes for version 20060310:
6121
6122 1) ACPI CA Core Subsystem:
6123
6124 Tagged all external interfaces to the subsystem with the new 
6125 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
6126 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
6127 macro. The default definition is NULL.
6128
6129 Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
6130 This allows the host to define this as necessary to simplify kernel 
6131 integration. The default definition is ACPI_NATIVE_UINT.
6132
6133 Fixed two interpreter problems related to error processing, the deletion 
6134 of 
6135 objects, and placing invalid pointers onto the internal operator result 
6136 stack. BZ 6028, 6151 (Valery Podrezov)
6137
6138 Increased the reference count threshold where a warning is emitted for 
6139 large 
6140 reference counts in order to eliminate unnecessary warnings on systems 
6141 with 
6142 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
6143 0x800.
6144
6145 Due to universal disagreement as to the meaning of the 'c' in the calloc() 
6146 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
6147 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
6148 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
6149 ACPI_FREE.
6150
6151 Code and Data Size: These are the sizes for the acpica.lib produced by the 
6152 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6153 ACPI 
6154 driver or OSPM code. The debug version of the code includes the debug 
6155 output 
6156 trace mechanism and has a much larger code and data size. Note that these 
6157 values will vary depending on the efficiency of the compiler and the 
6158 compiler options used during generation.
6159
6160   Previous Release:
6161     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
6162     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
6163   Current Release:
6164     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6165     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6166
6167
6168 2) iASL Compiler/Disassembler:
6169
6170 Disassembler: implemented support for symbolic resource descriptor 
6171 references. If a CreateXxxxField operator references a fixed offset within 
6172
6173 resource descriptor, a name is assigned to the descriptor and the offset 
6174 is 
6175 translated to the appropriate resource tag and pathname. The addition of 
6176 this support brings the disassembled code very close to the original ASL 
6177 source code and helps eliminate run-time errors when the disassembled code 
6178 is modified (and recompiled) in such a way as to invalidate the original 
6179 fixed offsets.
6180
6181 Implemented support for a Descriptor Name as the last parameter to the ASL 
6182 Register() macro. This parameter was inadvertently left out of the ACPI 
6183 specification, and will be added for ACPI 3.0b.
6184
6185 Fixed a problem where the use of the "_OSI" string (versus the full path 
6186 "\_OSI") caused an internal compiler error. ("No back ptr to op")
6187
6188 Fixed a problem with the error message that occurs when an invalid string 
6189 is 
6190 used for a _HID object (such as one with an embedded asterisk: 
6191 "*PNP010A".) 
6192 The correct message is now displayed.
6193
6194 ----------------------------------------
6195 17 February 2006. Summary of changes for version 20060217:
6196
6197 1) ACPI CA Core Subsystem:
6198
6199 Implemented a change to the IndexField support to match the behavior of 
6200 the 
6201 Microsoft AML interpreter. The value written to the Index register is now 
6202
6203 byte offset, no longer an index based upon the width of the Data register. 
6204 This should fix IndexField problems seen on some machines where the Data 
6205 register is not exactly one byte wide. The ACPI specification will be 
6206 clarified on this point.
6207
6208 Fixed a problem where several resource descriptor types could overrun the 
6209 internal descriptor buffer due to size miscalculation: VendorShort, 
6210 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
6211 affect all platforms.
6212
6213 Fixed a problem where individual resource descriptors were misaligned 
6214 within 
6215 the internal buffer, causing alignment faults on IA64 platforms.
6216
6217 Code and Data Size: These are the sizes for the acpica.lib produced by the 
6218 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6219 ACPI 
6220 driver or OSPM code. The debug version of the code includes the debug 
6221 output 
6222 trace mechanism and has a much larger code and data size. Note that these 
6223 values will vary depending on the efficiency of the compiler and the 
6224 compiler options used during generation.
6225
6226   Previous Release:
6227     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6228     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
6229   Current Release:
6230     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
6231     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
6232
6233
6234 2) iASL Compiler/Disassembler:
6235
6236 Implemented support for new reserved names: _WDG and _WED are Microsoft 
6237 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
6238 defined method (Throttling Depth Limit.)
6239
6240 Fixed a problem where a zero-length VendorShort or VendorLong resource 
6241 descriptor was incorrectly emitted as a descriptor of length one.
6242
6243 ----------------------------------------
6244 10 February 2006. Summary of changes for version 20060210:
6245
6246 1) ACPI CA Core Subsystem:
6247
6248 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
6249 normal execution. These became apparent after the conversion from 
6250 ACPI_DEBUG_PRINT.
6251
6252 Fixed a problem where the CreateField operator could hang if the BitIndex 
6253 or 
6254 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
6255
6256 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
6257 failed with an exception. This also fixes a couple of related RefOf and 
6258 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
6259
6260 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
6261 of 
6262 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
6263 BZ 
6264 5480)
6265
6266 Implemented a memory cleanup at the end of the execution of each iteration 
6267 of an AML While() loop, preventing the accumulation of outstanding 
6268 objects. 
6269 (Valery Podrezov, BZ 5427)
6270
6271 Eliminated a chunk of duplicate code in the object resolution code. 
6272 (Valery 
6273 Podrezov, BZ 5336)
6274
6275 Fixed several warnings during the 64-bit code generation.
6276
6277 The AcpiSrc source code conversion tool now inserts one line of whitespace 
6278 after an if() statement that is followed immediately by a comment, 
6279 improving 
6280 readability of the Linux code.
6281
6282 Code and Data Size: The current and previous library sizes for the core 
6283 subsystem are shown below. These are the code and data sizes for the 
6284 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6285 values do not include any ACPI driver or OSPM code. The debug version of 
6286 the 
6287 code includes the debug output trace mechanism and has a much larger code 
6288 and data size. Note that these values will vary depending on the 
6289 efficiency 
6290 of the compiler and the compiler options used during generation.
6291
6292   Previous Release:
6293     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
6294     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
6295   Current Release:
6296     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6297     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
6298
6299
6300 2) iASL Compiler/Disassembler:
6301
6302 Fixed a problem with the disassembly of a BankField operator with a 
6303 complex 
6304 expression for the BankValue parameter.
6305
6306 ----------------------------------------
6307 27 January 2006. Summary of changes for version 20060127:
6308
6309 1) ACPI CA Core Subsystem:
6310
6311 Implemented support in the Resource Manager to allow unresolved namestring 
6312 references within resource package objects for the _PRT method. This 
6313 support 
6314 is in addition to the previously implemented unresolved reference support 
6315 within the AML parser. If the interpreter slack mode is enabled, these 
6316 unresolved references will be passed through to the caller as a NULL 
6317 package 
6318 entry.
6319
6320 Implemented and deployed new macros and functions for error and warning 
6321 messages across the subsystem. These macros are simpler and generate less 
6322 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
6323 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
6324 macros remain defined to allow ACPI drivers time to migrate to the new 
6325 macros.
6326
6327 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
6328 Acquire/Release Lock OSL interfaces.
6329
6330 Fixed a problem where Alias ASL operators are sometimes not correctly 
6331 resolved, in both the interpreter and the iASL compiler.
6332
6333 Fixed several problems with the implementation of the 
6334 ConcatenateResTemplate 
6335 ASL operator. As per the ACPI specification, zero length buffers are now 
6336 treated as a single EndTag. One-length buffers always cause a fatal 
6337 exception. Non-zero length buffers that do not end with a full 2-byte 
6338 EndTag 
6339 cause a fatal exception.
6340
6341 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
6342 interface. (With assistance from Thomas Renninger)
6343
6344 Code and Data Size: The current and previous library sizes for the core 
6345 subsystem are shown below. These are the code and data sizes for the 
6346 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6347 values do not include any ACPI driver or OSPM code. The debug version of 
6348 the 
6349 code includes the debug output trace mechanism and has a much larger code 
6350 and data size. Note that these values will vary depending on the 
6351 efficiency 
6352 of the compiler and the compiler options used during generation.
6353
6354   Previous Release:
6355     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
6356     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
6357   Current Release:
6358     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
6359     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
6360
6361
6362 2) iASL Compiler/Disassembler:
6363
6364 Fixed an internal error that was generated for any forward references to 
6365 ASL 
6366 Alias objects.
6367
6368 ----------------------------------------
6369 13 January 2006. Summary of changes for version 20060113:
6370
6371 1) ACPI CA Core Subsystem:
6372
6373 Added 2006 copyright to all module headers and signons. This affects 
6374 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
6375 utilities.
6376  
6377 Enhanced the ACPICA error reporting in order to simplify user migration to 
6378 the non-debug version of ACPICA. Replaced all instances of the 
6379 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
6380 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
6381 respectively. This preserves all error and warning messages in the non-
6382 debug 
6383 version of the ACPICA code (this has been referred to as the "debug lite" 
6384 option.) Over 200 cases were converted to create a total of over 380 
6385 error/warning messages across the ACPICA code. This increases the code and 
6386 data size of the default non-debug version of the code somewhat (about 
6387 13K), 
6388 but all error/warning reporting may be disabled if desired (and code 
6389 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
6390 configuration option. The size of the debug version of ACPICA remains 
6391 about 
6392 the same.
6393
6394 Fixed a memory leak within the AML Debugger "Set" command. One object was 
6395 not properly deleted for every successful invocation of the command.
6396
6397 Code and Data Size: The current and previous library sizes for the core 
6398 subsystem are shown below. These are the code and data sizes for the 
6399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6400 values do not include any ACPI driver or OSPM code. The debug version of 
6401 the 
6402 code includes the debug output trace mechanism and has a much larger code 
6403 and data size. Note that these values will vary depending on the 
6404 efficiency 
6405 of the compiler and the compiler options used during generation.
6406
6407   Previous Release:
6408     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
6409     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
6410   Current Release:
6411     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
6412     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
6413
6414
6415 2) iASL Compiler/Disassembler:
6416
6417 The compiler now officially supports the ACPI 3.0a specification that was 
6418 released on December 30, 2005. (Specification is available at 
6419 www.acpi.info)
6420
6421 ----------------------------------------
6422 16 December 2005. Summary of changes for version 20051216:
6423
6424 1) ACPI CA Core Subsystem:
6425
6426 Implemented optional support to allow unresolved names within ASL Package 
6427 objects. A null object is inserted in the package when a named reference 
6428 cannot be located in the current namespace. Enabled via the interpreter 
6429 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
6430 that contain such code.
6431
6432 Implemented an optimization to the initialization sequence that can 
6433 improve 
6434 boot time. During ACPI device initialization, the _STA method is now run 
6435 if 
6436 and only if the _INI method exists. The _STA method is used to determine 
6437 if 
6438 the device is present; An _INI can only be run if _STA returns present, 
6439 but 
6440 it is a waste of time to run the _STA method if the _INI does not exist. 
6441 (Prototype and assistance from Dong Wei)
6442
6443 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
6444 is 
6445 available in the current compiler. Otherwise, the default (void *) cast is 
6446 used as before.
6447
6448 Fixed some possible memory leaks found within the execution path of the 
6449 Break, Continue, If, and CreateField operators. (Valery Podrezov)
6450
6451 Fixed a problem introduced in the 20051202 release where an exception is 
6452 generated during method execution if a control method attempts to declare 
6453 another method.
6454
6455 Moved resource descriptor string constants that are used by both the AML 
6456 disassembler and AML debugger to the common utilities directory so that 
6457 these components are independent.
6458
6459 Implemented support in the AcpiExec utility (-e switch) to globally ignore 
6460 exceptions during control method execution (method is not aborted.)
6461
6462 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
6463 generation.
6464
6465 Code and Data Size: The current and previous library sizes for the core 
6466 subsystem are shown below. These are the code and data sizes for the 
6467 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6468 values do not include any ACPI driver or OSPM code. The debug version of 
6469 the 
6470 code includes the debug output trace mechanism and has a much larger code 
6471 and data size. Note that these values will vary depending on the 
6472 efficiency 
6473 of the compiler and the compiler options used during generation.
6474
6475   Previous Release:
6476     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6477     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
6478   Current Release:
6479     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
6480     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
6481
6482
6483 2) iASL Compiler/Disassembler:
6484
6485 Fixed a problem where a CPU stack overflow fault could occur if a 
6486 recursive 
6487 method call was made from within a Return statement.
6488
6489 ----------------------------------------
6490 02 December 2005. Summary of changes for version 20051202:
6491
6492 1) ACPI CA Core Subsystem:
6493
6494 Modified the parsing of control methods to no longer create namespace 
6495 objects during the first pass of the parse. Objects are now created only 
6496 during the execute phase, at the moment the namespace creation operator is 
6497 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
6498 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
6499 reentrant control methods are protected by an AML mutex. The mutex will 
6500 now 
6501 correctly block multiple threads from attempting to create the same object 
6502 more than once.
6503
6504 Increased the number of available Owner Ids for namespace object tracking 
6505 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
6506 on 
6507 some machines with a large number of ACPI tables (either static or 
6508 dynamic).
6509
6510 Fixed a problem with the AcpiExec utility where a fault could occur when 
6511 the 
6512 -b switch (batch mode) is used.
6513
6514 Enhanced the namespace dump routine to output the owner ID for each 
6515 namespace object.
6516
6517 Code and Data Size: The current and previous library sizes for the core 
6518 subsystem are shown below. These are the code and data sizes for the 
6519 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6520 values do not include any ACPI driver or OSPM code. The debug version of 
6521 the 
6522 code includes the debug output trace mechanism and has a much larger code 
6523 and data size. Note that these values will vary depending on the 
6524 efficiency 
6525 of the compiler and the compiler options used during generation.
6526
6527   Previous Release:
6528     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6529     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6530   Current Release:
6531     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6532     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
6533
6534
6535 2) iASL Compiler/Disassembler:
6536
6537 Fixed a parse error during compilation of certain Switch/Case constructs. 
6538 To 
6539 simplify the parse, the grammar now allows for multiple Default statements 
6540 and this error is now detected and flagged during the analysis phase.
6541
6542 Disassembler: The disassembly now includes the contents of the original 
6543 table header within a comment at the start of the file. This includes the 
6544 name and version of the original ASL compiler.
6545
6546 ----------------------------------------
6547 17 November 2005. Summary of changes for version 20051117:
6548
6549 1) ACPI CA Core Subsystem:
6550
6551 Fixed a problem in the AML parser where the method thread count could be 
6552 decremented below zero if any errors occurred during the method parse 
6553 phase. 
6554 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
6555 machines. 
6556 This also fixed a related regression with the mechanism that detects and 
6557 corrects methods that cannot properly handle reentrancy (related to the 
6558 deployment of the new OwnerId mechanism.)
6559
6560 Eliminated the pre-parsing of control methods (to detect errors) during 
6561 table load. Related to the problem above, this was causing unwind issues 
6562 if 
6563 any errors occurred during the parse, and it seemed to be overkill. A 
6564 table 
6565 load should not be aborted if there are problems with any single control 
6566 method, thus rendering this feature rather pointless.
6567
6568 Fixed a problem with the new table-driven resource manager where an 
6569 internal 
6570 buffer overflow could occur for small resource templates.
6571
6572 Implemented a new external interface, AcpiGetVendorResource. This 
6573 interface 
6574 will find and return a vendor-defined resource descriptor within a _CRS or 
6575 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
6576 Helgaas.
6577
6578 Removed the length limit (200) on string objects as per the upcoming ACPI 
6579 3.0A specification. This affects the following areas of the interpreter: 
6580 1) 
6581 any implicit conversion of a Buffer to a String, 2) a String object result 
6582 of the ASL Concatentate operator, 3) the String object result of the ASL 
6583 ToString operator.
6584
6585 Fixed a problem in the Windows OS interface layer (OSL) where a 
6586 WAIT_FOREVER 
6587 on a semaphore object would incorrectly timeout. This allows the 
6588 multithreading features of the AcpiExec utility to work properly under 
6589 Windows.
6590
6591 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
6592 the recently added file named "utresrc.c".
6593
6594 Code and Data Size: The current and previous library sizes for the core 
6595 subsystem are shown below. These are the code and data sizes for the 
6596 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6597 values do not include any ACPI driver or OSPM code. The debug version of 
6598 the 
6599 code includes the debug output trace mechanism and has a much larger code 
6600 and data size. Note that these values will vary depending on the 
6601 efficiency 
6602 of the compiler and the compiler options used during generation.
6603
6604   Previous Release:
6605     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
6606     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6607   Current Release:
6608     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6609     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6610
6611
6612 2) iASL Compiler/Disassembler:
6613
6614 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
6615 specification. For the iASL compiler, this means that string literals 
6616 within 
6617 the source ASL can be of any length. 
6618
6619 Enhanced the listing output to dump the AML code for resource descriptors 
6620 immediately after the ASL code for each descriptor, instead of in a block 
6621 at 
6622 the end of the entire resource template.
6623
6624 Enhanced the compiler debug output to dump the entire original parse tree 
6625 constructed during the parse phase, before any transforms are applied to 
6626 the 
6627 tree. The transformed tree is dumped also.
6628
6629 ----------------------------------------
6630 02 November 2005. Summary of changes for version 20051102:
6631
6632 1) ACPI CA Core Subsystem:
6633
6634 Modified the subsystem initialization sequence to improve GPE support. The 
6635 GPE initialization has been split into two parts in order to defer 
6636 execution 
6637 of the _PRW methods (Power Resources for Wake) until after the hardware is 
6638 fully initialized and the SCI handler is installed. This allows the _PRW 
6639 methods to access fields protected by the Global Lock. This will fix 
6640 systems 
6641 where a NO_GLOBAL_LOCK exception has been seen during initialization.
6642
6643 Converted the ACPI internal object disassemble and display code within the 
6644 AML debugger to fully table-driven operation, reducing code size and 
6645 increasing maintainability.
6646
6647 Fixed a regression with the ConcatenateResTemplate() ASL operator 
6648 introduced 
6649 in the 20051021 release.
6650
6651 Implemented support for "local" internal ACPI object types within the 
6652 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
6653 These local types include RegionFields, BankFields, IndexFields, Alias, 
6654 and 
6655 reference objects.
6656
6657 Moved common AML resource handling code into a new file, "utresrc.c". This 
6658 code is shared by both the Resource Manager and the AML Debugger.
6659
6660 Code and Data Size: The current and previous library sizes for the core 
6661 subsystem are shown below. These are the code and data sizes for the 
6662 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6663 values do not include any ACPI driver or OSPM code. The debug version of 
6664 the 
6665 code includes the debug output trace mechanism and has a much larger code 
6666 and data size. Note that these values will vary depending on the 
6667 efficiency 
6668 of the compiler and the compiler options used during generation.
6669
6670   Previous Release:
6671     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
6672     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
6673   Current Release:
6674     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
6675     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6676
6677
6678 2) iASL Compiler/Disassembler:
6679
6680 Fixed a problem with very large initializer lists (more than 4000 
6681 elements) 
6682 for both Buffer and Package objects where the parse stack could overflow.
6683
6684 Enhanced the pre-compile source code scan for non-ASCII characters to 
6685 ignore 
6686 characters within comment fields. The scan is now always performed and is 
6687 no 
6688 longer optional, detecting invalid characters within a source file 
6689 immediately rather than during the parse phase or later.
6690
6691 Enhanced the ASL grammar definition to force early reductions on all list-
6692 style grammar elements so that the overall parse stack usage is greatly 
6693 reduced. This should improve performance and reduce the possibility of 
6694 parse 
6695 stack overflow.
6696
6697 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
6698 Also, 
6699 with the addition of a %expected statement, the compiler generates from 
6700 source with no warnings.
6701
6702 Fixed a possible segment fault in the disassembler if the input filename 
6703 does not contain a "dot" extension (Thomas Renninger).
6704
6705 ----------------------------------------
6706 21 October 2005. Summary of changes for version 20051021:
6707
6708 1) ACPI CA Core Subsystem:
6709
6710 Implemented support for the EM64T and other x86-64 processors. This 
6711 essentially entails recognizing that these processors support non-aligned 
6712 memory transfers. Previously, all 64-bit processors were assumed to lack 
6713 hardware support for non-aligned transfers.
6714
6715 Completed conversion of the Resource Manager to nearly full table-driven 
6716 operation. Specifically, the resource conversion code (convert AML to 
6717 internal format and the reverse) and the debug code to dump internal 
6718 resource descriptors are fully table-driven, reducing code and data size 
6719 and 
6720 improving maintainability.
6721
6722 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
6723 on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
6724 Alexey Starikovskiy)
6725
6726 Implemented support within the resource conversion code for the Type-
6727 Specific byte within the various ACPI 3.0 *WordSpace macros.
6728
6729 Fixed some issues within the resource conversion code for the type-
6730 specific 
6731 flags for both Memory and I/O address resource descriptors. For Memory, 
6732 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
6733 TTP flags into two separate fields.
6734
6735 Code and Data Size: The current and previous library sizes for the core 
6736 subsystem are shown below. These are the code and data sizes for the 
6737 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6738 values do not include any ACPI driver or OSPM code. The debug version of 
6739 the 
6740 code includes the debug output trace mechanism and has a much larger code 
6741 and data size. Note that these values will vary depending on the 
6742 efficiency 
6743 of the compiler and the compiler options used during generation.
6744
6745   Previous Release:
6746     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
6747     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
6748   Current Release:
6749     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
6750     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
6751
6752
6753
6754 2) iASL Compiler/Disassembler:
6755
6756 Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
6757 corresponding ResourceSource string was not also present in a resource 
6758 descriptor declaration. This restriction caused problems with existing 
6759 AML/ASL code that includes the Index byte without the string. When such 
6760 AML 
6761 was disassembled, it could not be compiled without modification. Further, 
6762 the modified code created a resource template with a different size than 
6763 the 
6764 original, breaking code that used fixed offsets into the resource template 
6765 buffer.
6766
6767 Removed a recent feature of the disassembler to ignore a lone 
6768 ResourceIndex 
6769 byte. This byte is now emitted if present so that the exact AML can be 
6770 reproduced when the disassembled code is recompiled.
6771
6772 Improved comments and text alignment for the resource descriptor code 
6773 emitted by the disassembler.
6774
6775 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
6776
6777 Register() resource descriptor.
6778
6779 ----------------------------------------
6780 30 September 2005. Summary of changes for version 20050930:
6781
6782 1) ACPI CA Core Subsystem:
6783
6784 Completed a major overhaul of the Resource Manager code - specifically, 
6785 optimizations in the area of the AML/internal resource conversion code. 
6786 The 
6787 code has been optimized to simplify and eliminate duplicated code, CPU 
6788 stack 
6789 use has been decreased by optimizing function parameters and local 
6790 variables, and naming conventions across the manager have been 
6791 standardized 
6792 for clarity and ease of maintenance (this includes function, parameter, 
6793 variable, and struct/typedef names.) The update may force changes in some 
6794 driver code, depending on how resources are handled by the host OS.
6795
6796 All Resource Manager dispatch and information tables have been moved to a 
6797 single location for clarity and ease of maintenance. One new file was 
6798 created, named "rsinfo.c".
6799
6800 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
6801 guarantee that the argument is not evaluated twice, making them less prone 
6802 to macro side-effects. However, since there exists the possibility of 
6803 additional stack use if a particular compiler cannot optimize them (such 
6804 as 
6805 in the debug generation case), the original macros are optionally 
6806 available.  
6807 Note that some invocations of the return_VALUE macro may now cause size 
6808 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
6809 to 
6810 eliminate these. (From Randy Dunlap)
6811
6812 Implemented a new mechanism to enable debug tracing for individual control 
6813 methods. A new external interface, AcpiDebugTrace, is provided to enable 
6814 this mechanism. The intent is to allow the host OS to easily enable and 
6815 disable tracing for problematic control methods. This interface can be 
6816 easily exposed to a user or debugger interface if desired. See the file 
6817 psxface.c for details.
6818
6819 AcpiUtCallocate will now return a valid pointer if a length of zero is 
6820 specified - a length of one is used and a warning is issued. This matches 
6821 the behavior of AcpiUtAllocate.
6822
6823 Code and Data Size: The current and previous library sizes for the core 
6824 subsystem are shown below. These are the code and data sizes for the 
6825 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6826 values do not include any ACPI driver or OSPM code. The debug version of 
6827 the 
6828 code includes the debug output trace mechanism and has a much larger code 
6829 and data size. Note that these values will vary depending on the 
6830 efficiency 
6831 of the compiler and the compiler options used during generation.
6832
6833   Previous Release:
6834     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
6835     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
6836   Current Release:
6837     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
6838     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
6839
6840
6841 2) iASL Compiler/Disassembler:
6842
6843 A remark is issued if the effective compile-time length of a package or 
6844 buffer is zero. Previously, this was a warning.
6845
6846 ----------------------------------------
6847 16 September 2005. Summary of changes for version 20050916:
6848
6849 1) ACPI CA Core Subsystem:
6850
6851 Fixed a problem within the Resource Manager where support for the Generic 
6852 Register descriptor was not fully implemented. This descriptor is now 
6853 fully 
6854 recognized, parsed, disassembled, and displayed.
6855
6856 Completely restructured the Resource Manager code to utilize table-driven 
6857 dispatch and lookup, eliminating many of the large switch() statements. 
6858 This 
6859 reduces overall subsystem code size and code complexity. Affects the 
6860 resource parsing and construction, disassembly, and debug dump output.
6861
6862 Cleaned up and restructured the debug dump output for all resource 
6863 descriptors. Improved readability of the output and reduced code size.
6864
6865 Fixed a problem where changes to internal data structures caused the 
6866 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
6867
6868 Code and Data Size: The current and previous library sizes for the core 
6869 subsystem are shown below. These are the code and data sizes for the 
6870 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6871 values do not include any ACPI driver or OSPM code. The debug version of 
6872 the 
6873 code includes the debug output trace mechanism and has a much larger code 
6874 and data size. Note that these values will vary depending on the 
6875 efficiency 
6876 of the compiler and the compiler options used during generation.
6877
6878   Previous Release:
6879     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
6880     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
6881   Current Release:
6882     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
6883     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
6884
6885
6886 2) iASL Compiler/Disassembler:
6887
6888 Updated the disassembler to automatically insert an EndDependentFn() macro 
6889 into the ASL stream if this macro is missing in the original AML code, 
6890 simplifying compilation of the resulting ASL module.
6891
6892 Fixed a problem in the disassembler where a disassembled ResourceSource 
6893 string (within a large resource descriptor) was not surrounded by quotes 
6894 and 
6895 not followed by a comma, causing errors when the resulting ASL module was 
6896 compiled. Also, escape sequences within a ResourceSource string are now 
6897 handled correctly (especially "\\")
6898
6899 ----------------------------------------
6900 02 September 2005. Summary of changes for version 20050902:
6901
6902 1) ACPI CA Core Subsystem:
6903
6904 Fixed a problem with the internal Owner ID allocation and deallocation 
6905 mechanisms for control method execution and recursive method invocation. 
6906 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
6907 messages seen on some systems. Recursive method invocation depth is 
6908 currently limited to 255. (Alexey Starikovskiy)
6909
6910 Completely eliminated all vestiges of support for the "module-level 
6911 executable code" until this support is fully implemented and debugged. 
6912 This 
6913 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
6914 some systems that invoke this support.
6915
6916 Fixed a problem within the resource manager code where the transaction 
6917 flags 
6918 for a 64-bit address descriptor were handled incorrectly in the type-
6919 specific flag byte.
6920
6921 Consolidated duplicate code within the address descriptor resource manager 
6922 code, reducing overall subsystem code size.
6923
6924 Fixed a fault when using the AML debugger "disassemble" command to 
6925 disassemble individual control methods.
6926
6927 Removed references to the "release_current" directory within the Unix 
6928 release package.
6929
6930 Code and Data Size: The current and previous core subsystem library sizes 
6931 are shown below. These are the code and data sizes for the acpica.lib 
6932 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
6933 include any ACPI driver or OSPM code. The debug version of the code 
6934 includes 
6935 the debug output trace mechanism and has a much larger code and data size. 
6936 Note that these values will vary depending on the efficiency of the 
6937 compiler 
6938 and the compiler options used during generation.
6939
6940   Previous Release:
6941     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
6942     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
6943   Current Release:
6944     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
6945     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
6946
6947
6948 2) iASL Compiler/Disassembler:
6949
6950 Implemented an error check for illegal duplicate values in the interrupt 
6951 and 
6952 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
6953 Interrupt().
6954
6955 Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
6956 too many values in the interrupt list (16 max) and invalid values in the 
6957 list (range 0 - 15)
6958
6959 The maximum length string literal within an ASL file is now restricted to 
6960 200 characters as per the ACPI specification.
6961
6962 Fixed a fault when using the -ln option (generate namespace listing).
6963
6964 Implemented an error check to determine if a DescriptorName within a 
6965 resource descriptor has already been used within the current scope.
6966
6967 ----------------------------------------
6968 15 August 2005.  Summary of changes for version 20050815:
6969  
6970 1) ACPI CA Core Subsystem:
6971  
6972 Implemented a full bytewise compare to determine if a table load request 
6973 is 
6974 attempting to load a duplicate table. The compare is performed if the 
6975 table 
6976 signatures and table lengths match. This will allow different tables with 
6977 the same OEM Table ID and revision to be loaded - probably against the 
6978 ACPI 
6979 specification, but discovered in the field nonetheless.
6980  
6981 Added the changes.txt logfile to each of the zipped release packages.
6982  
6983 Code and Data Size: Current and previous core subsystem library sizes are 
6984 shown below. These are the code and data sizes for the acpica.lib produced 
6985 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6986 any ACPI driver or OSPM code. The debug version of the code includes the 
6987 debug output trace mechanism and has a much larger code and data size. 
6988 Note 
6989 that these values will vary depending on the efficiency of the compiler 
6990 and 
6991 the compiler options used during generation.
6992  
6993   Previous Release:
6994     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
6995     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
6996   Current Release:
6997     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
6998     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
6999  
7000  
7001 2) iASL Compiler/Disassembler:
7002  
7003 Fixed a problem where incorrect AML code could be generated for Package 
7004 objects if optimization is disabled (via the -oa switch).
7005  
7006 Fixed a problem with where incorrect AML code is generated for variable-
7007 length packages when the package length is not specified and the number of 
7008 initializer values is greater than 255.
7009  
7010
7011 ----------------------------------------
7012 29 July 2005.  Summary of changes for version 20050729:
7013
7014 1) ACPI CA Core Subsystem:
7015
7016 Implemented support to ignore an attempt to install/load a particular ACPI 
7017 table more than once. Apparently there exists BIOS code that repeatedly 
7018 attempts to load the same SSDT upon certain events. With assistance from 
7019 Venkatesh Pallipadi.
7020
7021 Restructured the main interface to the AML parser in order to correctly 
7022 handle all exceptional conditions. This will prevent leakage of the 
7023 OwnerId 
7024 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
7025 some 
7026 machines. With assistance from Alexey Starikovskiy.
7027
7028 Support for "module level code" has been disabled in this version due to a 
7029 number of issues that have appeared on various machines. The support can 
7030 be 
7031 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
7032 compilation. When the issues are fully resolved, the code will be enabled 
7033 by 
7034 default again.
7035
7036 Modified the internal functions for debug print support to define the 
7037 FunctionName parameter as a (const char *) for compatibility with compiler 
7038 built-in macros such as __FUNCTION__, etc.
7039
7040 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
7041
7042 Implemented support to display an object count summary for the AML 
7043 Debugger 
7044 commands Object and Methods.
7045
7046 Code and Data Size: Current and previous core subsystem library sizes are 
7047 shown below. These are the code and data sizes for the acpica.lib produced 
7048 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7049 any ACPI driver or OSPM code. The debug version of the code includes the 
7050 debug output trace mechanism and has a much larger code and data size. 
7051 Note 
7052 that these values will vary depending on the efficiency of the compiler 
7053 and 
7054 the compiler options used during generation.
7055
7056   Previous Release:
7057     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
7058     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
7059   Current Release:
7060     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7061     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7062
7063
7064 2) iASL Compiler/Disassembler:
7065
7066 Fixed a regression that appeared in the 20050708 version of the compiler 
7067 where an error message was inadvertently emitted for invocations of the 
7068 _OSI 
7069 reserved control method.
7070
7071 ----------------------------------------
7072 08 July 2005.  Summary of changes for version 20050708:
7073
7074 1) ACPI CA Core Subsystem:
7075
7076 The use of the CPU stack in the debug version of the subsystem has been 
7077 considerably reduced. Previously, a debug structure was declared in every 
7078 function that used the debug macros. This structure has been removed in 
7079 favor of declaring the individual elements as parameters to the debug 
7080 functions. This reduces the cumulative stack use during nested execution 
7081 of 
7082 ACPI function calls at the cost of a small increase in the code size of 
7083 the 
7084 debug version of the subsystem. With assistance from Alexey Starikovskiy 
7085 and 
7086 Len Brown.
7087
7088 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
7089 headers to define a macro that will return the current function name at 
7090 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
7091 by 
7092 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
7093 compiler-dependent header, the function name is saved on the CPU stack 
7094 (one 
7095 pointer per function.) This mechanism is used because apparently there 
7096 exists no standard ANSI-C defined macro that that returns the function 
7097 name.
7098
7099 Redesigned and reimplemented the "Owner ID" mechanism used to track 
7100 namespace objects created/deleted by ACPI tables and control method 
7101 execution. A bitmap is now used to allocate and free the IDs, thus solving 
7102 the wraparound problem present in the previous implementation. The size of 
7103 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
7104 Starikovskiy).
7105
7106 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
7107 bitfield 
7108 flag definitions within the headers for the predefined ACPI tables. These 
7109 have been replaced by UINT8_BIT in order to increase the code portability 
7110 of 
7111 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
7112 eliminate bitfields entirely because of a lack of portability.
7113
7114 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
7115 This 
7116 is a frequently used function and this improvement increases the 
7117 performance 
7118 of the entire subsystem (Alexey Starikovskiy).
7119
7120 Fixed several possible memory leaks and the inverse - premature object 
7121 deletion (Alexey Starikovskiy).
7122
7123 Code and Data Size: Current and previous core subsystem library sizes are 
7124 shown below. These are the code and data sizes for the acpica.lib produced 
7125 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7126 any ACPI driver or OSPM code. The debug version of the code includes the 
7127 debug output trace mechanism and has a much larger code and data size. 
7128 Note 
7129 that these values will vary depending on the efficiency of the compiler 
7130 and 
7131 the compiler options used during generation.
7132
7133   Previous Release:
7134     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
7135     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
7136   Current Release:
7137     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
7138     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
7139
7140 ----------------------------------------
7141 24 June 2005.  Summary of changes for version 20050624:
7142
7143 1) ACPI CA Core Subsystem:
7144
7145 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
7146 the host-defined cache object. This allows the OSL implementation to 
7147 define 
7148 and type this object in any manner desired, simplifying the OSL 
7149 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
7150 Linux, and should be defined in the OS-specific header file for other 
7151 operating systems as required.
7152
7153 Changed the interface to AcpiOsAcquireObject to directly return the 
7154 requested object as the function return (instead of ACPI_STATUS.) This 
7155 change was made for performance reasons, since this is the purpose of the 
7156 interface in the first place. AcpiOsAcquireObject is now similar to the 
7157 AcpiOsAllocate interface.
7158
7159 Implemented a new AML debugger command named Businfo. This command 
7160 displays 
7161 information about all devices that have an associate _PRT object. The 
7162 _ADR, 
7163 _HID, _UID, and _CID are displayed for these devices.
7164
7165 Modified the initialization sequence in AcpiInitializeSubsystem to call 
7166 the 
7167 OSL interface AcpiOslInitialize first, before any local initialization. 
7168 This 
7169 change was required because the global initialization now calls OSL 
7170 interfaces.
7171
7172 Enhanced the Dump command to display the entire contents of Package 
7173 objects 
7174 (including all sub-objects and their values.) 
7175
7176 Restructured the code base to split some files because of size and/or 
7177 because the code logically belonged in a separate file. New files are 
7178 listed 
7179 below. All makefiles and project files included in the ACPI CA release 
7180 have 
7181 been updated.
7182     utilities/utcache.c           /* Local cache interfaces */
7183     utilities/utmutex.c           /* Local mutex support */
7184     utilities/utstate.c           /* State object support */
7185     interpreter/parser/psloop.c   /* Main AML parse loop */
7186
7187 Code and Data Size: Current and previous core subsystem library sizes are 
7188 shown below. These are the code and data sizes for the acpica.lib produced 
7189 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7190 any ACPI driver or OSPM code. The debug version of the code includes the 
7191 debug output trace mechanism and has a much larger code and data size. 
7192 Note 
7193 that these values will vary depending on the efficiency of the compiler 
7194 and 
7195 the compiler options used during generation.
7196
7197   Previous Release:
7198     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
7199     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
7200   Current Release:
7201     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
7202     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
7203
7204
7205 2) iASL Compiler/Disassembler:
7206
7207 Fixed a regression introduced in version 20050513 where the use of a 
7208 Package 
7209 object within a Case() statement caused a compile time exception. The 
7210 original behavior has been restored (a Match() operator is emitted.)
7211
7212 ----------------------------------------
7213 17 June 2005.  Summary of changes for version 20050617:
7214
7215 1) ACPI CA Core Subsystem:
7216
7217 Moved the object cache operations into the OS interface layer (OSL) to 
7218 allow 
7219 the host OS to handle these operations if desired (for example, the Linux 
7220 OSL will invoke the slab allocator). This support is optional; the compile 
7221 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
7222 code in the ACPI CA core. The new OSL interfaces are shown below. See 
7223 utalloc.c for an example implementation, and acpiosxf.h for the exact 
7224 interface definitions. With assistance from Alexey Starikovskiy.
7225     AcpiOsCreateCache
7226     AcpiOsDeleteCache
7227     AcpiOsPurgeCache
7228     AcpiOsAcquireObject
7229     AcpiOsReleaseObject
7230
7231 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
7232 return 
7233 and restore a flags parameter. This fits better with many OS lock models. 
7234 Note: the current execution state (interrupt handler or not) is no longer 
7235 passed to these interfaces. If necessary, the OSL must determine this 
7236 state 
7237 by itself, a simple and fast operation. With assistance from Alexey 
7238 Starikovskiy.
7239
7240 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
7241 present if the revision of the RSDP was 2 or greater. According to the 
7242 ACPI 
7243 specification, the XSDT is optional in all cases, and the table manager 
7244 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
7245 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
7246 only the RSDT.
7247
7248 Fixed an interpreter problem with the Mid() operator in the case of an 
7249 input 
7250 string where the resulting output string is of zero length. It now 
7251 correctly 
7252 returns a valid, null terminated string object instead of a string object 
7253 with a null pointer.
7254
7255 Fixed a problem with the control method argument handling to allow a store 
7256 to an Arg object that already contains an object of type Device. The 
7257 Device 
7258 object is now correctly overwritten. Previously, an error was returned.
7259
7260
7261 Enhanced the debugger Find command to emit object values in addition to 
7262 the 
7263 found object pathnames. The output format is the same as the dump 
7264 namespace 
7265 command.
7266
7267 Enhanced the debugger Set command. It now has the ability to set the value 
7268 of any Named integer object in the namespace (Previously, only method 
7269 locals 
7270 and args could be set.)
7271
7272 Code and Data Size: Current and previous core subsystem library sizes are 
7273 shown below. These are the code and data sizes for the acpica.lib produced 
7274 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7275 any ACPI driver or OSPM code. The debug version of the code includes the 
7276 debug output trace mechanism and has a much larger code and data size. 
7277 Note 
7278 that these values will vary depending on the efficiency of the compiler 
7279 and 
7280 the compiler options used during generation.
7281
7282   Previous Release:
7283     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
7284     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
7285   Current Release:
7286     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
7287     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
7288
7289
7290 2) iASL Compiler/Disassembler:
7291
7292 Fixed a regression in the disassembler where if/else/while constructs were 
7293 output incorrectly. This problem was introduced in the previous release 
7294 (20050526). This problem also affected the single-step disassembly in the 
7295 debugger.
7296
7297 Fixed a problem where compiling the reserved _OSI method would randomly 
7298 (but 
7299 rarely) produce compile errors.
7300
7301 Enhanced the disassembler to emit compilable code in the face of incorrect 
7302 AML resource descriptors. If the optional ResourceSourceIndex is present, 
7303 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
7304 disassembly. Otherwise, the resulting code cannot be compiled without 
7305 errors.
7306
7307 ----------------------------------------
7308 26 May 2005.  Summary of changes for version 20050526:
7309
7310 1) ACPI CA Core Subsystem:
7311
7312 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
7313 the module level (not within a control method.) These opcodes are executed 
7314 exactly once at the time the table is loaded. This type of code was legal 
7315 up 
7316 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
7317 in 
7318 order to provide backwards compatibility with earlier BIOS 
7319 implementations. 
7320 This eliminates the "Encountered executable code at module level" warning 
7321 that was previously generated upon detection of such code.
7322
7323 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
7324 inadvertently be generated during the lookup of namespace objects in the 
7325 second pass parse of ACPI tables and control methods. It appears that this 
7326 problem could occur during the resolution of forward references to 
7327 namespace 
7328 objects.
7329
7330 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
7331 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
7332 allows the deadlock detection debug code to be compiled out in the normal 
7333 case, improving mutex performance (and overall subsystem performance) 
7334 considerably.
7335
7336 Implemented a handful of miscellaneous fixes for possible memory leaks on 
7337 error conditions and error handling control paths. These fixes were 
7338 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
7339
7340 Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
7341 to prevent a fault in this error case.
7342
7343 Code and Data Size: Current and previous core subsystem library sizes are 
7344 shown below. These are the code and data sizes for the acpica.lib produced 
7345 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7346 any ACPI driver or OSPM code. The debug version of the code includes the 
7347 debug output trace mechanism and has a much larger code and data size. 
7348 Note 
7349 that these values will vary depending on the efficiency of the compiler 
7350 and 
7351 the compiler options used during generation.
7352
7353   Previous Release:
7354     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7355     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7356   Current Release:
7357     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
7358     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
7359
7360
7361 2) iASL Compiler/Disassembler:
7362
7363 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
7364 the module level (not within a control method.) These operators will be 
7365 executed once at the time the table is loaded. This type of code was legal 
7366 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
7367 compiler in order to provide backwards compatibility with earlier BIOS ASL 
7368 code.
7369
7370 The ACPI integer width (specified via the table revision ID or the -r 
7371 override, 32 or 64 bits) is now used internally during compile-time 
7372 constant 
7373 folding to ensure that constants are truncated to 32 bits if necessary. 
7374 Previously, the revision ID value was only emitted in the AML table 
7375 header.
7376
7377 An error message is now generated for the Mutex and Method operators if 
7378 the 
7379 SyncLevel parameter is outside the legal range of 0 through 15.
7380
7381 Fixed a problem with the Method operator ParameterTypes list handling 
7382 (ACPI 
7383 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
7384 error.  
7385 The actual underlying implementation of method argument typechecking is 
7386 still under development, however.
7387
7388 ----------------------------------------
7389 13 May 2005.  Summary of changes for version 20050513:
7390
7391 1) ACPI CA Core Subsystem:
7392
7393 Implemented support for PCI Express root bridges -- added support for 
7394 device 
7395 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
7396
7397 The interpreter now automatically truncates incoming 64-bit constants to 
7398 32 
7399 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
7400 This 
7401 also affects the iASL compiler constant folding. (Note: as per below, the 
7402 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
7403
7404 Fixed a problem where string and buffer objects with "static" pointers 
7405 (pointers to initialization data within an ACPI table) were not handled 
7406 consistently. The internal object copy operation now always copies the 
7407 data 
7408 to a newly allocated buffer, regardless of whether the source object is 
7409 static or not.
7410
7411 Fixed a problem with the FromBCD operator where an implicit result 
7412 conversion was improperly performed while storing the result to the target 
7413 operand. Since this is an "explicit conversion" operator, the implicit 
7414 conversion should never be performed on the output.
7415
7416 Fixed a problem with the CopyObject operator where a copy to an existing 
7417 named object did not always completely overwrite the existing object 
7418 stored 
7419 at name. Specifically, a buffer-to-buffer copy did not delete the existing 
7420 buffer.
7421
7422 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
7423 structs for consistency.
7424
7425 Code and Data Size: Current and previous core subsystem library sizes are 
7426 shown below. These are the code and data sizes for the acpica.lib produced 
7427 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7428 any ACPI driver or OSPM code. The debug version of the code includes the 
7429 debug output trace mechanism and has a much larger code and data size. 
7430 Note 
7431 that these values will vary depending on the efficiency of the compiler 
7432 and 
7433 the compiler options used during generation.
7434
7435   Previous Release:
7436     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7437     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7438   Current Release: (Same sizes)
7439     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7440     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7441
7442
7443 2) iASL Compiler/Disassembler:
7444
7445 The compiler now emits a warning if an attempt is made to generate a 64-
7446 bit 
7447 integer constant from within a 32-bit ACPI table (Revision < 2). The 
7448 integer 
7449 is truncated to 32 bits.
7450
7451 Fixed a problem with large package objects: if the static length of the 
7452 package is greater than 255, the "variable length package" opcode is 
7453 emitted. Previously, this caused an error. This requires an update to the 
7454 ACPI spec, since it currently (incorrectly) states that packages larger 
7455 than 
7456 255 elements are not allowed.
7457
7458 The disassembler now correctly handles variable length packages and 
7459 packages 
7460 larger than 255 elements.
7461
7462 ----------------------------------------
7463 08 April 2005.  Summary of changes for version 20050408:
7464
7465 1) ACPI CA Core Subsystem:
7466
7467 Fixed three cases in the interpreter where an "index" argument to an ASL 
7468 function was still (internally) 32 bits instead of the required 64 bits. 
7469 This was the Index argument to the Index, Mid, and Match operators.
7470
7471 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
7472 is 
7473 not a POSIX-defined function and not present in most kernel-level C 
7474 libraries. All references to the C library strupr function have been 
7475 removed 
7476 from the headers.
7477
7478 Completed the deployment of static functions/prototypes. All prototypes 
7479 with 
7480 the static attribute have been moved from the headers to the owning C 
7481 file.
7482
7483 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
7484 utility). This option allows the utility to extract individual ACPI tables 
7485 from the output of AcpiDmp. It provides the same functionality of the 
7486 acpixtract.pl perl script without the worry of setting the correct perl 
7487 options. AcpiBin runs on Windows and has not yet been generated/validated 
7488 in 
7489 the Linux/Unix environment (but should be soon).
7490  
7491 Updated and fixed the table dump option for AcpiBin (-d). This option 
7492 converts a single ACPI table to a hex/ascii file, similar to the output of 
7493 AcpiDmp.
7494
7495 Code and Data Size: Current and previous core subsystem library sizes are 
7496 shown below. These are the code and data sizes for the acpica.lib produced 
7497 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7498 any ACPI driver or OSPM code. The debug version of the code includes the 
7499 debug output trace mechanism and has a much larger code and data size. 
7500 Note 
7501 that these values will vary depending on the efficiency of the compiler 
7502 and 
7503 the compiler options used during generation.
7504
7505   Previous Release:
7506     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
7507     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
7508   Current Release:
7509     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7510     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7511
7512
7513 2) iASL Compiler/Disassembler:
7514
7515 Disassembler fix: Added a check to ensure that the table length found in 
7516 the 
7517 ACPI table header within the input file is not longer than the actual 
7518 input 
7519 file size. This indicates some kind of file or table corruption.
7520
7521 ----------------------------------------
7522 29 March 2005.  Summary of changes for version 20050329:
7523
7524 1) ACPI CA Core Subsystem:
7525
7526 An error is now generated if an attempt is made to create a Buffer Field 
7527 of 
7528 length zero (A CreateField with a length operand of zero.)
7529
7530 The interpreter now issues a warning whenever executable code at the 
7531 module 
7532 level is detected during ACPI table load. This will give some idea of the 
7533 prevalence of this type of code.
7534
7535 Implemented support for references to named objects (other than control 
7536 methods) within package objects.
7537
7538 Enhanced package object output for the debug object. Package objects are 
7539 now 
7540 completely dumped, showing all elements.
7541
7542 Enhanced miscellaneous object output for the debug object. Any object can 
7543 now be written to the debug object (for example, a device object can be 
7544 written, and the type of the object will be displayed.)
7545
7546 The "static" qualifier has been added to all local functions across both 
7547 the 
7548 core subsystem and the iASL compiler.
7549
7550 The number of "long" lines (> 80 chars) within the source has been 
7551 significantly reduced, by about 1/3.
7552
7553 Cleaned up all header files to ensure that all CA/iASL functions are 
7554 prototyped (even static functions) and the formatting is consistent.
7555
7556 Two new header files have been added, acopcode.h and acnames.h.
7557
7558 Removed several obsolete functions that were no longer used.
7559
7560 Code and Data Size: Current and previous core subsystem library sizes are 
7561 shown below. These are the code and data sizes for the acpica.lib produced 
7562 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7563 any ACPI driver or OSPM code. The debug version of the code includes the 
7564 debug output trace mechanism and has a much larger code and data size. 
7565 Note 
7566 that these values will vary depending on the efficiency of the compiler 
7567 and 
7568 the compiler options used during generation.
7569
7570   Previous Release:
7571     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7572     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
7573   Current Release:
7574     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
7575     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
7576
7577
7578
7579 2) iASL Compiler/Disassembler:
7580
7581 Fixed a problem with the resource descriptor generation/support. For the 
7582 ResourceSourceIndex and the ResourceSource fields, both must be present, 
7583 or 
7584 both must be not present - can't have one without the other.
7585
7586 The compiler now returns non-zero from the main procedure if any errors 
7587 have 
7588 occurred during the compilation.
7589
7590
7591 ----------------------------------------
7592 09 March 2005.  Summary of changes for version 20050309:
7593
7594 1) ACPI CA Core Subsystem:
7595
7596 The string-to-buffer implicit conversion code has been modified again 
7597 after 
7598 a change to the ACPI specification.  In order to match the behavior of the 
7599 other major ACPI implementation, the target buffer is no longer truncated 
7600 if 
7601 the source string is smaller than an existing target buffer. This change 
7602 requires an update to the ACPI spec, and should eliminate the recent 
7603 AE_AML_BUFFER_LIMIT issues.
7604
7605 The "implicit return" support was rewritten to a new algorithm that solves 
7606 the general case. Rather than attempt to determine when a method is about 
7607 to 
7608 exit, the result of every ASL operator is saved momentarily until the very 
7609 next ASL operator is executed. Therefore, no matter how the method exits, 
7610 there will always be a saved implicit return value. This feature is only 
7611 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
7612 AE_AML_NO_RETURN_VALUE errors when enabled.
7613
7614 Implemented implicit conversion support for the predicate (operand) of the 
7615 If, Else, and While operators. String and Buffer arguments are 
7616 automatically 
7617 converted to Integers.
7618
7619 Changed the string-to-integer conversion behavior to match the new ACPI 
7620 errata: "If no integer object exists, a new integer is created. The ASCII 
7621 string is interpreted as a hexadecimal constant. Each string character is 
7622 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
7623 with the first character as the most significant digit, and ending with 
7624 the 
7625 first non-hexadecimal character or end-of-string." This means that the 
7626 first 
7627 non-hex character terminates the conversion and this is the code that was 
7628 changed.
7629
7630 Fixed a problem where the ObjectType operator would fail (fault) when used 
7631 on an Index of a Package which pointed to a null package element. The 
7632 operator now properly returns zero (Uninitialized) in this case.
7633
7634 Fixed a problem where the While operator used excessive memory by not 
7635 properly popping the result stack during execution. There was no memory 
7636 leak 
7637 after execution, however. (Code provided by Valery Podrezov.)
7638
7639 Fixed a problem where references to control methods within Package objects 
7640 caused the method to be invoked, instead of producing a reference object 
7641 pointing to the method.
7642
7643 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
7644 improve performance and reduce code size. (Code provided by Alexey 
7645 Starikovskiy.)
7646
7647 Code and Data Size: Current and previous core subsystem library sizes are 
7648 shown below. These are the code and data sizes for the acpica.lib produced 
7649 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7650 any ACPI driver or OSPM code. The debug version of the code includes the 
7651 debug output trace mechanism and has a much larger code and data size. 
7652 Note 
7653 that these values will vary depending on the efficiency of the compiler 
7654 and 
7655 the compiler options used during generation.
7656
7657   Previous Release:
7658     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7659     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
7660   Current Release:
7661     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7662     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
7663
7664
7665 2) iASL Compiler/Disassembler:
7666
7667 Fixed a problem with the Return operator with no arguments. Since the AML 
7668 grammar for the byte encoding requires an operand for the Return opcode, 
7669 the 
7670 compiler now emits a Return(Zero) for this case.  An ACPI specification 
7671 update has been written for this case.
7672
7673 For tables other than the DSDT, namepath optimization is automatically 
7674 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
7675 the 
7676 compiler has no knowledge of where, and thus cannot optimize namepaths.
7677
7678 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
7679 inadvertently omitted from the ACPI specification, and will require an 
7680 update to the spec.
7681
7682 The source file scan for ASCII characters is now optional (-a). This 
7683 change 
7684 was made because some vendors place non-ascii characters within comments. 
7685 However, the scan is simply a brute-force byte compare to ensure all 
7686 characters in the file are in the range 0x00 to 0x7F.
7687
7688 Fixed a problem with the CondRefOf operator where the compiler was 
7689 inappropriately checking for the existence of the target. Since the point 
7690 of 
7691 the operator is to check for the existence of the target at run-time, the 
7692 compiler no longer checks for the target existence.
7693
7694 Fixed a problem where errors generated from the internal AML interpreter 
7695 during constant folding were not handled properly, causing a fault.
7696
7697 Fixed a problem with overly aggressive range checking for the Stall 
7698 operator. The valid range (max 255) is now only checked if the operand is 
7699 of 
7700 type Integer. All other operand types cannot be statically checked.
7701
7702 Fixed a problem where control method references within the RefOf, DeRefOf, 
7703 and ObjectType operators were not treated properly. They are now treated 
7704 as 
7705 actual references, not method invocations.
7706
7707 Fixed and enhanced the "list namespace" option (-ln). This option was 
7708 broken 
7709 a number of releases ago.
7710
7711 Improved error handling for the Field, IndexField, and BankField 
7712 operators. 
7713 The compiler now cleanly reports and recovers from errors in the field 
7714 component (FieldUnit) list.
7715
7716 Fixed a disassembler problem where the optional ResourceDescriptor fields 
7717 TRS and TTP were not always handled correctly.
7718
7719 Disassembler - Comments in output now use "//" instead of "/*"
7720
7721 ----------------------------------------
7722 28 February 2005.  Summary of changes for version 20050228:
7723
7724 1) ACPI CA Core Subsystem:
7725
7726 Fixed a problem where the result of an Index() operator (an object 
7727 reference) must increment the reference count on the target object for the 
7728 life of the object reference.
7729
7730 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
7731 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
7732 WordSpace 
7733 resource descriptors.
7734
7735 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
7736 Space Descriptor" string, indicating interpreter support for the 
7737 descriptors 
7738 above.
7739
7740 Implemented header support for the new ACPI 3.0 FADT flag bits.
7741
7742 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
7743 PM1 
7744 status/enable registers.
7745
7746 Updated header support for the MADT processor local Apic struct and MADT 
7747 platform interrupt source struct for new ACPI 3.0 fields.
7748
7749 Implemented header support for the SRAT and SLIT ACPI tables.
7750
7751 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
7752 flag 
7753 at runtime.
7754
7755 Code and Data Size: Current and previous core subsystem library sizes are 
7756 shown below. These are the code and data sizes for the acpica.lib produced 
7757 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7758 any ACPI driver or OSPM code. The debug version of the code includes the 
7759 debug output trace mechanism and has a much larger code and data size. 
7760 Note 
7761 that these values will vary depending on the efficiency of the compiler 
7762 and 
7763 the compiler options used during generation.
7764
7765   Previous Release:
7766     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
7767     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
7768   Current Release:
7769     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7770     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
7771
7772
7773 2) iASL Compiler/Disassembler:
7774
7775 Fixed a problem with the internal 64-bit String-to-integer conversion with 
7776 strings less than two characters long.
7777
7778 Fixed a problem with constant folding where the result of the Index() 
7779 operator can not be considered a constant. This means that Index() cannot 
7780 be 
7781 a type3 opcode and this will require an update to the ACPI specification.
7782
7783 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
7784 descriptor fields. These fields were inadvertently ignored and not output 
7785 in 
7786 the disassembly of the resource descriptor.
7787
7788
7789  ----------------------------------------
7790 11 February 2005.  Summary of changes for version 20050211:
7791
7792 1) ACPI CA Core Subsystem:
7793
7794 Implemented ACPI 3.0 support for implicit conversion within the Match() 
7795 operator. MatchObjects can now be of type integer, buffer, or string 
7796 instead 
7797 of just type integer.  Package elements are implicitly converted to the 
7798 type 
7799 of the MatchObject. This change aligns the behavior of Match() with the 
7800 behavior of the other logical operators (LLess(), etc.) It also requires 
7801 an 
7802 errata change to the ACPI specification as this support was intended for 
7803 ACPI 3.0, but was inadvertently omitted.
7804
7805 Fixed a problem with the internal implicit "to buffer" conversion. Strings 
7806 that are converted to buffers will cause buffer truncation if the string 
7807 is 
7808 smaller than the target buffer. Integers that are converted to buffers 
7809 will 
7810 not cause buffer truncation, only zero extension (both as per the ACPI 
7811 spec.) The problem was introduced when code was added to truncate the 
7812 buffer, but this should not be performed in all cases, only the string 
7813 case.
7814
7815 Fixed a problem with the Buffer and Package operators where the 
7816 interpreter 
7817 would get confused if two such operators were used as operands to an ASL 
7818 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
7819 stack was not being popped after the execution of these operators, 
7820 resulting 
7821 in an AE_NO_RETURN_VALUE exception.
7822
7823 Fixed a problem with constructs of the form Store(Index(...),...). The 
7824 reference object returned from Index was inadvertently resolved to an 
7825 actual 
7826 value. This problem was introduced in version 20050114 when the behavior 
7827 of 
7828 Store() was modified to restrict the object types that can be used as the 
7829 source operand (to match the ACPI specification.)
7830
7831 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
7832
7833 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
7834
7835 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
7836
7837 Code and Data Size: Current and previous core subsystem library sizes are 
7838 shown below. These are the code and data sizes for the acpica.lib produced 
7839 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7840 any ACPI driver or OSPM code. The debug version of the code includes the 
7841 debug output trace mechanism and has a much larger code and data size. 
7842 Note 
7843 that these values will vary depending on the efficiency of the compiler 
7844 and 
7845 the compiler options used during generation.
7846
7847   Previous Release:
7848     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
7849     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
7850   Current Release:
7851     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
7852     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
7853
7854
7855 2) iASL Compiler/Disassembler:
7856
7857 Fixed a code generation problem in the constant folding optimization code 
7858 where incorrect code was generated if a constant was reduced to a buffer 
7859 object (i.e., a reduced type 5 opcode.)
7860
7861 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
7862 incorrect return type in the internal opcode information table.
7863
7864 ----------------------------------------
7865 25 January 2005.  Summary of changes for version 20050125:
7866
7867 1) ACPI CA Core Subsystem:
7868
7869 Fixed a recently introduced problem with the Global Lock where the 
7870 underlying semaphore was not created.  This problem was introduced in 
7871 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
7872 Acquire() operation on _GL.
7873
7874 The local object cache is now optional, and is disabled by default. Both 
7875 AcpiExec and the iASL compiler enable the cache because they run in user 
7876 mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
7877 to enable the local cache.
7878
7879 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
7880 the 
7881 optional "implicit return" support where an error was returned if no 
7882 return 
7883 object was expected, but one was implicitly returned. AE_OK is now 
7884 returned 
7885 in this case and the implicitly returned object is deleted. 
7886 AcpiUtEvaluateObject is only occasionally used, and only to execute 
7887 reserved 
7888 methods such as _STA and _INI where the return type is known up front.
7889
7890 Fixed a few issues with the internal convert-to-integer code. It now 
7891 returns 
7892 an error if an attempt is made to convert a null string, a string of only 
7893 blanks/tabs, or a zero-length buffer. This affects both implicit 
7894 conversion 
7895 and explicit conversion via the ToInteger() operator.
7896
7897 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
7898 is 
7899 not needed for normal operation and should increase the performance of the 
7900 entire subsystem. The code remains in case it is needed for debug purposes 
7901 again.
7902
7903 The AcpiExec source and makefile are included in the Unix/Linux package 
7904 for 
7905 the first time.
7906
7907 Code and Data Size: Current and previous core subsystem library sizes are 
7908 shown below. These are the code and data sizes for the acpica.lib produced 
7909 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7910 any ACPI driver or OSPM code. The debug version of the code includes the 
7911 debug output trace mechanism and has a much larger code and data size. 
7912 Note 
7913 that these values will vary depending on the efficiency of the compiler 
7914 and 
7915 the compiler options used during generation.
7916
7917   Previous Release:
7918     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
7919     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
7920   Current Release:
7921     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
7922     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
7923
7924 2) iASL Compiler/Disassembler:
7925
7926 Switch/Case support: A warning is now issued if the type of the Switch 
7927 value 
7928 cannot be determined at compile time. For example, Switch(Arg0) will 
7929 generate the warning, and the type is assumed to be an integer. As per the 
7930 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
7931 the 
7932 warning.
7933
7934 Switch/Case support: Implemented support for buffer and string objects as 
7935 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
7936 buffers and strings.
7937
7938 Switch/Case support: The emitted code for the LEqual() comparisons now 
7939 uses 
7940 the switch value as the first operand, not the second. The case value is 
7941 now 
7942 the second operand, and this allows the case value to be implicitly 
7943 converted to the type of the switch value, not the other way around.
7944
7945 Switch/Case support: Temporary variables are now emitted immediately 
7946 within 
7947 the control method, not at the global level. This means that there are now 
7948 36 temps available per-method, not 36 temps per-module as was the case 
7949 with 
7950 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
7951
7952 ----------------------------------------
7953 14 January 2005.  Summary of changes for version 20050114:
7954
7955 Added 2005 copyright to all module headers.  This affects every module in 
7956 the core subsystem, iASL compiler, and the utilities.
7957
7958 1) ACPI CA Core Subsystem:
7959
7960 Fixed an issue with the String-to-Buffer conversion code where the string 
7961 null terminator was not included in the buffer after conversion, but there 
7962 is existing ASL that assumes the string null terminator is included. This 
7963 is 
7964 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
7965 introduced in the previous version when the code was updated to correctly 
7966 set the converted buffer size as per the ACPI specification. The ACPI spec 
7967 is ambiguous and will be updated to specify that the null terminator must 
7968 be 
7969 included in the converted buffer. This also affects the ToBuffer() ASL 
7970 operator.
7971
7972 Fixed a problem with the Mid() ASL/AML operator where it did not work 
7973 correctly on Buffer objects. Newly created sub-buffers were not being 
7974 marked 
7975 as initialized.
7976
7977
7978 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
7979 performed on the OemId and OemTableId table header fields.  These fields 
7980 are 
7981 not null terminated, so strncmp is now used instead of strcmp.
7982
7983 Implemented a restriction on the Store() ASL/AML operator to align the 
7984 behavior with the ACPI specification.  Previously, any object could be 
7985 used 
7986 as the source operand.  Now, the only objects that may be used are 
7987 Integers, 
7988 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
7989 necessary, the original behavior can be restored by enabling the 
7990 EnableInterpreterSlack flag.
7991
7992 Enhanced the optional "implicit return" support to allow an implicit 
7993 return 
7994 value from methods that are invoked externally via the AcpiEvaluateObject 
7995 interface.  This enables implicit returns from the _STA and _INI methods, 
7996 for example.
7997
7998 Changed the Revision() ASL/AML operator to return the current version of 
7999 the 
8000 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
8001 returned 
8002 the supported ACPI version (This is the function of the _REV method).
8003
8004 Updated the _REV predefined method to return the currently supported 
8005 version 
8006 of ACPI, now 3.
8007
8008 Implemented batch mode option for the AcpiExec utility (-b).
8009
8010 Code and Data Size: Current and previous core subsystem library sizes are 
8011 shown below. These are the code and data sizes for the acpica.lib produced 
8012 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8013 any ACPI driver or OSPM code. The debug version of the code includes the 
8014 debug output trace mechanism and has a much larger code and data size. 
8015 Note 
8016 that these values will vary depending on the efficiency of the compiler 
8017 and 
8018 the compiler options used during generation.
8019
8020   Previous Release:
8021     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8022     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8023   Current Release:
8024     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8025     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8026
8027 ----------------------------------------
8028 10 December 2004.  Summary of changes for version 20041210:
8029
8030 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
8031 ACPI CA core subsystem.
8032
8033 1) ACPI CA Core Subsystem:
8034
8035 Fixed a problem in the ToDecimalString operator where the resulting string 
8036 length was incorrectly calculated. The length is now calculated exactly, 
8037 eliminating incorrect AE_STRING_LIMIT exceptions.
8038
8039 Fixed a problem in the ToHexString operator to allow a maximum 200 
8040 character 
8041 string to be produced.
8042
8043 Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
8044 routine where the length of the resulting buffer was not truncated to the 
8045 new size (if the target buffer already existed).
8046
8047 Code and Data Size: Current and previous core subsystem library sizes are 
8048 shown below. These are the code and data sizes for the acpica.lib produced 
8049 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8050 any ACPI driver or OSPM code. The debug version of the code includes the 
8051 debug output trace mechanism and has a much larger code and data size. 
8052 Note 
8053 that these values will vary depending on the efficiency of the compiler 
8054 and 
8055 the compiler options used during generation.
8056
8057   Previous Release:
8058     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8059     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
8060   Current Release:
8061     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8062     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8063
8064
8065 2) iASL Compiler/Disassembler:
8066
8067 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
8068 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
8069 Includes support in the disassembler.
8070
8071 Implemented support for the new (ACPI 3.0) parameter to the Register 
8072 macro, 
8073 AccessSize.
8074
8075 Fixed a problem where the _HE resource name for the Interrupt macro was 
8076 referencing bit 0 instead of bit 1.
8077
8078 Implemented check for maximum 255 interrupts in the Interrupt macro.
8079
8080 Fixed a problem with the predefined resource descriptor names where 
8081 incorrect AML code was generated if the offset within the resource buffer 
8082 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
8083 but did not update the surrounding package lengths.
8084
8085 Changes to the Dma macro:  All channels within the channel list must be in 
8086 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
8087 optional (default is BusMaster).
8088
8089 Implemented check for maximum 7 data bytes for the VendorShort macro.
8090
8091 The ReadWrite parameter is now optional for the Memory32 and similar 
8092 macros.
8093
8094 ----------------------------------------
8095 03 December 2004.  Summary of changes for version 20041203:
8096
8097 1) ACPI CA Core Subsystem:
8098
8099 The low-level field insertion/extraction code (exfldio) has been 
8100 completely 
8101 rewritten to eliminate unnecessary complexity, bugs, and boundary 
8102 conditions.
8103
8104 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
8105 ToDecimalString 
8106 operators where the input operand could be inadvertently deleted if no 
8107 conversion was necessary (e.g., if the input to ToInteger was an Integer 
8108 object.)
8109
8110 Fixed a problem with the ToDecimalString and ToHexString where an 
8111 incorrect 
8112 exception code was returned if the resulting string would be > 200 chars.  
8113 AE_STRING_LIMIT is now returned.
8114
8115 Fixed a problem with the Concatenate operator where AE_OK was always 
8116 returned, even if the operation failed.
8117
8118 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
8119 semaphores to be allocated.
8120
8121 Code and Data Size: Current and previous core subsystem library sizes are 
8122 shown below. These are the code and data sizes for the acpica.lib produced 
8123 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8124 any ACPI driver or OSPM code. The debug version of the code includes the 
8125 debug output trace mechanism and has a much larger code and data size. 
8126 Note 
8127 that these values will vary depending on the efficiency of the compiler 
8128 and 
8129 the compiler options used during generation.
8130
8131   Previous Release:
8132     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8133     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8134   Current Release:
8135     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8136     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
8137
8138
8139 2) iASL Compiler/Disassembler:
8140
8141 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
8142 recently introduced in 20041119.
8143
8144 Fixed a problem with the ToUUID macro where the upper nybble of each 
8145 buffer 
8146 byte was inadvertently set to zero.
8147
8148 ----------------------------------------
8149 19 November 2004.  Summary of changes for version 20041119:
8150
8151 1) ACPI CA Core Subsystem:
8152
8153 Fixed a problem in the internal ConvertToInteger routine where new 
8154 integers 
8155 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
8156 converts 
8157 buffers and strings to integers.
8158
8159 Implemented support to store a value to an Index() on a String object. 
8160 This 
8161 is an ACPI 2.0 feature that had not yet been implemented.
8162
8163 Implemented new behavior for storing objects to individual package 
8164 elements 
8165 (via the Index() operator). The previous behavior was to invoke the 
8166 implicit 
8167 conversion rules if an object was already present at the index.  The new 
8168 behavior is to simply delete any existing object and directly store the 
8169 new 
8170 object. Although the ACPI specification seems unclear on this subject, 
8171 other 
8172 ACPI implementations behave in this manner.  (This is the root of the 
8173 AE_BAD_HEX_CONSTANT issue.)
8174
8175 Modified the RSDP memory scan mechanism to support the extended checksum 
8176 for 
8177 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
8178 RSDP signature is found with a valid checksum.
8179
8180 Code and Data Size: Current and previous core subsystem library sizes are 
8181 shown below. These are the code and data sizes for the acpica.lib produced 
8182 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8183 any ACPI driver or OSPM code. The debug version of the code includes the 
8184 debug output trace mechanism and has a much larger code and data size. 
8185 Note 
8186 that these values will vary depending on the efficiency of the compiler 
8187 and 
8188 the compiler options used during generation.
8189
8190   Previous Release:
8191     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8192     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8193   Current Release:
8194     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8195     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8196
8197
8198 2) iASL Compiler/Disassembler:
8199
8200 Fixed a missing semicolon in the aslcompiler.y file.
8201
8202 ----------------------------------------
8203 05 November 2004.  Summary of changes for version 20041105:
8204
8205 1) ACPI CA Core Subsystem:
8206
8207 Implemented support for FADT revision 2.  This was an interim table 
8208 (between 
8209 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
8210
8211 Implemented optional support to allow uninitialized LocalX and ArgX 
8212 variables in a control method.  The variables are initialized to an 
8213 Integer 
8214 object with a value of zero.  This support is enabled by setting the 
8215 AcpiGbl_EnableInterpreterSlack flag to TRUE.
8216
8217 Implemented support for Integer objects for the SizeOf operator.  Either 4 
8218 or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
8219 depending on the parent table revision).
8220
8221 Fixed a problem in the implementation of the SizeOf and ObjectType 
8222 operators 
8223 where the operand was resolved to a value too early, causing incorrect 
8224 return values for some objects.
8225
8226 Fixed some possible memory leaks during exceptional conditions.
8227
8228 Code and Data Size: Current and previous core subsystem library sizes are 
8229 shown below. These are the code and data sizes for the acpica.lib produced 
8230 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8231 any ACPI driver or OSPM code. The debug version of the code includes the 
8232 debug output trace mechanism and has a much larger code and data size. 
8233 Note 
8234 that these values will vary depending on the efficiency of the compiler 
8235 and 
8236 the compiler options used during generation.
8237
8238   Previous Release:
8239     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8240     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
8241   Current Release:
8242     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8243     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8244
8245
8246 2) iASL Compiler/Disassembler:
8247
8248 Implemented support for all ACPI 3.0 reserved names and methods.
8249
8250 Implemented all ACPI 3.0 grammar elements in the front-end, including 
8251 support for semicolons.
8252
8253 Implemented the ACPI 3.0 Function() and ToUUID() macros
8254
8255 Fixed a problem in the disassembler where a Scope() operator would not be 
8256 emitted properly if the target of the scope was in another table.
8257
8258 ----------------------------------------
8259 15 October 2004.  Summary of changes for version 20041015:
8260
8261 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
8262 evaluation to test/verify the following areas. Other suggestions are 
8263 welcome. This will result in an increase in the frequency of releases and 
8264 the number of bug fixes in the next few months.
8265   - Functional tests for all ASL/AML operators
8266   - All implicit/explicit type conversions
8267   - Bit fields and operation regions
8268   - 64-bit math support and 32-bit-only "truncated" math support
8269   - Exceptional conditions, both compiler and interpreter
8270   - Dynamic object deletion and memory leaks
8271   - ACPI 3.0 support when implemented
8272   - External interfaces to the ACPI subsystem
8273
8274
8275 1) ACPI CA Core Subsystem:
8276
8277 Fixed two alignment issues on 64-bit platforms - within debug statements 
8278 in 
8279 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
8280 Address 
8281 field within the non-aligned ACPI generic address structure.
8282
8283 Fixed a problem in the Increment and Decrement operators where incorrect 
8284 operand resolution could result in the inadvertent modification of the 
8285 original integer when the integer is passed into another method as an 
8286 argument and the arg is then incremented/decremented.
8287
8288 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
8289 bit 
8290 BCD number were truncated during conversion.
8291
8292 Fixed a problem in the ToDecimal operator where the length of the 
8293 resulting 
8294 string could be set incorrectly too long if the input operand was a Buffer 
8295 object.
8296
8297 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
8298 (0) 
8299 within a buffer would prematurely terminate a compare between buffer 
8300 objects.
8301
8302 Added a check for string overflow (>200 characters as per the ACPI 
8303 specification) during the Concatenate operator with two string operands.
8304
8305 Code and Data Size: Current and previous core subsystem library sizes are 
8306 shown below. These are the code and data sizes for the acpica.lib produced 
8307 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8308 any ACPI driver or OSPM code. The debug version of the code includes the 
8309 debug output trace mechanism and has a much larger code and data size. 
8310 Note 
8311 that these values will vary depending on the efficiency of the compiler 
8312 and 
8313 the compiler options used during generation.
8314
8315   Previous Release:
8316     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8317     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
8318   Current Release:
8319     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8320     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
8321
8322
8323
8324 2) iASL Compiler/Disassembler:
8325
8326 Allow the use of the ObjectType operator on uninitialized Locals and Args 
8327 (returns 0 as per the ACPI specification).
8328
8329 Fixed a problem where the compiler would fault if there was a syntax error 
8330 in the FieldName of all of the various CreateXXXField operators.
8331
8332 Disallow the use of lower case letters within the EISAID macro, as per the 
8333 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
8334 Where 
8335 U is an uppercase letter and N is a hex digit.
8336
8337
8338 ----------------------------------------
8339 06 October 2004.  Summary of changes for version 20041006:
8340
8341 1) ACPI CA Core Subsystem:
8342
8343 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
8344 implements a 64-bit timer with 100 nanosecond granularity.
8345
8346 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
8347 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
8348 implement 
8349 the timer with the best clock available. Also, it keeps the core subsystem 
8350 out of the clock handling business, since the host OS (usually) performs 
8351 this function.
8352
8353 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
8354 functions use a 64-bit address which is part of the packed ACPI Generic 
8355 Address Structure. Since the structure is non-aligned, the alignment 
8356 macros 
8357 are now used to extract the address to a local variable before use.
8358
8359 Fixed a problem where the ToInteger operator assumed all input strings 
8360 were 
8361 hexadecimal. The operator now handles both decimal strings and hex strings 
8362 (prefixed with "0x").
8363
8364 Fixed a problem where the string length in the string object created as a 
8365 result of the internal ConvertToString procedure could be incorrect. This 
8366 potentially affected all implicit conversions and also the ToDecimalString 
8367 and ToHexString operators.
8368
8369 Fixed two problems in the ToString operator. If the length parameter was 
8370 zero, an incorrect string object was created and the value of the input 
8371 length parameter was inadvertently changed from zero to Ones.
8372
8373 Fixed a problem where the optional ResourceSource string in the 
8374 ExtendedIRQ 
8375 resource macro was ignored.
8376
8377 Simplified the interfaces to the internal division functions, reducing 
8378 code 
8379 size and complexity.
8380
8381 Code and Data Size: Current and previous core subsystem library sizes are 
8382 shown below. These are the code and data sizes for the acpica.lib produced 
8383 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8384 any ACPI driver or OSPM code. The debug version of the code includes the 
8385 debug output trace mechanism and has a much larger code and data size. 
8386 Note 
8387 that these values will vary depending on the efficiency of the compiler 
8388 and 
8389 the compiler options used during generation.
8390
8391   Previous Release:
8392     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
8393     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
8394   Current Release:
8395     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8396     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
8397
8398
8399 2) iASL Compiler/Disassembler:
8400
8401 Implemented support for the ACPI 3.0 Timer operator.
8402
8403 Fixed a problem where the Default() operator was inadvertently ignored in 
8404
8405 Switch/Case block.  This was a problem in the translation of the Switch 
8406 statement to If...Else pairs.
8407
8408 Added support to allow a standalone Return operator, with no parentheses 
8409 (or 
8410 operands).
8411
8412 Fixed a problem with code generation for the ElseIf operator where the 
8413 translated Else...If parse tree was improperly constructed leading to the 
8414 loss of some code.
8415
8416 ----------------------------------------
8417 22 September 2004.  Summary of changes for version 20040922:
8418
8419 1) ACPI CA Core Subsystem:
8420
8421 Fixed a problem with the implementation of the LNot() operator where 
8422 "Ones" 
8423 was not returned for the TRUE case. Changed the code to return Ones 
8424 instead 
8425 of (!Arg) which was usually 1. This change affects iASL constant folding 
8426 for 
8427 this operator also.
8428
8429 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
8430 initialized properly -- Now zero the entire buffer in this case where the 
8431 buffer already exists.
8432
8433 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
8434 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
8435 related code considerably. This will require changes/updates to all OS 
8436 interface layers (OSLs.)
8437
8438 Implemented a new external interface, AcpiInstallExceptionHandler, to 
8439 allow 
8440 a system exception handler to be installed. This handler is invoked upon 
8441 any 
8442 run-time exception that occurs during control method execution.
8443
8444 Added support for the DSDT in AcpiTbFindTable. This allows the 
8445 DataTableRegion() operator to access the local copy of the DSDT.
8446
8447 Code and Data Size: Current and previous core subsystem library sizes are 
8448 shown below. These are the code and data sizes for the acpica.lib produced 
8449 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8450 any ACPI driver or OSPM code. The debug version of the code includes the 
8451 debug output trace mechanism and has a much larger code and data size. 
8452 Note 
8453 that these values will vary depending on the efficiency of the compiler 
8454 and 
8455 the compiler options used during generation.
8456
8457   Previous Release:
8458     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
8459     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
8460   Current Release:
8461     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
8462     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
8463
8464
8465 2) iASL Compiler/Disassembler:
8466
8467 Fixed a problem with constant folding and the LNot operator. LNot was 
8468 returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
8469 could result in the generation of an incorrect folded/reduced constant.
8470
8471 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
8472 longer occurs if such a comment is at the very end of the input ASL source 
8473 file.
8474
8475 Implemented the "-r" option to override the Revision in the table header. 
8476 The initial use of this option will be to simplify the evaluation of the 
8477 AML 
8478 interpreter by allowing a single ASL source module to be compiled for 
8479 either 
8480 32-bit or 64-bit integers.
8481
8482
8483 ----------------------------------------
8484 27 August 2004.  Summary of changes for version 20040827:
8485
8486 1) ACPI CA Core Subsystem:
8487
8488 - Implemented support for implicit object conversion in the non-numeric 
8489 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
8490 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
8491 the second operand is implicitly converted on the fly to match the type of 
8492 the first operand.  For example:
8493
8494     LEqual (Source1, Source2)
8495
8496 Source1 and Source2 must each evaluate to an integer, a string, or a 
8497 buffer. 
8498 The data type of Source1 dictates the required type of Source2. Source2 is 
8499 implicitly converted if necessary to match the type of Source1.
8500
8501 - Updated and corrected the behavior of the string conversion support.  
8502 The 
8503 rules concerning conversion of buffers to strings (according to the ACPI 
8504 specification) are as follows:
8505
8506 ToDecimalString - explicit byte-wise conversion of buffer to string of 
8507 decimal values (0-255) separated by commas. ToHexString - explicit byte-
8508 wise 
8509 conversion of buffer to string of hex values (0-FF) separated by commas. 
8510 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
8511 byte 
8512 copy with no transform except NULL terminated. Any other implicit buffer-
8513 to-
8514 string conversion - byte-wise conversion of buffer to string of hex values 
8515 (0-FF) separated by spaces.
8516
8517 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
8518
8519 - Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
8520 one byte too short in the case of a node in the root scope.  This could 
8521 cause a fault during debug output.
8522
8523 - Code and Data Size: Current and previous core subsystem library sizes 
8524 are 
8525 shown below.  These are the code and data sizes for the acpica.lib 
8526 produced 
8527 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8528 any ACPI driver or OSPM code.  The debug version of the code includes the 
8529 debug output trace mechanism and has a much larger code and data size.  
8530 Note 
8531 that these values will vary depending on the efficiency of the compiler 
8532 and 
8533 the compiler options used during generation.
8534
8535   Previous Release:
8536     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
8537     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
8538   Current Release:
8539     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
8540     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
8541
8542
8543 2) iASL Compiler/Disassembler:
8544
8545 - Fixed a Linux generation error.
8546
8547
8548 ----------------------------------------
8549 16 August 2004.  Summary of changes for version 20040816:
8550
8551 1) ACPI CA Core Subsystem:
8552
8553 Designed and implemented support within the AML interpreter for the so-
8554 called "implicit return".  This support returns the result of the last ASL 
8555 operation within a control method, in the absence of an explicit Return() 
8556 operator.  A few machines depend on this behavior, even though it is not 
8557 explicitly supported by the ASL language.  It is optional support that can 
8558 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
8559
8560 Removed support for the PCI_Config address space from the internal low 
8561 level 
8562 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
8563 support was not used internally, and would not work correctly anyway 
8564 because 
8565 the PCI bus number and segment number were not supported.  There are 
8566 separate interfaces for PCI configuration space access because of the 
8567 unique 
8568 interface.
8569
8570 Code and Data Size: Current and previous core subsystem library sizes are 
8571 shown below.  These are the code and data sizes for the acpica.lib 
8572 produced 
8573 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8574 any ACPI driver or OSPM code.  The debug version of the code includes the 
8575 debug output trace mechanism and has a much larger code and data size.  
8576 Note 
8577 that these values will vary depending on the efficiency of the compiler 
8578 and 
8579 the compiler options used during generation.
8580
8581   Previous Release:
8582     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8583     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
8584   Current Release:
8585     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
8586     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
8587
8588
8589 2) iASL Compiler/Disassembler:
8590
8591 Fixed a problem where constants in ASL expressions at the root level (not 
8592 within a control method) could be inadvertently truncated during code 
8593 generation.  This problem was introduced in the 20040715 release.
8594
8595
8596 ----------------------------------------
8597 15 July 2004.  Summary of changes for version 20040715:
8598
8599 1) ACPI CA Core Subsystem:
8600
8601 Restructured the internal HW GPE interfaces to pass/track the current 
8602 state 
8603 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
8604 increase flexibility of the interfaces.
8605
8606 Implemented a "lexicographical compare" for String and Buffer objects 
8607 within 
8608 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
8609 as per further clarification to the ACPI specification.  Behavior is 
8610 similar 
8611 to C library "strcmp".
8612
8613 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
8614 external function.  In the 32-bit non-debug case, the stack use has been 
8615 reduced from 168 bytes to 32 bytes.
8616
8617 Deployed a new run-time configuration flag, 
8618 AcpiGbl_EnableInterpreterSlack, 
8619 whose purpose is to allow the AML interpreter to forgive certain bad AML 
8620 constructs.  Default setting is FALSE.
8621
8622 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
8623 IO 
8624 support code.  If enabled, it allows field access to go beyond the end of 
8625
8626 region definition if the field is within the region length rounded up to 
8627 the 
8628 next access width boundary (a common coding error.)
8629
8630 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
8631 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
8632 these 
8633 symbols are lowercased by the latest version of the AcpiSrc tool.
8634
8635 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
8636 rename "Register" to simply "Reg" to prevent certain compilers from 
8637 complaining.
8638
8639 Code and Data Size: Current and previous core subsystem library sizes are 
8640 shown below.  These are the code and data sizes for the acpica.lib 
8641 produced 
8642 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8643 any ACPI driver or OSPM code.  The debug version of the code includes the 
8644 debug output trace mechanism and has a much larger code and data size.  
8645 Note 
8646 that these values will vary depending on the efficiency of the compiler 
8647 and 
8648 the compiler options used during generation.
8649
8650   Previous Release:
8651     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8652     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
8653   Current Release:
8654     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8655     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
8656
8657
8658 2) iASL Compiler/Disassembler:
8659
8660 Implemented full support for Package objects within the Case() operator.  
8661 Note: The Break() operator is currently not supported within Case blocks 
8662 (TermLists) as there is some question about backward compatibility with 
8663 ACPI 
8664 1.0 interpreters.
8665
8666
8667 Fixed a problem where complex terms were not supported properly within the 
8668 Switch() operator.
8669
8670 Eliminated extraneous warning for compiler-emitted reserved names of the 
8671 form "_T_x".  (Used in Switch/Case operators.)
8672
8673 Eliminated optimization messages for "_T_x" objects and small constants 
8674 within the DefinitionBlock operator.
8675
8676
8677 ----------------------------------------
8678 15 June 2004.  Summary of changes for version 20040615:
8679
8680 1) ACPI CA Core Subsystem:
8681
8682 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
8683 the 
8684 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
8685 LLessEqual.
8686
8687 All directory names in the entire source package are lower case, as they 
8688 were in earlier releases.
8689
8690 Implemented "Disassemble" command in the AML debugger that will 
8691 disassemble 
8692 a single control method.
8693
8694 Code and Data Size: Current and previous core subsystem library sizes are 
8695 shown below.  These are the code and data sizes for the acpica.lib 
8696 produced 
8697 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8698 any ACPI driver or OSPM code.  The debug version of the code includes the 
8699 debug output trace mechanism and has a much larger code and data size.  
8700 Note 
8701 that these values will vary depending on the efficiency of the compiler 
8702 and 
8703 the compiler options used during generation.
8704
8705   Previous Release:
8706     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
8707     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
8708
8709   Current Release:
8710     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8711     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
8712
8713
8714 2) iASL Compiler/Disassembler:
8715
8716 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
8717 the 
8718 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
8719 LLessEqual.
8720
8721 All directory names in the entire source package are lower case, as they 
8722 were in earlier releases.
8723
8724 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
8725 not found.
8726
8727 Fixed an issue with the Windows version of the compiler where later 
8728 versions 
8729 of Windows place the FADT in the registry under the name "FADT" and not 
8730 "FACP" as earlier versions did.  This applies when using the -g or -
8731 d<nofilename> options.  The compiler now looks for both strings as 
8732 necessary.
8733
8734 Fixed a problem with compiler namepath optimization where a namepath 
8735 within 
8736 the Scope() operator could not be optimized if the namepath was a subpath 
8737 of 
8738 the current scope path.
8739
8740 ----------------------------------------
8741 27 May 2004.  Summary of changes for version 20040527:
8742
8743 1) ACPI CA Core Subsystem:
8744
8745 Completed a new design and implementation for EBDA (Extended BIOS Data 
8746 Area) 
8747 support in the RSDP scan code.  The original code improperly scanned for 
8748 the 
8749 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
8750 method 
8751 is to first obtain the EBDA pointer from within the BIOS data area, then 
8752 scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
8753 any machines that place the RSDP in the EBDA, however.
8754
8755 Integrated a fix for a possible fault during evaluation of BufferField 
8756 arguments.  Obsolete code that was causing the problem was removed.
8757
8758 Found and fixed a problem in the Field Support Code where data could be 
8759 corrupted on a bit field read that starts on an aligned boundary but does 
8760 not end on an aligned boundary.  Merged the read/write "datum length" 
8761 calculation code into a common procedure.
8762
8763 Rolled in a couple of changes to the FreeBSD-specific header.
8764
8765
8766 Code and Data Size: Current and previous core subsystem library sizes are 
8767 shown below.  These are the code and data sizes for the acpica.lib 
8768 produced 
8769 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8770 any ACPI driver or OSPM code.  The debug version of the code includes the 
8771 debug output trace mechanism and has a much larger code and data size.  
8772 Note 
8773 that these values will vary depending on the efficiency of the compiler 
8774 and 
8775 the compiler options used during generation.
8776
8777   Previous Release:
8778     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
8779     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
8780   Current Release:
8781     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
8782     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
8783
8784
8785 2) iASL Compiler/Disassembler:
8786
8787 Fixed a generation warning produced by some overly-verbose compilers for a 
8788 64-bit constant.
8789
8790 ----------------------------------------
8791 14 May 2004.  Summary of changes for version 20040514:
8792
8793 1) ACPI CA Core Subsystem:
8794
8795 Fixed a problem where hardware GPE enable bits sometimes not set properly 
8796 during and after GPE method execution.  Result of 04/27 changes.
8797
8798 Removed extra "clear all GPEs" when sleeping/waking.
8799
8800 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
8801 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
8802 to 
8803 the new AcpiEv* calls as appropriate.
8804
8805 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
8806 is 
8807 now "Microsoft Windows NT" for maximum compatibility.  However this can be 
8808 changed by modifying the acconfig.h file.
8809
8810 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
8811 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
8812
8813 Run _INI methods on ThermalZone objects.  This is against the ACPI 
8814 specification, but there is apparently ASL code in the field that has 
8815 these 
8816 _INI methods, and apparently "other" AML interpreters execute them.
8817
8818 Performed a full 16/32/64 bit lint that resulted in some small changes.
8819
8820 Added a sleep simulation command to the AML debugger to test sleep code. 
8821
8822 Code and Data Size: Current and previous core subsystem library sizes are 
8823 shown below.  These are the code and data sizes for the acpica.lib 
8824 produced 
8825 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8826 any ACPI driver or OSPM code.  The debug version of the code includes the 
8827 debug output trace mechanism and has a much larger code and data size.  
8828 Note 
8829 that these values will vary depending on the efficiency of the compiler 
8830 and 
8831 the compiler options used during generation.
8832
8833   Previous Release:
8834     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
8835     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
8836   Current Release:
8837     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
8838     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
8839
8840 ----------------------------------------
8841 27 April 2004.  Summary of changes for version 20040427:
8842
8843 1) ACPI CA Core Subsystem:
8844
8845 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
8846 now three types of GPEs:  wake-only, runtime-only, and combination 
8847 wake/run.  
8848 The only GPEs allowed to be combination wake/run are for button-style 
8849 devices such as a control-method power button, control-method sleep 
8850 button, 
8851 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
8852 not 
8853 referenced by any _PRW methods are marked for "runtime" and hardware 
8854 enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
8855 (and disabled at runtime).  However, at sleep time, only those GPEs that 
8856 have been specifically enabled for wake via the AcpiEnableGpe interface 
8857 will 
8858 actually be hardware enabled.
8859
8860 A new external interface has been added, AcpiSetGpeType(), that is meant 
8861 to 
8862 be used by device drivers to force a GPE to a particular type.  It will be 
8863 especially useful for the drivers for the button devices mentioned above.
8864
8865 Completed restructuring of the ACPI CA initialization sequence so that 
8866 default operation region handlers are installed before GPEs are 
8867 initialized 
8868 and the _PRW methods are executed.  This will prevent errors when the _PRW 
8869 methods attempt to access system memory or I/O space.
8870
8871 GPE enable/disable no longer reads the GPE enable register.  We now keep 
8872 the 
8873 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
8874 thus no longer depend on the hardware to maintain these bits.
8875
8876 Always clear the wake status and fixed/GPE status bits before sleep, even 
8877 for state S5.
8878
8879 Improved the AML debugger output for displaying the GPE blocks and their 
8880 current status.
8881
8882 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
8883 where 
8884 x = 0,1,2,3,4.
8885
8886 Fixed a problem where the physical address was incorrectly calculated when 
8887 the Load() operator was used to directly load from an Operation Region 
8888 (vs. 
8889 loading from a Field object.)  Also added check for minimum table length 
8890 for 
8891 this case.
8892
8893 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
8894 mutex release.
8895
8896 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
8897 consistency with the other fields returned.
8898
8899 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
8900 structure for each GPE in the system, so the size of this structure is 
8901 important.
8902
8903 CPU stack requirement reduction:  Cleaned up the method execution and 
8904 object 
8905 evaluation paths so that now a parameter structure is passed, instead of 
8906 copying the various method parameters over and over again.
8907
8908 In evregion.c:  Correctly exit and reenter the interpreter region if and 
8909 only if dispatching an operation region request to a user-installed 
8910 handler.  
8911 Do not exit/reenter when dispatching to a default handler (e.g., default 
8912 system memory or I/O handlers)
8913
8914
8915 Notes for updating drivers for the new GPE support.  The following changes 
8916 must be made to ACPI-related device drivers that are attached to one or 
8917 more 
8918 GPEs: (This information will be added to the ACPI CA Programmer 
8919 Reference.)
8920
8921 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
8922 explicitly call AcpiEnableGpe.
8923 2) There is a new interface called AcpiSetGpeType. This should be called 
8924 before enabling the GPE.  Also, this interface will automatically disable 
8925 the GPE if it is currently enabled.
8926 3) AcpiEnableGpe no longer supports a GPE type flag.
8927
8928 Specific drivers that must be changed:
8929 1) EC driver:
8930     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
8931 AeGpeHandler, NULL);
8932     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
8933     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
8934
8935 2) Button Drivers (Power, Lid, Sleep):
8936 Run _PRW method under parent device
8937 If _PRW exists: /* This is a control-method button */
8938     Extract GPE number and possibly GpeDevice
8939     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
8940     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
8941
8942 For all other devices that have _PRWs, we automatically set the GPE type 
8943 to 
8944 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
8945 must be done on a selective basis, usually requiring some kind of user app 
8946 to allow the user to pick the wake devices.
8947
8948
8949 Code and Data Size: Current and previous core subsystem library sizes are 
8950 shown below.  These are the code and data sizes for the acpica.lib 
8951 produced 
8952 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8953 any ACPI driver or OSPM code.  The debug version of the code includes the 
8954 debug output trace mechanism and has a much larger code and data size.  
8955 Note 
8956 that these values will vary depending on the efficiency of the compiler 
8957 and 
8958 the compiler options used during generation.
8959
8960   Previous Release:
8961     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
8962     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
8963   Current Release:
8964
8965     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
8966     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
8967
8968
8969
8970 ----------------------------------------
8971 02 April 2004.  Summary of changes for version 20040402:
8972
8973 1) ACPI CA Core Subsystem:
8974
8975 Fixed an interpreter problem where an indirect store through an ArgX 
8976 parameter was incorrectly applying the "implicit conversion rules" during 
8977 the store.  From the ACPI specification: "If the target is a method local 
8978 or 
8979 argument (LocalX or ArgX), no conversion is performed and the result is 
8980 stored directly to the target".  The new behavior is to disable implicit 
8981 conversion during ALL stores to an ArgX.
8982
8983 Changed the behavior of the _PRW method scan to ignore any and all errors 
8984 returned by a given _PRW.  This prevents the scan from aborting from the 
8985 failure of any single _PRW.
8986
8987 Moved the runtime configuration parameters from the global init procedure 
8988 to 
8989 static variables in acglobal.h.  This will allow the host to override the 
8990 default values easily.
8991
8992 Code and Data Size: Current and previous core subsystem library sizes are 
8993 shown below.  These are the code and data sizes for the acpica.lib 
8994 produced 
8995 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8996 any ACPI driver or OSPM code.  The debug version of the code includes the 
8997 debug output trace mechanism and has a much larger code and data size.  
8998 Note 
8999 that these values will vary depending on the efficiency of the compiler 
9000 and 
9001 the compiler options used during generation.
9002
9003   Previous Release:
9004     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
9005     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
9006   Current Release:
9007     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
9008     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
9009
9010
9011 2) iASL Compiler/Disassembler:
9012
9013 iASL now fully disassembles SSDTs.  However, External() statements are not 
9014 generated automatically for unresolved symbols at this time.  This is a 
9015 planned feature for future implementation.
9016
9017 Fixed a scoping problem in the disassembler that occurs when the type of 
9018 the 
9019 target of a Scope() operator is overridden.  This problem caused an 
9020 incorrectly nested internal namespace to be constructed.
9021
9022 Any warnings or errors that are emitted during disassembly are now 
9023 commented 
9024 out automatically so that the resulting file can be recompiled without any 
9025 hand editing.
9026
9027 ----------------------------------------
9028 26 March 2004.  Summary of changes for version 20040326:
9029
9030 1) ACPI CA Core Subsystem:
9031
9032 Implemented support for "wake" GPEs via interaction between GPEs and the 
9033 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
9034 identified as a WAKE GPE and by default will no longer be enabled at 
9035 runtime.  Previously, we were blindly enabling all GPEs with a 
9036 corresponding 
9037 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
9038 We 
9039 believe this has been the cause of thousands of "spurious" GPEs on some 
9040 systems.
9041
9042 This new GPE behavior is can be reverted to the original behavior (enable 
9043 ALL GPEs at runtime) via a runtime flag.
9044
9045 Fixed a problem where aliased control methods could not access objects 
9046 properly.  The proper scope within the namespace was not initialized 
9047 (transferred to the target of the aliased method) before executing the 
9048 target method.
9049
9050 Fixed a potential race condition on internal object deletion on the return 
9051 object in AcpiEvaluateObject. 
9052
9053 Integrated a fix for resource descriptors where both _MEM and _MTP were 
9054 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
9055 wide, 0x0F instead of 0x03.)
9056
9057 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing 
9058
9059 fault in some cases.
9060
9061 Updated Notify() values for debug statements in evmisc.c
9062
9063 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
9064
9065 Code and Data Size: Current and previous core subsystem library sizes are 
9066 shown below.  These are the code and data sizes for the acpica.lib 
9067 produced 
9068 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9069 any ACPI driver or OSPM code.  The debug version of the code includes the 
9070 debug output trace mechanism and has a much larger code and data size.  
9071 Note 
9072 that these values will vary depending on the efficiency of the compiler 
9073 and 
9074 the compiler options used during generation.
9075
9076   Previous Release:
9077
9078     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
9079     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
9080   Current Release:
9081     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
9082     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
9083
9084 ----------------------------------------
9085 11 March 2004.  Summary of changes for version 20040311:
9086
9087 1) ACPI CA Core Subsystem:
9088
9089 Fixed a problem where errors occurring during the parse phase of control 
9090 method execution did not abort cleanly.  For example, objects created and 
9091 installed in the namespace were not deleted.  This caused all subsequent 
9092 invocations of the method to return the AE_ALREADY_EXISTS exception.
9093
9094 Implemented a mechanism to force a control method to "Serialized" 
9095 execution 
9096 if the method attempts to create namespace objects. (The root of the 
9097 AE_ALREADY_EXISTS problem.)
9098
9099 Implemented support for the predefined _OSI "internal" control method.  
9100 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
9101 "Windows 2001.1", and can be easily upgraded for new strings as necessary.  
9102 This feature will allow "other" operating systems to execute the fully 
9103 tested, "Windows" code path through the ASL code
9104
9105 Global Lock Support:  Now allows multiple acquires and releases with any 
9106 internal thread.  Removed concept of "owning thread" for this special 
9107 mutex.
9108
9109 Fixed two functions that were inappropriately declaring large objects on 
9110 the 
9111 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
9112 during 
9113 method execution considerably.
9114
9115 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
9116 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
9117
9118 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
9119 defined on the machine.
9120
9121 Implemented two runtime options:  One to force all control method 
9122 execution 
9123 to "Serialized" to mimic Windows behavior, another to disable _OSI support 
9124 if it causes problems on a given machine.
9125
9126 Code and Data Size: Current and previous core subsystem library sizes are 
9127 shown below.  These are the code and data sizes for the acpica.lib 
9128 produced 
9129 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9130 any ACPI driver or OSPM code.  The debug version of the code includes the 
9131 debug output trace mechanism and has a much larger code and data size.  
9132 Note 
9133 that these values will vary depending on the efficiency of the compiler 
9134 and 
9135 the compiler options used during generation.
9136
9137   Previous Release:
9138     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
9139     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
9140   Current Release:
9141     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
9142     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
9143
9144 2) iASL Compiler/Disassembler:
9145
9146 Fixed an array size problem for FreeBSD that would cause the compiler to 
9147 fault.
9148
9149 ----------------------------------------
9150 20 February 2004.  Summary of changes for version 20040220:
9151
9152
9153 1) ACPI CA Core Subsystem:
9154
9155 Implemented execution of _SxD methods for Device objects in the 
9156 GetObjectInfo interface.
9157
9158 Fixed calls to _SST method to pass the correct arguments.
9159
9160 Added a call to _SST on wake to restore to "working" state.
9161
9162 Check for End-Of-Buffer failure case in the WalkResources interface.
9163
9164 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
9165 structures to the beginning of the file.
9166
9167 After wake, clear GPE status register(s) before enabling GPEs.
9168
9169 After wake, clear/enable power button.  (Perhaps we should clear/enable 
9170 all 
9171 fixed events upon wake.)
9172
9173 Fixed a couple of possible memory leaks in the Namespace manager.
9174
9175 Integrated latest acnetbsd.h file.
9176
9177 ----------------------------------------
9178 11 February 2004.  Summary of changes for version 20040211:
9179
9180
9181 1) ACPI CA Core Subsystem:
9182
9183 Completed investigation and implementation of the call-by-reference 
9184 mechanism for control method arguments.
9185
9186 Fixed a problem where a store of an object into an indexed package could 
9187 fail if the store occurs within a different method than the method that 
9188 created the package.
9189
9190 Fixed a problem where the ToDecimal operator could return incorrect 
9191 results.
9192
9193 Fixed a problem where the CopyObject operator could fail on some of the 
9194 more 
9195 obscure objects (e.g., Reference objects.)
9196
9197 Improved the output of the Debug object to display buffer, package, and 
9198 index objects.
9199
9200 Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
9201 the expected result.
9202
9203 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
9204 ACPI_AML_INTERNAL exception.
9205
9206 Integrated latest version of acfreebsd.h
9207
9208 ----------------------------------------
9209 16 January 2004.  Summary of changes for version 20040116:
9210
9211 The purpose of this release is primarily to update the copyright years in 
9212 each module, thus causing a huge number of diffs.  There are a few small 
9213 functional changes, however.
9214
9215 1) ACPI CA Core Subsystem:
9216
9217 Improved error messages when there is a problem finding one or more of the 
9218 required base ACPI tables
9219
9220 Reintroduced the definition of APIC_HEADER in actbl.h
9221
9222 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
9223
9224 Removed extraneous reference to NewObj in dsmthdat.c
9225
9226 2) iASL compiler
9227
9228 Fixed a problem introduced in December that disabled the correct 
9229 disassembly 
9230 of Resource Templates
9231
9232
9233 ----------------------------------------
9234 03 December 2003.  Summary of changes for version 20031203:
9235
9236 1) ACPI CA Core Subsystem:
9237
9238 Changed the initialization of Operation Regions during subsystem
9239 init to perform two entire walks of the ACPI namespace; The first
9240 to initialize the regions themselves, the second to execute the
9241 _REG methods.  This fixed some interdependencies across _REG
9242 methods found on some machines.
9243
9244 Fixed a problem where a Store(Local0, Local1) could simply update
9245 the object reference count, and not create a new copy of the
9246 object if the Local1 is uninitialized.
9247
9248 Implemented support for the _SST reserved method during sleep
9249 transitions.
9250
9251 Implemented support to clear the SLP_TYP and SLP_EN bits when
9252 waking up, this is apparently required by some machines.
9253
9254 When sleeping, clear the wake status only if SleepState is not S5.
9255
9256 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
9257 pointer arithmetic advanced a string pointer too far.
9258
9259 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
9260 could be returned if the requested table has not been loaded.
9261
9262 Within the support for IRQ resources, restructured the handling of
9263 the active and edge/level bits.
9264
9265 Fixed a few problems in AcpiPsxExecute() where memory could be
9266 leaked under certain error conditions.
9267
9268 Improved error messages for the cases where the ACPI mode could
9269 not be entered.
9270
9271 Code and Data Size: Current and previous core subsystem library
9272 sizes are shown below.  These are the code and data sizes for the
9273 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9274 these values do not include any ACPI driver or OSPM code.  The
9275 debug version of the code includes the debug output trace
9276 mechanism and has a much larger code and data size.  Note that
9277 these values will vary depending on the efficiency of the compiler
9278 and the compiler options used during generation.
9279
9280   Previous Release (20031029):
9281     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
9282     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
9283   Current Release:
9284     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
9285     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
9286
9287 2) iASL Compiler/Disassembler:
9288
9289 Implemented a fix for the iASL disassembler where a bad index was
9290 generated.  This was most noticeable on 64-bit platforms
9291
9292
9293 ----------------------------------------
9294 29 October 2003.  Summary of changes for version 20031029:
9295
9296 1) ACPI CA Core Subsystem:
9297
9298
9299 Fixed a problem where a level-triggered GPE with an associated
9300 _Lxx control method was incorrectly cleared twice.
9301
9302 Fixed a problem with the Field support code where an access can
9303 occur beyond the end-of-region if the field is non-aligned but
9304 extends to the very end of the parent region (resulted in an
9305 AE_AML_REGION_LIMIT exception.)
9306
9307 Fixed a problem with ACPI Fixed Events where an RT Clock handler
9308 would not get invoked on an RTC event.  The RTC event bitmasks for
9309 the PM1 registers were not being initialized properly.
9310
9311 Implemented support for executing _STA and _INI methods for
9312 Processor objects.  Although this is currently not part of the
9313 ACPI specification, there is existing ASL code that depends on the
9314 init-time execution of these methods.
9315
9316 Implemented and deployed a GetDescriptorName function to decode
9317 the various types of internal descriptors.  Guards against null
9318 descriptors during debug output also.
9319
9320 Implemented and deployed a GetNodeName function to extract the 4-
9321 character namespace node name.  This function simplifies the debug
9322 and error output, as well as guarding against null pointers during
9323 output.
9324
9325 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
9326 simplify the debug and error output of 64-bit integers.  This
9327 macro replaces the HIDWORD and LODWORD macros for dumping these
9328 integers.
9329
9330 Updated the implementation of the Stall() operator to only call
9331 AcpiOsStall(), and also return an error if the operand is larger
9332 than 255.  This preserves the required behavior of not
9333 relinquishing the processor, as would happen if AcpiOsSleep() was
9334 called for "long stalls".
9335
9336 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
9337 initialized are now treated as NOOPs.
9338
9339 Cleaned up a handful of warnings during 64-bit generation.
9340
9341 Fixed a reported error where and incorrect GPE number was passed
9342 to the GPE dispatch handler.  This value is only used for error
9343 output, however.  Used this opportunity to clean up and streamline
9344 the GPE dispatch code.
9345
9346 Code and Data Size: Current and previous core subsystem library
9347 sizes are shown below.  These are the code and data sizes for the
9348 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9349 these values do not include any ACPI driver or OSPM code.  The
9350
9351 debug version of the code includes the debug output trace
9352 mechanism and has a much larger code and data size.  Note that
9353 these values will vary depending on the efficiency of the compiler
9354 and the compiler options used during generation.
9355
9356   Previous Release (20031002):
9357     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
9358     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
9359   Current Release:
9360     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
9361     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
9362
9363
9364 2) iASL Compiler/Disassembler:
9365
9366 Updated the iASL compiler to return an error if the operand to the
9367 Stall() operator is larger than 255.
9368
9369
9370 ----------------------------------------
9371 02 October 2003.  Summary of changes for version 20031002:
9372
9373
9374 1) ACPI CA Core Subsystem:
9375
9376 Fixed a problem with Index Fields where the index was not
9377 incremented for fields that require multiple writes to the
9378 index/data registers (Fields that are wider than the data
9379 register.)
9380
9381 Fixed a problem with all Field objects where a write could go
9382 beyond the end-of-field if the field was larger than the access
9383 granularity and therefore required multiple writes to complete the
9384 request.  An extra write beyond the end of the field could happen
9385 inadvertently.
9386
9387 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
9388 would incorrectly be returned if the width of the Data Register
9389 was larger than the specified field access width.
9390
9391 Completed fixes for LoadTable() and Unload() and verified their
9392 operation.  Implemented full support for the "DdbHandle" object
9393 throughout the ACPI CA subsystem.
9394
9395 Implemented full support for the MADT and ECDT tables in the ACPI
9396 CA header files.  Even though these tables are not directly
9397 consumed by ACPI CA, the header definitions are useful for ACPI
9398 device drivers.
9399
9400 Integrated resource descriptor fixes posted to the Linux ACPI
9401 list.  This included checks for minimum descriptor length, and
9402 support for trailing NULL strings within descriptors that have
9403 optional string elements.
9404
9405 Code and Data Size: Current and previous core subsystem library
9406 sizes are shown below.  These are the code and data sizes for the
9407 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9408 these values do not include any ACPI driver or OSPM code.  The
9409 debug version of the code includes the debug output trace
9410 mechanism and has a much larger code and data size.  Note that
9411 these values will vary depending on the efficiency of the compiler
9412 and the compiler options used during generation.
9413
9414   Previous Release (20030918):
9415     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
9416     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
9417   Current Release:
9418     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
9419     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
9420
9421
9422 2) iASL Compiler:
9423
9424 Implemented detection of non-ASCII characters within the input
9425 source ASL file.  This catches attempts to compile binary (AML)
9426 files early in the compile, with an informative error message.
9427
9428 Fixed a problem where the disassembler would fault if the output
9429 filename could not be generated or if the output file could not be
9430 opened.
9431
9432 ----------------------------------------
9433 18 September 2003.  Summary of changes for version 20030918:
9434
9435
9436 1) ACPI CA Core Subsystem:
9437
9438 Found and fixed a longstanding problem with the late execution of
9439 the various deferred AML opcodes (such as Operation Regions,
9440 Buffer Fields, Buffers, and Packages).  If the name string
9441 specified for the name of the new object placed the object in a
9442 scope other than the current scope, the initialization/execution
9443 of the opcode failed.  The solution to this problem was to
9444 implement a mechanism where the late execution of such opcodes
9445 does not attempt to lookup/create the name a second time in an
9446 incorrect scope.  This fixes the "region size computed
9447 incorrectly" problem.
9448
9449 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
9450 Global Lock AE_BAD_PARAMETER error.
9451
9452 Fixed several 64-bit issues with prototypes, casting and data
9453 types.
9454
9455 Removed duplicate prototype from acdisasm.h
9456
9457 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
9458
9459 Code and Data Size: Current and previous core subsystem library
9460 sizes are shown below.  These are the code and data sizes for the
9461 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9462 these values do not include any ACPI driver or OSPM code.  The
9463 debug version of the code includes the debug output trace
9464 mechanism and has a much larger code and data size.  Note that
9465 these values will vary depending on the efficiency of the compiler
9466 and the compiler options used during generation.
9467
9468   Previous Release:
9469
9470     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
9471     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
9472   Current Release:
9473     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
9474     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
9475
9476
9477 2) Linux:
9478
9479 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
9480 correct sleep time in seconds.
9481
9482 ----------------------------------------
9483 14 July 2003.  Summary of changes for version 20030619:
9484
9485 1) ACPI CA Core Subsystem:
9486
9487 Parse SSDTs in order discovered, as opposed to reverse order
9488 (Hrvoje Habjanic)
9489
9490 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
9491 Klausner,
9492    Nate Lawson)
9493
9494
9495 2) Linux:
9496
9497 Dynamically allocate SDT list (suggested by Andi Kleen)
9498
9499 proc function return value cleanups (Andi Kleen)
9500
9501 Correctly handle NMI watchdog during long stalls (Andrew Morton)
9502
9503 Make it so acpismp=force works (reported by Andrew Morton)
9504
9505
9506 ----------------------------------------
9507 19 June 2003.  Summary of changes for version 20030619:
9508
9509 1) ACPI CA Core Subsystem:
9510
9511 Fix To/FromBCD, eliminating the need for an arch-specific #define.
9512
9513 Do not acquire a semaphore in the S5 shutdown path.
9514
9515 Fix ex_digits_needed for 0. (Takayoshi Kochi)
9516
9517 Fix sleep/stall code reversal. (Andi Kleen)
9518
9519 Revert a change having to do with control method calling
9520 semantics.
9521
9522 2) Linux:
9523
9524 acpiphp update (Takayoshi Kochi)
9525
9526 Export acpi_disabled for sonypi (Stelian Pop)
9527
9528 Mention acpismp=force in config help
9529
9530 Re-add acpitable.c and acpismp=force. This improves backwards
9531
9532 compatibility and also cleans up the code to a significant degree.
9533
9534 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
9535
9536 ----------------------------------------
9537 22 May 2003.  Summary of changes for version 20030522:
9538
9539 1) ACPI CA Core Subsystem:
9540
9541 Found and fixed a reported problem where an AE_NOT_FOUND error
9542 occurred occasionally during _BST evaluation.  This turned out to
9543 be an Owner ID allocation issue where a called method did not get
9544 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
9545 ID UINT16 would wraparound so that the ID would be the same as the
9546 caller's and the called method would delete the caller's
9547 namespace.
9548
9549 Implemented extended error reporting for control methods that are
9550 aborted due to a run-time exception.  Output includes the exact
9551 AML instruction that caused the method abort, a dump of the method
9552 locals and arguments at the time of the abort, and a trace of all
9553 nested control method calls.
9554
9555 Modified the interpreter to allow the creation of buffers of zero
9556 length from the AML code. Implemented new code to ensure that no
9557 attempt is made to actually allocate a memory buffer (of length
9558 zero) - instead, a simple buffer object with a NULL buffer pointer
9559 and length zero is created.  A warning is no longer issued when
9560 the AML attempts to create a zero-length buffer.
9561
9562 Implemented a workaround for the "leading asterisk issue" in
9563 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
9564 asterisk is automatically removed if present in any HID, UID, or
9565 CID strings.  The iASL compiler will still flag this asterisk as
9566 an error, however.
9567
9568 Implemented full support for _CID methods that return a package of
9569 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
9570 now additionally returns a device _CID list if present.  This
9571 required a change to the external interface in order to pass an
9572 ACPI_BUFFER object as a parameter since the _CID list is of
9573 variable length.
9574
9575 Fixed a problem with the new AE_SAME_HANDLER exception where
9576 handler initialization code did not know about this exception.
9577
9578 Code and Data Size: Current and previous core subsystem library
9579 sizes are shown below.  These are the code and data sizes for the
9580 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9581 these values do not include any ACPI driver or OSPM code.  The
9582 debug version of the code includes the debug output trace
9583 mechanism and has a much larger code and data size.  Note that
9584 these values will vary depending on the efficiency of the compiler
9585 and the compiler options used during generation.
9586
9587   Previous Release (20030509):
9588     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
9589     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
9590   Current Release:
9591     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
9592     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
9593
9594
9595 2) Linux:
9596
9597 Fixed a bug in which we would reinitialize the ACPI interrupt
9598 after it was already working, thus disabling all ACPI and the IRQs
9599 for any other device sharing the interrupt. (Thanks to Stian
9600 Jordet)
9601
9602 Toshiba driver update (John Belmonte)
9603
9604 Return only 0 or 1 for our interrupt handler status (Andrew
9605 Morton)
9606
9607
9608 3) iASL Compiler:
9609
9610 Fixed a reported problem where multiple (nested) ElseIf()
9611 statements were not handled correctly by the compiler, resulting
9612 in incorrect warnings and incorrect AML code.  This was a problem
9613 in both the ASL parser and the code generator.
9614
9615
9616 4) Documentation:
9617
9618 Added changes to existing interfaces, new exception codes, and new
9619 text concerning reference count object management versus garbage
9620 collection.
9621
9622 ----------------------------------------
9623 09 May 2003.  Summary of changes for version 20030509.
9624
9625
9626 1) ACPI CA Core Subsystem:
9627
9628 Changed the subsystem initialization sequence to hold off
9629 installation of address space handlers until the hardware has been
9630 initialized and the system has entered ACPI mode.  This is because
9631 the installation of space handlers can cause _REG methods to be
9632 run.  Previously, the _REG methods could potentially be run before
9633 ACPI mode was enabled.
9634
9635 Fixed some memory leak issues related to address space handler and
9636 notify handler installation.  There were some problems with the
9637 reference count mechanism caused by the fact that the handler
9638 objects are shared across several namespace objects.
9639
9640 Fixed a reported problem where reference counts within the
9641 namespace were not properly updated when named objects created by
9642 method execution were deleted.
9643
9644 Fixed a reported problem where multiple SSDTs caused a deletion
9645 issue during subsystem termination.  Restructured the table data
9646 structures to simplify the linked lists and the related code.
9647
9648 Fixed a problem where the table ID associated with secondary
9649 tables (SSDTs) was not being propagated into the namespace objects
9650 created by those tables.  This would only present a problem for
9651 tables that are unloaded at run-time, however.
9652
9653 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
9654 type as the length parameter (instead of UINT32).
9655
9656 Solved a long-standing problem where an ALREADY_EXISTS error
9657 appears on various systems.  This problem could happen when there
9658 are multiple PCI_Config operation regions under a single PCI root
9659 bus.  This doesn't happen very frequently, but there are some
9660 systems that do this in the ASL.
9661
9662 Fixed a reported problem where the internal DeleteNode function
9663 was incorrectly handling the case where a namespace node was the
9664 first in the parent's child list, and had additional peers (not
9665 the only child, but first in the list of children.)
9666
9667 Code and Data Size: Current core subsystem library sizes are shown
9668 below.  These are the code and data sizes for the acpica.lib
9669 produced by the Microsoft Visual C++ 6.0 compiler, and these
9670 values do not include any ACPI driver or OSPM code.  The debug
9671 version of the code includes the debug output trace mechanism and
9672 has a much larger code and data size.  Note that these values will
9673 vary depending on the efficiency of the compiler and the compiler
9674 options used during generation.
9675
9676   Previous Release
9677     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
9678     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
9679   Current Release:
9680     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
9681     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
9682
9683
9684 2) Linux:
9685
9686 Allow ":" in OS override string (Ducrot Bruno)
9687
9688 Kobject fix (Greg KH)
9689
9690
9691 3 iASL Compiler/Disassembler:
9692
9693 Fixed a problem in the generation of the C source code files (AML
9694 is emitted in C source statements for BIOS inclusion) where the
9695 Ascii dump that appears within a C comment at the end of each line
9696 could cause a compile time error if the AML sequence happens to
9697 have an open comment or close comment sequence embedded.
9698
9699
9700 ----------------------------------------
9701 24 April 2003.  Summary of changes for version 20030424.
9702
9703
9704 1) ACPI CA Core Subsystem:
9705
9706 Support for big-endian systems has been implemented.  Most of the
9707 support has been invisibly added behind big-endian versions of the
9708 ACPI_MOVE_* macros.
9709
9710 Fixed a problem in AcpiHwDisableGpeBlock() and
9711 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
9712 low level hardware write routine.  The offset parameter was
9713 actually eliminated from the low level read/write routines because
9714 they had become obsolete.
9715
9716 Fixed a problem where a handler object was deleted twice during
9717 the removal of a fixed event handler.
9718
9719
9720 2) Linux:
9721
9722 A fix for SMP systems with link devices was contributed by
9723
9724 Compaq's Dan Zink.
9725
9726 (2.5) Return whether we handled the interrupt in our IRQ handler.
9727 (Linux ISRs no longer return void, so we can propagate the handler
9728 return value from the ACPI CA core back to the OS.)
9729
9730
9731
9732 3) Documentation:
9733
9734 The ACPI CA Programmer Reference has been updated to reflect new
9735 interfaces and changes to existing interfaces.
9736
9737 ----------------------------------------
9738 28 March 2003.  Summary of changes for version 20030328.
9739
9740 1) ACPI CA Core Subsystem:
9741
9742 The GPE Block Device support has been completed.  New interfaces
9743 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
9744 interfaces (enable, disable, clear, getstatus) have been split
9745 into separate interfaces for Fixed Events and General Purpose
9746 Events (GPEs) in order to support GPE Block Devices properly.
9747
9748 Fixed a problem where the error message "Failed to acquire
9749 semaphore" would appear during operations on the embedded
9750 controller (EC).
9751
9752 Code and Data Size: Current core subsystem library sizes are shown
9753 below.  These are the code and data sizes for the acpica.lib
9754 produced by the Microsoft Visual C++ 6.0 compiler, and these
9755 values do not include any ACPI driver or OSPM code.  The debug
9756 version of the code includes the debug output trace mechanism and
9757 has a much larger code and data size.  Note that these values will
9758 vary depending on the efficiency of the compiler and the compiler
9759 options used during generation.
9760
9761   Previous Release
9762     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
9763     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
9764   Current Release:
9765     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
9766     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
9767
9768
9769 ----------------------------------------
9770 28 February 2003.  Summary of changes for version 20030228.
9771
9772
9773 1) ACPI CA Core Subsystem:
9774
9775 The GPE handling and dispatch code has been completely overhauled
9776 in preparation for support of GPE Block Devices (ID ACPI0006).
9777 This affects internal data structures and code only; there should
9778 be no differences visible externally.  One new file has been
9779 added, evgpeblk.c
9780
9781 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
9782 fields that are used to determine the GPE block lengths.  The
9783 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
9784 structures are ignored.  This is per the ACPI specification but it
9785 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
9786 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
9787
9788 In the SCI interrupt handler, removed the read of the PM1_CONTROL
9789 register to look at the SCI_EN bit.  On some machines, this read
9790 causes an SMI event and greatly slows down SCI events.  (This may
9791 in fact be the cause of slow battery status response on some
9792 systems.)
9793
9794 Fixed a problem where a store of a NULL string to a package object
9795 could cause the premature deletion of the object.  This was seen
9796 during execution of the battery _BIF method on some systems,
9797 resulting in no battery data being returned.
9798
9799 Added AcpiWalkResources interface to simplify parsing of resource
9800 lists.
9801
9802 Code and Data Size: Current core subsystem library sizes are shown
9803 below.  These are the code and data sizes for the acpica.lib
9804 produced by the Microsoft Visual C++ 6.0 compiler, and these
9805 values do not include any ACPI driver or OSPM code.  The debug
9806 version of the code includes the debug output trace mechanism and
9807 has a much larger code and data size.  Note that these values will
9808 vary depending on the efficiency of the compiler and the compiler
9809 options used during generation.
9810
9811   Previous Release
9812     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
9813     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
9814   Current Release:
9815     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
9816     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
9817
9818
9819 2) Linux
9820
9821 S3 fixes (Ole Rohne)
9822
9823 Update ACPI PHP driver with to use new acpi_walk_resource API
9824 (Bjorn Helgaas)
9825
9826 Add S4BIOS support (Pavel Machek)
9827
9828 Map in entire table before performing checksum (John Stultz)
9829
9830 Expand the mem= cmdline to allow the specification of reserved and
9831 ACPI DATA blocks (Pavel Machek)
9832
9833 Never use ACPI on VISWS
9834
9835 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
9836
9837 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
9838 causing us to think that some systems support C2 when they really
9839 don't.
9840
9841 Do not count processor objects for non-present CPUs (Thanks to
9842 Dominik Brodowski)
9843
9844
9845 3) iASL Compiler:
9846
9847 Fixed a problem where ASL include files could not be found and
9848 opened.
9849
9850 Added support for the _PDC reserved name.
9851
9852
9853 ----------------------------------------
9854 22 January 2003.  Summary of changes for version 20030122.
9855
9856
9857 1) ACPI CA Core Subsystem:
9858
9859 Added a check for constructs of the form:  Store (Local0, Local0)
9860 where Local0 is not initialized.  Apparently, some BIOS
9861 programmers believe that this is a NOOP.  Since this store doesn't
9862 do anything anyway, the new prototype behavior will ignore this
9863 error.  This is a case where we can relax the strict checking in
9864 the interpreter in the name of compatibility.
9865
9866
9867 2) Linux
9868
9869 The AcpiSrc Source Conversion Utility has been released with the
9870 Linux package for the first time.  This is the utility that is
9871 used to convert the ACPI CA base source code to the Linux version.
9872
9873 (Both) Handle P_BLK lengths shorter than 6 more gracefully
9874
9875 (Both) Move more headers to include/acpi, and delete an unused
9876 header.
9877
9878 (Both) Move drivers/acpi/include directory to include/acpi
9879
9880 (Both) Boot functions don't use cmdline, so don't pass it around
9881
9882 (Both) Remove include of unused header (Adrian Bunk)
9883
9884 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
9885 the
9886 former now also includes the latter, acpiphp.h only needs the one,
9887 now.
9888
9889 (2.5) Make it possible to select method of bios restoring after S3
9890 resume. [=> no more ugly ifdefs] (Pavel Machek)
9891
9892 (2.5) Make proc write interfaces work (Pavel Machek)
9893
9894 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
9895
9896 (2.5) Break out ACPI Perf code into its own module, under cpufreq
9897 (Dominik Brodowski)
9898
9899 (2.4) S4BIOS support (Ducrot Bruno)
9900
9901 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
9902 Visinoni)
9903
9904
9905 3) iASL Compiler:
9906
9907 Added support to disassemble SSDT and PSDTs.
9908
9909 Implemented support to obtain SSDTs from the Windows registry if
9910 available.
9911
9912
9913 ----------------------------------------
9914 09 January 2003.  Summary of changes for version 20030109.
9915
9916 1) ACPI CA Core Subsystem:
9917
9918 Changed the behavior of the internal Buffer-to-String conversion
9919 function.  The current ACPI specification states that the contents
9920 of the buffer are "converted to a string of two-character
9921 hexadecimal numbers, each separated by a space".  Unfortunately,
9922 this definition is not backwards compatible with existing ACPI 1.0
9923 implementations (although the behavior was not defined in the ACPI
9924 1.0 specification).  The new behavior simply copies data from the
9925 buffer to the string until a null character is found or the end of
9926 the buffer is reached.  The new String object is always null
9927 terminated.  This problem was seen during the generation of _BIF
9928 battery data where incorrect strings were returned for battery
9929 type, etc.  This will also require an errata to the ACPI
9930 specification.
9931
9932 Renamed all instances of NATIVE_UINT and NATIVE_INT to
9933 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
9934
9935 Copyright in all module headers (both Linux and non-Linux) has be
9936 updated to 2003.
9937
9938 Code and Data Size: Current core subsystem library sizes are shown
9939 below.  These are the code and data sizes for the acpica.lib
9940 produced by the Microsoft Visual C++ 6.0 compiler, and these
9941 values do not include any ACPI driver or OSPM code.  The debug
9942 version of the code includes the debug output trace mechanism and
9943 has a much larger code and data size.  Note that these values will
9944 vary depending on the efficiency of the compiler and the compiler
9945 options used during generation.
9946
9947   Previous Release
9948     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
9949     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
9950   Current Release:
9951     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
9952     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
9953
9954
9955 2) Linux
9956
9957 Fixed an oops on module insertion/removal (Matthew Tippett)
9958
9959 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
9960
9961 (2.5) Replace pr_debug (Randy Dunlap)
9962
9963 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
9964
9965 (Both) Eliminate spawning of thread from timer callback, in favor
9966 of schedule_work()
9967
9968 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
9969
9970 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
9971
9972 (Both) Add missing statics to button.c (Pavel Machek)
9973
9974 Several changes have been made to the source code translation
9975 utility that generates the Linux Code in order to make the code
9976 more "Linux-like":
9977
9978 All typedefs on structs and unions have been removed in keeping
9979 with the Linux coding style.
9980
9981 Removed the non-Linux SourceSafe module revision number from each
9982 module header.
9983
9984 Completed major overhaul of symbols to be lowercased for linux.
9985 Doubled the number of symbols that are lowercased.
9986
9987 Fixed a problem where identifiers within procedure headers and
9988 within quotes were not fully lower cased (they were left with a
9989 starting capital.)
9990
9991 Some C macros whose only purpose is to allow the generation of 16-
9992 bit code are now completely removed in the Linux code, increasing
9993 readability and maintainability.
9994
9995 ----------------------------------------
9996
9997 12 December 2002.  Summary of changes for version 20021212.
9998
9999
10000 1) ACPI CA Core Subsystem:
10001
10002 Fixed a problem where the creation of a zero-length AML Buffer
10003 would cause a fault.
10004
10005 Fixed a problem where a Buffer object that pointed to a static AML
10006 buffer (in an ACPI table) could inadvertently be deleted, causing
10007 memory corruption.
10008
10009 Fixed a problem where a user buffer (passed in to the external
10010 ACPI CA interfaces) could be overwritten if the buffer was too
10011 small to complete the operation, causing memory corruption.
10012
10013 Fixed a problem in the Buffer-to-String conversion code where a
10014 string of length one was always returned, regardless of the size
10015 of the input Buffer object.
10016
10017 Removed the NATIVE_CHAR data type across the entire source due to
10018 lack of need and lack of consistent use.
10019
10020 Code and Data Size: Current core subsystem library sizes are shown
10021 below.  These are the code and data sizes for the acpica.lib
10022 produced by the Microsoft Visual C++ 6.0 compiler, and these
10023 values do not include any ACPI driver or OSPM code.  The debug
10024 version of the code includes the debug output trace mechanism and
10025 has a much larger code and data size.  Note that these values will
10026 vary depending on the efficiency of the compiler and the compiler
10027 options used during generation.
10028
10029   Previous Release
10030     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
10031     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
10032   Current Release:
10033     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10034     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10035
10036
10037 ----------------------------------------
10038 05 December 2002.  Summary of changes for version 20021205.
10039
10040 1) ACPI CA Core Subsystem:
10041
10042 Fixed a problem where a store to a String or Buffer object could
10043 cause corruption of the DSDT if the object type being stored was
10044 the same as the target object type and the length of the object
10045 being stored was equal to or smaller than the original (existing)
10046 target object.  This was seen to cause corruption of battery _BIF
10047 buffers if the _BIF method modified the buffer on the fly.
10048
10049 Fixed a problem where an internal error was generated if a control
10050 method invocation was used in an OperationRegion, Buffer, or
10051 Package declaration.  This was caused by the deferred parsing of
10052 the control method and thus the deferred creation of the internal
10053 method object.  The solution to this problem was to create the
10054 internal method object at the moment the method is encountered in
10055 the first pass - so that subsequent references to the method will
10056 able to obtain the required parameter count and thus properly
10057 parse the method invocation.  This problem presented itself as an
10058 AE_AML_INTERNAL during the pass 1 parse phase during table load.
10059
10060 Fixed a problem where the internal String object copy routine did
10061 not always allocate sufficient memory for the target String object
10062 and caused memory corruption.  This problem was seen to cause
10063 "Allocation already present in list!" errors as memory allocation
10064 became corrupted.
10065
10066 Implemented a new function for the evaluation of namespace objects
10067 that allows the specification of the allowable return object
10068 types.  This simplifies a lot of code that checks for a return
10069 object of one or more specific objects returned from the
10070 evaluation (such as _STA, etc.)  This may become and external
10071 function if it would be useful to ACPI-related drivers.
10072
10073 Completed another round of prefixing #defines with "ACPI_" for
10074 clarity.
10075
10076 Completed additional code restructuring to allow more modular
10077 linking for iASL compiler and AcpiExec.  Several files were split
10078 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
10079
10080 Implemented an abort mechanism to terminate an executing control
10081 method via the AML debugger.  This feature is useful for debugging
10082 control methods that depend (wait) for specific hardware
10083 responses.
10084
10085 Code and Data Size: Current core subsystem library sizes are shown
10086 below.  These are the code and data sizes for the acpica.lib
10087 produced by the Microsoft Visual C++ 6.0 compiler, and these
10088 values do not include any ACPI driver or OSPM code.  The debug
10089 version of the code includes the debug output trace mechanism and
10090 has a much larger code and data size.  Note that these values will
10091 vary depending on the efficiency of the compiler and the compiler
10092 options used during generation.
10093
10094   Previous Release
10095     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10096     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
10097   Current Release:
10098     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
10099     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
10100
10101
10102 2) iASL Compiler/Disassembler
10103
10104 Fixed a compiler code generation problem for "Interrupt" Resource
10105 Descriptors.  If specified in the ASL, the optional "Resource
10106 Source Index" and "Resource Source" fields were not inserted into
10107 the correct location within the AML resource descriptor, creating
10108 an invalid descriptor.
10109
10110 Fixed a disassembler problem for "Interrupt" resource descriptors.
10111 The optional "Resource Source Index" and "Resource Source" fields
10112 were ignored.
10113
10114
10115 ----------------------------------------
10116 22 November 2002.  Summary of changes for version 20021122.
10117
10118
10119 1) ACPI CA Core Subsystem:
10120
10121 Fixed a reported problem where an object stored to a Method Local
10122 or Arg was not copied to a new object during the store - the
10123 object pointer was simply copied to the Local/Arg.  This caused
10124 all subsequent operations on the Local/Arg to also affect the
10125 original source of the store operation.
10126
10127 Fixed a problem where a store operation to a Method Local or Arg
10128 was not completed properly if the Local/Arg contained a reference
10129 (from RefOf) to a named field.  The general-purpose store-to-
10130 namespace-node code is now used so that this case is handled
10131 automatically.
10132
10133 Fixed a problem where the internal object copy routine would cause
10134 a protection fault if the object being copied was a Package and
10135 contained either 1) a NULL package element or 2) a nested sub-
10136 package.
10137
10138 Fixed a problem with the GPE initialization that resulted from an
10139 ambiguity in the ACPI specification.  One section of the
10140 specification states that both the address and length of the GPE
10141 block must be zero if the block is not supported.  Another section
10142 implies that only the address need be zero if the block is not
10143 supported.  The code has been changed so that both the address and
10144 the length must be non-zero to indicate a valid GPE block (i.e.,
10145 if either the address or the length is zero, the GPE block is
10146 invalid.)
10147
10148 Code and Data Size: Current core subsystem library sizes are shown
10149 below.  These are the code and data sizes for the acpica.lib
10150 produced by the Microsoft Visual C++ 6.0 compiler, and these
10151 values do not include any ACPI driver or OSPM code.  The debug
10152 version of the code includes the debug output trace mechanism and
10153 has a much larger code and data size.  Note that these values will
10154 vary depending on the efficiency of the compiler and the compiler
10155 options used during generation.
10156
10157   Previous Release
10158     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
10159     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
10160   Current Release:
10161     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10162     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
10163
10164
10165 2) Linux
10166
10167 Cleaned up EC driver. Exported an external EC read/write
10168 interface. By going through this, other drivers (most notably
10169 sonypi) will be able to serialize access to the EC.
10170
10171
10172 3) iASL Compiler/Disassembler
10173
10174 Implemented support to optionally generate include files for both
10175 ASM and C (the -i switch).  This simplifies BIOS development by
10176 automatically creating include files that contain external
10177 declarations for the symbols that are created within the
10178
10179 (optionally generated) ASM and C AML source files.
10180
10181
10182 ----------------------------------------
10183 15 November 2002.  Summary of changes for version 20021115.
10184
10185 1) ACPI CA Core Subsystem:
10186
10187 Fixed a memory leak problem where an error during resolution of
10188
10189 method arguments during a method invocation from another method
10190 failed to cleanup properly by deleting all successfully resolved
10191 argument objects.
10192
10193 Fixed a problem where the target of the Index() operator was not
10194 correctly constructed if the source object was a package.  This
10195 problem has not been detected because the use of a target operand
10196 with Index() is very rare.
10197
10198 Fixed a problem with the Index() operator where an attempt was
10199 made to delete the operand objects twice.
10200
10201 Fixed a problem where an attempt was made to delete an operand
10202 twice during execution of the CondRefOf() operator if the target
10203 did not exist.
10204
10205 Implemented the first of perhaps several internal create object
10206 functions that create and initialize a specific object type.  This
10207 consolidates duplicated code wherever the object is created, thus
10208 shrinking the size of the subsystem.
10209
10210 Implemented improved debug/error messages for errors that occur
10211 during nested method invocations.  All executing method pathnames
10212 are displayed (with the error) as the call stack is unwound - thus
10213 simplifying debug.
10214
10215 Fixed a problem introduced in the 10/02 release that caused
10216 premature deletion of a buffer object if a buffer was used as an
10217 ASL operand where an integer operand is required (Thus causing an
10218 implicit object conversion from Buffer to Integer.)  The change in
10219 the 10/02 release was attempting to fix a memory leak (albeit
10220 incorrectly.)
10221
10222 Code and Data Size: Current core subsystem library sizes are shown
10223 below.  These are the code and data sizes for the acpica.lib
10224 produced by the Microsoft Visual C++ 6.0 compiler, and these
10225 values do not include any ACPI driver or OSPM code.  The debug
10226 version of the code includes the debug output trace mechanism and
10227 has a much larger code and data size.  Note that these values will
10228 vary depending on the efficiency of the compiler and the compiler
10229 options used during generation.
10230
10231   Previous Release
10232     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
10233     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
10234   Current Release:
10235     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
10236     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
10237
10238
10239 2) Linux
10240
10241 Changed the implementation of the ACPI semaphores to use down()
10242 instead of down_interruptable().  It is important that the
10243 execution of ACPI control methods not be interrupted by signals.
10244 Methods must run to completion, or the system may be left in an
10245 unknown/unstable state.
10246
10247 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
10248 (Shawn Starr)
10249
10250
10251 3) iASL Compiler/Disassembler
10252
10253
10254 Changed the default location of output files.  All output files
10255 are now placed in the current directory by default instead of in
10256 the directory of the source file.  This change may affect some
10257 existing makefiles, but it brings the behavior of the compiler in
10258 line with other similar tools.  The location of the output files
10259 can be overridden with the -p command line switch.
10260
10261
10262 ----------------------------------------
10263 11 November 2002.  Summary of changes for version 20021111.
10264
10265
10266 0) ACPI Specification 2.0B is released and is now available at:
10267 http://www.acpi.info/index.html
10268
10269
10270 1) ACPI CA Core Subsystem:
10271
10272 Implemented support for the ACPI 2.0 SMBus Operation Regions.
10273 This includes the early detection and handoff of the request to
10274 the SMBus region handler (avoiding all of the complex field
10275 support code), and support for the bidirectional return packet
10276 from an SMBus write operation.  This paves the way for the
10277 development of SMBus drivers in each host operating system.
10278
10279 Fixed a problem where the semaphore WAIT_FOREVER constant was
10280 defined as 32 bits, but must be 16 bits according to the ACPI
10281 specification.  This had the side effect of causing ASL
10282 Mutex/Event timeouts even though the ASL code requested a wait
10283 forever.  Changed all internal references to the ACPI timeout
10284 parameter to 16 bits to prevent future problems.  Changed the name
10285 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
10286
10287 Code and Data Size: Current core subsystem library sizes are shown
10288 below.  These are the code and data sizes for the acpica.lib
10289 produced by the Microsoft Visual C++ 6.0 compiler, and these
10290 values do not include any ACPI driver or OSPM code.  The debug
10291 version of the code includes the debug output trace mechanism and
10292 has a much larger code and data size.  Note that these values will
10293 vary depending on the efficiency of the compiler and the compiler
10294 options used during generation.
10295
10296   Previous Release
10297     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10298     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
10299   Current Release:
10300     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
10301     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
10302
10303
10304 2) Linux
10305
10306 Module loading/unloading fixes (John Cagle)
10307
10308
10309 3) iASL Compiler/Disassembler
10310
10311 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
10312
10313 Implemented support for the disassembly of all SMBus protocol
10314 keywords (SMBQuick, SMBWord, etc.)
10315
10316 ----------------------------------------
10317 01 November 2002.  Summary of changes for version 20021101.
10318
10319
10320 1) ACPI CA Core Subsystem:
10321
10322 Fixed a problem where platforms that have a GPE1 block but no GPE0
10323 block were not handled correctly.  This resulted in a "GPE
10324 overlap" error message.  GPE0 is no longer required.
10325
10326 Removed code added in the previous release that inserted nodes
10327 into the namespace in alphabetical order.  This caused some side-
10328 effects on various machines.  The root cause of the problem is
10329 still under investigation since in theory, the internal ordering
10330 of the namespace nodes should not matter.
10331
10332
10333 Enhanced error reporting for the case where a named object is not
10334 found during control method execution.  The full ACPI namepath
10335 (name reference) of the object that was not found is displayed in
10336 this case.
10337
10338 Note: as a result of the overhaul of the namespace object types in
10339 the previous release, the namespace nodes for the predefined
10340 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
10341 instead of ACPI_TYPE_ANY.  This simplifies the namespace
10342 management code but may affect code that walks the namespace tree
10343 looking for specific object types.
10344
10345 Code and Data Size: Current core subsystem library sizes are shown
10346 below.  These are the code and data sizes for the acpica.lib
10347 produced by the Microsoft Visual C++ 6.0 compiler, and these
10348 values do not include any ACPI driver or OSPM code.  The debug
10349 version of the code includes the debug output trace mechanism and
10350 has a much larger code and data size.  Note that these values will
10351 vary depending on the efficiency of the compiler and the compiler
10352 options used during generation.
10353
10354   Previous Release
10355     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
10356     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
10357   Current Release:
10358     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10359     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
10360
10361
10362 2) Linux
10363
10364 Fixed a problem introduced in the previous release where the
10365 Processor and Thermal objects were not recognized and installed in
10366 /proc.  This was related to the scope type change described above.
10367
10368
10369 3) iASL Compiler/Disassembler
10370
10371 Implemented the -g option to get all of the required ACPI tables
10372 from the registry and save them to files (Windows version of the
10373 compiler only.)  The required tables are the FADT, FACS, and DSDT.
10374
10375 Added ACPI table checksum validation during table disassembly in
10376 order to catch corrupted tables.
10377
10378
10379 ----------------------------------------
10380 22 October 2002.  Summary of changes for version 20021022.
10381
10382 1) ACPI CA Core Subsystem:
10383
10384 Implemented a restriction on the Scope operator that the target
10385 must already exist in the namespace at the time the operator is
10386 encountered (during table load or method execution).  In other
10387 words, forward references are not allowed and Scope() cannot
10388 create a new object. This changes the previous behavior where the
10389 interpreter would create the name if not found.  This new behavior
10390 correctly enables the search-to-root algorithm during namespace
10391 lookup of the target name.  Because of this upsearch, this fixes
10392 the known Compaq _SB_.OKEC problem and makes both the AML
10393 interpreter and iASL compiler compatible with other ACPI
10394 implementations.
10395
10396 Completed a major overhaul of the internal ACPI object types for
10397 the ACPI Namespace and the associated operand objects.  Many of
10398 these types had become obsolete with the introduction of the two-
10399 pass namespace load.  This cleanup simplifies the code and makes
10400 the entire namespace load mechanism much clearer and easier to
10401 understand.
10402
10403 Improved debug output for tracking scope opening/closing to help
10404 diagnose scoping issues.  The old scope name as well as the new
10405 scope name are displayed.  Also improved error messages for
10406 problems with ASL Mutex objects and error messages for GPE
10407 problems.
10408
10409 Cleaned up the namespace dump code, removed obsolete code.
10410
10411 All string output (for all namespace/object dumps) now uses the
10412 common ACPI string output procedure which handles escapes properly
10413 and does not emit non-printable characters.
10414
10415 Fixed some issues with constants in the 64-bit version of the
10416 local C library (utclib.c)
10417
10418
10419 2) Linux
10420
10421 EC Driver:  No longer attempts to acquire the Global Lock at
10422 interrupt level.
10423
10424
10425 3) iASL Compiler/Disassembler
10426
10427 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
10428 2 opcodes outside of a control method.  This means that the
10429 "executable" operators (versus the "namespace" operators) cannot
10430 be used at the table level; they can only be used within a control
10431 method.
10432
10433 Implemented the restriction on the Scope() operator where the
10434 target must already exist in the namespace at the time the
10435 operator is encountered (during ASL compilation). In other words,
10436 forward references are not allowed and Scope() cannot create a new
10437 object.  This makes the iASL compiler compatible with other ACPI
10438 implementations and makes the Scope() implementation adhere to the
10439 ACPI specification.
10440
10441 Fixed a problem where namepath optimization for the Alias operator
10442 was optimizing the wrong path (of the two namepaths.)  This caused
10443 a "Missing alias link" error message.
10444
10445 Fixed a problem where an "unknown reserved name" warning could be
10446 incorrectly generated for names like "_SB" when the trailing
10447 underscore is not used in the original ASL.
10448
10449 Fixed a problem where the reserved name check did not handle
10450 NamePaths with multiple NameSegs correctly.  The first nameseg of
10451 the NamePath was examined instead of the last NameSeg.
10452
10453
10454 ----------------------------------------
10455
10456 02 October 2002.  Summary of changes for this release.
10457
10458
10459 1) ACPI CA Core Subsystem version 20021002:
10460
10461 Fixed a problem where a store/copy of a string to an existing
10462 string did not always set the string length properly in the String
10463 object.
10464
10465 Fixed a reported problem with the ToString operator where the
10466 behavior was identical to the ToHexString operator instead of just
10467 simply converting a raw buffer to a string data type.
10468
10469 Fixed a problem where CopyObject and the other "explicit"
10470 conversion operators were not updating the internal namespace node
10471 type as part of the store operation.
10472
10473 Fixed a memory leak during implicit source operand conversion
10474 where the original object was not deleted if it was converted to a
10475 new object of a different type.
10476
10477 Enhanced error messages for all problems associated with namespace
10478 lookups.  Common procedure generates and prints the lookup name as
10479 well as the formatted status.
10480
10481 Completed implementation of a new design for the Alias support
10482 within the namespace.  The existing design did not handle the case
10483 where a new object was assigned to one of the two names due to the
10484 use of an explicit conversion operator, resulting in the two names
10485 pointing to two different objects.  The new design simply points
10486 the Alias name to the original name node - not to the object.
10487 This results in a level of indirection that must be handled in the
10488 name resolution mechanism.
10489
10490 Code and Data Size: Current core subsystem library sizes are shown
10491 below.  These are the code and data sizes for the acpica.lib
10492 produced by the Microsoft Visual C++ 6.0 compiler, and these
10493 values do not include any ACPI driver or OSPM code.  The debug
10494 version of the code includes the debug output trace mechanism and
10495 has a larger code and data size.  Note that these values will vary
10496 depending on the efficiency of the compiler and the compiler
10497 options used during generation.
10498
10499   Previous Release
10500     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
10501     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
10502   Current Release:
10503     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
10504     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
10505
10506
10507 2) Linux
10508
10509 Initialize thermal driver's timer before it is used. (Knut
10510 Neumann)
10511
10512 Allow handling negative celsius values. (Kochi Takayoshi)
10513
10514 Fix thermal management and make trip points. R/W (Pavel Machek)
10515
10516 Fix /proc/acpi/sleep. (P. Christeas)
10517
10518 IA64 fixes. (David Mosberger)
10519
10520 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
10521
10522 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
10523 Brodowski)
10524
10525
10526 3) iASL Compiler/Disassembler
10527
10528 Clarified some warning/error messages.
10529
10530
10531 ----------------------------------------
10532 18 September 2002.  Summary of changes for this release.
10533
10534
10535 1) ACPI CA Core Subsystem version 20020918:
10536
10537 Fixed a reported problem with reference chaining (via the Index()
10538 and RefOf() operators) in the ObjectType() and SizeOf() operators.
10539 The definition of these operators includes the dereferencing of
10540 all chained references to return information on the base object.
10541
10542 Fixed a problem with stores to indexed package elements - the
10543 existing code would not complete the store if an "implicit
10544 conversion" was not performed.  In other words, if the existing
10545 object (package element) was to be replaced completely, the code
10546 didn't handle this case.
10547
10548 Relaxed typechecking on the ASL "Scope" operator to allow the
10549 target name to refer to an object of type Integer, String, or
10550 Buffer, in addition to the scoping object types (Device,
10551 predefined Scopes, Processor, PowerResource, and ThermalZone.)
10552 This allows existing AML code that has workarounds for a bug in
10553 Windows to function properly.  A warning is issued, however.  This
10554 affects both the AML interpreter and the iASL compiler. Below is
10555 an example of this type of ASL code:
10556
10557       Name(DEB,0x00)
10558       Scope(DEB)
10559       {
10560
10561 Fixed some reported problems with 64-bit integer support in the
10562 local implementation of C library functions (clib.c)
10563
10564
10565 2) Linux
10566
10567 Use ACPI fix map region instead of IOAPIC region, since it is
10568 undefined in non-SMP.
10569
10570 Ensure that the SCI has the proper polarity and trigger, even on
10571 systems that do not have an interrupt override entry in the MADT.
10572
10573 2.5 big driver reorganization (Pat Mochel)
10574
10575 Use early table mapping code from acpitable.c (Andi Kleen)
10576
10577 New blacklist entries (Andi Kleen)
10578
10579 Blacklist improvements. Split blacklist code out into a separate
10580 file. Move checking the blacklist to very early. Previously, we
10581 would use ACPI tables, and then halfway through init, check the
10582 blacklist -- too late. Now, it's early enough to completely fall-
10583 back to non-ACPI.
10584
10585
10586 3) iASL Compiler/Disassembler version 20020918:
10587
10588 Fixed a problem where the typechecking code didn't know that an
10589 alias could point to a method.  In other words, aliases were not
10590 being dereferenced during typechecking.
10591
10592
10593 ----------------------------------------
10594 29 August 2002.  Summary of changes for this release.
10595
10596 1) ACPI CA Core Subsystem Version 20020829:
10597
10598 If the target of a Scope() operator already exists, it must be an
10599 object type that actually opens a scope -- such as a Device,
10600 Method, Scope, etc.  This is a fatal runtime error.  Similar error
10601 check has been added to the iASL compiler also.
10602
10603 Tightened up the namespace load to disallow multiple names in the
10604 same scope.  This previously was allowed if both objects were of
10605 the same type.  (i.e., a lookup was the same as entering a new
10606 name).
10607
10608
10609 2) Linux
10610
10611 Ensure that the ACPI interrupt has the proper trigger and
10612 polarity.
10613
10614 local_irq_disable is extraneous. (Matthew Wilcox)
10615
10616 Make "acpi=off" actually do what it says, and not use the ACPI
10617 interpreter *or* the tables.
10618
10619 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
10620 Takayoshi)
10621
10622
10623 3) iASL Compiler/Disassembler  Version 20020829:
10624
10625 Implemented namepath optimization for name declarations.  For
10626 example, a declaration like "Method (\_SB_.ABCD)" would get
10627 optimized to "Method (ABCD)" if the declaration is within the
10628 \_SB_ scope.  This optimization is in addition to the named
10629 reference path optimization first released in the previous
10630 version. This would seem to complete all possible optimizations
10631 for namepaths within the ASL/AML.
10632
10633 If the target of a Scope() operator already exists, it must be an
10634 object type that actually opens a scope -- such as a Device,
10635 Method, Scope, etc.
10636
10637 Implemented a check and warning for unreachable code in the same
10638 block below a Return() statement.
10639
10640 Fixed a problem where the listing file was not generated if the
10641 compiler aborted if the maximum error count was exceeded (200).
10642
10643 Fixed a problem where the typechecking of method return values was
10644 broken.  This includes the check for a return value when the
10645 method is invoked as a TermArg (a return value is expected.)
10646
10647 Fixed a reported problem where EOF conditions during a quoted
10648 string or comment caused a fault.
10649
10650
10651 ----------------------------------------
10652 15 August 2002.  Summary of changes for this release.
10653
10654 1) ACPI CA Core Subsystem Version 20020815:
10655
10656 Fixed a reported problem where a Store to a method argument that
10657 contains a reference did not perform the indirect store correctly.
10658 This problem was created during the conversion to the new
10659 reference object model - the indirect store to a method argument
10660 code was not updated to reflect the new model.
10661
10662 Reworked the ACPI mode change code to better conform to ACPI 2.0,
10663 handle corner cases, and improve code legibility (Kochi Takayoshi)
10664
10665 Fixed a problem with the pathname parsing for the carat (^)
10666 prefix.  The heavy use of the carat operator by the new namepath
10667 optimization in the iASL compiler uncovered a problem with the AML
10668 interpreter handling of this prefix.  In the case where one or
10669 more carats precede a single nameseg, the nameseg was treated as
10670 standalone and the search rule (to root) was inadvertently
10671 applied.  This could cause both the iASL compiler and the
10672 interpreter to find the wrong object or to miss the error that
10673 should occur if the object does not exist at that exact pathname.
10674
10675 Found and fixed the problem where the HP Pavilion DSDT would not
10676 load.  This was a relatively minor tweak to the table loading code
10677 (a problem caused by the unexpected encounter with a method
10678 invocation not within a control method), but it does not solve the
10679 overall issue of the execution of AML code at the table level.
10680 This investigation is still ongoing.
10681
10682 Code and Data Size: Current core subsystem library sizes are shown
10683 below.  These are the code and data sizes for the acpica.lib
10684 produced by the Microsoft Visual C++ 6.0 compiler, and these
10685 values do not include any ACPI driver or OSPM code.  The debug
10686 version of the code includes the debug output trace mechanism and
10687 has a larger code and data size.  Note that these values will vary
10688 depending on the efficiency of the compiler and the compiler
10689 options used during generation.
10690
10691   Previous Release
10692     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
10693     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
10694   Current Release:
10695     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
10696     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
10697
10698
10699 2) Linux
10700
10701 Remove redundant slab.h include (Brad Hards)
10702
10703 Fix several bugs in thermal.c (Herbert Nachtnebel)
10704
10705 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
10706
10707 Change acpi_system_suspend to use updated irq functions (Pavel
10708 Machek)
10709
10710 Export acpi_get_firmware_table (Matthew Wilcox)
10711
10712 Use proper root proc entry for ACPI (Kochi Takayoshi)
10713
10714 Fix early-boot table parsing (Bjorn Helgaas)
10715
10716
10717 3) iASL Compiler/Disassembler
10718
10719 Reworked the compiler options to make them more consistent and to
10720 use two-letter options where appropriate.  We were running out of
10721 sensible letters.   This may break some makefiles, so check the
10722 current options list by invoking the compiler with no parameters.
10723
10724 Completed the design and implementation of the ASL namepath
10725 optimization option for the compiler.  This option optimizes all
10726 references to named objects to the shortest possible path.  The
10727 first attempt tries to utilize a single nameseg (4 characters) and
10728 the "search-to-root" algorithm used by the interpreter.  If that
10729 cannot be used (because either the name is not in the search path
10730 or there is a conflict with another object with the same name),
10731 the pathname is optimized using the carat prefix (usually a
10732 shorter string than specifying the entire path from the root.)
10733
10734 Implemented support to obtain the DSDT from the Windows registry
10735 (when the disassembly option is specified with no input file).
10736 Added this code as the implementation for AcpiOsTableOverride in
10737 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
10738 utility) to scan memory for the DSDT to the AcpiOsTableOverride
10739 function in the DOS OSL to make the disassembler truly OS
10740 independent.
10741
10742 Implemented a new option to disassemble and compile in one step.
10743 When used without an input filename, this option will grab the
10744 DSDT from the local machine, disassemble it, and compile it in one
10745 step.
10746
10747 Added a warning message for invalid escapes (a backslash followed
10748 by any character other than the allowable escapes).  This catches
10749 the quoted string error "\_SB_" (which should be "\\_SB_" ).
10750
10751 Also, there are numerous instances in the ACPI specification where
10752 this error occurs.
10753
10754 Added a compiler option to disable all optimizations.  This is
10755 basically the "compatibility mode" because by using this option,
10756 the AML code will come out exactly the same as other ASL
10757 compilers.
10758
10759 Added error messages for incorrectly ordered dependent resource
10760 functions.  This includes: missing EndDependentFn macro at end of
10761 dependent resource list, nested dependent function macros (both
10762 start and end), and missing StartDependentFn macro.  These are
10763 common errors that should be caught at compile time.
10764
10765 Implemented _OSI support for the disassembler and compiler.  _OSI
10766 must be included in the namespace for proper disassembly (because
10767 the disassembler must know the number of arguments.)
10768
10769 Added an "optimization" message type that is optional (off by
10770 default).  This message is used for all optimizations - including
10771 constant folding, integer optimization, and namepath optimization.
10772
10773 ----------------------------------------
10774 25 July 2002.  Summary of changes for this release.
10775
10776
10777 1) ACPI CA Core Subsystem Version 20020725:
10778
10779 The AML Disassembler has been enhanced to produce compilable ASL
10780 code and has been integrated into the iASL compiler (see below) as
10781 well as the single-step disassembly for the AML debugger and the
10782 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
10783 resource templates and macros are fully supported.  The
10784 disassembler has been tested on over 30 different AML files,
10785 producing identical AML when the resulting disassembled ASL file
10786 is recompiled with the same ASL compiler.
10787
10788 Modified the Resource Manager to allow zero interrupts and zero
10789 dma channels during the GetCurrentResources call.  This was
10790 causing problems on some platforms.
10791
10792 Added the AcpiOsRedirectOutput interface to the OSL to simplify
10793 output redirection for the AcpiOsPrintf and AcpiOsVprintf
10794 interfaces.
10795
10796 Code and Data Size: Current core subsystem library sizes are shown
10797 below.  These are the code and data sizes for the acpica.lib
10798 produced by the Microsoft Visual C++ 6.0 compiler, and these
10799 values do not include any ACPI driver or OSPM code.  The debug
10800 version of the code includes the debug output trace mechanism and
10801 has a larger code and data size.  Note that these values will vary
10802 depending on the efficiency of the compiler and the compiler
10803 options used during generation.
10804
10805   Previous Release
10806     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
10807     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
10808   Current Release:
10809     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
10810     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
10811
10812
10813 2) Linux
10814
10815 Fixed a panic in the EC driver (Dominik Brodowski)
10816
10817 Implemented checksum of the R/XSDT itself during Linux table scan
10818 (Richard Schaal)
10819
10820
10821 3) iASL compiler
10822
10823 The AML disassembler is integrated into the compiler.  The "-d"
10824 option invokes the disassembler  to completely disassemble an
10825 input AML file, producing as output a text ASL file with the
10826 extension ".dsl" (to avoid name collisions with existing .asl
10827 source files.)  A future enhancement will allow the disassembler
10828 to obtain the BIOS DSDT from the registry under Windows.
10829
10830 Fixed a problem with the VendorShort and VendorLong resource
10831 descriptors where an invalid AML sequence was created.
10832
10833 Implemented a fix for BufferData term in the ASL parser.  It was
10834 inadvertently defined twice, allowing invalid syntax to pass and
10835 causing reduction conflicts.
10836
10837 Fixed a problem where the Ones opcode could get converted to a
10838 value of zero if "Ones" was used where a byte, word or dword value
10839 was expected.  The 64-bit value is now truncated to the correct
10840 size with the correct value.
10841
10842
10843
10844 ----------------------------------------
10845 02 July 2002.  Summary of changes for this release.
10846
10847
10848 1) ACPI CA Core Subsystem Version 20020702:
10849
10850 The Table Manager code has been restructured to add several new
10851 features.  Tables that are not required by the core subsystem
10852 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
10853 validated in any way and are returned from AcpiGetFirmwareTable if
10854 requested.  The AcpiOsTableOverride interface is now called for
10855 each table that is loaded by the subsystem in order to allow the
10856 host to override any table it chooses.  Previously, only the DSDT
10857 could be overridden.  Added one new files, tbrsdt.c and
10858 tbgetall.c.
10859
10860 Fixed a problem with the conversion of internal package objects to
10861 external objects (when a package is returned from a control
10862 method.)  The return buffer length was set to zero instead of the
10863 proper length of the package object.
10864
10865 Fixed a reported problem with the use of the RefOf and DeRefOf
10866 operators when passing reference arguments to control methods.  A
10867 new type of Reference object is used internally for references
10868 produced by the RefOf operator.
10869
10870 Added additional error messages in the Resource Manager to explain
10871 AE_BAD_DATA errors when they occur during resource parsing.
10872
10873 Split the AcpiEnableSubsystem into two primitives to enable a
10874 finer granularity initialization sequence.  These two calls should
10875 be called in this order: AcpiEnableSubsystem (flags),
10876 AcpiInitializeObjects (flags).  The flags parameter remains the
10877 same.
10878
10879
10880 2) Linux
10881
10882 Updated the ACPI utilities module to understand the new style of
10883 fully resolved package objects that are now returned from the core
10884 subsystem.  This eliminates errors of the form:
10885
10886     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
10887     acpi_utils-0430 [145] acpi_evaluate_reference:
10888         Invalid element in package (not a device reference)
10889
10890 The method evaluation utility uses the new buffer allocation
10891 scheme instead of calling AcpiEvaluate Object twice.
10892
10893 Added support for ECDT. This allows the use of the Embedded
10894
10895 Controller before the namespace has been fully initialized, which
10896 is necessary for ACPI 2.0 support, and for some laptops to
10897 initialize properly. (Laptops using ECDT are still rare, so only
10898 limited testing was performed of the added functionality.)
10899
10900 Fixed memory leaks in the EC driver.
10901
10902 Eliminated a brittle code structure in acpi_bus_init().
10903
10904 Eliminated the acpi_evaluate() helper function in utils.c. It is
10905 no longer needed since acpi_evaluate_object can optionally
10906 allocate memory for the return object.
10907
10908 Implemented fix for keyboard hang when getting battery readings on
10909 some systems (Stephen White)
10910
10911 PCI IRQ routing update (Dominik Brodowski)
10912
10913 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
10914 support
10915
10916 ----------------------------------------
10917 11 June 2002.  Summary of changes for this release.
10918
10919
10920 1) ACPI CA Core Subsystem Version 20020611:
10921
10922 Fixed a reported problem where constants such as Zero and One
10923 appearing within _PRT packages were not handled correctly within
10924 the resource manager code.  Originally reported against the ASL
10925 compiler because the code generator now optimizes integers to
10926 their minimal AML representation (i.e. AML constants if possible.)
10927 The _PRT code now handles all AML constant opcodes correctly
10928 (Zero, One, Ones, Revision).
10929
10930 Fixed a problem with the Concatenate operator in the AML
10931 interpreter where a buffer result object was incorrectly marked as
10932 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
10933
10934 All package sub-objects are now fully resolved before they are
10935 returned from the external ACPI interfaces.  This means that name
10936 strings are resolved to object handles, and constant operators
10937 (Zero, One, Ones, Revision) are resolved to Integers.
10938
10939 Implemented immediate resolution of the AML Constant opcodes
10940 (Zero, One, Ones, Revision) to Integer objects upon detection
10941 within the AML stream. This has simplified and reduced the
10942 generated code size of the subsystem by eliminating about 10
10943 switch statements for these constants (which previously were
10944 contained in Reference objects.)  The complicating issues are that
10945 the Zero opcode is used as a "placeholder" for unspecified
10946 optional target operands and stores to constants are defined to be
10947 no-ops.
10948
10949 Code and Data Size: Current core subsystem library sizes are shown
10950 below. These are the code and data sizes for the acpica.lib
10951 produced by the Microsoft Visual C++ 6.0 compiler, and these
10952 values do not include any ACPI driver or OSPM code.  The debug
10953 version of the code includes the debug output trace mechanism and
10954 has a larger code and data size.  Note that these values will vary
10955 depending on the efficiency of the compiler and the compiler
10956 options used during generation.
10957
10958   Previous Release
10959     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
10960     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
10961   Current Release:
10962     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
10963     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
10964
10965
10966 2) Linux
10967
10968
10969 Added preliminary support for obtaining _TRA data for PCI root
10970 bridges (Bjorn Helgaas).
10971
10972
10973 3) iASL Compiler Version X2046:
10974
10975 Fixed a problem where the "_DDN" reserved name was defined to be a
10976 control method with one argument.  There are no arguments, and
10977 _DDN does not have to be a control method.
10978
10979 Fixed a problem with the Linux version of the compiler where the
10980 source lines printed with error messages were the wrong lines.
10981 This turned out to be the "LF versus CR/LF" difference between
10982 Windows and Unix.  This appears to be the longstanding issue
10983 concerning listing output and error messages.
10984
10985 Fixed a problem with the Linux version of compiler where opcode
10986 names within error messages were wrong.  This was caused by a
10987 slight difference in the output of the Flex tool on Linux versus
10988 Windows.
10989
10990 Fixed a problem with the Linux compiler where the hex output files
10991 contained some garbage data caused by an internal buffer overrun.
10992
10993
10994 ----------------------------------------
10995 17 May 2002.  Summary of changes for this release.
10996
10997
10998 1) ACPI CA Core Subsystem Version 20020517:
10999
11000 Implemented a workaround to an BIOS bug discovered on the HP
11001 OmniBook where the FADT revision number and the table size are
11002 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
11003 behavior is to fallback to using only the ACPI 1.0 fields of the
11004 FADT if the table is too small to be a ACPI 2.0 table as claimed
11005 by the revision number.  Although this is a BIOS bug, this is a
11006 case where the workaround is simple enough and with no side
11007 effects, so it seemed prudent to add it.  A warning message is
11008 issued, however.
11009
11010 Implemented minimum size checks for the fixed-length ACPI tables -
11011 - the FADT and FACS, as well as consistency checks between the
11012 revision number and the table size.
11013
11014 Fixed a reported problem in the table override support where the
11015 new table pointer was incorrectly treated as a physical address
11016 instead of a logical address.
11017
11018 Eliminated the use of the AE_AML_ERROR exception and replaced it
11019 with more descriptive codes.
11020
11021 Fixed a problem where an exception would occur if an ASL Field was
11022 defined with no named Field Units underneath it (used by some
11023 index fields).
11024
11025 Code and Data Size: Current core subsystem library sizes are shown
11026 below.  These are the code and data sizes for the acpica.lib
11027 produced by the Microsoft Visual C++ 6.0 compiler, and these
11028 values do not include any ACPI driver or OSPM code.  The debug
11029 version of the code includes the debug output trace mechanism and
11030 has a larger code and data size.  Note that these values will vary
11031 depending on the efficiency of the compiler and the compiler
11032 options used during generation.
11033
11034   Previous Release
11035     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
11036     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
11037   Current Release:
11038     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
11039     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
11040
11041
11042
11043 2) Linux
11044
11045 Much work done on ACPI init (MADT and PCI IRQ routing support).
11046 (Paul D. and Dominik Brodowski)
11047
11048 Fix PCI IRQ-related panic on boot (Sam Revitch)
11049
11050 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
11051
11052 Fix "MHz" typo (Dominik Brodowski)
11053
11054 Fix RTC year 2000 issue (Dominik Brodowski)
11055
11056 Preclude multiple button proc entries (Eric Brunet)
11057
11058 Moved arch-specific code out of include/platform/aclinux.h
11059
11060 3) iASL Compiler Version X2044:
11061
11062 Implemented error checking for the string used in the EISAID macro
11063 (Usually used in the definition of the _HID object.)  The code now
11064 strictly enforces the PnP format - exactly 7 characters, 3
11065 uppercase letters and 4 hex digits.
11066
11067 If a raw string is used in the definition of the _HID object
11068 (instead of the EISAID macro), the string must contain all
11069 alphanumeric characters (e.g., "*PNP0011" is not allowed because
11070 of the asterisk.)
11071
11072 Implemented checking for invalid use of ACPI reserved names for
11073 most of the name creation operators (Name, Device, Event, Mutex,
11074 OperationRegion, PowerResource, Processor, and ThermalZone.)
11075 Previously, this check was only performed for control methods.
11076
11077 Implemented an additional check on the Name operator to emit an
11078 error if a reserved name that must be implemented in ASL as a
11079 control method is used.  We know that a reserved name must be a
11080 method if it is defined with input arguments.
11081
11082 The warning emitted when a namespace object reference is not found
11083 during the cross reference phase has been changed into an error.
11084 The "External" directive should be used for names defined in other
11085 modules.
11086
11087
11088 4) Tools and Utilities
11089
11090 The 16-bit tools (adump16 and aexec16) have been regenerated and
11091 tested.
11092
11093 Fixed a problem with the output of both acpidump and adump16 where
11094 the indentation of closing parentheses and brackets was not
11095
11096 aligned properly with the parent block.
11097
11098
11099 ----------------------------------------
11100 03 May 2002.  Summary of changes for this release.
11101
11102
11103 1) ACPI CA Core Subsystem Version 20020503:
11104
11105 Added support a new OSL interface that allows the host operating
11106
11107 system software to override the DSDT found in the firmware -
11108 AcpiOsTableOverride.  With this interface, the OSL can examine the
11109 version of the firmware DSDT and replace it with a different one
11110 if desired.
11111
11112 Added new external interfaces for accessing ACPI registers from
11113 device drivers and other system software - AcpiGetRegister and
11114 AcpiSetRegister.  This was simply an externalization of the
11115 existing AcpiHwBitRegister interfaces.
11116
11117 Fixed a regression introduced in the previous build where the
11118 ASL/AML CreateField operator always returned an error,
11119 "destination must be a NS Node".
11120
11121 Extended the maximum time (before failure) to successfully enable
11122 ACPI mode to 3 seconds.
11123
11124 Code and Data Size: Current core subsystem library sizes are shown
11125 below.  These are the code and data sizes for the acpica.lib
11126 produced by the Microsoft Visual C++ 6.0 compiler, and these
11127 values do not include any ACPI driver or OSPM code.  The debug
11128 version of the code includes the debug output trace mechanism and
11129 has a larger code and data size.  Note that these values will vary
11130 depending on the efficiency of the compiler and the compiler
11131 options used during generation.
11132
11133   Previous Release
11134     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
11135     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
11136   Current Release:
11137     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
11138     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
11139
11140
11141 2) Linux
11142
11143 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
11144 free. While 3 out of 4 of our in-house systems work fine, the last
11145 one still hangs when testing the LAPIC timer.
11146
11147 Renamed many files in 2.5 kernel release to omit "acpi_" from the
11148 name.
11149
11150 Added warning on boot for Presario 711FR.
11151
11152 Sleep improvements (Pavel Machek)
11153
11154 ACPI can now be built without CONFIG_PCI enabled.
11155
11156 IA64: Fixed memory map functions (JI Lee)
11157
11158
11159 3) iASL Compiler Version X2043:
11160
11161 Added support to allow the compiler to be integrated into the MS
11162 VC++ development environment for one-button compilation of single
11163 files or entire projects -- with error-to-source-line mapping.
11164
11165 Implemented support for compile-time constant folding for the
11166 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
11167 specification.  This allows the ASL writer to use expressions
11168 instead of Integer/Buffer/String constants in terms that must
11169 evaluate to constants at compile time and will also simplify the
11170 emitted AML in any such sub-expressions that can be folded
11171 (evaluated at compile-time.)  This increases the size of the
11172 compiler significantly because a portion of the ACPI CA AML
11173 interpreter is included within the compiler in order to pre-
11174 evaluate constant expressions.
11175
11176
11177 Fixed a problem with the "Unicode" ASL macro that caused the
11178 compiler to fault.  (This macro is used in conjunction with the
11179 _STR reserved name.)
11180
11181 Implemented an AML opcode optimization to use the Zero, One, and
11182 Ones opcodes where possible to further reduce the size of integer
11183 constants and thus reduce the overall size of the generated AML
11184 code.
11185
11186 Implemented error checking for new reserved terms for ACPI version
11187 2.0A.
11188
11189 Implemented the -qr option to display the current list of ACPI
11190 reserved names known to the compiler.
11191
11192 Implemented the -qc option to display the current list of ASL
11193 operators that are allowed within constant expressions and can
11194 therefore be folded at compile time if the operands are constants.
11195
11196
11197 4) Documentation
11198
11199 Updated the Programmer's Reference for new interfaces, data types,
11200 and memory allocation model options.
11201
11202 Updated the iASL Compiler User Reference to apply new format and
11203 add information about new features and options.
11204
11205 ----------------------------------------
11206 19 April 2002.  Summary of changes for this release.
11207
11208 1) ACPI CA Core Subsystem Version 20020419:
11209
11210 The source code base for the Core Subsystem has been completely
11211 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
11212 versions.  The Lint option files used are included in the
11213 /acpi/generate/lint directory.
11214
11215 Implemented enhanced status/error checking across the entire
11216 Hardware manager subsystem.  Any hardware errors (reported from
11217 the OSL) are now bubbled up and will abort a running control
11218 method.
11219
11220
11221 Fixed a problem where the per-ACPI-table integer width (32 or 64)
11222 was stored only with control method nodes, causing a fault when
11223 non-control method code was executed during table loading.  The
11224 solution implemented uses a global variable to indicate table
11225 width across the entire ACPI subsystem.  Therefore, ACPI CA does
11226 not support mixed integer widths across different ACPI tables
11227 (DSDT, SSDT).
11228
11229 Fixed a problem where NULL extended fields (X fields) in an ACPI
11230 2.0 ACPI FADT caused the table load to fail.  Although the
11231 existing ACPI specification is a bit fuzzy on this topic, the new
11232 behavior is to fall back on a ACPI 1.0 field if the corresponding
11233 ACPI 2.0 X field is zero (even though the table revision indicates
11234 a full ACPI 2.0 table.)  The ACPI specification will be updated to
11235 clarify this issue.
11236
11237 Fixed a problem with the SystemMemory operation region handler
11238 where memory was always accessed byte-wise even if the AML-
11239 specified access width was larger than a byte.  This caused
11240 problems on systems with memory-mapped I/O.  Memory is now
11241 accessed with the width specified.  On systems that do not support
11242 non-aligned transfers, a check is made to guarantee proper address
11243 alignment before proceeding in order to avoid an AML-caused
11244 alignment fault within the kernel.
11245
11246
11247 Fixed a problem with the ExtendedIrq resource where only one byte
11248 of the 4-byte Irq field was extracted.
11249
11250 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
11251 function was out of date and required a rewrite.
11252
11253 Code and Data Size: Current core subsystem library sizes are shown
11254 below.  These are the code and data sizes for the acpica.lib
11255 produced by the Microsoft Visual C++ 6.0 compiler, and these
11256 values do not include any ACPI driver or OSPM code.  The debug
11257 version of the code includes the debug output trace mechanism and
11258 has a larger code and data size.  Note that these values will vary
11259 depending on the efficiency of the compiler and the compiler
11260 options used during generation.
11261
11262   Previous Release
11263     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
11264     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
11265   Current Release:
11266     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
11267     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
11268
11269
11270 2) Linux
11271
11272 PCI IRQ routing fixes (Dominik Brodowski)
11273
11274
11275 3) iASL Compiler Version X2042:
11276
11277 Implemented an additional compile-time error check for a field
11278 unit whose size + minimum access width would cause a run-time
11279 access beyond the end-of-region.  Previously, only the field size
11280 itself was checked.
11281
11282 The Core subsystem and iASL compiler now share a common parse
11283 object in preparation for compile-time evaluation of the type
11284 3/4/5 ASL operators.
11285
11286
11287 ----------------------------------------
11288 Summary of changes for this release: 03_29_02
11289
11290 1) ACPI CA Core Subsystem Version 20020329:
11291
11292 Implemented support for late evaluation of TermArg operands to
11293 Buffer and Package objects.  This allows complex expressions to be
11294 used in the declarations of these object types.
11295
11296 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
11297 1.0, if the field was larger than 32 bits, it was returned as a
11298 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
11299 the field is returned as a buffer only if the field is larger than
11300 64 bits.  The TableRevision is now considered when making this
11301 conversion to avoid incompatibility with existing ASL code.
11302
11303 Implemented logical addressing for AcpiOsGetRootPointer.  This
11304 allows an RSDP with either a logical or physical address.  With
11305 this support, the host OS can now override all ACPI tables with
11306 one logical RSDP.  Includes implementation of  "typed" pointer
11307 support to allow a common data type for both physical and logical
11308 pointers internally.  This required a change to the
11309 AcpiOsGetRootPointer interface.
11310
11311 Implemented the use of ACPI 2.0 Generic Address Structures for all
11312 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
11313 mapped I/O for these ACPI features.
11314
11315 Initialization now ignores not only non-required tables (All
11316 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
11317 not validate the table headers of unrecognized tables.
11318
11319 Fixed a problem where a notify handler could only be
11320 installed/removed on an object of type Device.  All "notify"
11321
11322 objects are now supported -- Devices, Processor, Power, and
11323 Thermal.
11324
11325 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
11326 critical information is returned when this debug level is enabled.
11327
11328 Code and Data Size: Current core subsystem library sizes are shown
11329 below.  These are the code and data sizes for the acpica.lib
11330 produced by the Microsoft Visual C++ 6.0 compiler, and these
11331 values do not include any ACPI driver or OSPM code.  The debug
11332 version of the code includes the debug output trace mechanism and
11333 has a larger code and data size.  Note that these values will vary
11334 depending on the efficiency of the compiler and the compiler
11335 options used during generation.
11336
11337   Previous Release
11338     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
11339     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
11340   Current Release:
11341     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
11342     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
11343
11344
11345 2) Linux:
11346
11347 The processor driver (acpi_processor.c) now fully supports ACPI
11348 2.0-based processor performance control (e.g. Intel(R)
11349 SpeedStep(TM) technology) Note that older laptops that only have
11350 the Intel "applet" interface are not supported through this.  The
11351 'limit' and 'performance' interface (/proc) are fully functional.
11352 [Note that basic policy for controlling performance state
11353 transitions will be included in the next version of ospmd.]  The
11354 idle handler was modified to more aggressively use C2, and PIIX4
11355 errata handling underwent a complete overhaul (big thanks to
11356 Dominik Brodowski).
11357
11358 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
11359 based devices in the ACPI namespace are now dynamically bound
11360 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
11361 This allows, among other things, ACPI to resolve bus numbers for
11362 subordinate PCI bridges.
11363
11364 Enhanced PCI IRQ routing to get the proper bus number for _PRT
11365 entries defined underneath PCI bridges.
11366
11367 Added IBM 600E to bad bios list due to invalid _ADR value for
11368 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
11369
11370 In the process of adding full MADT support (e.g. IOAPIC) for IA32
11371 (acpi.c, mpparse.c) -- stay tuned.
11372
11373 Added back visual differentiation between fixed-feature and
11374 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
11375 button/power/PWRF) to simplify button identification.
11376
11377 We no longer use -Wno-unused when compiling debug. Please ignore
11378 any "_THIS_MODULE defined but not used" messages.
11379
11380 Can now shut down the system using "magic sysrq" key.
11381
11382
11383 3) iASL Compiler version 2041:
11384
11385 Fixed a problem where conversion errors for hex/octal/decimal
11386 constants were not reported.
11387
11388 Implemented a fix for the General Register template Address field.
11389 This field was 8 bits when it should be 64.
11390
11391 Fixed a problem where errors/warnings were no longer being emitted
11392 within the listing output file.
11393
11394 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
11395 exactly 4 characters, alphanumeric only.
11396
11397
11398
11399
11400 ----------------------------------------
11401 Summary of changes for this release: 03_08_02
11402
11403
11404 1) ACPI CA Core Subsystem Version 20020308:
11405
11406 Fixed a problem with AML Fields where the use of the "AccessAny"
11407 keyword could cause an interpreter error due to attempting to read
11408 or write beyond the end of the parent Operation Region.
11409
11410 Fixed a problem in the SystemMemory Operation Region handler where
11411 an attempt was made to map memory beyond the end of the region.
11412 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
11413 errors on some Linux systems.
11414
11415 Fixed a problem where the interpreter/namespace "search to root"
11416 algorithm was not functioning for some object types.  Relaxed the
11417 internal restriction on the search to allow upsearches for all
11418 external object types as well as most internal types.
11419
11420
11421 2) Linux:
11422
11423 We now use safe_halt() macro versus individual calls to sti | hlt.
11424
11425 Writing to the processor limit interface should now work. "echo 1"
11426 will increase the limit, 2 will decrease, and 0 will reset to the
11427
11428 default.
11429
11430
11431 3) ASL compiler:
11432
11433 Fixed segfault on Linux version.
11434
11435
11436 ----------------------------------------
11437 Summary of changes for this release: 02_25_02
11438
11439 1) ACPI CA Core Subsystem:
11440
11441
11442 Fixed a problem where the GPE bit masks were not initialized
11443 properly, causing erratic GPE behavior.
11444
11445 Implemented limited support for multiple calling conventions.  The
11446 code can be generated with either the VPL (variable parameter
11447 list, or "C") convention, or the FPL (fixed parameter list, or
11448 "Pascal") convention.  The core subsystem is about 3.4% smaller
11449 when generated with FPL.
11450
11451
11452 2) Linux
11453
11454 Re-add some /proc/acpi/event functionality that was lost during
11455 the rewrite
11456
11457 Resolved issue with /proc events for fixed-feature buttons showing
11458 up as the system device.
11459
11460 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
11461
11462 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
11463
11464 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
11465
11466 Fixed limit interface & usage to fix bugs with passive cooling
11467 hysterisis.
11468
11469 Restructured PRT support.
11470
11471
11472 ----------------------------------------
11473 Summary of changes for this label: 02_14_02
11474
11475
11476 1) ACPI CA Core Subsystem:
11477
11478 Implemented support in AcpiLoadTable to allow loading of FACS and
11479 FADT tables.
11480
11481 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
11482 been removed.  All 64-bit platforms should be migrated to the ACPI
11483 2.0 tables.  The actbl71.h header has been removed from the source
11484 tree.
11485
11486 All C macros defined within the subsystem have been prefixed with
11487 "ACPI_" to avoid collision with other system include files.
11488
11489 Removed the return value for the two AcpiOsPrint interfaces, since
11490 it is never used and causes lint warnings for ignoring the return
11491 value.
11492
11493 Added error checking to all internal mutex acquire and release
11494 calls.  Although a failure from one of these interfaces is
11495 probably a fatal system error, these checks will cause the
11496 immediate abort of the currently executing method or interface.
11497
11498 Fixed a problem where the AcpiSetCurrentResources interface could
11499 fault.  This was a side effect of the deployment of the new memory
11500 allocation model.
11501
11502 Fixed a couple of problems with the Global Lock support introduced
11503 in the last major build.  The "common" (1.0/2.0) internal FACS was
11504 being overwritten with the FACS signature and clobbering the
11505 Global Lock pointer.  Also, the actual firmware FACS was being
11506 unmapped after construction of the "common" FACS, preventing
11507 access to the actual Global Lock field within it.  The "common"
11508 internal FACS is no longer installed as an actual ACPI table; it
11509 is used simply as a global.
11510
11511 Code and Data Size: Current core subsystem library sizes are shown
11512 below.  These are the code and data sizes for the acpica.lib
11513 produced by the Microsoft Visual C++ 6.0 compiler, and these
11514 values do not include any ACPI driver or OSPM code.  The debug
11515 version of the code includes the debug output trace mechanism and
11516 has a larger code and data size.  Note that these values will vary
11517 depending on the efficiency of the compiler and the compiler
11518 options used during generation.
11519
11520   Previous Release (02_07_01)
11521     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
11522     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
11523   Current Release:
11524     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
11525     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
11526
11527
11528 2) Linux
11529
11530 Updated Linux-specific code for core macro and OSL interface
11531 changes described above.
11532
11533 Improved /proc/acpi/event. It now can be opened only once and has
11534 proper poll functionality.
11535
11536 Fixed and restructured power management (acpi_bus).
11537
11538 Only create /proc "view by type" when devices of that class exist.
11539
11540 Fixed "charging/discharging" bug (and others) in acpi_battery.
11541
11542 Improved thermal zone code.
11543
11544
11545 3) ASL Compiler, version X2039:
11546
11547
11548 Implemented the new compiler restriction on ASL String hex/octal
11549 escapes to non-null, ASCII values.  An error results if an invalid
11550 value is used.  (This will require an ACPI 2.0 specification
11551 change.)
11552
11553 AML object labels that are output to the optional C and ASM source
11554 are now prefixed with both the ACPI table signature and table ID
11555 to help guarantee uniqueness within a large BIOS project.
11556
11557
11558 ----------------------------------------
11559 Summary of changes for this label: 02_01_02
11560
11561 1) ACPI CA Core Subsystem:
11562
11563 ACPI 2.0 support is complete in the entire Core Subsystem and the
11564 ASL compiler. All new ACPI 2.0 operators are implemented and all
11565 other changes for ACPI 2.0 support are complete.  With
11566 simultaneous code and data optimizations throughout the subsystem,
11567 ACPI 2.0 support has been implemented with almost no additional
11568 cost in terms of code and data size.
11569
11570 Implemented a new mechanism for allocation of return buffers.  If
11571 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
11572 be allocated on behalf of the caller.  Consolidated all return
11573 buffer validation and allocation to a common procedure.  Return
11574 buffers will be allocated via the primary OSL allocation interface
11575 since it appears that a separate pool is not needed by most users.
11576 If a separate pool is required for these buffers, the caller can
11577 still use the original mechanism and pre-allocate the buffer(s).
11578
11579 Implemented support for string operands within the DerefOf
11580 operator.
11581
11582 Restructured the Hardware and Event managers to be table driven,
11583 simplifying the source code and reducing the amount of generated
11584 code.
11585
11586 Split the common read/write low-level ACPI register bitfield
11587 procedure into a separate read and write, simplifying the code
11588 considerably.
11589
11590 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
11591 used only a handful of times and didn't have enough critical mass
11592 for a separate interface.  Replaced with a common calloc procedure
11593 in the core.
11594
11595 Fixed a reported problem with the GPE number mapping mechanism
11596 that allows GPE1 numbers to be non-contiguous with GPE0.
11597 Reorganized the GPE information and shrunk a large array that was
11598 originally large enough to hold info for all possible GPEs (256)
11599 to simply large enough to hold all GPEs up to the largest GPE
11600 number on the machine.
11601
11602 Fixed a reported problem with resource structure alignment on 64-
11603 bit platforms.
11604
11605 Changed the AcpiEnableEvent and AcpiDisableEvent external
11606 interfaces to not require any flags for the common case of
11607 enabling/disabling a GPE.
11608
11609 Implemented support to allow a "Notify" on a Processor object.
11610
11611 Most TBDs in comments within the source code have been resolved
11612 and eliminated.
11613
11614
11615 Fixed a problem in the interpreter where a standalone parent
11616 prefix (^) was not handled correctly in the interpreter and
11617 debugger.
11618
11619 Removed obsolete and unnecessary GPE save/restore code.
11620
11621 Implemented Field support in the ASL Load operator.  This allows a
11622 table to be loaded from a named field, in addition to loading a
11623 table directly from an Operation Region.
11624
11625 Implemented timeout and handle support in the external Global Lock
11626 interfaces.
11627
11628 Fixed a problem in the AcpiDump utility where pathnames were no
11629 longer being generated correctly during the dump of named objects.
11630
11631 Modified the AML debugger to give a full display of if/while
11632 predicates instead of just one AML opcode at a time.  (The
11633 predicate can have several nested ASL statements.)  The old method
11634 was confusing during single stepping.
11635
11636 Code and Data Size: Current core subsystem library sizes are shown
11637 below. These are the code and data sizes for the acpica.lib
11638 produced by the Microsoft Visual C++ 6.0 compiler, and these
11639 values do not include any ACPI driver or OSPM code.  The debug
11640 version of the code includes the debug output trace mechanism and
11641 has a larger code and data size.  Note that these values will vary
11642 depending on the efficiency of the compiler and the compiler
11643 options used during generation.
11644
11645   Previous Release (12_18_01)
11646      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
11647      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
11648    Current Release:
11649      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
11650      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
11651
11652 2) Linux
11653
11654  Implemented fix for PIIX reverse throttling errata (Processor
11655 driver)
11656
11657 Added new Limit interface (Processor and Thermal drivers)
11658
11659 New thermal policy (Thermal driver)
11660
11661 Many updates to /proc
11662
11663 Battery "low" event support (Battery driver)
11664
11665 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
11666
11667 IA32 - IA64 initialization unification, no longer experimental
11668
11669 Menuconfig options redesigned
11670
11671 3) ASL Compiler, version X2037:
11672
11673 Implemented several new output features to simplify integration of
11674 AML code into  firmware: 1) Output the AML in C source code with
11675 labels for each named ASL object.  The    original ASL source code
11676 is interleaved as C comments. 2) Output the AML in ASM source code
11677 with labels and interleaved ASL    source. 3) Output the AML in
11678 raw hex table form, in either C or ASM.
11679
11680 Implemented support for optional string parameters to the
11681 LoadTable operator.
11682
11683 Completed support for embedded escape sequences within string
11684 literals.  The compiler now supports all single character escapes
11685 as well as the Octal and Hex escapes.  Note: the insertion of a
11686 null byte into a string literal (via the hex/octal escape) causes
11687 the string to be immediately terminated.  A warning is issued.
11688
11689 Fixed a problem where incorrect AML was generated for the case
11690 where an ASL namepath consists of a single parent prefix (
11691
11692 ) with no trailing name segments.
11693
11694 The compiler has been successfully generated with a 64-bit C
11695 compiler.
11696
11697
11698
11699
11700 ----------------------------------------
11701 Summary of changes for this label: 12_18_01
11702
11703 1) Linux
11704
11705 Enhanced blacklist with reason and severity fields. Any table's
11706 signature may now be used to identify a blacklisted system.
11707
11708 Call _PIC control method to inform the firmware which interrupt
11709 model the OS is using. Turn on any disabled link devices.
11710
11711 Cleaned up busmgr /proc error handling (Andreas Dilger)
11712
11713  2) ACPI CA Core Subsystem:
11714
11715 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
11716 while loop)
11717
11718 Completed implementation of the ACPI 2.0 "Continue",
11719 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
11720 operators.  All new ACPI 2.0 operators are now implemented in both
11721 the ASL compiler and the AML interpreter.  The only remaining ACPI
11722 2.0 task is support for the String data type in the DerefOf
11723 operator.  Fixed a problem with AcquireMutex where the status code
11724 was lost if the caller had to actually wait for the mutex.
11725
11726 Increased the maximum ASL Field size from 64K bits to 4G bits.
11727
11728 Completed implementation of the external Global Lock interfaces --
11729 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
11730 Handler parameters were added.
11731
11732 Completed another pass at removing warnings and issues when
11733 compiling with 64-bit compilers.  The code now compiles cleanly
11734 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
11735 add and subtract (diff) macros have changed considerably.
11736
11737
11738 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
11739 64-bit platforms, 32-bits on all others.  This type is used
11740 wherever memory allocation and/or the C sizeof() operator is used,
11741 and affects the OSL memory allocation interfaces AcpiOsAllocate
11742 and AcpiOsCallocate.
11743
11744 Implemented sticky user breakpoints in the AML debugger.
11745
11746 Code and Data Size: Current core subsystem library sizes are shown
11747 below. These are the code and data sizes for the acpica.lib
11748 produced by the Microsoft Visual C++ 6.0 compiler, and these
11749 values do not include any ACPI driver or OSPM code.  The debug
11750 version of the code includes the debug output trace mechanism and
11751 has a larger code and data size. Note that these values will vary
11752 depending on the efficiency of the compiler and the compiler
11753 options used during generation.
11754
11755   Previous Release (12_05_01)
11756      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
11757      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
11758    Current Release:
11759      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
11760      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
11761
11762  3) ASL Compiler, version X2034:
11763
11764 Now checks for (and generates an error if detected) the use of a
11765 Break or Continue statement without an enclosing While statement.
11766
11767
11768 Successfully generated the compiler with the Intel 64-bit C
11769 compiler.
11770
11771  ----------------------------------------
11772 Summary of changes for this label: 12_05_01
11773
11774  1) ACPI CA Core Subsystem:
11775
11776 The ACPI 2.0 CopyObject operator is fully implemented.  This
11777 operator creates a new copy of an object (and is also used to
11778 bypass the "implicit conversion" mechanism of the Store operator.)
11779
11780 The ACPI 2.0 semantics for the SizeOf operator are fully
11781 implemented.  The change is that performing a SizeOf on a
11782 reference object causes an automatic dereference of the object to
11783 tha actual value before the size is evaluated. This behavior was
11784 undefined in ACPI 1.0.
11785
11786 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
11787 have been implemented.  The interrupt polarity and mode are now
11788 independently set.
11789
11790 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
11791 appearing in Package objects were not properly converted to
11792 integers when the internal Package was converted to an external
11793 object (via the AcpiEvaluateObject interface.)
11794
11795 Fixed a problem with the namespace object deletion mechanism for
11796 objects created by control methods.  There were two parts to this
11797 problem: 1) Objects created during the initialization phase method
11798 parse were not being deleted, and 2) The object owner ID mechanism
11799 to track objects was broken.
11800
11801 Fixed a problem where the use of the ASL Scope operator within a
11802 control method would result in an invalid opcode exception.
11803
11804 Fixed a problem introduced in the previous label where the buffer
11805 length required for the _PRT structure was not being returned
11806 correctly.
11807
11808 Code and Data Size: Current core subsystem library sizes are shown
11809 below. These are the code and data sizes for the acpica.lib
11810 produced by the Microsoft Visual C++ 6.0 compiler, and these
11811 values do not include any ACPI driver or OSPM code.  The debug
11812 version of the code includes the debug output trace mechanism and
11813 has a larger code and data size.  Note that these values will vary
11814 depending on the efficiency of the compiler and the compiler
11815 options used during generation.
11816
11817   Previous Release (11_20_01)
11818      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
11819      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
11820
11821   Current Release:
11822      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
11823      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
11824
11825  2) Linux:
11826
11827 Updated all files to apply cleanly against 2.4.16.
11828
11829 Added basic PCI Interrupt Routing Table (PRT) support for IA32
11830 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
11831 version supports both static and dyanmic PRT entries, but dynamic
11832 entries are treated as if they were static (not yet
11833 reconfigurable).  Architecture- specific code to use this data is
11834 absent on IA32 but should be available shortly.
11835
11836 Changed the initialization sequence to start the ACPI interpreter
11837 (acpi_init) prior to initialization of the PCI driver (pci_init)
11838 in init/main.c.  This ordering is required to support PRT and
11839 facilitate other (future) enhancement.  A side effect is that the
11840 ACPI bus driver and certain device drivers can no longer be loaded
11841 as modules.
11842
11843 Modified the 'make menuconfig' options to allow PCI Interrupt
11844 Routing support to be included without the ACPI Bus and other
11845 device drivers.
11846
11847  3) ASL Compiler, version X2033:
11848
11849 Fixed some issues with the use of the new CopyObject and
11850 DataTableRegion operators.  Both are fully functional.
11851
11852  ----------------------------------------
11853 Summary of changes for this label: 11_20_01
11854
11855  20 November 2001.  Summary of changes for this release.
11856
11857  1) ACPI CA Core Subsystem:
11858
11859 Updated Index support to match ACPI 2.0 semantics.  Storing a
11860 Integer, String, or Buffer to an Index of a Buffer will store only
11861 the least-significant byte of the source to the Indexed buffer
11862 byte.  Multiple writes are not performed.
11863
11864 Fixed a problem where the access type used in an AccessAs ASL
11865 operator was not recorded correctly into the field object.
11866
11867 Fixed a problem where ASL Event objects were created in a
11868 signalled state. Events are now created in an unsignalled state.
11869
11870 The internal object cache is now purged after table loading and
11871 initialization to reduce the use of dynamic kernel memory -- on
11872 the assumption that object use is greatest during the parse phase
11873 of the entire table (versus the run-time use of individual control
11874 methods.)
11875
11876 ACPI 2.0 variable-length packages are now fully operational.
11877
11878 Code and Data Size: Code and Data optimizations have permitted new
11879 feature development with an actual reduction in the library size.
11880 Current core subsystem library sizes are shown below.  These are
11881 the code and data sizes for the acpica.lib produced by the
11882 Microsoft Visual C++ 6.0 compiler, and these values do not include
11883 any ACPI driver or OSPM code.  The debug version of the code
11884 includes the debug output trace mechanism and has a larger code
11885 and data size.  Note that these values will vary depending on the
11886 efficiency of the compiler and the compiler options used during
11887 generation.
11888
11889   Previous Release (11_09_01):
11890      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
11891      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
11892
11893   Current Release:
11894      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
11895      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
11896
11897  2) Linux:
11898
11899 Enhanced the ACPI boot-time initialization code to allow the use
11900 of Local APIC tables for processor enumeration on IA-32, and to
11901 pave the way for a fully MPS-free boot (on SMP systems) in the
11902 near future.  This functionality replaces
11903 arch/i386/kernel/acpitables.c, which was introduced in an earlier
11904 2.4.15-preX release.  To enable this feature you must add
11905 "acpi_boot=on" to the kernel command line -- see the help entry
11906 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
11907 the works...
11908
11909 Restructured the configuration options to allow boot-time table
11910 parsing support without inclusion of the ACPI Interpreter (and
11911 other) code.
11912
11913 NOTE: This release does not include fixes for the reported events,
11914 power-down, and thermal passive cooling issues (coming soon).
11915
11916  3) ASL Compiler:
11917
11918 Added additional typechecking for Fields within restricted access
11919 Operation Regions.  All fields within EC and CMOS regions must be
11920 declared with ByteAcc. All fields withing SMBus regions must be
11921 declared with the BufferAcc access type.
11922
11923 Fixed a problem where the listing file output of control methods
11924 no longer interleaved the actual AML code with the ASL source
11925 code.
11926
11927
11928
11929
11930 ----------------------------------------
11931 Summary of changes for this label: 11_09_01
11932
11933 1) ACPI CA Core Subsystem:
11934
11935 Implemented ACPI 2.0-defined support for writes to fields with a
11936 Buffer, String, or Integer source operand that is smaller than the
11937 target field. In these cases, the source operand is zero-extended
11938 to fill the target field.
11939
11940 Fixed a problem where a Field starting bit offset (within the
11941 parent operation region) was calculated incorrectly if the
11942
11943 alignment of the field differed from the access width.  This
11944 affected CreateWordField, CreateDwordField, CreateQwordField, and
11945 possibly other fields that use the "AccessAny" keyword.
11946
11947 Fixed a problem introduced in the 11_02_01 release where indirect
11948 stores through method arguments did not operate correctly.
11949
11950 2) Linux:
11951
11952 Implemented boot-time ACPI table parsing support
11953 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
11954 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
11955 legacy BIOS interfaces (e.g. MPS) for the configuration of system
11956 processors, memory, and interrupts during setup_arch().  Note that
11957 this patch does not include the required architecture-specific
11958 changes required to apply this information -- subsequent patches
11959 will be posted for both IA32 and IA64 to achieve this.
11960
11961 Added low-level sleep support for IA32 platforms, courtesy of Pat
11962 Mochel. This allows IA32 systems to transition to/from various
11963 sleeping states (e.g. S1, S3), although the lack of a centralized
11964 driver model and power-manageable drivers will prevent its
11965 (successful) use on most systems.
11966
11967 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
11968 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
11969 tables" option, etc.
11970
11971 Increased the default timeout for the EC driver from 1ms to 10ms
11972 (1000 cycles of 10us) to try to address AE_TIME errors during EC
11973 transactions.
11974
11975  ----------------------------------------
11976 Summary of changes for this label: 11_02_01
11977
11978 1) ACPI CA Core Subsystem:
11979
11980 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
11981 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
11982 implemented.
11983
11984 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
11985 changes to support ACPI 2.0 Qword field access.  Read/Write
11986 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
11987 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
11988 the value parameter for the address space handler interface is now
11989 an ACPI_INTEGER.  OSL implementations of these interfaces must now
11990 handle the case where the Width parameter is 64.
11991
11992 Index Fields: Fixed a problem where unaligned bit assembly and
11993 disassembly for IndexFields was not supported correctly.
11994
11995 Index and Bank Fields:  Nested Index and Bank Fields are now
11996 supported. During field access, a check is performed to ensure
11997 that the value written to an Index or Bank register is not out of
11998 the range of the register.  The Index (or Bank) register is
11999 written before each access to the field data. Future support will
12000 include allowing individual IndexFields to be wider than the
12001 DataRegister width.
12002
12003 Fields: Fixed a problem where the AML interpreter was incorrectly
12004 attempting to write beyond the end of a Field/OpRegion.  This was
12005 a boundary case that occurred when a DWORD field was written to a
12006 BYTE access OpRegion, forcing multiple writes and causing the
12007 interpreter to write one datum too many.
12008
12009 Fields: Fixed a problem with Field/OpRegion access where the
12010 starting bit address of a field was incorrectly calculated if the
12011 current access type was wider than a byte (WordAcc, DwordAcc, or
12012 QwordAcc).
12013
12014 Fields: Fixed a problem where forward references to individual
12015 FieldUnits (individual Field names within a Field definition) were
12016 not resolved during the AML table load.
12017
12018 Fields: Fixed a problem where forward references from a Field
12019 definition to the parent Operation Region definition were not
12020 resolved during the AML table load.
12021
12022 Fields: Duplicate FieldUnit names within a scope are now detected
12023 during AML table load.
12024
12025 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
12026 returned an incorrect name for the root node.
12027
12028 Code and Data Size: Code and Data optimizations have permitted new
12029 feature development with an actual reduction in the library size.
12030 Current core subsystem library sizes are shown below.  These are
12031 the code and data sizes for the acpica.lib produced by the
12032 Microsoft Visual C++ 6.0 compiler, and these values do not include
12033 any ACPI driver or OSPM code.  The debug version of the code
12034 includes the debug output trace mechanism and has a larger code
12035 and data size.  Note that these values will vary depending on the
12036 efficiency of the compiler and the compiler options used during
12037 generation.
12038
12039   Previous Release (10_18_01):
12040      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
12041      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
12042
12043   Current Release:
12044      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12045      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12046
12047  2) Linux:
12048
12049 Improved /proc processor output (Pavel Machek) Re-added
12050 MODULE_LICENSE("GPL") to all modules.
12051
12052  3) ASL Compiler version X2030:
12053
12054 Duplicate FieldUnit names within a scope are now detected and
12055 flagged as errors.
12056
12057  4) Documentation:
12058
12059 Programmer Reference updated to reflect OSL and address space
12060 handler interface changes described above.
12061
12062 ----------------------------------------
12063 Summary of changes for this label: 10_18_01
12064
12065 ACPI CA Core Subsystem:
12066
12067 Fixed a problem with the internal object reference count mechanism
12068 that occasionally caused premature object deletion. This resolves
12069 all of the outstanding problem reports where an object is deleted
12070 in the middle of an interpreter evaluation.  Although this problem
12071 only showed up in rather obscure cases, the solution to the
12072 problem involved an adjustment of all reference counts involving
12073 objects attached to namespace nodes.
12074
12075 Fixed a problem with Field support in the interpreter where
12076 writing to an aligned field whose length is an exact multiple (2
12077 or greater) of the field access granularity would cause an attempt
12078 to write beyond the end of the field.
12079
12080 The top level AML opcode execution functions within the
12081 interpreter have been renamed with a more meaningful and
12082 consistent naming convention.  The modules exmonad.c and
12083 exdyadic.c were eliminated.  New modules are exoparg1.c,
12084 exoparg2.c, exoparg3.c, and exoparg6.c.
12085
12086 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
12087
12088 Fixed a problem where the AML debugger was causing some internal
12089 objects to not be deleted during subsystem termination.
12090
12091 Fixed a problem with the external AcpiEvaluateObject interface
12092 where the subsystem would fault if the named object to be
12093 evaluated refered to a constant such as Zero, Ones, etc.
12094
12095 Fixed a problem with IndexFields and BankFields where the
12096 subsystem would fault if the index, data, or bank registers were
12097 not defined in the same scope as the field itself.
12098
12099 Added printf format string checking for compilers that support
12100 this feature.  Corrected more than 50 instances of issues with
12101 format specifiers within invocations of ACPI_DEBUG_PRINT
12102 throughout the core subsystem code.
12103
12104 The ASL "Revision" operator now returns the ACPI support level
12105 implemented in the core - the value "2" since the ACPI 2.0 support
12106 is more than 50% implemented.
12107
12108 Enhanced the output of the AML debugger "dump namespace" command
12109 to output in a more human-readable form.
12110
12111 Current core subsystem library code sizes are shown below.  These
12112
12113 are the code and data sizes for the acpica.lib produced by the
12114 Microsoft Visual C++ 6.0 compiler, and these values do not include
12115 any ACPI driver or OSPM code.  The debug version of the code
12116 includes the full debug trace mechanism -- leading to a much
12117
12118 larger code and data size.  Note that these values will vary
12119 depending on the efficiency of the compiler and the compiler
12120 options used during generation.
12121
12122      Previous Label (09_20_01):
12123      Non-Debug Version:    65K Code,     5K Data,     70K Total
12124      Debug Version:       138K Code,    58K Data,    196K Total
12125
12126      This Label:
12127
12128      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
12129      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
12130
12131 Linux:
12132
12133 Implemented a "Bad BIOS Blacklist" to track machines that have
12134 known ASL/AML problems.
12135
12136 Enhanced the /proc interface for the thermal zone driver and added
12137 support for _HOT (the critical suspend trip point).  The 'info'
12138 file now includes threshold/policy information, and allows setting
12139 of _SCP (cooling preference) and _TZP (polling frequency) values
12140 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
12141 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
12142 preference to the passive/quiet mode (if supported by the ASL).
12143
12144 Implemented a workaround for a gcc bug that resuted in an OOPs
12145 when loading the control method battery driver.
12146
12147  ----------------------------------------
12148 Summary of changes for this label: 09_20_01
12149
12150  ACPI CA Core Subsystem:
12151
12152 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
12153 modified to allow individual GPE levels to be flagged as wake-
12154 enabled (i.e., these GPEs are to remain enabled when the platform
12155 sleeps.)
12156
12157 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
12158 support wake-enabled GPEs.  This means that upon entering the
12159 sleep state, all GPEs that are not wake-enabled are disabled.
12160 When leaving the sleep state, these GPEs are reenabled.
12161
12162 A local double-precision divide/modulo module has been added to
12163 enhance portability to OS kernels where a 64-bit math library is
12164 not available.  The new module is "utmath.c".
12165
12166 Several optimizations have been made to reduce the use of CPU
12167 stack.  Originally over 2K, the maximum stack usage is now below
12168 2K at 1860  bytes (1.82k)
12169
12170 Fixed a problem with the AcpiGetFirmwareTable interface where the
12171 root table pointer was not mapped into a logical address properly.
12172
12173 Fixed a problem where a NULL pointer was being dereferenced in the
12174 interpreter code for the ASL Notify operator.
12175
12176 Fixed a problem where the use of the ASL Revision operator
12177 returned an error. This operator now returns the current version
12178 of the ACPI CA core subsystem.
12179
12180 Fixed a problem where objects passed as control method parameters
12181 to AcpiEvaluateObject were always deleted at method termination.
12182 However, these objects may end up being stored into the namespace
12183 by the called method.  The object reference count mechanism was
12184 applied to these objects instead of a force delete.
12185
12186 Fixed a problem where static strings or buffers (contained in the
12187 AML code) that are declared as package elements within the ASL
12188 code could cause a fault because the interpreter would attempt to
12189 delete them.  These objects are now marked with the "static
12190 object" flag to prevent any attempt to delete them.
12191
12192 Implemented an interpreter optimization to use operands directly
12193 from the state object instead of extracting the operands to local
12194 variables.  This reduces stack use and code size, and improves
12195 performance.
12196
12197 The module exxface.c was eliminated as it was an unnecessary extra
12198 layer of code.
12199
12200 Current core subsystem library code sizes are shown below.  These
12201 are the code and data sizes for the acpica.lib produced by the
12202 Microsoft Visual C++ 6.0 compiler, and these values do not include
12203 any ACPI driver or OSPM code.  The debug version of the code
12204 includes the full debug trace mechanism -- leading to a much
12205 larger code and data size.  Note that these values will vary
12206 depending on the efficiency of the compiler and the compiler
12207 options used during generation.
12208
12209   Non-Debug Version:  65K Code,   5K Data,   70K Total
12210 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
12211 Total  (Previously 195K)
12212
12213 Linux:
12214
12215 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
12216 Integer objects are now 64 bits wide
12217
12218 All Acpi data types and structures are now in lower case.  Only
12219 Acpi macros are upper case for differentiation.
12220
12221  Documentation:
12222
12223 Changes to the external interfaces as described above.
12224
12225  ----------------------------------------
12226 Summary of changes for this label: 08_31_01
12227
12228  ACPI CA Core Subsystem:
12229
12230 A bug with interpreter implementation of the ASL Divide operator
12231 was found and fixed.  The implicit function return value (not the
12232 explicit store operands) was returning the remainder instead of
12233 the quotient.  This was a longstanding bug and it fixes several
12234 known outstanding issues on various platforms.
12235
12236 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
12237 been further optimized for size.  There are 700 invocations of the
12238 DEBUG_PRINT macro alone, so each optimization reduces the size of
12239 the debug version of the subsystem significantly.
12240
12241 A stack trace mechanism has been implemented.  The maximum stack
12242 usage is about 2K on 32-bit platforms.  The debugger command "stat
12243 stack" will display the current maximum stack usage.
12244
12245 All public symbols and global variables within the subsystem are
12246 now prefixed with the string "Acpi".  This keeps all of the
12247 symbols grouped together in a kernel map, and avoids conflicts
12248 with other kernel subsystems.
12249
12250 Most of the internal fixed lookup tables have been moved into the
12251 code segment via the const operator.
12252
12253 Several enhancements have been made to the interpreter to both
12254 reduce the code size and improve performance.
12255
12256 Current core subsystem library code sizes are shown below.  These
12257 are the code and data sizes for the acpica.lib produced by the
12258 Microsoft Visual C++ 6.0 compiler, and these values do not include
12259 any ACPI driver or OSPM code.  The debug version of the code
12260 includes the full debug trace mechanism which contains over 700
12261 invocations of the DEBUG_PRINT macro, 500 function entry macro
12262 invocations, and over 900 function exit macro invocations --
12263 leading to a much larger code and data size.  Note that these
12264 values will vary depending on the efficiency of the compiler and
12265 the compiler options used during generation.
12266
12267         Non-Debug Version:  64K Code,   5K Data,   69K Total
12268 Debug Version:     137K Code,  58K Data,  195K Total
12269
12270  Linux:
12271
12272 Implemented wbinvd() macro, pending a kernel-wide definition.
12273
12274 Fixed /proc/acpi/event to handle poll() and short reads.
12275
12276  ASL Compiler, version X2026:
12277
12278 Fixed a problem introduced in the previous label where the AML
12279
12280 code emitted for package objects produced packages with zero
12281 length.
12282
12283  ----------------------------------------
12284 Summary of changes for this label: 08_16_01
12285
12286 ACPI CA Core Subsystem:
12287
12288 The following ACPI 2.0 ASL operators have been implemented in the
12289 AML interpreter (These are already supported by the Intel ASL
12290 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
12291 ToBuffer.  Support for 64-bit AML constants is implemented in the
12292 AML parser, debugger, and disassembler.
12293
12294 The internal memory tracking mechanism (leak detection code) has
12295 been upgraded to reduce the memory overhead (a separate tracking
12296 block is no longer allocated for each memory allocation), and now
12297 supports all of the internal object caches.
12298
12299 The data structures and code for the internal object caches have
12300 been coelesced and optimized so that there is a single cache and
12301 memory list data structure and a single group of functions that
12302 implement generic cache management.  This has reduced the code
12303 size in both the debug and release versions of the subsystem.
12304
12305 The DEBUG_PRINT macro(s) have been optimized for size and replaced
12306 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
12307 different, because it generates a single call to an internal
12308 function.  This results in a savings of about 90 bytes per
12309 invocation, resulting in an overall code and data savings of about
12310 16% in the debug version of the subsystem.
12311
12312  Linux:
12313
12314 Fixed C3 disk corruption problems and re-enabled C3 on supporting
12315 machines.
12316
12317 Integrated low-level sleep code by Patrick Mochel.
12318
12319 Further tweaked source code Linuxization.
12320
12321 Other minor fixes.
12322
12323  ASL Compiler:
12324
12325 Support for ACPI 2.0 variable length packages is fixed/completed.
12326
12327 Fixed a problem where the optional length parameter for the ACPI
12328 2.0 ToString operator.
12329
12330 Fixed multiple extraneous error messages when a syntax error is
12331 detected within the declaration line of a control method.
12332
12333  ----------------------------------------
12334 Summary of changes for this label: 07_17_01
12335
12336 ACPI CA Core Subsystem:
12337
12338 Added a new interface named AcpiGetFirmwareTable to obtain any
12339 ACPI table via the ACPI signature.  The interface can be called at
12340 any time during kernel initialization, even before the kernel
12341 virtual memory manager is initialized and paging is enabled.  This
12342 allows kernel subsystems to obtain ACPI tables very early, even
12343 before the ACPI CA subsystem is initialized.
12344
12345 Fixed a problem where Fields defined with the AnyAcc attribute
12346 could be resolved to the incorrect address under the following
12347 conditions: 1) the field width is larger than 8 bits and 2) the
12348 parent operation region is not defined on a DWORD boundary.
12349
12350 Fixed a problem where the interpreter is not being locked during
12351 namespace initialization (during execution of the _INI control
12352 methods), causing an error when an attempt is made to release it
12353 later.
12354
12355 ACPI 2.0 support in the AML Interpreter has begun and will be
12356 ongoing throughout the rest of this year.  In this label, The Mod
12357 operator is implemented.
12358
12359 Added a new data type to contain full PCI addresses named
12360 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
12361 and Function values.
12362
12363  Linux:
12364
12365 Enhanced the Linux version of the source code to change most
12366 capitalized ACPI type names to lowercase. For example, all
12367 instances of ACPI_STATUS are changed to acpi_status.  This will
12368 result in a large diff, but the change is strictly cosmetic and
12369 aligns the CA code closer to the Linux coding standard.
12370
12371 OSL Interfaces:
12372
12373 The interfaces to the PCI configuration space have been changed to
12374 add the PCI Segment number and to split the single 32-bit combined
12375 DeviceFunction field into two 16-bit fields.  This was
12376 accomplished by moving the four values that define an address in
12377 PCI configuration space (segment, bus, device, and function) to
12378 the new ACPI_PCI_ID structure.
12379
12380 The changes to the PCI configuration space interfaces led to a
12381 reexamination of the complete set of address space access
12382 interfaces for PCI, I/O, and Memory.  The previously existing 18
12383 interfaces have proven difficult to maintain (any small change
12384 must be propagated across at least 6 interfaces) and do not easily
12385 allow for future expansion to 64 bits if necessary.  Also, on some
12386 systems, it would not be appropriate to demultiplex the access
12387 width (8, 16, 32,or 64) before calling the OSL if the
12388 corresponding native OS interfaces contain a similar access width
12389 parameter.  For these reasons, the 18 address space interfaces
12390 have been replaced by these 6 new ones:
12391
12392 AcpiOsReadPciConfiguration
12393 AcpiOsWritePciConfiguration
12394 AcpiOsReadMemory
12395 AcpiOsWriteMemory
12396 AcpiOsReadPort
12397 AcpiOsWritePort
12398
12399 Added a new interface named AcpiOsGetRootPointer to allow the OSL
12400 to perform the platform and/or OS-specific actions necessary to
12401 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
12402 interface will simply call down to the CA core to perform the low-
12403 memory search for the table.  On IA-64, the RSDP is obtained from
12404 EFI.  Migrating this interface to the OSL allows the CA core to
12405
12406 remain OS and platform independent.
12407
12408 Added a new interface named AcpiOsSignal to provide a generic
12409 "function code and pointer" interface for various miscellaneous
12410 signals and notifications that must be made to the host OS.   The
12411 first such signals are intended to support the ASL Fatal and
12412 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
12413 interface has been obsoleted.
12414
12415 The definition of the AcpiFormatException interface has been
12416 changed to simplify its use.  The caller no longer must supply a
12417 buffer to the call; A pointer to a const string is now returned
12418 directly.  This allows the call to be easily used in printf
12419 statements, etc. since the caller does not have to manage a local
12420 buffer.
12421
12422
12423  ASL Compiler, Version X2025:
12424
12425 The ACPI 2.0 Switch/Case/Default operators have been implemented
12426 and are fully functional.  They will work with all ACPI 1.0
12427 interpreters, since the operators are simply translated to If/Else
12428 pairs.
12429
12430 The ACPI 2.0 ElseIf operator is implemented and will also work
12431 with 1.0 interpreters, for the same reason.
12432
12433 Implemented support for ACPI 2.0 variable-length packages.  These
12434 packages have a separate opcode, and their size is determined by
12435 the interpreter at run-time.
12436
12437 Documentation The ACPI CA Programmer Reference has been updated to
12438 reflect the new interfaces and changes to existing interfaces.
12439
12440  ------------------------------------------
12441 Summary of changes for this label: 06_15_01
12442
12443  ACPI CA Core Subsystem:
12444
12445 Fixed a problem where a DWORD-accessed field within a Buffer
12446 object would get its byte address inadvertently rounded down to
12447 the nearest DWORD.  Buffers are always Byte-accessible.
12448
12449  ASL Compiler, version X2024:
12450
12451 Fixed a problem where the Switch() operator would either fault or
12452 hang the compiler.  Note however, that the AML code for this ACPI
12453 2.0 operator is not yet implemented.
12454
12455 Compiler uses the new AcpiOsGetTimer interface to obtain compile
12456 timings.
12457
12458 Implementation of the CreateField operator automatically converts
12459 a reference to a named field within a resource descriptor from a
12460 byte offset to a bit offset if required.
12461
12462 Added some missing named fields from the resource descriptor
12463 support. These are the names that are automatically created by the
12464 compiler to reference fields within a descriptor.  They are only
12465 valid at compile time and are not passed through to the AML
12466 interpreter.
12467
12468 Resource descriptor named fields are now typed as Integers and
12469 subject to compile-time typechecking when used in expressions.
12470
12471  ------------------------------------------
12472 Summary of changes for this label: 05_18_01
12473
12474  ACPI CA Core Subsystem:
12475
12476 Fixed a couple of problems in the Field support code where bits
12477 from adjacent fields could be returned along with the proper field
12478 bits. Restructured the field support code to improve performance,
12479 readability and maintainability.
12480
12481 New DEBUG_PRINTP macro automatically inserts the procedure name
12482 into the output, saving hundreds of copies of procedure name
12483 strings within the source, shrinking the memory footprint of the
12484 debug version of the core subsystem.
12485
12486  Source Code Structure:
12487
12488 The source code directory tree was restructured to reflect the
12489 current organization of the component architecture.  Some files
12490 and directories have been moved and/or renamed.
12491
12492  Linux:
12493
12494 Fixed leaking kacpidpc processes.
12495
12496 Fixed queueing event data even when /proc/acpi/event is not
12497 opened.
12498
12499  ASL Compiler, version X2020:
12500
12501 Memory allocation performance enhancement - over 24X compile time
12502 improvement on large ASL files.  Parse nodes and namestring
12503 buffers are now allocated from a large internal compiler buffer.
12504
12505 The temporary .SRC file is deleted unless the "-s" option is
12506 specified
12507
12508 The "-d" debug output option now sends all output to the .DBG file
12509 instead of the console.
12510
12511 "External" second parameter is now optional
12512
12513 "ElseIf" syntax now properly allows the predicate
12514
12515 Last operand to "Load" now recognized as a Target operand
12516
12517 Debug object can now be used anywhere as a normal object.
12518
12519 ResourceTemplate now returns an object of type BUFFER
12520
12521 EISAID now returns an object of type INTEGER
12522
12523 "Index" now works with a STRING operand
12524
12525 "LoadTable" now accepts optional parameters
12526
12527 "ToString" length parameter is now optional
12528
12529 "Interrupt (ResourceType," parse error fixed.
12530
12531 "Register" with a user-defined region space parse error fixed
12532
12533 Escaped backslash at the end of a string ("\\") scan/parse error
12534 fixed
12535
12536 "Revision" is now an object of type INTEGER.
12537
12538
12539
12540 ------------------------------------------
12541 Summary of changes for this label: 05_02_01
12542
12543 Linux:
12544
12545 /proc/acpi/event now blocks properly.
12546
12547 Removed /proc/sys/acpi. You can still dump your DSDT from
12548 /proc/acpi/dsdt.
12549
12550  ACPI CA Core Subsystem:
12551
12552 Fixed a problem introduced in the previous label where some of the
12553 "small" resource descriptor types were not recognized.
12554
12555 Improved error messages for the case where an ASL Field is outside
12556 the range of the parent operation region.
12557
12558  ASL Compiler, version X2018:
12559
12560
12561 Added error detection for ASL Fields that extend beyond the length
12562 of the parent operation region (only if the length of the region
12563 is known at compile time.)  This includes fields that have a
12564 minimum access width that is smaller than the parent region, and
12565 individual field units that are partially or entirely beyond the
12566 extent of the parent.
12567
12568
12569
12570 ------------------------------------------
12571 Summary of changes for this label: 04_27_01
12572
12573  ACPI CA Core Subsystem:
12574
12575 Fixed a problem where the namespace mutex could be released at the
12576 wrong time during execution of AcpiRemoveAddressSpaceHandler.
12577
12578 Added optional thread ID output for debug traces, to simplify
12579 debugging of multiple threads.  Added context switch notification
12580 when the debug code realizes that a different thread is now
12581 executing ACPI code.
12582
12583 Some additional external data types have been prefixed with the
12584 string "ACPI_" for consistency.  This may effect existing code.
12585 The data types affected are the external callback typedefs - e.g.,
12586
12587 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
12588
12589  Linux:
12590
12591 Fixed an issue with the OSL semaphore implementation where a
12592 thread was waking up with an error from receiving a SIGCHLD
12593 signal.
12594
12595 Linux version of ACPI CA now uses the system C library for string
12596 manipulation routines instead of a local implementation.
12597
12598 Cleaned up comments and removed TBDs.
12599
12600  ASL Compiler, version X2017:
12601
12602 Enhanced error detection and reporting for all file I/O
12603 operations.
12604
12605  Documentation:
12606
12607 Programmer Reference updated to version 1.06.
12608
12609
12610
12611 ------------------------------------------
12612 Summary of changes for this label: 04_13_01
12613
12614  ACPI CA Core Subsystem:
12615
12616 Restructured support for BufferFields and RegionFields.
12617 BankFields support is now fully operational.  All known 32-bit
12618 limitations on field sizes have been removed.  Both BufferFields
12619 and (Operation) RegionFields are now supported by the same field
12620 management code.
12621
12622 Resource support now supports QWORD address and IO resources. The
12623 16/32/64 bit address structures and the Extended IRQ structure
12624 have been changed to properly handle Source Resource strings.
12625
12626 A ThreadId of -1 is now used to indicate a "mutex not acquired"
12627 condition internally and must never be returned by AcpiOsThreadId.
12628 This reserved value was changed from 0 since Unix systems allow a
12629 thread ID of 0.
12630
12631 Linux:
12632
12633 Driver code reorganized to enhance portability
12634
12635 Added a kernel configuration option to control ACPI_DEBUG
12636
12637 Fixed the EC driver to honor _GLK.
12638
12639 ASL Compiler, version X2016:
12640
12641 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
12642 address space was set to 0, not 0x7f as it should be.
12643
12644  ------------------------------------------
12645 Summary of changes for this label: 03_13_01
12646
12647  ACPI CA Core Subsystem:
12648
12649 During ACPI initialization, the _SB_._INI method is now run if
12650 present.
12651
12652 Notify handler fix - notifies are deferred until the parent method
12653 completes execution.  This fixes the "mutex already acquired"
12654 issue seen occasionally.
12655
12656 Part of the "implicit conversion" rules in ACPI 2.0 have been
12657 found to cause compatibility problems with existing ASL/AML.  The
12658 convert "result-to-target-type" implementation has been removed
12659 for stores to method Args and Locals.  Source operand conversion
12660 is still fully implemented.  Possible changes to ACPI 2.0
12661 specification pending.
12662
12663 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
12664 length.
12665
12666 Fix for compiler warnings for 64-bit compiles.
12667
12668  Linux:
12669
12670 /proc output aligned for easier parsing.
12671
12672 Release-version compile problem fixed.
12673
12674 New kernel configuration options documented in Configure.help.
12675
12676 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
12677 context" message.
12678
12679  OSPM:
12680
12681 Power resource driver integrated with bus manager.
12682
12683 Fixed kernel fault during active cooling for thermal zones.
12684
12685 Source Code:
12686
12687 The source code tree has been restructured.
12688
12689
12690
12691 ------------------------------------------
12692 Summary of changes for this label: 03_02_01
12693
12694  Linux OS Services Layer (OSL):
12695
12696 Major revision of all Linux-specific code.
12697
12698 Modularized all ACPI-specific drivers.
12699
12700 Added new thermal zone and power resource drivers.
12701
12702 Revamped /proc interface (new functionality is under /proc/acpi).
12703
12704 New kernel configuration options.
12705
12706  Linux known issues:
12707
12708 New kernel configuration options not documented in Configure.help
12709 yet.
12710
12711
12712 Module dependencies not currently implemented. If used, they
12713 should be loaded in this order: busmgr, power, ec, system,
12714 processor, battery, ac_adapter, button, thermal.
12715
12716 Modules will not load if CONFIG_MODVERSION is set.
12717
12718 IBM 600E - entering S5 may reboot instead of shutting down.
12719
12720 IBM 600E - Sleep button may generate "Invalid <NULL> context"
12721 message.
12722
12723 Some systems may fail with "execution mutex already acquired"
12724 message.
12725
12726  ACPI CA Core Subsystem:
12727
12728 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
12729 for the  deadlock detection code. Defined to return a non-zero, 32-
12730 bit thread ID for the currently executing thread.  May be a non-
12731 zero constant integer on single-thread systems.
12732
12733 Implemented deadlock detection for internal subsystem mutexes.  We
12734 may add conditional compilation for this code (debug only) later.
12735
12736 ASL/AML Mutex object semantics are now fully supported.  This
12737 includes multiple acquires/releases by owner and support for the
12738
12739 Mutex SyncLevel parameter.
12740
12741 A new "Force Release" mechanism automatically frees all ASL
12742 Mutexes that have been acquired but not released when a thread
12743 exits the interpreter.  This forces conformance to the ACPI spec
12744 ("All mutexes must be released when an invocation exits") and
12745 prevents deadlocked ASL threads.  This mechanism can be expanded
12746 (later) to monitor other resource acquisitions if OEM ASL code
12747 continues to misbehave (which it will).
12748
12749 Several new ACPI exception codes have been added for the Mutex
12750 support.
12751
12752 Recursive method calls are now allowed and supported (the ACPI
12753 spec does in fact allow recursive method calls.)  The number of
12754 recursive calls is subject to the restrictions imposed by the
12755 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
12756 parameter.
12757
12758 Implemented support for the SyncLevel parameter for control
12759 methods (ACPI 2.0 feature)
12760
12761 Fixed a deadlock problem when multiple threads attempted to use
12762 the interpreter.
12763
12764 Fixed a problem where the string length of a String package
12765 element was not always set in a package returned from
12766 AcpiEvaluateObject.
12767
12768 Fixed a problem where the length of a String package element was
12769 not always included in the length of the overall package returned
12770 from AcpiEvaluateObject.
12771
12772 Added external interfaces (Acpi*) to the ACPI debug memory
12773 manager.  This manager keeps a list of all outstanding
12774 allocations, and can therefore detect memory leaks and attempts to
12775 free memory blocks more than once. Useful for code such as the
12776 power manager, etc.  May not be appropriate for device drivers.
12777 Performance with the debug code enabled is slow.
12778
12779 The ACPI Global Lock is now an optional hardware element.
12780
12781  ASL Compiler Version X2015:
12782
12783 Integrated changes to allow the compiler to be generated on
12784 multiple platforms.
12785
12786 Linux makefile added to generate the compiler on Linux
12787
12788  Source Code:
12789
12790 All platform-specific headers have been moved to their own
12791 subdirectory, Include/Platform.
12792
12793 New source file added, Interpreter/ammutex.c
12794
12795 New header file, Include/acstruct.h
12796
12797  Documentation:
12798
12799 The programmer reference has been updated for the following new
12800 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
12801
12802  ------------------------------------------
12803 Summary of changes for this label: 02_08_01
12804
12805 Core ACPI CA Subsystem: Fixed a problem where an error was
12806 incorrectly returned if the return resource buffer was larger than
12807 the actual data (in the resource interfaces).
12808
12809 References to named objects within packages are resolved to the
12810
12811 full pathname string before packages are returned directly (via
12812 the AcpiEvaluateObject interface) or indirectly via the resource
12813 interfaces.
12814
12815 Linux OS Services Layer (OSL):
12816
12817 Improved /proc battery interface.
12818
12819
12820 Added C-state debugging output and other miscellaneous fixes.
12821
12822 ASL Compiler Version X2014:
12823
12824 All defined method arguments can now be used as local variables,
12825 including the ones that are not actually passed in as parameters.
12826 The compiler tracks initialization of the arguments and issues an
12827 exception if they are used without prior assignment (just like
12828 locals).
12829
12830 The -o option now specifies a filename prefix that is used for all
12831 output files, including the AML output file.  Otherwise, the
12832 default behavior is as follows:  1) the AML goes to the file
12833 specified in the DSDT.  2) all other output files use the input
12834 source filename as the base.
12835
12836  ------------------------------------------
12837 Summary of changes for this label: 01_25_01
12838
12839 Core ACPI CA Subsystem: Restructured the implementation of object
12840 store support within the  interpreter.  This includes support for
12841 the Store operator as well  as any ASL operators that include a
12842 target operand.
12843
12844 Partially implemented support for Implicit Result-to-Target
12845 conversion. This is when a result object is converted on the fly
12846 to the type of  an existing target object.  Completion of this
12847 support is pending  further analysis of the ACPI specification
12848 concerning this matter.
12849
12850 CPU-specific code has been removed from the subsystem (hardware
12851 directory).
12852
12853 New Power Management Timer functions added
12854
12855 Linux OS Services Layer (OSL): Moved system state transition code
12856 to the core, fixed it, and modified  Linux OSL accordingly.
12857
12858 Fixed C2 and C3 latency calculations.
12859
12860
12861 We no longer use the compilation date for the version message on
12862 initialization, but retrieve the version from AcpiGetSystemInfo().
12863
12864 Incorporated for fix Sony VAIO machines.
12865
12866 Documentation:  The Programmer Reference has been updated and
12867 reformatted.
12868
12869
12870 ASL Compiler:  Version X2013: Fixed a problem where the line
12871 numbering and error reporting could get out  of sync in the
12872 presence of multiple include files.
12873
12874  ------------------------------------------
12875 Summary of changes for this label: 01_15_01
12876
12877 Core ACPI CA Subsystem:
12878
12879 Implemented support for type conversions in the execution of the
12880 ASL  Concatenate operator (The second operand is converted to
12881 match the type  of the first operand before concatenation.)
12882
12883 Support for implicit source operand conversion is partially
12884 implemented.   The ASL source operand types Integer, Buffer, and
12885 String are freely  interchangeable for most ASL operators and are
12886 converted by the interpreter  on the fly as required.  Implicit
12887 Target operand conversion (where the  result is converted to the
12888 target type before storing) is not yet implemented.
12889
12890 Support for 32-bit and 64-bit BCD integers is implemented.
12891
12892 Problem fixed where a field read on an aligned field could cause a
12893 read  past the end of the field.
12894
12895 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
12896 does not return a value, but the caller expects one.  (The ASL
12897 compiler flags this as a warning.)
12898
12899 ASL Compiler:
12900
12901 Version X2011:
12902 1. Static typechecking of all operands is implemented. This
12903 prevents the use of invalid objects (such as using a Package where
12904 an Integer is required) at compile time instead of at interpreter
12905 run-time.
12906 2. The ASL source line is printed with ALL errors and warnings.
12907 3. Bug fix for source EOF without final linefeed.
12908 4. Debug option is split into a parse trace and a namespace trace.
12909 5. Namespace output option (-n) includes initial values for
12910 integers and strings.
12911 6. Parse-only option added for quick syntax checking.
12912 7. Compiler checks for duplicate ACPI name declarations
12913
12914 Version X2012:
12915 1. Relaxed typechecking to allow interchangeability between
12916 strings, integers, and buffers.  These types are now converted by
12917 the interpreter at runtime.
12918 2. Compiler reports time taken by each internal subsystem in the
12919 debug         output file.
12920
12921
12922  ------------------------------------------
12923 Summary of changes for this label: 12_14_00
12924
12925 ASL Compiler:
12926
12927 This is the first official release of the compiler. Since the
12928 compiler requires elements of the Core Subsystem, this label
12929 synchronizes everything.
12930
12931 ------------------------------------------
12932 Summary of changes for this label: 12_08_00
12933
12934
12935 Fixed a problem where named references within the ASL definition
12936 of both OperationRegions and CreateXXXFields did not work
12937 properly.  The symptom was an AE_AML_OPERAND_TYPE during
12938 initialization of the region/field. This is similar (but not
12939 related internally) to the problem that was fixed in the last
12940 label.
12941
12942 Implemented both 32-bit and 64-bit support for the BCD ASL
12943 functions ToBCD and FromBCD.
12944
12945 Updated all legal headers to include "2000" in the copyright
12946 years.
12947
12948  ------------------------------------------
12949 Summary of changes for this label: 12_01_00
12950
12951 Fixed a problem where method invocations within the ASL definition
12952 of both OperationRegions and CreateXXXFields did not work
12953 properly.  The symptom was an AE_AML_OPERAND_TYPE during
12954 initialization of the region/field:
12955
12956   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
12957 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
12958 (0x3005)
12959
12960 Fixed a problem where operators with more than one nested
12961 subexpression would fail.  The symptoms were varied, by mostly
12962 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
12963 problem that has gone unnoticed until now.
12964
12965   Subtract (Add (1,2), Multiply (3,4))
12966
12967 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
12968 previous build (The prefix part of a relative path was handled
12969 incorrectly).
12970
12971 Fixed a problem where Operation Region initialization failed if
12972 the operation region name was a "namepath" instead of a simple
12973 "nameseg". Symptom was an AE_NO_OPERAND error.
12974
12975 Fixed a problem where an assignment to a local variable via the
12976 indirect RefOf mechanism only worked for the first such
12977 assignment.  Subsequent assignments were ignored.
12978
12979  ------------------------------------------
12980 Summary of changes for this label: 11_15_00
12981
12982 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
12983 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
12984 the AML  interpreter does NOT have support for the new 2.0 ASL
12985 grammar terms at this time.
12986
12987 All ACPI hardware access is via the GAS structures in the ACPI 2.0
12988 FADT.
12989
12990 All physical memory addresses across all platforms are now 64 bits
12991 wide. Logical address width remains dependent on the platform
12992 (i.e., "void *").
12993
12994 AcpiOsMapMemory interface changed to a 64-bit physical address.
12995
12996 The AML interpreter integer size is now 64 bits, as per the ACPI
12997 2.0 specification.
12998
12999 For backwards compatibility with ACPI 1.0, ACPI tables with a
13000 revision number less than 2 use 32-bit integers only.
13001
13002 Fixed a problem where the evaluation of OpRegion operands did not
13003 always resolve them to numbers properly.
13004
13005 ------------------------------------------
13006 Summary of changes for this label: 10_20_00
13007
13008 Fix for CBN_._STA issue.  This fix will allow correct access to
13009 CBN_ OpRegions when the _STA returns 0x8.
13010
13011 Support to convert ACPI constants (Ones, Zeros, One) to actual
13012 values before a package object is returned
13013
13014 Fix for method call as predicate to if/while construct causing
13015 incorrect if/while behavior
13016
13017 Fix for Else block package lengths sometimes calculated wrong (if
13018 block > 63 bytes)
13019
13020 Fix for Processor object length field, was always zero
13021
13022 Table load abort if FACP sanity check fails
13023
13024 Fix for problem with Scope(name) if name already exists
13025
13026 Warning emitted if a named object referenced cannot be found
13027 (resolved) during method execution.
13028
13029
13030
13031
13032
13033 ------------------------------------------
13034 Summary of changes for this label: 9_29_00
13035
13036 New table initialization interfaces: AcpiInitializeSubsystem no
13037 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
13038 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
13039 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
13040 AcpiLoadTables
13041
13042 Note: These interface changes require changes to all existing OSDs
13043
13044 The PCI_Config default address space handler is always installed
13045 at the root namespace object.
13046
13047 -------------------------------------------
13048 Summary of changes for this label: 09_15_00
13049
13050 The new initialization architecture is implemented.  New
13051 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
13052 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
13053
13054 (Namespace is automatically loaded when a table is loaded)
13055
13056 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
13057 52 bytes to 32 bytes.  There is usually one of these for every
13058 namespace object, so the memory savings is significant.
13059
13060 Implemented just-in-time evaluation of the CreateField operators.
13061
13062 Bug fixes for IA-64 support have been integrated.
13063
13064 Additional code review comments have been implemented
13065
13066 The so-called "third pass parse" has been replaced by a final walk
13067 through the namespace to initialize all operation regions (address
13068 spaces) and fields that have not yet been initialized during the
13069 execution of the various _INI and REG methods.
13070
13071 New file - namespace/nsinit.c
13072
13073 -------------------------------------------
13074 Summary of changes for this label: 09_01_00
13075
13076 Namespace manager data structures have been reworked to change the
13077 primary  object from a table to a single object.  This has
13078 resulted in dynamic memory  savings of 3X within the namespace and
13079 2X overall in the ACPI CA subsystem.
13080
13081 Fixed problem where the call to AcpiEvFindPciRootBuses was
13082 inadvertently left  commented out.
13083
13084 Reduced the warning count when generating the source with the GCC
13085 compiler.
13086
13087 Revision numbers added to each module header showing the
13088 SourceSafe version of the file.  Please refer to this version
13089 number when giving us feedback or comments on individual modules.
13090
13091 The main object types within the subsystem have been renamed to
13092 clarify their  purpose:
13093
13094 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
13095 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
13096 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
13097
13098 NOTE: no changes to the initialization sequence are included in
13099 this label.
13100
13101 -------------------------------------------
13102 Summary of changes for this label: 08_23_00
13103
13104 Fixed problem where TerminateControlMethod was being called
13105 multiple times per  method
13106
13107 Fixed debugger problem where single stepping caused a semaphore to
13108 be  oversignalled
13109
13110 Improved performance through additional parse object caching -
13111 added  ACPI_EXTENDED_OP type
13112
13113 -------------------------------------------
13114 Summary of changes for this label: 08_10_00
13115
13116 Parser/Interpreter integration:  Eliminated the creation of
13117 complete parse trees  for ACPI tables and control methods.
13118 Instead, parse subtrees are created and  then deleted as soon as
13119 they are processed (Either entered into the namespace or  executed
13120 by the interpreter).  This reduces the use of dynamic kernel
13121 memory  significantly. (about 10X)
13122
13123 Exception codes broken into classes and renumbered.  Be sure to
13124 recompile all  code that includes acexcep.h.  Hopefully we won't
13125 have to renumber the codes  again now that they are split into
13126 classes (environment, programmer, AML code,  ACPI table, and
13127 internal).
13128
13129 Fixed some additional alignment issues in the Resource Manager
13130 subcomponent
13131
13132 Implemented semaphore tracking in the AcpiExec utility, and fixed
13133 several places  where mutexes/semaphores were being unlocked
13134 without a corresponding lock  operation.  There are no known
13135 semaphore or mutex "leaks" at this time.
13136
13137 Fixed the case where an ASL Return operator is used to return an
13138 unnamed  package.
13139
13140 -------------------------------------------
13141 Summary of changes for this label: 07_28_00
13142
13143 Fixed a problem with the way addresses were calculated in
13144 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
13145 manifested itself when a Field was  created with WordAccess or
13146 DwordAccess, but the field unit defined within the  Field was less
13147
13148 than a Word or Dword.
13149
13150 Fixed a problem in AmlDumpOperands() module's loop to pull
13151 operands off of the  operand stack to display information. The
13152 problem manifested itself as a TLB  error on 64-bit systems when
13153 accessing an operand stack with two or more  operands.
13154
13155 Fixed a problem with the PCI configuration space handlers where
13156 context was  getting confused between accesses. This required a
13157 change to the generic address  space handler and address space
13158 setup definitions. Handlers now get both a  global handler context
13159 (this is the one passed in by the user when executing
13160 AcpiInstallAddressSpaceHandler() and a specific region context
13161 that is unique to  each region (For example, the _ADR, _SEG and
13162 _BBN values associated with a  specific region). The generic
13163 function definitions have changed to the  following:
13164
13165 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
13166 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
13167 *HandlerContext, // This used to be void *Context void
13168 *RegionContext); // This is an additional parameter
13169
13170 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
13171 RegionHandle, UINT32 Function, void *HandlerContext,  void
13172 **RegionContext); // This used to be **ReturnContext
13173
13174 -------------------------------------------
13175 Summary of changes for this label: 07_21_00
13176
13177 Major file consolidation and rename.  All files within the
13178 interpreter have been  renamed as well as most header files.  This
13179 was done to prevent collisions with  existing files in the host
13180 OSs -- filenames such as "config.h" and "global.h"  seem to be
13181 quite common.  The VC project files have been updated.  All
13182 makefiles  will require modification.
13183
13184 The parser/interpreter integration continues in Phase 5 with the
13185 implementation  of a complete 2-pass parse (the AML is parsed
13186 twice) for each table;  This  avoids the construction of a huge
13187 parse tree and therefore reduces the amount of  dynamic memory
13188 required by the subsystem.  Greater use of the parse object cache
13189 means that performance is unaffected.
13190
13191 Many comments from the two code reviews have been rolled in.
13192
13193 The 64-bit alignment support is complete.
13194
13195 -------------------------------------------
13196 Summary of changes for this label: 06_30_00
13197
13198 With a nod and a tip of the hat to the technology of yesteryear,
13199 we've added  support in the source code for 80 column output
13200 devices.  The code is now mostly  constrained to 80 columns or
13201 less to support environments and editors that 1)  cannot display
13202 or print more than 80 characters on a single line, and 2) cannot
13203 disable line wrapping.
13204
13205 A major restructuring of the namespace data structure has been
13206 completed.  The  result is 1) cleaner and more
13207 understandable/maintainable code, and 2) a  significant reduction
13208 in the dynamic memory requirement for each named ACPI  object
13209 (almost half).
13210
13211 -------------------------------------------
13212 Summary of changes for this label: 06_23_00
13213
13214 Linux support has been added.  In order to obtain approval to get
13215 the ACPI CA  subsystem into the Linux kernel, we've had to make
13216 quite a few changes to the  base subsystem that will affect all
13217 users (all the changes are generic and OS- independent).  The
13218 effects of these global changes have been somewhat far  reaching.
13219 Files have been merged and/or renamed and interfaces have been
13220 renamed.   The major changes are described below.
13221
13222 Osd* interfaces renamed to AcpiOs* to eliminate namespace
13223 pollution/confusion  within our target kernels.  All OSD
13224 interfaces must be modified to match the new  naming convention.
13225
13226 Files merged across the subsystem.  A number of the smaller source
13227 and header  files have been merged to reduce the file count and
13228 increase the density of the  existing files.  There are too many
13229 to list here.  In general, makefiles that  call out individual
13230 files will require rebuilding.
13231
13232 Interpreter files renamed.  All interpreter files now have the
13233 prefix am*  instead of ie* and is*.
13234
13235 Header files renamed:  The acapi.h file is now acpixf.h.  The
13236 acpiosd.h file is  now acpiosxf.h.  We are removing references to
13237 the acronym "API" since it is  somewhat windowsy. The new name is
13238 "external interface" or xface or xf in the  filenames.j
13239
13240
13241 All manifest constants have been forced to upper case (some were
13242 mixed case.)   Also, the string "ACPI_" has been prepended to many
13243 (not all) of the constants,  typedefs, and structs.
13244
13245 The globals "DebugLevel" and "DebugLayer" have been renamed
13246 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
13247
13248 All other globals within the subsystem are now prefixed with
13249 "AcpiGbl_" Internal procedures within the subsystem are now
13250 prefixed with "Acpi" (with only  a few exceptions).  The original
13251 two-letter abbreviation for the subcomponent  remains after "Acpi"
13252 - for example, CmCallocate became AcpiCmCallocate.
13253
13254 Added a source code translation/conversion utility.  Used to
13255 generate the Linux  source code, it can be modified to generate
13256 other types of source as well. Can  also be used to cleanup
13257 existing source by removing extraneous spaces and blank  lines.
13258 Found in tools/acpisrc/*
13259
13260 OsdUnMapMemory was renamed to OsdUnmapMemory and then
13261 AcpiOsUnmapMemory.  (UnMap  became Unmap).
13262
13263 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
13264 When set to  one, this indicates that the caller wants to use the
13265
13266 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
13267 both types.  However, implementers of this  call may want to use
13268 different OS primitives depending on the type of semaphore
13269 requested.  For example, some operating systems provide separate
13270
13271 "mutex" and  "semaphore" interfaces - where the mutex interface is
13272 much faster because it  doesn't have all the overhead of a full
13273 semaphore implementation.
13274
13275 Fixed a deadlock problem where a method that accesses the PCI
13276 address space can  block forever if it is the first access to the
13277 space.
13278
13279 -------------------------------------------
13280 Summary of changes for this label: 06_02_00
13281
13282 Support for environments that cannot handle unaligned data
13283 accesses (e.g.  firmware and OS environments devoid of alignment
13284 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
13285 been added (via configurable macros) in  these three areas: -
13286 Transfer of data from the raw AML byte stream is done via byte
13287 moves instead of    word/dword/qword moves. - External objects are
13288 aligned within the user buffer, including package   elements (sub-
13289 objects). - Conversion of name strings to UINT32 Acpi Names is now
13290 done byte-wise.
13291
13292 The Store operator was modified to mimic Microsoft's
13293 implementation when storing  to a Buffer Field.
13294
13295 Added a check of the BM_STS bit before entering C3.
13296
13297 The methods subdirectory has been obsoleted and removed.  A new
13298 file, cmeval.c  subsumes the functionality.
13299
13300 A 16-bit (DOS) version of AcpiExec has been developed.  The
13301 makefile is under  the acpiexec directory.