132 Commits

Author SHA1 Message Date
Robert Moore
de716aac23 Performance enhancement for namespace search and access.
This change enhances the performance of namespace searches and walks
by adding a backpointer to the parent in each namespace node. On large
namespaces, this change can improve overall ACPI performance by up to 9X.
Adding a pointer to each namespace node increases the overall size of
the internal namespace by about 5%, since each namespace entry usually
consists of both a namespace node and an ACPI operand object.
Alexey Starikovskiy.
2010-05-25 12:38:08 -07:00
Robert Moore
23367dc568 Standardize integer output for ACPICA warnings/errors.
Always use 0x prefix for hex output, use %u for integer output (all
integers are unsigned.)

Affects ACPI_INFO, ACPI_ERROR, ACPI_WARNING, and ACPI_EXCEPTION.
ACPICA BZ 835.
2010-03-02 15:09:46 -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
68fc5c1456 Miscellaneous lint changes.
Unused variables/headers, casting, etc.
2009-04-10 09:16:48 -07:00
Robert Moore
8ca1520fb4 Formatting update - no functional changes.
Split long lines, update comments.
2009-02-20 13:09:09 -08: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
1d4bf458a8 iASL: Enhancements and fixes for -e option.
1) Clear external list generated by Scope in external tables
2) Set node owner id only if it satisfies all the following conditions
   a. Not a predefined node, _SB_ etc.
   b. Not the root node
   c. Not a node created by Scope
3) Precise object types for External statements, for example
   -    External (\_PR_.CPU0, DeviceObj)
   +    External (\_PR_.CPU0, ProcessorObj)
2008-11-20 19:31:56 -07:00
Robert Moore
085ae7362c Restructure includes into public/private.
acpi.h now includes only the "public" acpica headers. All other
acpica headers are "private" and should not be included by acpica
users. One new file, accommon.h is used to include the commonly
used private headers for acpica code generation. Future plans are
to move all private headers to a new subdirectory.
2008-10-22 14:31:40 -07: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
a206f1664e Cleanup of invalid ACPI name handling and repair.
Implemented a change/cleanup for the handling of invalid ACPI names. Names are now validated and repaired only when 1) entering a new name into the namespace and 2) disassembling a named AML opcode. A warning is only displayed in debug mode or when the interpreter is in "strict" mode, since some working machines do in fact contain invalid ACPI names.
2008-03-26 19:38:15 +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
b4ecbd24f7 Fix race condition with AcpiWalkNamespace.
Fixed a problem with a possible race condition between threads executing AcpiWalkNamespace and the AML interpreter. This condition was removed by modifying AcpiWalkNamespace to (by default) ignore all temporary namespace entries created during any concurrent control method execution
2006-10-06 22:32:10 +00:00
rmoore1
d3ff205ef2 ACPICA: Update interface to AcpiUtRepairName to avoid alignment issues on IA64 2006-08-28 21:47:42 +00:00
rmoore1
181c5f8a42 Misc renames for clarity 2006-05-19 20:09:44 +00:00
rmoore1
6f70255c7a Support for disassembler external generation 2006-05-11 20:26:22 +00:00
rmoore1
65d5c688ce Update ACPI_FUNCTION_* macros, no longer require quotes. Allows source conversion to convert the function names. 2006-04-19 21:49:06 +00:00
rmoore1
e12e84d79a Report warning only if in strict mode or debug mode 2006-03-31 21:32:32 +00:00
rmoore1
21365f57f7 Ptr casting, cleanup 2006-03-30 23:57:36 +00:00
rmoore1
ff229bec9a Update comment; cleanup 2006-03-30 23:52:44 +00:00
rmoore1
26d855b712 Better handling of incoming ACPI names with invalid characters (repair) 2006-03-29 22:39:02 +00:00
rmoore1
72ebba28c5 Rename ACPI memory macros for clarity 2006-03-10 20:08:05 +00:00
rmoore1
f7bfe25476 Deploy ACPI_[ERROR, EXCEPTION, WARNING, INFO] 2006-01-23 22:11:06 +00:00
rmoore1
7c13298942 Convert DB_ERROR/WARNs to REPORT_ERROR/WARNINGs 2006-01-11 22:38:23 +00:00
rmoore1
9efdd774a4 Add 2006 copyright 2006-01-09 17:47:27 +00:00
rmoore1
8a0b51e1c5 Use ACPI_CAST_PTR for pointer casts 2005-12-09 18:37:00 +00:00
aystarik
c7ee0b1307 Automated cleanup
date	2004.10.15.22.36.00;	author rmoore1;	state Exp;
2005-06-29 18:34:28 +00:00
aystarik
4b2f8f0417 Update debug msg; cleanup
date	2004.09.16.21.12.00;	author rmoore1;	state Exp;
2005-06-29 18:34:27 +00:00
aystarik
8d4d235f39 Fix for scope problem for aliased methods
date	2004.03.26.22.34.00;	author rmoore1;	state Exp;
2005-06-29 18:34:25 +00:00
aystarik
3e2bb50ef3 Debug output cleanup
date	2003.09.17.17.38.00;	author rmoore1;	state Exp;
2005-06-29 18:34:22 +00:00
aystarik
b7bf21c259 Automated cleanup
date	2003.05.21.22.48.00;	author rmoore1;	state Exp;
2005-06-29 18:34:21 +00:00
aystarik
faecc97cb8 Improved debug output
date	2003.05.20.16.18.00;	author rmoore1;	state Exp;
2005-06-29 18:34:19 +00:00
aystarik
145ac1a55a Update comments
date	2002.10.07.16.09.00;	author rmoore1;	state Exp;
2005-06-29 18:34:13 +00:00
aystarik
7097d5cb78 Update error message
date	2002.10.07.15.58.00;	author rmoore1;	state Exp;
2005-06-29 18:34:12 +00:00
aystarik
096c1a04ed Updated debug messages
date	2002.08.13.22.16.00;	author rmoore1;	state Exp;
2005-06-29 18:34:11 +00:00
aystarik
4ca70e0b57 Automated cleanup
date	2002.07.30.22.15.00;	author rmoore1;	state Exp;
2005-06-29 18:34:10 +00:00
aystarik
340e2787e3 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:34:05 +00:00
aystarik
04213ce06a Added ACPI_SYSTEM_XFACE to specify calling convention for "system"
interfaces and callbacks.


date	2002.02.14.23.50.00;	author rmoore1;	state Exp;
2005-06-29 18:34:04 +00:00
aystarik
ef8500c5e9 New pathname interface
date	2001.11.30.22.23.00;	author rmoore1;	state Exp;
2005-06-29 18:33:59 +00:00
aystarik
63cc0801df Cleanup and fixed a comment
date	2001.11.19.21.54.00;	author rmoore1;	state Exp;
2005-06-29 18:33:58 +00:00
aystarik
221e49a002 Changed AE_EXIST to AE_ALREADY_EXISTS (more informative, not
ambiguous)


date	2001.10.18.20.13.00;	author rmoore1;	state Exp;
2005-06-29 18:33:57 +00:00
aystarik
013b12c884 Update to opcode names and typenames for fields
date	2001.03.30.18.16.00;	author rmoore1;	state Exp;
2005-06-29 18:33:48 +00:00
aystarik
6ea2b69952 Only get the search pathname if TRACE_NAMES is enabled
date	2001.01.17.17.05.00;	author rmoore1;	state Exp;
2005-06-29 18:33:45 +00:00
aystarik
54fbb8b1b4 Support for option to return error if name found in namespace
date	2000.12.15.16.28.00;	author rmoore1;	state Exp;
2005-06-29 18:33:43 +00:00
aystarik
73a5c13e64 global fix: declare functions not in headers as static
date	2000.11.07.02.49.00;	author agrover;	state Exp;
2005-06-29 18:33:40 +00:00
aystarik
66c2bd53db Added parse-scope cache and extended parse Op/cache
date	2000.08.11.21.06.00;	author rmoore1;	state Exp;
2005-06-29 18:33:33 +00:00
aystarik
c0b2a4c8e3 date 2000.07.24.18.07.00; author mwalz; state Exp; 2005-06-29 18:33:32 +00:00
aystarik
5f6d87971b date 2000.07.24.16.05.00; author mwalz; state Exp; 2005-06-29 18:33:31 +00:00
aystarik
4529305591 Debug statement cleanup for block removal
date	2000.06.22.17.55.00;	author rmoore1;	state Exp;
2005-06-29 18:33:26 +00:00
aystarik
cc0fbbe390 Removed tabs
date	2000.06.12.16.58.00;	author rmoore1;	state Exp;
2005-06-29 18:33:22 +00:00