53 Commits

Author SHA1 Message Date
Robert Moore
6ac92ae253 iASL: Fix listing output for switch operator.
Switch caused the AML listing output to be suspended until much
later in the listing file. This change fixes the problem.
2011-10-04 15:09:43 -07:00
Robert Moore
d41344f1ec Update all ACPICA copyrights and signons to 2011.
Standard ACPICA source modules only.
2011-01-03 14:02:13 -08:00
Robert Moore
1af8b94914 iASL/Tools: Replace all %d format specifiers with %u (unsigned).
With only a few exceptions, ACPICA does not use signed integers.
Therefore, %d is incorrect.
2010-05-20 12:12:23 -07:00
Robert Moore
bce1fbe326 Remove obsolete ACPI_INTEGER (acpi_integer) type.
This type was introduced as the code was migrated from ACPI 1.0 (with 32-bit
AML integers) to ACPI 2.0 (with 64-bit integers). It is now obsolete and
this change removes it from the ACPICA code base, replaced by UINT64.
The original typedef has been retained for now for compatibility with
existing device driver code.
2010-01-19 13:39:26 -08:00
Robert Moore
c7dd20b0d7 Update all ACPICA copyrights and signons to 2010.
Add 2010 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2010-01-08 08:49:11 -08:00
Robert Moore
e7c910d80a iASL: Implement Switch() with While(1) so that Break works.
This change correctly implements the Switch operator with a surrounding
While(1) so that the Break statement works as expected.
ACPICA BZ 461. Lin Ming.
2009-10-14 13:56:01 -07:00
Robert Moore
0a69fa967a Fix printf format warnings for 64-bit build.
Fix warnings caused by size_t and ACPI_SIZE changing to 64 bits.
2009-04-09 14:56:10 -07:00
Robert Moore
416eb5461f Update all copyrights and signons to 2009.
Add 2009 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2009-01-08 13:17:27 -08:00
Robert Moore
0b09da4ebd Remove obsolete version number in module headers.
Removed the "$Revision" number that appeared in each module header.
This version number was useful under SourceSafe and CVS, but has no
meaning under git. It is not only incorrect, it could also be
misleading.
2008-09-25 12:56:30 -07:00
rmoore1
a9c2b329d8 Fix for AE_ALREADY_EXISTS when using Switch operator.
Fixed a problem with the use of the Switch operator where execution by multiple concurrent threads could cause an AE_ALREADY_EXISTS. This is caused by the fact that there is no actual Switch opcode, it must be simulated with temp variables and if/else pairs. The solution chosen was to mark any method that uses Switch to be Serialized, thus preventing multiple thread entries. BZ 469.
2008-02-26 19:55:23 +00:00
rmoore1
a417391ec6 Update copyright to 2008.
Added 2008 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2008-01-09 21:27:10 +00:00
rmoore1
6e075f8871 Update copyright to 2007.
Added 2007 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2007-01-09 20:01:19 +00:00
rmoore1
9a1e9cbdf8 Handle parse errors during Switch() generation 2006-09-26 17:16:03 +00:00
rmoore1
646cfb119d ACPICA: Fixed a problem with the implementation of the Switch() operator where the temporary variable was declared too close to the actual Switch, instead of at method level. This could cause a problem if the Switch() operator is within a while loop, causing an error on the second iteration. (BZ 460) 2006-09-11 22:31:00 +00:00
rmoore1
62300dae19 The Table Manager component has been completely redesigned and reimplemented. The new design is much simpler, and reduces the overall code and data size of the kernel-resident ACPICA by approximately 5%. Also, it is now possible to obtain the ACPI tables very early during kernel initialization, even before dynamic memory management is initialized. 2006-08-23 19:55:36 +00:00
rmoore1
bb44b2fbee Deploy ACPI_COMPARE_NAME 2006-03-31 23:25:59 +00:00
rmoore1
9efdd774a4 Add 2006 copyright 2006-01-09 17:47:27 +00:00
rmoore1
cc04e82d62 Detect multiple defaults in the compiler analysis, not the parse phase. Cleaner. 2005-12-01 23:25:08 +00:00
aystarik
9b2d62a6f8 Add VAR_PACKAGE to case
date	2005.06.23.22.31.00;	author rmoore1;	state Exp;
2005-06-29 16:12:00 +00:00
aystarik
591e6cdef1 disable namespace optimization on tables other than DSDT
date	2005.02.28.22.15.00;	author rmoore1;	state Exp;
2005-06-29 16:11:55 +00:00
aystarik
27ebccce52 Temp names should be all uppercase
date	2005.01.25.17.49.00;	author rmoore1;	state Exp;
2005-06-29 16:11:54 +00:00
aystarik
9fe48f2183 update a comment
date	2005.01.24.23.11.00;	author rmoore1;	state Exp;
2005-06-29 16:11:53 +00:00
aystarik
b5db3900e5 Improved support for switch/case and temp variables
date	2005.01.24.23.08.00;	author rmoore1;	state Exp;
2005-06-29 16:11:52 +00:00
aystarik
0196add5ad Fix for Default() operator. Link node correctly into parse tree
date	2004.10.06.20.36.00;	author rmoore1;	state Exp;
2005-06-29 16:11:49 +00:00
aystarik
e94d376e0d Moved support for ElseIf from transform.c to the parser.
date	2004.09.28.22.28.00;	author rmoore1;	state Exp;
2005-06-29 16:11:48 +00:00
aystarik
ee17e58b24 Fix for ELSEIF bug, parse tree transform was incorrect
date	2004.09.24.20.09.00;	author rmoore1;	state Exp;
2005-06-29 16:11:47 +00:00
aystarik
51fe5631f2 Support for Package objects within Case() operators
date	2004.07.14.19.45.00;	author rmoore1;	state Exp;
2005-06-29 16:11:46 +00:00
aystarik
687d642810 Fix for ElseIf transform - link subtree correctly under the new
Else/If pair.


date	2003.05.13.17.25.00;	author rmoore1;	state Exp;
2005-06-29 16:11:42 +00:00
aystarik
9046454f8b Support for #line directive (not complete)
date	2002.03.28.22.05.00;	author rmoore1;	state Exp;
2005-06-29 16:11:33 +00:00
aystarik
191ea7a626 Generation for Win64
date	2001.12.13.17.23.00;	author rmoore1;	state Exp;
2005-06-29 16:11:28 +00:00
aystarik
6981b06fc3 GCC warns about casts from 32 bit pointers to 64 bit integers. Making
the cast to a 32 bit integer then lets the 64 bit promotion happen silently.


date	2001.09.21.20.22.00;	author agrover;	state Exp;
2005-06-29 16:11:27 +00:00
aystarik
a8a406cf7a Bug fix - if/else peers for case statements
date	2001.07.05.20.09.00;	author rmoore1;	state Exp;
2005-06-29 16:11:25 +00:00
aystarik
feb71893ef ElseIf support
date	2001.06.27.19.07.00;	author rmoore1;	state Exp;
2005-06-29 16:11:24 +00:00
aystarik
9186939004 Elsif support (split into an ELSE then IF)
date	2001.06.21.21.31.00;	author rmoore1;	state Exp;
2005-06-29 16:11:23 +00:00
aystarik
21afc5311a date 2001.06.21.15.11.00; author rmoore1; state Exp; 2005-06-29 16:11:22 +00:00
aystarik
e88b7deead Changes for Linux
date	2002.12.18.23.13.00;	author rmoore1;	state Exp;
2005-06-29 16:09:04 +00:00
aystarik
ab84a4603e Automated cleanup
date	2004.10.15.22.35.00;	author rmoore1;	state Exp;
2005-06-29 16:06:53 +00:00
aystarik
8b9ee96e62 Lint update
date	2005.04.02.00.00.00;	author rmoore1;	state Exp;
2005-06-29 15:55:40 +00:00
aystarik
2334574a09 Moved prototypes for "static" functions from headers into the defining
C module.


date	2005.03.31.23.13.00;	author rmoore1;	state Exp;
2005-06-29 15:55:39 +00:00
aystarik
76c5bbb0e9 header update; cleanup
date	2005.03.25.22.38.00;	author rmoore1;	state Exp;
2005-06-29 15:55:38 +00:00
aystarik
00793480b3 Update for static functions, cleanup
date	2005.03.23.01.50.00;	author rmoore1;	state Exp;
2005-06-29 15:55:37 +00:00
aystarik
5682172f26 Third pass to include lint changes/comments/cleanup.
date	2002.04.10.21.53.00;	author rmoore1;	state Exp;
2005-06-29 15:55:15 +00:00
aystarik
1d825f7962 Cleanup and update of function headers
date	2002.02.04.21.11.00;	author rmoore1;	state Exp;
2005-06-29 15:55:09 +00:00
aystarik
134c5c236c Code cleanup andformatting
date	2002.01.21.17.06.00;	author rmoore1;	state Exp;
2005-06-29 15:55:07 +00:00
aystarik
1c6913e037 Added 2005 copyright in legal header
date	2005.01.07.23.50.00;	author rmoore1;	state Exp;
2005-06-29 15:53:56 +00:00
aystarik
e636bafa2a Update copyrights for 2004
date	2004.01.13.23.05.00;	author rmoore1;	state Exp;
2005-06-29 15:53:37 +00:00
aystarik
869406b963 Added 2003 copyright to the legal header
date	2003.01.06.17.32.00;	author rmoore1;	state Exp;
2005-06-29 15:53:24 +00:00
aystarik
588126a6c3 Automated cleanup
date	2002.07.30.22.07.00;	author rmoore1;	state Exp;
2005-06-29 15:52:58 +00:00
aystarik
f04e5cb375 Implementation of constant (Type 3/4/5 opcodes) folding
date	2002.04.24.22.14.00;	author rmoore1;	state Exp;
2005-06-29 15:52:45 +00:00
aystarik
5c0d7ef93e Second pass for lint changes/comments/cleanup
date	2002.04.08.22.02.00;	author rmoore1;	state Exp;
2005-06-29 15:52:41 +00:00