Commit Graph

120 Commits

Author SHA1 Message Date
aystarik
d9d325d910 1) Implicit operand conversion for if/else/while predicate
2) Fixed a memory leak - result stack/while()
3) Do not invoke method if parent is a package.  Reference only.


date	2005.03.08.23.25.00;	author rmoore1;	state Exp;
2005-06-29 17:12:40 +00:00
aystarik
b90003965e Pop result state
date	2005.02.11.23.07.00;	author rmoore1;	state Exp;
2005-06-29 17:12:39 +00:00
aystarik
184181eaf6 Support for operators that don't require operand resolution
date	2004.11.30.21.47.00;	author rmoore1;	state Exp;
2005-06-29 17:12:37 +00:00
aystarik
8865885209 fix for unitialized local check
date	2004.11.04.22.06.00;	author rmoore1;	state Exp;
2005-06-29 17:12:36 +00:00
aystarik
475295cc77 Update exception handler interface
date	2004.10.06.16.12.00;	author rmoore1;	state Exp;
2005-06-29 17:12:34 +00:00
aystarik
b51a48be15 Support for ACPI 3.0 Timer operator
date	2004.09.24.20.25.00;	author rmoore1;	state Exp;
2005-06-29 17:12:33 +00:00
aystarik
4f375133a6 Exit interpreter before invoking exception handler
date	2004.09.22.20.41.00;	author rmoore1;	state Exp;
2005-06-29 17:12:32 +00:00
aystarik
120ea9be4e Exception handler support
date	2004.09.21.21.55.00;	author rmoore1;	state Exp;
2005-06-29 17:12:31 +00:00
aystarik
2f2747fcc7 Check status before getting predicate value
date	2004.08.23.22.56.00;	author rmoore1;	state Exp;
2005-06-29 17:12:30 +00:00
aystarik
8cefa0408e Update copyrights for 2004
date	2004.01.13.23.06.00;	author rmoore1;	state Exp;
2005-06-29 17:12:28 +00:00
aystarik
2b07674837 Make Store(LocalX, LocalX) a NOOP if LocalX not initialized. Handles
dumb BIOS code.


date	2003.10.21.22.53.00;	author rmoore1;	state Exp;
2005-06-29 17:12:26 +00:00
aystarik
97e7931b88 Restructuring of method display code
date	2003.05.22.17.38.00;	author rmoore1;	state Exp;
2005-06-29 17:12:25 +00:00
aystarik
1ccafb02e2 Automated cleanup
date	2003.05.21.22.48.00;	author rmoore1;	state Exp;
2005-06-29 17:12:24 +00:00
aystarik
7da0332d7d ifdef out AcpiDsDumpMethodInfo if not ACPI_DEBUG_OUTPUT
date	2003.05.21.17.21.00;	author agrover;	state Exp;
2005-06-29 17:12:23 +00:00
aystarik
7d7f5aabda Add support to dump method info on method failure
date	2003.05.20.20.42.00;	author rmoore1;	state Exp;
2005-06-29 17:12:22 +00:00
aystarik
2d4b6df4db Lint changes
date	2003.04.18.17.28.00;	author rmoore1;	state Exp;
2005-06-29 17:12:21 +00:00
aystarik
3753941956 Preliminary - want to break to debugger just before method terminates
date	2002.12.12.21.49.00;	author rmoore1;	state Exp;
2005-06-29 17:12:19 +00:00
aystarik
b907921b30 Use ClearOperands interface; delete operands on any error during a
method invocation


date	2002.11.14.17.53.00;	author rmoore1;	state Exp;
2005-06-29 17:12:18 +00:00
aystarik
624dcf9c9e Cast no longer needed
date	2001.12.12.17.58.00;	author rmoore1;	state Exp;
2005-06-29 17:12:06 +00:00
aystarik
425e8bbbe5 Pass full pointer ReturnObj to GetPredicateValue (eventually used as a
boolean)


date	2001.12.12.17.31.00;	author rmoore1;	state Exp;
2005-06-29 17:12:05 +00:00
aystarik
c4f2c12f1c Removed obsolete TBD
date	2001.12.11.17.47.00;	author rmoore1;	state Exp;
2005-06-29 17:12:03 +00:00
aystarik
8a708b50b9 Must close a scope if opened
date	2001.11.30.22.34.00;	author rmoore1;	state Exp;
2005-06-29 17:12:02 +00:00
aystarik
6528ce4985 Some restructuring to simplify op dispatch and operand deletion
date	2001.11.20.16.44.00;	author rmoore1;	state Exp;
2005-06-29 17:12:01 +00:00
aystarik
5913226814 Fixed a debug statement
date	2001.10.25.17.12.00;	author rmoore1;	state Exp;
2005-06-29 17:11:59 +00:00
aystarik
a3bf0ae1c3 All interpreter operand objects (both arguments and targets) are now
deleted in the dispatcher.  ExStore no longer deletes targets.  Simplifies
operand deletion and error handling.


date	2001.10.10.22.53.00;	author rmoore1;	state Exp;
2005-06-29 17:11:56 +00:00
aystarik
ea2a4cab64 Must pass op class to debugger, not type
date	2001.10.04.21.51.00;	author rmoore1;	state Exp;
2005-06-29 17:11:52 +00:00
aystarik
50cbf7c03e Moved several common parameters into the WALK_STATE structure to
reduce CPU stack use.


date	2001.09.06.16.10.00;	author rmoore1;	state Exp;
2005-06-29 17:11:50 +00:00
aystarik
d4070d5d15 Delete operands on error from resolveoperands
date	2001.08.31.20.26.00;	author rmoore1;	state Exp;
2005-06-29 17:11:49 +00:00
aystarik
8487de7678 Optimized use of "resolve operands"
date	2001.08.30.17.17.00;	author rmoore1;	state Exp;
2005-06-29 17:11:48 +00:00
aystarik
442efbecdb Fixed code that was writing to a const table
date	2001.08.24.15.50.00;	author rmoore1;	state Exp;
2005-06-29 17:11:44 +00:00
aystarik
127431a8fd clean up code based on errors given from Intel C 5.0 compiler
Removed or used unused variables, as appropriate


date	2001.03.15.19.04.00;	author agrover;	state Exp;
2005-06-29 17:11:36 +00:00
aystarik
0fe37cb3aa Restructured object store code, initial implementation of target
conversion


date	2001.01.25.22.54.00;	author rmoore1;	state Exp;
2005-06-29 17:11:34 +00:00
aystarik
cc742e885a New exception, AE_AML_NO_RETURN_VALUE
date	2001.01.15.21.51.00;	author rmoore1;	state Exp;
2005-06-29 17:11:33 +00:00
aystarik
4c5fb4b4bd Updated 16-bit tools to 64-bits and ACPI 2.0 tables
date	2000.12.20.23.09.00;	author rmoore1;	state Exp;
2005-06-29 17:11:31 +00:00
aystarik
e2a8ecdd4c Restructured handling of return object
date	2000.12.01.16.08.00;	author rmoore1;	state Exp;
2005-06-29 17:11:29 +00:00
aystarik
f7ec316871 Support for 64-bit integers enabled. Integers truncated to 32 bits if
parent table is 32-bit.


date	2000.10.30.20.31.00;	author rmoore1;	state Exp;
2005-06-29 17:11:26 +00:00
aystarik
620e467680 Fix for an IF/WHILE predicate that is a method call
date	2000.10.19.17.24.00;	author rmoore1;	state Exp;
2005-06-29 17:11:24 +00:00
aystarik
232d8e8f3e Removed a TBD
date	2000.06.05.22.38.00;	author rmoore1;	state Exp;
2005-06-29 17:11:04 +00:00
aystarik
e4c3b4064a Added control method termination procedure
date	2000.05.08.15.57.00;	author rmoore1;	state Exp;
2005-06-29 17:11:03 +00:00
aystarik
cf5a899292 Added a status check
date	2000.05.05.16.11.00;	author rmoore1;	state Exp;
2005-06-29 17:11:02 +00:00
aystarik
fc6f3914f3 Delete parse tree at method completion, if configured
date	2000.05.04.20.51.00;	author rmoore1;	state Exp;
2005-06-29 17:11:01 +00:00
aystarik
a133b25899 Exception rename
date	2000.05.02.22.28.00;	author rmoore1;	state Exp;
2005-06-29 17:10:59 +00:00
aystarik
3860e23ec3 Load/Unload AML opcode support
date	2000.04.19.22.24.00;	author rmoore1;	state Exp;
2005-06-29 17:10:58 +00:00
aystarik
8e549d0fc8 Support for FIELD parse tree changes
date	2000.04.05.17.56.00;	author rmoore1;	state Exp;
2005-06-29 17:10:56 +00:00
aystarik
5b0e5bf825 Support for 2-pass load
date	2000.03.27.21.51.00;	author rmoore1;	state Exp;
2005-06-29 17:10:52 +00:00
aystarik
b2b961ec13 Display result object if it is a predicate being evaluted
date	2000.03.23.20.33.00;	author rmoore1;	state Exp;
2005-06-29 17:10:51 +00:00
aystarik
51f2813e29 Changed a parameter
date	2000.03.21.22.27.00;	author rmoore1;	state Exp;
2005-06-29 17:10:50 +00:00
aystarik
b20eaada8f Fixed problems with scope stack and nested methods
date	2000.03.14.18.20.00;	author rmoore1;	state Exp;
2005-06-29 17:10:49 +00:00
aystarik
a6fca77f3d Alias creation not done here, done in load module
date	2000.03.13.22.20.00;	author rmoore1;	state Exp;
2005-06-29 17:10:48 +00:00
aystarik
d439c5f56b Support for AML debugger
date	2000.03.09.22.20.00;	author rmoore1;	state Exp;
2005-06-29 17:10:47 +00:00