Commit Graph

173 Commits

Author SHA1 Message Date
aystarik
398ceddff2 Cleanup - extraneous spaces and tab removal
date	2001.11.02.00.06.00;	author rmoore1;	state Exp;
2005-06-29 19:02:15 +00:00
aystarik
3e72645032 Simplified the dump allocation routine
date	2001.10.30.19.49.00;	author rmoore1;	state Exp;
2005-06-29 19:02:14 +00:00
aystarik
42a1c2ced7 Removed TbSystemTablePtr
date	2001.10.16.21.05.00;	author rmoore1;	state Exp;
2005-06-29 19:02:12 +00:00
aystarik
7ed3c77953 Major rework of the reference count mechanism for internal objects.
date	2001.10.08.18.03.00;	author rmoore1;	state Exp;
2005-06-29 19:02:11 +00:00
aystarik
5e7fa8948a Renamed the allocation tracking functions
date	2001.09.20.15.36.00;	author rmoore1;	state Exp;
2005-06-29 19:02:10 +00:00
aystarik
5c9612b2ff Renamed UtDumpCurrentAllocations to UtDumpAllocations
date	2001.09.17.22.47.00;	author rmoore1;	state Exp;
2005-06-29 19:02:09 +00:00
aystarik
49564e80b6 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 19:02:08 +00:00
aystarik
a1f89286aa Name of memory list is debug-only
date	2001.08.31.22.02.00;	author rmoore1;	state Exp;
2005-06-29 19:02:07 +00:00
aystarik
f001480061 Completed rename of all globals to prefix "AcpiGbl_", added stack
tracing mechanism


date	2001.08.27.15.39.00;	author rmoore1;	state Exp;
2005-06-29 19:02:04 +00:00
aystarik
4f135b5bf5 Cleanup of function names used in entry macros
date	2001.08.24.22.04.00;	author rmoore1;	state Exp;
2005-06-29 19:02:03 +00:00
aystarik
ae2853c04c Generic cache routines and common data struct
date	2001.08.14.16.47.00;	author rmoore1;	state Exp;
2005-06-29 19:02:01 +00:00
aystarik
213a48f428 change DEBUG_TRACK_ALLOCATIONS to DBG_TRACK_ALLOCATIONS. This prevents
the ACPI_DEBUG-removing code in asconvert from getting us.


date	2001.07.10.21.02.00;	author agrover;	state Exp;
2005-06-29 19:02:00 +00:00
aystarik
2de2897c30 doc fix
date	2001.07.10.19.51.00;	author agrover;	state Exp;
2005-06-29 19:01:59 +00:00
aystarik
2c63acd12c Renamed the UT memory allocation procedures
date	2001.07.03.17.00.00;	author rmoore1;	state Exp;
2005-06-29 19:01:58 +00:00
aystarik
581c59afc1 rename ALLOCATE_INFO to ACPI_ALLOCATE_INFO
date	2001.04.25.20.44.00;	author rmoore1;	state Exp;
2005-06-29 19:01:55 +00:00
aystarik
971b313ec3 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 19:01:54 +00:00
aystarik
cbe66edf02 Prefixed component IDs with "ACPI_"
date	2001.03.07.19.28.00;	author rmoore1;	state Exp;
2005-06-29 19:01:53 +00:00
aystarik
f26d2676a0 Code cleanup (acpisrc -c)
date	2001.02.23.23.28.00;	author rmoore1;	state Exp;
2005-06-29 19:01:52 +00:00
aystarik
06ab77ea7d compile out fns completely if TRACE_ALLOC not defines
date	2001.01.22.18.47.00;	author agrover;	state Exp;
2005-06-29 19:01:50 +00:00
aystarik
b99b866c76 Better debug output
date	2001.01.17.17.03.00;	author rmoore1;	state Exp;
2005-06-29 19:01:49 +00:00
aystarik
584865cda3 2001 copyright. Changed "NUMBER" to "INTEGER" globally
date	2001.01.15.17.27.00;	author rmoore1;	state Exp;
2005-06-29 19:01:48 +00:00
aystarik
f2a37cddc6 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 19:01:47 +00:00
aystarik
49a0b8c218 Added 2000 to the copyright in the legal header
date	2000.12.08.20.55.00;	author rmoore1;	state Exp;
2005-06-29 19:01:46 +00:00
aystarik
30d3760e36 Purged unnecessary 0x's in debug output, most output is hex
date	2000.11.17.19.35.00;	author rmoore1;	state Exp;
2005-06-29 19:01:45 +00:00
aystarik
816faffaf0 ACPI_DIVIDE and ACPI_MODULO macros for 64-bit support
date	2000.11.07.22.39.00;	author rmoore1;	state Exp;
2005-06-29 19:01:44 +00:00
aystarik
812fcafc59 make DEBUG_EXEC into DEBUG_ONLY_MEMBERS
date	2000.11.07.03.12.00;	author agrover;	state Exp;
2005-06-29 19:01:43 +00:00
aystarik
ca15dc9634 Configurable support for 64-bit ACPI integers (ACPI 2.0)
date	2000.10.11.21.02.00;	author rmoore1;	state Exp;
2005-06-29 19:01:42 +00:00
aystarik
2658dafbd3 Added varparams to the _REPORT_xxx interfaces; 16-bit fixes
date	2000.09.20.20.51.00;	author rmoore1;	state Exp;
2005-06-29 19:01:41 +00:00
aystarik
461fbaf1a3 made changes based on code review
date	2000.09.19.22.29.00;	author agrover;	state Exp;
2005-06-29 19:01:40 +00:00
aystarik
68a1eadb96 Changed names of the major objects for clarity
date	2000.08.30.20.11.00;	author rmoore1;	state Exp;
2005-06-29 19:01:38 +00:00
aystarik
fead115a96 global removal of semicolon from MODULE_NAME macro.
This allows us to remove it completely on Release builds.


date	2000.08.30.00.40.00;	author agrover;	state Exp;
2005-06-29 19:01:37 +00:00
aystarik
9d1a2a2506 Eliminated "Name Tables" and replaced with "Named Objects"
date	2000.08.29.00.38.00;	author rmoore1;	state Exp;
2005-06-29 19:01:36 +00:00
aystarik
5a17f4ce50 Fixed memory debug metrics
date	2000.08.23.20.58.00;	author rmoore1;	state Exp;
2005-06-29 19:01:34 +00:00
aystarik
9832530b0e Use NATIVE_CHAR for strings, changed most INTx to UINTx
date	2000.08.14.18.15.00;	author rmoore1;	state Exp;
2005-06-29 19:01:33 +00:00
aystarik
8f498255ef Conversion to new minimal-parse-subtree model of method execution
date	2000.08.08.17.34.00;	author rmoore1;	state Exp;
2005-06-29 19:01:32 +00:00
aystarik
c2f1642dad date 2000.07.20.16.52.00; author mwalz; state Exp; 2005-06-29 19:01:31 +00:00
aystarik
63292e27df Renamed most header files
date	2000.07.10.21.25.00;	author rmoore1;	state Exp;
2005-06-29 19:01:30 +00:00
aystarik
8a3c62ded3 Modified to 80 char line limit
date	2000.06.29.18.24.00;	author mwalz;	state Exp;
2005-06-29 19:01:29 +00:00
aystarik
d832018b06 Restructured the name table data structure
date	2000.06.29.16.38.00;	author rmoore1;	state Exp;
2005-06-29 19:01:27 +00:00
aystarik
2c1f67f1ab Renamed Osd interfaces, renamed header files
date	2000.06.23.21.46.00;	author rmoore1;	state Exp;
2005-06-29 19:01:26 +00:00
aystarik
c58a463b2c HW globals, debug stuff
date	2000.06.22.17.16.00;	author rmoore1;	state Exp;
2005-06-29 19:01:25 +00:00
aystarik
7f176ea621 Renamed store macros for unaligned transfers
date	2000.06.21.17.05.00;	author rmoore1;	state Exp;
2005-06-29 19:01:24 +00:00
aystarik
b8e3916c97 Changed Acpi_Gbl to AcpiGbl_
date	2000.06.16.20.03.00;	author rmoore1;	state Exp;
2005-06-29 19:01:23 +00:00
aystarik
cf3a44af0c date 2000.06.14.17.20.00; author rmoore1; state Exp; 2005-06-29 19:01:22 +00:00
aystarik
a00b4bbd5b Moved a comment
date	2000.06.13.21.41.00;	author rmoore1;	state Exp;
2005-06-29 19:01:21 +00:00
aystarik
b57c6d1498 Extraneous spaces removed
date	2000.06.13.21.21.00;	author rmoore1;	state Exp;
2005-06-29 19:01:20 +00:00
aystarik
af6229928a Global rename of identifiers and constants
date	2000.06.13.18.18.00;	author rmoore1;	state Exp;
2005-06-29 19:01:19 +00:00
aystarik
1728ea8254 date 2000.06.12.16.59.00; author rmoore1; state Exp; 2005-06-29 19:01:18 +00:00
aystarik
4f901ba874 Added alignment and math macros
date	2000.06.01.22.38.00;	author rmoore1;	state Exp;
2005-06-29 19:01:17 +00:00
aystarik
612e0bdd65 Fixed exit macros
date	2000.05.19.21.57.00;	author rmoore1;	state Exp;
2005-06-29 19:01:16 +00:00
aystarik
5d876aa281 Split internal object support to cmobject.c
date	2000.05.11.20.15.00;	author rmoore1;	state Exp;
2005-06-29 19:01:15 +00:00
aystarik
ed8fa5ec16 Clear cache entries before putting in cache
date	2000.05.10.22.53.00;	author rmoore1;	state Exp;
2005-06-29 19:01:14 +00:00
aystarik
9d306e2033 Added cache for internal ACPI objects
date	2000.05.08.15.55.00;	author rmoore1;	state Exp;
2005-06-29 19:01:13 +00:00
aystarik
9bb0033ebd Converted to a switch statement
date	2000.05.02.23.11.00;	author rmoore1;	state Exp;
2005-06-29 19:01:12 +00:00
aystarik
3304e9ac8d New object desc type
date	2000.05.02.22.24.00;	author rmoore1;	state Exp;
2005-06-29 19:01:11 +00:00
aystarik
bcae889df6 reference counts
date	2000.04.27.22.16.00;	author rmoore1;	state Exp;
2005-06-29 19:01:10 +00:00
aystarik
b095c70fd3 Set ref count to -1 on deletion, check for bad ref count
date	2000.04.05.19.48.00;	author rmoore1;	state Exp;
2005-06-29 19:01:09 +00:00
aystarik
c445273cbf Added CmGetTypeName
date	2000.03.24.16.44.00;	author rmoore1;	state Exp;
2005-06-29 19:01:08 +00:00
aystarik
d62b1a33d9 removed RPARSER reference
date	2000.03.21.22.03.00;	author rmoore1;	state Exp;
2005-06-29 19:01:07 +00:00
aystarik
131f1a4561 Init static object reference count
date	2000.03.21.21.54.00;	author rmoore1;	state Exp;
2005-06-29 19:01:06 +00:00
aystarik
435d0b5c1f Fixed memory overwrite problem on IA-64 (pointer size not 4)
date	2000.03.10.19.27.00;	author rmoore1;	state Exp;
2005-06-29 19:01:05 +00:00
aystarik
13657ada94 Cleanup
date	2000.03.09.22.13.00;	author rmoore1;	state Exp;
2005-06-29 19:01:04 +00:00
aystarik
8ddb4aec21 Changed STRCPY to STRNCPY for safety
date	2000.02.23.18.20.00;	author rmoore1;	state Exp;
2005-06-29 19:01:03 +00:00
aystarik
fb271d7dae Disalllow allocations of zero bytes
date	2000.02.22.21.15.00;	author rmoore1;	state Exp;
2005-06-29 19:01:02 +00:00
aystarik
8c88b818ec Updated for new core subsystem header filenames
date	2000.02.10.18.58.00;	author rmoore1;	state Exp;
2005-06-29 19:01:01 +00:00
aystarik
01798226b2 Removed object and method stacks for the new parser
date	2000.01.24.21.36.00;	author rmoore1;	state Exp;
2005-06-29 19:01:00 +00:00
aystarik
f7ef066980 Completely clear all freed memory, this helps catch bugs.
date	2000.01.13.22.00.00;	author rmoore1;	state Exp;
2005-06-29 19:00:59 +00:00
aystarik
794e39d377 Better debug output
date	2000.01.10.17.07.00;	author rmoore1;	state Exp;
2005-06-29 19:00:58 +00:00
aystarik
11e9e7ca4f Added more allocation metrics.
date	99.10.21.16.59.00;	author grsmith1;	state Exp;
2005-06-29 19:00:57 +00:00
aystarik
49cc04a841 Added CmDumpAllocationInfo.
date	99.10.19.17.52.00;	author grsmith1;	state Exp;
2005-06-29 19:00:56 +00:00
aystarik
f21b362164 Debug output fix
date	99.10.15.20.48.00;	author rmoore1;	state Exp;
2005-06-29 19:00:55 +00:00
aystarik
ed257737c4 Macro support to eliminate excessive debug string duplication
date	99.10.14.20.53.00;	author rmoore1;	state Exp;
2005-06-29 19:00:54 +00:00
aystarik
c57f8fa38a Renamed Clib functions to uppercase macros
date	99.10.12.20.28.00;	author rmoore1;	state Exp;
2005-06-29 19:00:53 +00:00
aystarik
bc4351ed94 Added CmInitStaticObject
date	99.09.28.22.27.00;	author rmoore1;	state Exp;
2005-06-29 19:00:52 +00:00
aystarik
53e2364fd8 Better check for acpi objects
date	99.09.27.21.14.00;	author rmoore1;	state Exp;
2005-06-29 19:00:51 +00:00
aystarik
22f1a85e78 Fixed a compilation bug when not in debug mode.
date	99.09.16.22.56.00;	author grsmith1;	state Exp;
2005-06-29 19:00:50 +00:00
aystarik
0be0fd689a Added common DataType field for NTEs and internal objects
date	99.09.03.17.44.00;	author rmoore1;	state Exp;
2005-06-29 19:00:49 +00:00
aystarik
efeeb54b30 Removed "Type", must use "Common.Type".
date	99.09.02.22.45.00;	author rmoore1;	state Exp;
2005-06-29 19:00:48 +00:00
aystarik
2e54eeea63 Prefixed all global variables with "Gbl_" for easy recognition
date	99.09.02.18.02.00;	author rmoore1;	state Exp;
2005-06-29 19:00:47 +00:00
aystarik
83ed4ff555 Initial mutex support
date	99.08.31.21.49.00;	author rmoore1;	state Exp;
2005-06-29 19:00:46 +00:00
aystarik
5b77fbf03e Dump allocation info by default (TRACE_TABLES)
date	99.08.30.22.28.00;	author rmoore1;	state Exp;
2005-06-29 19:00:45 +00:00
aystarik
f72ca7ef82 Removed LocalDeleteObject, added more debug output.
date	99.08.20.22.35.00;	author rmoore1;	state Exp;
2005-06-29 19:00:44 +00:00
aystarik
8d54659ad7 New function entry macros. Changed some error handling
date	99.08.13.20.15.00;	author rmoore1;	state Exp;
2005-06-29 19:00:43 +00:00
aystarik
b0ac65fd47 Converted to new return macros
date	99.08.13.16.58.00;	author rmoore1;	state Exp;
2005-06-29 19:00:42 +00:00
aystarik
f6657841ac Spelling error.
date	99.08.12.21.20.00;	author grsmith1;	state Exp;
2005-06-29 19:00:41 +00:00
aystarik
f8d5d908b3 New error msg.
date	99.08.10.21.41.00;	author rmoore1;	state Exp;
2005-06-29 19:00:40 +00:00
aystarik
3d128659d3 Updated License Header
date	99.08.09.22.40.00;	author mwalz;	state Exp;
2005-06-29 19:00:39 +00:00
aystarik
f642a776f9 Checks if object is already on list before adding.
date	99.08.04.21.55.00;	author rmoore1;	state Exp;
2005-06-29 19:00:38 +00:00
aystarik
4b2e0d1280 Detabified
date	99.08.03.23.08.00;	author rmoore1;	state Exp;
2005-06-29 19:00:37 +00:00
aystarik
d8bdd19bd5 Debug output for CmFree
date	99.07.23.20.42.00;	author rmoore1;	state Exp;
2005-06-29 19:00:36 +00:00
aystarik
732caec8d7 Added the allocation tracking code.
date	99.07.22.21.16.00;	author grsmith1;	state Exp;
2005-06-29 19:00:35 +00:00
aystarik
52a267ca3e Changed all memory allocations to use Cm functions.
date	99.07.22.15.04.00;	author grsmith1;	state Exp;
2005-06-29 19:00:34 +00:00
aystarik
428f6677b5 Phase 2 legal header.
date	99.07.07.21.14.00;	author grsmith1;	state Exp;
2005-06-29 19:00:32 +00:00
aystarik
68d054a103 Added ACPI_OBJECT_INTERNAL type
date	99.07.07.19.47.00;	author rmoore1;	state Exp;
2005-06-29 19:00:31 +00:00
aystarik
0c3cb146b4 New data types
date	99.06.22.22.38.00;	author rmoore1;	state Exp;
2005-06-29 19:00:30 +00:00
aystarik
4401e34a58 Removed KDT error string tables -- too hard to maintain!
date	99.06.14.21.06.00;	author rmoore1;	state Exp;
2005-06-29 19:00:29 +00:00
aystarik
b00a1edf73 Standard parameter list formatting
date	99.06.10.18.14.00;	author rmoore1;	state Exp;
2005-06-29 19:00:28 +00:00
aystarik
0573612fa0 Renamed some of the basic data types to ACPI*
date	99.06.09.23.33.00;	author rmoore1;	state Exp;
2005-06-29 19:00:27 +00:00
aystarik
c6b12344ad New procedure, LocalDeleteObject. Was DeleteObject in the interpreter
date	99.05.28.21.50.00;	author rmoore1;	state Exp;
2005-06-29 19:00:26 +00:00
aystarik
35b8b15857 Added FUNCTION_EXIT macro
date	99.05.19.22.13.00;	author rmoore1;	state Exp;
2005-06-29 19:00:25 +00:00