10791 Commits

Author SHA1 Message Date
Robert Moore
d82328f271 Add support for FunctionalFixedHW in GetRegionName.
Was missing this region type.
2011-01-28 10:38:44 -08:00
Robert Moore
4893ebd4c0 Release build scripts: Add generic unix makefiles to all packages.
Generic unix makefiles and some other misc changes.
2011-01-27 13:59:25 -08:00
Robert Moore
ac3a38aaf5 iASL: Warn if reserved method incorrectly returns a value.
Many predefined names are defined such that they do not return
a value. If implemented as a method, issue a warning if such
a name returns a value. ACPICA BZ 855.
2011-01-27 13:45:46 -08:00
Robert Moore
26e99b0d83 Split large dsopcode.c and dsload.c files.
split dsopcode.c into dsargs.c and dscontrol.c
split dsload.c into dsload2.c
2011-01-27 10:28:18 -08:00
Robert Moore
cee9d3462c Debugger: Split large dbcmds.c file.
Split into 2 new additional files:
dbmethod.c - control method commands.
dbnames.c - namespace commands.
2011-01-26 13:03:41 -08:00
Robert Moore
e058e42242 Debugger: Simplify help command.
All help output now in a single screen, instead of help
subcommands. ACPICA BZ 897.
2011-01-26 08:56:09 -08:00
Robert Moore
217e7043e6 Fix unresolved name issue for no-debug and no-error-msg cases.
The _AcpiModuleName was left undefined in these cases, but it
is actually needed as a parameter to some interfaces. Define
_AcpiModuleName as a null string in these cases.
Acpica BZ 888.
2011-01-25 15:05:45 -08:00
Robert Moore
fba030e8a8 Debugger: Add command to display status of global handlers.
Display op region, fixed event, and misc global handlers.
installation status and for op regions, whether default or
user-installed handler will be used.
2011-01-25 13:47:58 -08:00
Robert Moore
cb08192de6 Update windows project files (new file added.)
Addd new file, utilities/utdecode.c to project files.
2011-01-24 15:01:04 -08:00
Robert Moore
73dbf922ac Split large utglobal.c into utdecode.c.
Utglobal.c contained a lot of code not related to global variables.
These utility decode functions are moved to utdecode.c
2011-01-21 15:10:19 -08:00
Robert Moore
fcd8dad6f3 Clarify a couple of error messages.
Clarify region error messages with ID= prefix for space id.
2011-01-21 13:51:44 -08:00
Robert Moore
08e05f863b Update Windows project files.
Disable some warnings, update iASL build
2011-01-21 12:18:52 -08:00
Robert Moore
32e867e348 iASL/DTC: Reduce severity of some errors from fatal to error.
No need to abort on simple errors within a field definition.
2011-01-21 09:41:55 -08:00
Robert Moore
6cad5980b5 Disassembler: Resolve/fix special case for ASF! table.
Removed a special case for a 7-byte buffer in ASF!. Lin Ming.
2011-01-21 09:16:59 -08:00
Robert Moore
fd430272ca iASL/DTC: Add support for integer expressions and labels.
Support for full expressions for all integer fields in all tables.
Support for labels in "generic" portions of tables such as UEFI.
2011-01-21 08:42:11 -08:00
Robert Moore
c47bd2bb9e Remove use of unreliable FADT revision field.
The revision number in the FADT has been found to be completely
unreliable and cannot be trusted. Only the table length can be
used to infer the actual version.

This change updates the ACPICA core and the disassembler so that
both no longer even look at the FADT version and instead depend
upon the FADT length.
2011-01-14 13:24:08 -08:00
Robert Moore
62276d5441 GPE detect optimization - ignore unused GPE registers.
This optimization will simply ignore GPE registers that contain no
enabled GPEs - there is no need to read the register.
ACPICA bugzilla 884. Lin Ming. Suggestion from Joe Liu.
2011-01-13 14:34:00 -08:00
Robert Moore
03890c8512 iASL: Add predefined macros __LINE__, __FILE__, and __DATE__
Adds these c-style macros with the standard definitions.
ACPICA bugzilla 898.
2011-01-13 12:08:26 -08:00
Robert Moore
ad694f5bd9 Update version to 20110112.
Version 20110112.
2011-01-12 09:47:52 -08:00
Robert Moore
0efeaa391a Logfile: Changes for version 20110112.
Version 20110112.
2011-01-12 09:47:11 -08:00
Robert Moore
50f780874a Windows binaries: Update for version 20110112.
Version 20110112.
2011-01-12 09:46:27 -08:00
Robert Moore
84b8d0fd51 Update release script to generate unix package with dual-license.
Insert the dual-license header into the source for this package.
Requested by FreeBSD.
2011-01-12 09:44:57 -08:00
Robert Moore
d0a022febf Documentation: Update iASL reference for generic data types.
New generic data types for the Data Table Compiler.
2011-01-12 08:50:02 -08:00
Robert Moore
71ef3a82d8 iASL: Merge duplicate UUID support code into single module.
Merged duplicated UUID functions. Adds one new file,
compiler/asluuid.c. Lin Ming, Bob Moore.
2011-01-11 14:44:08 -08:00
Robert Moore
314834b417 iASL: Fix to deterministically detect "Raw Table Data" field in DTC.
Caused a problem with the recent changes for generic data types
in the Data Table compiler. Lin Ming.
2011-01-11 13:19:01 -08:00
Robert Moore
9a5f2aa74c iASL: Add listing support for Data Table Compiler.
Adds listing support (-l) to display actual output for each
line of input code.
2011-01-11 12:41:30 -08:00
Robert Moore
4110b9bdc9 Fix issues/fault with automatic "serialized" method support.
History: This support changes a method to "serialized" on the fly if the
method generates an AE_ALREADY_EXISTS error, indicating the possibility
that it cannot handle reentrancy.

This fix repairs a couple of issues seen in the field, especially on
machines with many cores.

1) Delete method children only upon the exit of the last thread, so
as to not delete objects out from under running threads.

2) Set the "serialized" bit for the method only upon the exit of the
last thread, so as to not cause deadlock when running threads attempt
to exit.

3) Cleanup the use of the AML "MethodFlags" and internal method flags
so that there is no longer any confustion between the two.

Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2011-01-11 10:25:15 -08:00
Robert Moore
a39fa5a0a6 iASL: Add generic data types to the Data Table compiler.
Add "generic" data types such as UINT32, String, Unicode, etc.,
to simplify the generation of platform-defined tables such
as UEFI. Lin Ming.
2011-01-06 13:44:12 -08:00
Robert Moore
a90085ba04 Debugger: Do not invoke methods with too many arguments.
Limit the number of arguments sent to a control method to
the number of required arguments - to avoid a warning
message from the argument checking code.
2011-01-05 09:12:08 -08:00
Robert Moore
13585b2f61 Merge branch 'master' of ssh://git.moblin.org/acpica 2011-01-03 14:07:42 -08:00
Robert Moore
e1db8565bc Tests: Update all copyrights to 2011.
test suites only.
2011-01-03 14:04:49 -08: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
94d7576d54 New: readme file with notes on generating ACPICA under VC 9.
A couple notes on how to eliminate build warnings.
2010-12-20 13:15:14 -08:00
Robert Moore
e4fafef111 Update .gitignore for new msvc9 directory.
new file types added.
2010-12-17 17:25:03 -08:00
Robert Moore
b5f35ebe37 New: Project files for VC++ 9 (Visual Studio 2008)
Ported from the VC++ 6 files. Finally, we can use relative
pathnames.
2010-12-17 17:11:48 -08:00
Robert Moore
bf913c651e Tests: Update include file ordering.
ACPICA-specific headers must appear before system headers
like stdio.h
2010-12-17 17:10:23 -08:00
Robert Moore
21f9129788 Update ordering of include files.
The ACPICA headers should appear before any compiler-specific
headers (stdio.h, etc.) so that acenv.h can set any
necessary compiler-specific defines, etc.
2010-12-17 17:07:16 -08:00
Robert Moore
bb624f47b8 Update msvc header for VC++ 9 (VS 2008)
Add a couple new compiler-specific items to eliminate warnings.
2010-12-17 17:06:14 -08:00
Robert Moore
5d65ffe2ef AcpiSrc: Add option to simply inject dual-license header.
No other transforms performed. -h option.
2010-12-16 13:37:15 -08:00
Robert Moore
01e2d545cd Update pc-lint options file.
Allow acpi names in quoted strings within tables with no comment.
2010-12-15 12:57:04 -08:00
Robert Moore
da9aadea0b Debugger: Lock namespace for duration of a namespace dump.
Prevents issues if the namespace is changing underneath the debugger.
Especially temporary nodes, since the debugger displays these also.
2010-12-15 12:39:36 -08:00
Robert Moore
c3baf042e9 Fix namespace race condition.
Fixes a race condition between method execution and namespace walks
that can possibly fault. Problem was apparently introduced in version
20100528 as a result of a performance optimization that reduces the
number of namespace walks upon method exit by using the
delete_namespace_subtree function instead of the delete_namespace_by_owner
function used previously. Bug is in the delete_namespace_subtree function.
dana.myers@oracle.com
2010-12-14 14:43:51 -08:00
Robert Moore
eda0bf9ae9 Update acpica release generation scripts.
Update comments and pkzip25 path.
2010-12-10 08:54:28 -08:00
Robert Moore
b55e472e92 Update version to 20101209.
Version 20101209.
2010-12-09 09:52:55 -08:00
Robert Moore
f4e52ed7d0 Logfile: Changes for version 20101209.
Version 20101209.
2010-12-09 09:52:13 -08:00
Robert Moore
5bf5e86e50 Windows binaries: Update for version 20101209.
Version 20101209.
2010-12-09 09:50:55 -08:00
Robert Moore
0093d40286 Update for warning on 64-bit generation.
Fix a printf in the aml debugger.
2010-12-09 08:26:11 -08:00
Robert Moore
064e90b753 Update examples/tests for new GPE changes.
Add new file to project files, update API tests for GPE
interface changes.
2010-12-08 10:21:23 -08:00
Robert Moore
5c5b53d53c iASL: Update EOF error message fix.
Handle case where source file is null.
2010-12-03 14:22:55 -08:00
Robert Moore
3efb775402 iASL: Fix error message for premature EOF.
Repairs seek off end-of-file case if a syntax error causes the
parser to reach EOF.

Previously:
[*** iASL: Read error on source code temp file gr.src ***]

Now, something like this:
gr.asl(6) : Error    4096 -  parse error and premature End-Of-File

ACPICA bugzilla 891.
2010-12-03 10:26:45 -08:00