Commit Graph

3620 Commits

Author SHA1 Message Date
aystarik
ab6eff5623 Renamed NsAllocateNte
date	99.07.19.23.16.00;	author rmoore1;	state Exp;
2005-06-29 18:16:20 +00:00
aystarik
6a1e60305f New data types/names; removed OUTRANGE macro.
date	99.07.12.23.26.00;	author rmoore1;	state Exp;
2005-06-29 18:16:19 +00:00
aystarik
556df87264 Phase 2 legal header.
date	99.07.07.22.42.00;	author grsmith1;	state Exp;
2005-06-29 18:16:18 +00:00
aystarik
652802005f Added ACPI_OBJECT_INTERNAL type
date	99.07.07.19.48.00;	author rmoore1;	state Exp;
2005-06-29 18:16:17 +00:00
aystarik
b512bf915f Removed all vestiges of the CheckTrash macro
date	99.07.01.23.28.00;	author rmoore1;	state Exp;
2005-06-29 18:16:16 +00:00
aystarik
de5caaee1d Removed #PLUMBER stuff
date	99.07.01.15.18.00;	author rmoore1;	state Exp;
2005-06-29 18:16:15 +00:00
aystarik
cd6f721fc1 Added FUNCTION_STATUS_EXIT macro
date	99.06.29.17.09.00;	author rmoore1;	state Exp;
2005-06-29 18:16:14 +00:00
aystarik
d5c8b5de48 Fix for namespace search problem. Added flags to indicate whether to
search parent tree.  Added search scope as a parameter.


date	99.06.28.22.59.00;	author rmoore1;	state Exp;
2005-06-29 18:16:13 +00:00
aystarik
8a70e7ca49 New data types
date	99.06.22.22.59.00;	author rmoore1;	state Exp;
2005-06-29 18:16:12 +00:00
aystarik
ce0375fc03 Removed KDT error string tables -- too hard to maintain!
date	99.06.14.21.07.00;	author rmoore1;	state Exp;
2005-06-29 18:16:11 +00:00
aystarik
f16c64dd67 Standard parameter list formatting
date	99.06.10.19.36.00;	author rmoore1;	state Exp;
2005-06-29 18:16:09 +00:00
aystarik
e698e84532 Renamed some of the basic data types to ACPI*
date	99.06.09.23.31.00;	author rmoore1;	state Exp;
2005-06-29 18:16:08 +00:00
aystarik
932280bfed Moved all standard C headers to environment.h
date	99.06.09.17.30.00;	author rmoore1;	state Exp;
2005-06-29 18:16:07 +00:00
aystarik
58fa04074c date 99.06.08.22.26.00; author rmoore1; state Exp; 2005-06-29 18:16:06 +00:00
aystarik
54e377fb7e Interface to NsEnter was changed
date	99.06.08.18.16.00;	author rmoore1;	state Exp;
2005-06-29 18:16:05 +00:00
aystarik
f64a2e947f Renamed "nte" to NAME_TABLE_ENTRY
date	99.06.07.23.35.00;	author rmoore1;	state Exp;
2005-06-29 18:16:04 +00:00
aystarik
9f80889c4a Split off control method execution to nsexec.c
date	99.06.01.18.11.00;	author rmoore1;	state Exp;
2005-06-29 18:16:03 +00:00
aystarik
dd138def43 Moved load/unload functions to a new module
date	99.05.28.21.45.00;	author rmoore1;	state Exp;
2005-06-29 18:16:02 +00:00
aystarik
75b050723e Debug output fixes
date	99.05.27.16.58.00;	author rmoore1;	state Exp;
2005-06-29 18:16:01 +00:00
aystarik
cc68b01087 Some cleanup; fixed some of the debug output
date	99.05.26.20.46.00;	author rmoore1;	state Exp;
2005-06-29 18:15:59 +00:00
aystarik
42061b4dd7 Fixed problem with appending an object name to a path
date	99.05.21.14.45.00;	author rmosgrov;	state Exp;
2005-06-29 18:15:58 +00:00
aystarik
c4dff968c9 Now only one namespace table size
Removed all ASM and LST file output


date	99.05.20.23.18.00;	author rmoore1;	state Exp;
2005-06-29 18:15:57 +00:00
aystarik
3fec7dab93 date 99.05.20.16.53.00; author rmoore1; state Exp; 2005-06-29 18:15:56 +00:00
aystarik
1988bbbc62 Added FUNCTION_EXIT macro
date	99.05.19.22.15.00;	author rmoore1;	state Exp;
2005-06-29 18:15:55 +00:00
aystarik
183f576b63 Added AcpiExecuteRelativeMethod routine.
date	99.05.18.20.32.00;	author rmosgrov;	state Exp;
2005-06-29 18:15:54 +00:00
aystarik
a4e836b551 New interface to SearchTable
date	99.05.17.22.20.00;	author rmoore1;	state Exp;
2005-06-29 18:15:53 +00:00
aystarik
81f97dea02 Removed all compilation warnings under BeOS.
date	99.05.14.16.31.00;	author grsmith1;	state Exp;
2005-06-29 18:15:52 +00:00
aystarik
d46e74d370 Merged AML and ACPI exception codes
date	99.05.12.21.59.00;	author rmoore1;	state Exp;
2005-06-29 18:15:51 +00:00
aystarik
85277077c6 Prefixed all interpreter procs with "aml"
date	99.05.07.22.07.00;	author rmoore1;	state Exp;
2005-06-29 18:15:50 +00:00
aystarik
5e40c676ae Added ACPI_STATUS exception codes
date	99.05.07.17.24.00;	author rmoore1;	state Exp;
2005-06-29 18:15:49 +00:00
aystarik
87385abf15 Changed AcpiExecuteMethod to copy the resulting object descriptor to a
parameter instead of returning a pointer to an internal CA structure.


date	99.05.04.22.45.00;	author grsmith1;	state Exp;
2005-06-29 18:15:48 +00:00
aystarik
22ea9e5d7f Removed some recursion, improved data structs.
date	99.04.29.22.06.00;	author rmoore1;	state Exp;
2005-06-29 18:15:47 +00:00
aystarik
63f23cb394 Changed common constants to uppercase
date	99.04.23.15.36.00;	author rmoore1;	state Exp;
2005-06-29 18:15:46 +00:00
aystarik
aad5ba3a33 Added legal-approved header
date	99.04.19.20.24.00;	author rmoore1;	state Exp;
2005-06-29 18:15:45 +00:00
aystarik
f68dd8aade Moving globals to one place (part 2)
date	99.04.16.20.21.00;	author rmoore1;	state Exp;
2005-06-29 18:15:44 +00:00
aystarik
e0009eb805 DumpCode became ConsumeAMLPackage
date	99.04.14.23.29.00;	author rmoore1;	state Exp;
2005-06-29 18:15:43 +00:00
aystarik
199e4f2df4 date 99.04.14.16.01.00; author rmoore1; state Exp; 2005-06-29 18:15:42 +00:00
aystarik
d344340103 Removed WhyBuf mechanism, it was causing faults
date	99.04.12.17.24.00;	author rmoore1;	state Exp;
2005-06-29 18:15:41 +00:00
aystarik
e0fdd4fedb Restructured into several files
date	99.04.08.23.21.00;	author rmoore1;	state Exp;
2005-06-29 18:15:40 +00:00
aystarik
25ea0edefd date 99.04.08.21.23.00; author rmoore1; state Exp; 2005-06-29 18:15:39 +00:00
aystarik
21718929d0 Major header file consolidation
date	99.04.07.22.34.00;	author rmoore1;	state Exp;
2005-06-29 18:15:38 +00:00
aystarik
06685c3921 Header cleanup; Split debug switch into component_id and level
date	99.04.05.23.10.00;	author rmoore1;	state Exp;
2005-06-29 18:15:37 +00:00
aystarik
f227dffcba New version of DEBUG_PRINT
date	99.04.02.22.39.00;	author rmoore1;	state Exp;
2005-06-29 18:15:36 +00:00
aystarik
0907a68327 date 99.04.02.17.54.00; author rmoore1; state Exp; 2005-06-29 18:15:35 +00:00
aystarik
7f17f9950a Integrated with 03/99 OPSD code
date	99.03.31.22.33.00;	author rmoore1;	state Exp;
2005-06-29 18:15:34 +00:00
aystarik
206f03f137 Moved table-size constants to acpi.h
date	99.03.12.00.20.00;	author rmoore1;	state Exp;
2005-06-29 18:15:33 +00:00
aystarik
15f7002098 16/32/64-bit common data types
date	99.03.10.00.06.00;	author rmoore1;	state Exp;
2005-06-29 18:15:32 +00:00
aystarik
ddfb1a3d9e date 99.02.16.23.36.00; author rmosgrov; state Exp; 2005-06-29 18:15:31 +00:00
aystarik
61cfcc4b35 Polish Conversion Complete - Compiles
date	99.02.16.17.05.00;	author rmosgrov;	state Exp;
2005-06-29 18:15:29 +00:00
aystarik
d842ce1fc1 Anti-Polish clean up
date	99.02.12.23.20.00;	author rmosgrov;	state Exp;
2005-06-29 18:15:27 +00:00
aystarik
12b568e8f9 hNsFindpVal was returning with no value at end of the rountine. May
have never reached the exit, but just because the compiler warned, I fixed it.


date	99.02.09.19.50.00;	author rmosgrov;	state Exp;
2005-06-29 18:15:24 +00:00
aystarik
2bac416abd Major cleanup
date	99.01.20.17.40.00;	author rmoore1;	state Exp;
2005-06-29 18:15:22 +00:00
aystarik
bbe93c0392 date 99.01.13.22.24.00; author grsmith1; state Exp; 2005-06-29 18:15:20 +00:00
aystarik
d0d4984655 Detabified.
date	99.01.12.00.18.00;	author grsmith1;	state Exp;
2005-06-29 18:15:18 +00:00
aystarik
6e9cb1ea3e Name Space Manipulation
date	99.01.11.22.11.00;	author rmoore1;	state Exp;
2005-06-29 18:15:16 +00:00
aystarik
cf5c74a39d Lint fixes
date	2004.04.28.21.20.00;	author rmoore1;	state Exp;
2005-06-29 18:15:08 +00:00
aystarik
d8e9e3226d Removed second check for !Info, redundant
date	2004.04.27.18.43.00;	author rmoore1;	state Exp;
2005-06-29 18:15:07 +00:00
aystarik
3c3c21ec68 automated code cleanup
date	2004.04.27.18.27.00;	author rmoore1;	state Exp;
2005-06-29 18:15:06 +00:00
aystarik
93018d1ed1 update for ACPI_PARAMETER_INFO
date	2004.04.20.23.02.00;	author rmoore1;	state Exp;
2005-06-29 18:15:05 +00:00
aystarik
31069f903c automated cleanup
date	2003.12.05.23.53.00;	author rmoore1;	state Exp;
2005-06-29 18:15:03 +00:00
aystarik
eff8699a40 Fixed some memory leaks in the error case(s)
date	2003.12.03.20.54.00;	author rmoore1;	state Exp;
2005-06-29 18:15:02 +00:00
aystarik
eac97c68e0 Lint changes
date	2002.09.05.17.35.00;	author rmoore1;	state Exp;
2005-06-29 18:14:56 +00:00
aystarik
f4342914a5 Calls CreateScope utility
date	2002.07.01.21.10.00;	author rmoore1;	state Exp;
2005-06-29 18:14:55 +00:00
aystarik
a327db39b7 update debug output levels
date	2002.03.22.23.18.00;	author rmoore1;	state Exp;
2005-06-29 18:14:51 +00:00
aystarik
392679c52b Support for late evaluation of Buffer and Package operands (They may
contain TermArgs).


date	2002.03.13.18.13.00;	author rmoore1;	state Exp;
2005-06-29 18:14:50 +00:00
aystarik
4fb2e4e6ca Fixed owner ID support for control methods
date	2001.11.30.22.25.00;	author rmoore1;	state Exp;
2005-06-29 18:14:47 +00:00
aystarik
083f7193db Eliminate TBDs
date	2001.11.15.17.01.00;	author rmoore1;	state Exp;
2005-06-29 18:14:46 +00:00
aystarik
e6fcfb0538 date 2001.11.06.21.27.00; author rmoore1; state Exp; 2005-06-29 18:14:45 +00:00
aystarik
5503084854 Better error message on method failure
date	2001.11.06.21.09.00;	author rmoore1;	state Exp;
2005-06-29 18:14:44 +00:00
aystarik
f3046053b6 BIG CHECKIN
turning on printf format checking revealed we've been a little lax. Sins
include:
1) using %X when we should use %p
2) using %ld instead of %d
3) using %x for ACPI_INTEGERS (you need to use HIDWORD() and %x%x)
4) using %4.4s and not casting to a char*
5) using %s with void*

I also reformatted the OSL add_device messages a little.

Anything breaks, let me know. :)  -- Andy


date	2001.10.17.03.58.00;	author agrover;	state Exp;
2005-06-29 18:14:42 +00:00
aystarik
3cea169e2a Added method params to interface to InitAmlWalk
date	2001.09.20.15.20.00;	author rmoore1;	state Exp;
2005-06-29 18:14:41 +00:00
aystarik
8595e13f6a Added call to InitArgs for method params. Added debug statement to
print entire method path on method failure.


date	2001.09.18.22.25.00;	author rmoore1;	state Exp;
2005-06-29 18:14:40 +00:00
aystarik
d076d3dcd8 Standardized all references to AML code to "AmlStart" and "AmlLength",
replacing things like Pcode, AmlPtr, etc.


date	2001.09.11.21.16.00;	author rmoore1;	state Exp;
2005-06-29 18:14:39 +00:00
aystarik
3e76ebe0e7 Comment cleanup
date	2001.07.10.20.33.00;	author rmoore1;	state Exp;
2005-06-29 18:14:35 +00:00
aystarik
eb13582db9 Update to use new debug macro that automatically inserts the procedure
name in the output.


date	2001.05.10.17.45.00;	author rmoore1;	state Exp;
2005-06-29 18:14:34 +00:00
aystarik
fe50e9745e Support for ACPI 2.0 method SyncLevel
date	2001.02.14.21.30.00;	author rmoore1;	state Exp;
2005-06-29 18:14:31 +00:00
aystarik
77497a0831 Bug fixes from Novell
date	2001.01.18.17.32.00;	author rmoore1;	state Exp;
2005-06-29 18:14:30 +00:00
aystarik
905b23feb4 Updated function header
date	2000.10.17.15.43.00;	author mwalz;	state Exp;
2005-06-29 18:14:27 +00:00
aystarik
0adb52791d Removed global
date	2000.07.12.17.07.00;	author rmoore1;	state Exp;
2005-06-29 18:14:18 +00:00
aystarik
887df09f22 date 2000.06.16.22.26.00; author rmoore1; state Exp; 2005-06-29 18:14:13 +00:00
aystarik
7fcd8b909b Uses common BeginMethodExecution
date	2000.05.16.22.08.00;	author rmoore1;	state Exp;
2005-06-29 18:14:09 +00:00
aystarik
ffd8be6976 Parse tree deleted at a lower level
date	2000.05.08.16.03.00;	author rmoore1;	state Exp;
2005-06-29 18:14:08 +00:00
aystarik
9cc29ab83a Exception rename
date	2000.05.02.22.31.00;	author rmoore1;	state Exp;
2005-06-29 18:14:07 +00:00
aystarik
21292cf353 Changed to AddReference
date	2000.04.27.23.06.00;	author rmoore1;	state Exp;
2005-06-29 18:14:06 +00:00
aystarik
a2e3b25be0 Function renames; TableDesc parameter;
date	2000.04.19.22.34.00;	author rmoore1;	state Exp;
2005-06-29 18:14:04 +00:00
aystarik
6aedbbf385 Support for 2-pass load
date	2000.03.27.21.51.00;	author rmoore1;	state Exp;
2005-06-29 18:14:01 +00:00
aystarik
eaeec1400d Add a reference to param objects passed in to prevent deletion
date	2000.03.21.22.25.00;	author rmoore1;	state Exp;
2005-06-29 18:14:00 +00:00
aystarik
513c564775 Method concurrency limit support
date	2000.03.10.22.00.00;	author rmoore1;	state Exp;
2005-06-29 18:13:59 +00:00
aystarik
8ccd083fd1 Support for JIT method parsing
date	2000.03.09.22.18.00;	author rmoore1;	state Exp;
2005-06-29 18:13:58 +00:00
aystarik
fc81dcf058 Moved object init to psxobj
date	2000.01.28.23.14.00;	author rmoore1;	state Exp;
2005-06-29 18:13:56 +00:00
aystarik
c8eeb96b99 Added an initialization pass through entire namespace
date	2000.01.28.18.58.00;	author rmoore1;	state Exp;
2005-06-29 18:13:55 +00:00
aystarik
2d4fcc894c Generate AE_RETURN_VALUE exception here
date	2000.01.26.22.52.00;	author rmoore1;	state Exp;
2005-06-29 18:13:54 +00:00
aystarik
e5182928b2 Cleanup
date	2000.01.13.22.25.00;	author rmoore1;	state Exp;
2005-06-29 18:13:52 +00:00
aystarik
d8c0ea6450 auto cleanup
date	2005.03.09.18.59.00;	author rmoore1;	state Exp;
2005-06-29 18:13:47 +00:00
aystarik
cab7f86f1f Major restructuring and cleanup, from Moscow team
date	2005.03.08.18.00.00;	author rmoore1;	state Exp;
2005-06-29 18:13:46 +00:00
aystarik
62e9d79fcd Fix to properly set table ID in created namespace objects. Removed
static DSDT table ID.


date	2003.05.09.20.02.00;	author rmoore1;	state Exp;
2005-06-29 18:13:41 +00:00
aystarik
324be1442e Some Lint changes; 16-bit changes
date	2002.04.15.22.46.00;	author rmoore1;	state Exp;
2005-06-29 18:13:36 +00:00
aystarik
d26dd63496 Fifth lint pass - CLEAN for 32-bit and 64-bit
date	2002.04.12.20.46.00;	author rmoore1;	state Exp;
2005-06-29 18:13:35 +00:00
aystarik
3a5a896ab6 Added THREAD_STATE to track threads and mutexes
date	2001.11.06.21.29.00;	author rmoore1;	state Exp;
2005-06-29 18:13:29 +00:00
aystarik
3c5bca5273 Cleanup - extraneous spaces and tab removal
date	2001.11.02.00.06.00;	author rmoore1;	state Exp;
2005-06-29 18:13:28 +00:00
aystarik
529617ee91 Cleanup
date	2001.10.29.20.23.00;	author rmoore1;	state Exp;
2005-06-29 18:13:27 +00:00
aystarik
76e54be5a2 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 18:13:25 +00:00
aystarik
dcf1ecb84c Added and deployed FUNCTION_ENTRY macro. Cleaned up comments to
standardize multi-line comments.


date	2001.08.27.17.57.00;	author rmoore1;	state Exp;
2005-06-29 18:13:24 +00:00
aystarik
05e4b54e47 Full support for ASL Mutex SyncLevel semantics and "ForceRelease" on
interpreter exit of all owned mutexes.


date	2001.02.16.18.30.00;	author rmoore1;	state Exp;
2005-06-29 18:13:21 +00:00
aystarik
573acc7d44 Added 2000 to the copyright in the legal header
date	2000.12.08.20.56.00;	author rmoore1;	state Exp;
2005-06-29 18:13:19 +00:00
aystarik
3b1438f766 Code cleanup
date	2000.11.15.23.42.00;	author rmoore1;	state Exp;
2005-06-29 18:13:18 +00:00
aystarik
1c52c55318 Removed extraneous (dead) functions
date	2000.11.07.21.09.00;	author rmoore1;	state Exp;
2005-06-29 18:13:17 +00:00
aystarik
8be621528f Updated proc header
date	2000.10.17.15.47.00;	author mwalz;	state Exp;
2005-06-29 18:13:15 +00:00
aystarik
2759613f7b Misc fixes for new interfaces
date	2000.09.15.21.23.00;	author rmoore1;	state Exp;
2005-06-29 18:13:14 +00:00
aystarik
ea137aa9dd Changed names of the major objects for clarity
date	2000.08.30.20.12.00;	author rmoore1;	state Exp;
2005-06-29 18:13:13 +00:00
aystarik
df9336144a Eliminated "Name Tables" and replaced with "Named Objects"
date	2000.08.29.00.39.00;	author rmoore1;	state Exp;
2005-06-29 18:13:11 +00:00
aystarik
5b9866dfe4 Removed ParserOp from Method internal object
date	2000.08.21.22.50.00;	author rmoore1;	state Exp;
2005-06-29 18:13:10 +00:00
aystarik
88280dbaf0 Comments from 07/18/00 code review
date	2000.07.19.22.56.00;	author rmoore1;	state Exp;
2005-06-29 18:13:06 +00:00
aystarik
2a0503a0a4 Added type info to TBDs
date	2000.06.06.22.25.00;	author rmoore1;	state Exp;
2005-06-29 18:12:57 +00:00
aystarik
9cd4b9f950 New parameter added
date	2000.05.18.17.41.00;	author rmoore1;	state Exp;
2005-06-29 18:12:56 +00:00
aystarik
5d3f6d736c Added call to TerminateControlMethod
date	2000.05.08.16.03.00;	author rmoore1;	state Exp;
2005-06-29 18:12:55 +00:00
aystarik
c98066277d Exception rename
date	2000.05.02.22.32.00;	author rmoore1;	state Exp;
2005-06-29 18:12:53 +00:00
aystarik
cac5b01df4 Minor restructuring
date	2000.04.26.21.30.00;	author rmoore1;	state Exp;
2005-06-29 18:12:52 +00:00
aystarik
0ca6629a2d Fixed a problem where an IF without a sibling was getting closed out
twice, causing a page fault.


date	2000.04.24.22.49.00;	author mwalz;	state Exp;
2005-06-29 18:12:51 +00:00
aystarik
6ca38ef7ac Support for method owner IDs
date	2000.04.21.22.17.00;	author rmoore1;	state Exp;
2005-06-29 18:12:50 +00:00
aystarik
f6a0ffc35e Function renames; TableDesc parameter;
date	2000.04.19.22.35.00;	author rmoore1;	state Exp;
2005-06-29 18:12:49 +00:00
aystarik
6fb838e796 Convert to dispatcher interfaces
date	2000.03.30.18.59.00;	author rmoore1;	state Exp;
2005-06-29 18:12:48 +00:00
aystarik
a555149798 Created new dispatcher subcomponent
date	2000.03.30.17.07.00;	author rmoore1;	state Exp;
2005-06-29 18:12:47 +00:00
aystarik
0319cac6d0 Splitting off dispatch code
date	2000.03.30.16.49.00;	author rmoore1;	state Exp;
2005-06-29 18:12:46 +00:00
aystarik
79400d3e35 Fix for an ELSE and the end of an IF or WHILE block
date	2000.03.23.20.32.00;	author rmoore1;	state Exp;
2005-06-29 18:12:44 +00:00
aystarik
c40ef2b30c Cleanup
date	2000.03.13.22.19.00;	author rmoore1;	state Exp;
2005-06-29 18:12:43 +00:00
aystarik
585c9429cd Method concurrency limit support
date	2000.03.10.22.01.00;	author rmoore1;	state Exp;
2005-06-29 18:12:42 +00:00
aystarik
26545e3b69 Support for JIT method parsing
date	2000.03.09.22.19.00;	author rmoore1;	state Exp;
2005-06-29 18:12:41 +00:00
aystarik
330ee02fca Bug fix for predicate eval, fix for orphaned control structs
date	2000.02.22.21.25.00;	author rmoore1;	state Exp;
2005-06-29 18:12:40 +00:00
aystarik
9b7ee915dc Bug fixes
date	2000.02.04.00.07.00;	author rmoore1;	state Exp;
2005-06-29 18:12:38 +00:00
aystarik
633733c2c4 Fixed debug output
date	2000.01.28.23.15.00;	author rmoore1;	state Exp;
2005-06-29 18:12:37 +00:00
aystarik
ebcd9ba936 Removed breakpoints
date	2000.01.28.18.58.00;	author rmoore1;	state Exp;
2005-06-29 18:12:36 +00:00
aystarik
1865fc3176 date 2000.01.27.22.20.00; author rmoore1; state Exp; 2005-06-29 18:12:35 +00:00
aystarik
fcf4da7505 Return object now returned in ReturnDesc
date	2000.01.26.22.52.00;	author rmoore1;	state Exp;
2005-06-29 18:12:34 +00:00
aystarik
d958e59e5e Must check for AE_TERMINATE after all calls to the Ascending callback.
date	2000.01.26.18.14.00;	author rmoore1;	state Exp;
2005-06-29 18:12:33 +00:00
aystarik
64c912538f Changes to track current direction of walk when a method is preempted.
Also moved next/prev Op to the WALK_STATE object


date	2000.01.26.17.42.00;	author rmoore1;	state Exp;
2005-06-29 18:12:32 +00:00
aystarik
203284110a Changes to support DeleteTree; Support for StartOp different than
EndOp


date	2000.01.13.22.29.00;	author rmoore1;	state Exp;
2005-06-29 18:12:30 +00:00
aystarik
120aecf48a xface change
date	2005.06.24.19.41.00;	author rmoore1;	state Exp;
2005-06-29 18:12:27 +00:00
aystarik
9d70262e19 New cache handling
date	2005.06.17.19.45.00;	author rmoore1;	state Exp;
2005-06-29 18:12:26 +00:00
aystarik
7f41af1374 Lint update
date	2005.04.01.22.00.00;	author rmoore1;	state Exp;
2005-06-29 18:12:25 +00:00
aystarik
5be25af935 Support for optional object cache
date	2005.01.20.23.09.00;	author rmoore1;	state Exp;
2005-06-29 18:12:22 +00:00
aystarik
ad1a52afdf cleanup
date	2004.09.29.20.19.00;	author rmoore1;	state Exp;
2005-06-29 18:12:19 +00:00
aystarik
3795b3cd47 Code optimization; Size not needed.
date	2004.09.29.20.13.00;	author rmoore1;	state Exp;
2005-06-29 18:12:18 +00:00
aystarik
1ac959df34 allow Linux to define ACPI_DEBUG but not have to define
ACPI_DISASSEMBLER


date	2002.07.26.18.17.00;	author agrover;	state Exp;
2005-06-29 18:12:12 +00:00
aystarik
34c93b7a1e Major update for new disassembler (produces compilable ASL).
date	2002.07.15.20.52.00;	author rmoore1;	state Exp;
2005-06-29 18:12:11 +00:00
aystarik
c5baaf17f2 Added CreateScope util function
date	2002.07.01.21.10.00;	author rmoore1;	state Exp;
2005-06-29 18:12:10 +00:00
aystarik
0151a589b5 Changed a debug output level
date	2002.03.22.21.19.00;	author rmoore1;	state Exp;
2005-06-29 18:12:08 +00:00
aystarik
7aa2cb73e3 Prefixed C library macros (MEMSET, etc.) with "ACPI_".
date	2002.02.13.18.54.00;	author rmoore1;	state Exp;
2005-06-29 18:12:07 +00:00
aystarik
d49aa868e5 Moved defines to header
date	2001.12.13.21.26.00;	author rmoore1;	state Exp;
2005-06-29 18:12:04 +00:00
aystarik
18d17ce321 Generic cache routines and common data struct
date	2001.08.14.16.47.00;	author rmoore1;	state Exp;
2005-06-29 18:11:56 +00:00
aystarik
bb1d5aae7b Prefixed component IDs with "ACPI_"
date	2001.03.07.19.29.00;	author rmoore1;	state Exp;
2005-06-29 18:11:50 +00:00
aystarik
ff82fdf81d Added a new function
date	2000.06.09.20.46.00;	author rmoore1;	state Exp;
2005-06-29 18:11:29 +00:00
aystarik
82f8cd9289 Changed a macro
date	2000.05.19.22.03.00;	author rmoore1;	state Exp;
2005-06-29 18:11:27 +00:00
aystarik
13fbad3fb3 Caches have their own semaphore now.
date	2000.05.10.23.06.00;	author rmoore1;	state Exp;
2005-06-29 18:11:26 +00:00
aystarik
cb6dacaa4d Added cache hit count
date	2000.05.04.22.18.00;	author rmoore1;	state Exp;
2005-06-29 18:11:25 +00:00
aystarik
3dc92bc7b7 Added a type field to the parser Op object
date	2000.03.21.22.27.00;	author rmoore1;	state Exp;
2005-06-29 18:11:21 +00:00
aystarik
586931e945 DefFieldOp IS a field opcode (bug fix)
date	2000.02.04.22.49.00;	author rmoore1;	state Exp;
2005-06-29 18:11:19 +00:00
aystarik
722244ada6 Interface changes; Update to use amlcode.h
date	2000.01.13.22.28.00;	author rmoore1;	state Exp;
2005-06-29 18:11:18 +00:00
aystarik
8269908697 Added alignment and math macros
date	2000.06.01.22.40.00;	author rmoore1;	state Exp;
2005-06-29 18:10:32 +00:00
aystarik
9b2f7c88b5 Moved psfind to its own module
date	2000.05.10.23.06.00;	author rmoore1;	state Exp;
2005-06-29 18:10:31 +00:00
aystarik
a090e1c41f Null name fix for Scope(\) construct
date	2000.03.21.22.26.00;	author rmoore1;	state Exp;
2005-06-29 18:10:27 +00:00
aystarik
84f463f51a Path problem fix
date	2000.02.04.22.50.00;	author rmoore1;	state Exp;
2005-06-29 18:10:24 +00:00
aystarik
0447c59b5a Re-implemented xfaces to use new opcode info table entries
date	2000.01.13.22.28.00;	author rmoore1;	state Exp;
2005-06-29 18:10:23 +00:00
aystarik
9286a03e54 Cleanup
date	2004.03.11.21.16.00;	author rmoore1;	state Exp;
2005-06-29 18:10:14 +00:00
aystarik
aaaa039fb8 Added ACPI_MAX_PTR
date	2002.02.06.19.00.00;	author rmoore1;	state Exp;
2005-06-29 18:10:06 +00:00
aystarik
aee24b8a5b Fixed return macros
date	2001.10.22.21.56.00;	author rmoore1;	state Exp;
2005-06-29 18:10:02 +00:00
aystarik
1e777e5636 date 2000.10.17.16.23.00; author mwalz; state Exp; 2005-06-29 18:09:52 +00:00
aystarik
43c46b697f Added a null ptr check
date	2000.05.10.23.06.00;	author rmoore1;	state Exp;
2005-06-29 18:09:37 +00:00
aystarik
907733c55f Split parse loop out to psloop.c
date	2005.06.23.20.51.00;	author rmoore1;	state Exp;
2005-06-29 18:09:29 +00:00
aystarik
6df35ba559 changed a define
date	2005.06.17.19.45.00;	author rmoore1;	state Exp;
2005-06-29 18:09:28 +00:00
aystarik
4fa94d808c fix for disassembler
date	2005.06.03.21.16.00;	author rmoore1;	state Exp;
2005-06-29 18:09:27 +00:00
aystarik
e7cfbbf3d2 Automated cleanup
date	2005.05.25.22.19.00;	author rmoore1;	state Exp;
2005-06-29 18:09:26 +00:00
aystarik
3083482afc Support for executable code at module level and new error handling
date	2005.05.25.22.16.00;	author rmoore1;	state Exp;
2005-06-29 18:09:25 +00:00
aystarik
a298e2c3a7 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 18:09:24 +00:00
aystarik
c3bfbc9fdf cleanup
date	2005.03.24.22.49.00;	author rmoore1;	state Exp;
2005-06-29 18:09:23 +00:00
aystarik
e0c4c5c076 Update for static functions, cleanup
date	2005.03.23.01.54.00;	author rmoore1;	state Exp;
2005-06-29 18:09:21 +00:00
aystarik
622c5be935 Improved implicit return support
date	2005.03.08.23.20.00;	author rmoore1;	state Exp;
2005-06-29 18:09:19 +00:00
aystarik
6d7926de2c Fix for bad status, not executing a method
date	2004.11.05.22.33.00;	author rmoore1;	state Exp;
2005-06-29 18:09:16 +00:00
aystarik
bb35a35220 Fix possible memory leak
date	2004.11.03.21.27.00;	author rmoore1;	state Exp;
2005-06-29 18:09:14 +00:00
aystarik
451ed8873e do not allocate PreOp on stack. Support to recognize and deal with
methods that can't handle reentrancy


date	2004.03.11.21.17.00;	author rmoore1;	state Exp;
2005-06-29 18:09:11 +00:00
aystarik
327ad3342b Fix for 64-bit warnings
date	2003.10.23.20.02.00;	author rmoore1;	state Exp;
2005-06-29 18:09:08 +00:00
aystarik
02624e86d1 Deployed new procedure to extract NS Node name and validate the node.
Prevents faults during debug output.


date	2003.10.21.23.31.00;	author rmoore1;	state Exp;
2005-06-29 18:09:07 +00:00
aystarik
8ceaf90069 Comment update and cleanup
date	2003.09.17.17.36.00;	author rmoore1;	state Exp;
2005-06-29 18:09:06 +00:00
aystarik
f1421dd4d4 Automated code cleanup
date	2002.12.06.16.32.00;	author rmoore1;	state Exp;
2005-06-29 18:09:02 +00:00
aystarik
984307dd4a REPORT_METHOD_ERROR
date	2002.12.03.17.52.00;	author rmoore1;	state Exp;
2005-06-29 18:09:01 +00:00
aystarik
6803fb3694 Added function to print node pathname for REPORT_ERROR
date	2002.11.26.21.38.00;	author rmoore1;	state Exp;
2005-06-29 18:09:00 +00:00
aystarik
30f3b1b38b Moved error message so nested control method abort shows all methods
date	2002.11.13.18.17.00;	author rmoore1;	state Exp;
2005-06-29 18:08:59 +00:00
aystarik
79728275c5 Error message for namespace NOT_FOUND during method execution.
Changed parameters to two functions.  Migrated NOT_FOUND error check to a
single place.


date	2002.10.24.21.00.00;	author rmoore1;	state Exp;
2005-06-29 18:08:58 +00:00
aystarik
9363391aba Enhanced error checking for namepath arguments
date	2002.08.13.22.19.00;	author rmoore1;	state Exp;
2005-06-29 18:08:56 +00:00
aystarik
d2ec4aba01 Fixed a possible infinite loop
date	2002.08.07.20.35.00;	author rmoore1;	state Exp;
2005-06-29 18:08:55 +00:00
aystarik
eb7a88afa5 Automated cleanup
date	2002.07.30.22.15.00;	author rmoore1;	state Exp;
2005-06-29 18:08:54 +00:00
aystarik
2ed646311c Removed PARSER_ONLY, renamed ENABLE_DEBUGGER to ACPI_DEBUGGER.
renamed ACPI_DEBUG to ACPI_DEBUG_OUTPUT


date	2002.07.26.21.45.00;	author rmoore1;	state Exp;
2005-06-29 18:08:53 +00:00
aystarik
901a46dd8f Standalone disassembler now uses namespace mgr for symbol table
date	2002.07.23.20.30.00;	author rmoore1;	state Exp;
2005-06-29 18:08:51 +00:00
aystarik
34a6f963ee Added a comment
date	2002.07.01.21.09.00;	author rmoore1;	state Exp;
2005-06-29 18:08:50 +00:00
aystarik
8ff5586b01 16-bit fixes for debug output
date	2002.05.17.21.31.00;	author rmoore1;	state Exp;
2005-06-29 18:08:49 +00:00
aystarik
2bee7f763d Fifth lint pass - CLEAN for 32-bit and 64-bit
date	2002.04.12.20.46.00;	author rmoore1;	state Exp;
2005-06-29 18:08:47 +00:00
aystarik
faee6233cc Fourth pass to include lint changes/comments/cleanup (64-bit)
date	2002.04.11.22.57.00;	author rmoore1;	state Exp;
2005-06-29 18:08:46 +00:00
aystarik
0e103b295f Third pass to include lint changes/comments/cleanup.
date	2002.04.10.21.54.00;	author rmoore1;	state Exp;
2005-06-29 18:08:45 +00:00
aystarik
7acb7c36b5 Migrated ASL compiler and core components to use a common
PARSE_OBJECT.


date	2002.04.04.21.19.00;	author rmoore1;	state Exp;
2005-06-29 18:08:43 +00:00
aystarik
b6c2dcc2ed AmlOpStart init
date	2002.03.13.21.32.00;	author rmoore1;	state Exp;
2005-06-29 18:08:41 +00:00
aystarik
48d8b236e5 Added support for FADT, FACS in AcpiInstallTable.
date	2002.02.01.18.57.00;	author rmoore1;	state Exp;
2005-06-29 18:08:37 +00:00
aystarik
9e0f807a30 Changed a comment
date	2001.12.20.22.24.00;	author rmoore1;	state Exp;
2005-06-29 18:08:35 +00:00
aystarik
6e48e5af50 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 18:08:34 +00:00
aystarik
3de5ae01b2 Use GetNextPackageEnd to ignore ELSE clause
date	2001.12.11.17.44.00;	author rmoore1;	state Exp;
2005-06-29 18:08:32 +00:00
aystarik
8cb8ca238d Support for ACPI 2.0 Break and Continue
date	2001.12.07.19.08.00;	author rmoore1;	state Exp;
2005-06-29 18:08:31 +00:00
aystarik
8888d37bc3 Updated a debug statement
date	2001.12.04.17.58.00;	author rmoore1;	state Exp;
2005-06-29 18:08:30 +00:00
aystarik
89f0284d24 Error output if method fails
date	2001.11.30.22.36.00;	author rmoore1;	state Exp;
2005-06-29 18:08:29 +00:00
aystarik
fad076a242 Eliminate TBDs
date	2001.11.15.17.01.00;	author rmoore1;	state Exp;
2005-06-29 18:08:26 +00:00
aystarik
66000be2e4 Added THREAD_STATE to track threads and mutexes
date	2001.11.06.21.29.00;	author rmoore1;	state Exp;
2005-06-29 18:08:25 +00:00
aystarik
e7821041bf Cleanup - extraneous spaces and tab removal
date	2001.11.02.00.05.00;	author rmoore1;	state Exp;
2005-06-29 18:08:24 +00:00
aystarik
33bec31574 Cleanup
date	2001.10.29.20.23.00;	author rmoore1;	state Exp;
2005-06-29 18:08:23 +00:00
aystarik
7c5dc10fad Simplified opcode checking for CreateXXXField
date	2001.10.29.19.47.00;	author rmoore1;	state Exp;
2005-06-29 18:08:22 +00:00
aystarik
94f7df7637 BIG CHECKIN
turning on printf format checking revealed we've been a little lax. Sins
include:
1) using %X when we should use %p
2) using %ld instead of %d
3) using %x for ACPI_INTEGERS (you need to use HIDWORD() and %x%x)
4) using %4.4s and not casting to a char*
5) using %s with void*

I also reformatted the OSL add_device messages a little.

Anything breaks, let me know. :)  -- Andy


date	2001.10.17.03.58.00;	author agrover;	state Exp;
2005-06-29 18:08:21 +00:00
aystarik
2af4749fdd Updated for AcpiDump support.
date	2001.09.20.21.37.00;	author rmoore1;	state Exp;
2005-06-29 18:08:18 +00:00
aystarik
21fbdb189c Added internal divide functions for 64-bit integer divide/modulo
date	2001.09.14.23.05.00;	author rmoore1;	state Exp;
2005-06-29 18:08:17 +00:00
aystarik
178c09f898 Standardized all references to AML code to "AmlStart" and "AmlLength",
replacing things like Pcode, AmlPtr, etc.


date	2001.09.11.21.16.00;	author rmoore1;	state Exp;
2005-06-29 18:08:16 +00:00
aystarik
c748182c12 Merged WALK_STATE and PARSE_STATE; new common function for
initialization of WALK_STATE


date	2001.09.11.20.10.00;	author rmoore1;	state Exp;
2005-06-29 18:08:15 +00:00
aystarik
57c11258b3 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 18:08:14 +00:00
aystarik
617655b191 Removed unnecessary local
date	2001.08.27.19.51.00;	author rmoore1;	state Exp;
2005-06-29 18:08:12 +00:00
aystarik
12cb3bbcd8 Added and deployed FUNCTION_ENTRY macro. Cleaned up comments to
standardize multi-line comments.


date	2001.08.27.17.57.00;	author rmoore1;	state Exp;
2005-06-29 18:08:10 +00:00
aystarik
c48d902bf2 Update for new OpInfo flags fields
date	2001.08.22.21.16.00;	author rmoore1;	state Exp;
2005-06-29 18:08:08 +00:00
aystarik
da7cfb2120 Optimized check for CreateXxxField opcodes
date	2001.08.22.17.02.00;	author rmoore1;	state Exp;
2005-06-29 18:08:07 +00:00
aystarik
42b02ad460 Parsing for QWORD constants
date	2001.07.17.21.52.00;	author rmoore1;	state Exp;
2005-06-29 18:08:04 +00:00
aystarik
082ae65435 UtFormatException obsoleted; AcpiFormatException substituted globally
date	2001.07.06.22.16.00;	author rmoore1;	state Exp;
2005-06-29 18:08:03 +00:00
aystarik
bda97b1cce Added memory allocation macros
date	2001.06.29.20.10.00;	author rmoore1;	state Exp;
2005-06-29 18:08:02 +00:00
aystarik
83728c8937 Cleanup prior to label
date	2001.04.26.23.04.00;	author rmoore1;	state Exp;
2005-06-29 18:07:59 +00:00
aystarik
a853ff60c6 Must cast ptr diffs AFTER the actual subtraction
date	2001.03.16.16.33.00;	author rmoore1;	state Exp;
2005-06-29 18:07:55 +00:00
aystarik
30c525f93a since AML offsets will never be >4GB, use UINT32 instead of PTRDIFF.
Added some iffy casts, too.


date	2001.03.15.21.28.00;	author agrover;	state Exp;
2005-06-29 18:07:54 +00:00
aystarik
f758a39085 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 18:07:53 +00:00
aystarik
1f500617aa Code cleanup (acpisrc -c)
date	2001.02.23.23.29.00;	author rmoore1;	state Exp;
2005-06-29 18:07:51 +00:00
aystarik
3614a02066 Full support for ASL Mutex SyncLevel semantics and "ForceRelease" on
interpreter exit of all owned mutexes.


date	2001.02.16.18.30.00;	author rmoore1;	state Exp;
2005-06-29 18:07:50 +00:00
aystarik
d204754d27 Restructured object store code, initial implementation of target
conversion


date	2001.01.25.22.55.00;	author rmoore1;	state Exp;
2005-06-29 18:07:49 +00:00
aystarik
8db45cca2a New exception, AE_AML_NO_RETURN_VALUE
date	2001.01.15.21.51.00;	author rmoore1;	state Exp;
2005-06-29 18:07:47 +00:00
aystarik
d9aa4002c9 Pass correct scope to parse loop in non-method case.
date	2000.12.06.22.46.00;	author rmoore1;	state Exp;
2005-06-29 18:07:44 +00:00
aystarik
b5df1f2075 Implemented "stack of result stacks" for intermediate method operands
date	2000.11.30.21.48.00;	author rmoore1;	state Exp;
2005-06-29 18:07:43 +00:00
aystarik
2d451a07d6 Support for method calls within OpRegion and CreateXXXField
declarations


date	2000.11.29.21.36.00;	author rmoore1;	state Exp;
2005-06-29 18:07:42 +00:00
aystarik
e163077df9 Fixed OpRegion late init for general case of arbitrary name length
date	2000.11.21.00.55.00;	author rmoore1;	state Exp;
2005-06-29 18:07:41 +00:00
aystarik
4520df8760 Purged unnecessary 0x's in debug output, most output is hex
date	2000.11.17.19.36.00;	author rmoore1;	state Exp;
2005-06-29 18:07:40 +00:00
aystarik
cb611ea3a3 Source clean-up via acpisrc utility
date	2000.11.02.22.52.00;	author rmoore1;	state Exp;
2005-06-29 18:07:37 +00:00
aystarik
f942456b59 Improved error messages when a missing operand is encountered
date	2000.10.27.22.33.00;	author rmoore1;	state Exp;
2005-06-29 18:07:36 +00:00
aystarik
26f727cc85 Physical Addresses changed from void* to UINT64
date	2000.10.27.20.05.00;	author rmoore1;	state Exp;
2005-06-29 18:07:35 +00:00
aystarik
b47cb3a2a6 Fix for ELSE package length problem
date	2000.10.20.20.07.00;	author rmoore1;	state Exp;
2005-06-29 18:07:34 +00:00
aystarik
02c755c7e3 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 18:07:33 +00:00
aystarik
d7a96a964d Configurable support for 64-bit ACPI integers (ACPI 2.0)
date	2000.10.11.21.03.00;	author rmoore1;	state Exp;
2005-06-29 18:07:32 +00:00
aystarik
c9d2d938ac Dump AML if unknown opcode found
date	2000.10.11.16.42.00;	author rmoore1;	state Exp;
2005-06-29 18:07:31 +00:00
aystarik
6a85de5a63 Misc fixes for new interfaces
date	2000.09.15.21.23.00;	author rmoore1;	state Exp;
2005-06-29 18:07:29 +00:00
aystarik
18f809922f Ran acpisrc source cleanup
date	2000.09.15.17.16.00;	author rmoore1;	state Exp;
2005-06-29 18:07:28 +00:00
aystarik
ece95aaa20 date 2000.09.14.23.15.00; author rmoore1; state Exp; 2005-06-29 18:07:27 +00:00
aystarik
c5b3b92af3 Fixed some parse issues during method execution
date	2000.09.14.16.40.00;	author rmoore1;	state Exp;
2005-06-29 18:07:25 +00:00
aystarik
58ef8795c8 New init xfaces; JIT CreateField evaluation.
date	2000.09.11.15.15.00;	author rmoore1;	state Exp;
2005-06-29 18:07:24 +00:00