10975 Commits

Author SHA1 Message Date
Robert Moore
8b3f242f8d AcpiExec: Fix Linux makefile.
Had two inclusions of utdebug.c
2011-03-22 08:15:19 -07:00
Robert Moore
a831d91d07 Split all internal Global Lock functions to new file - evglock.c
These functions were moved from evmisc.c
2011-03-17 14:41:54 -07:00
Robert Moore
b7fb31cc1d iASL: Add * option to generate all template files.
Add * as a synonym for ALL.
2011-03-17 12:40:17 -07:00
Robert Moore
67c2cd6f79 iASL/DTC: Do not abort compiler on fatal errors.
We do not want to completely abort the compiler on "fatal" errors, simply
should abort the current compile. This allows multiple compiles with a
single (possibly wildcard) compiler invocation.
2011-03-17 12:24:42 -07:00
Robert Moore
b26103533f Update version to 20110316.
Version 20110316.
2011-03-16 09:34:55 -07:00
Robert Moore
a6756e7894 Logfile: Changes for version 20110316.
Version 20110316.
2011-03-16 09:34:13 -07:00
Robert Moore
8b623d6c34 Windows binaries: Update for version 20110316.
Version 20110316.
2011-03-16 09:33:26 -07:00
Robert Moore
a2a71802ae iASL: Linux makefile - remove double file inclusion.
aslbtypes.o was inadvertently specified twice.
2011-03-08 08:05:10 -08:00
Robert Moore
14bbc354c3 Handle spurious Global Lock interrupts.
On some systems, a global lock interrupt can occur without the pending
flag being set. Upon a GL interrupt, we now ensure that a thread
is actually waiting for the lock before signalling GL availability.
Rafael Wysocki, Bob Moore.
2011-03-04 13:10:14 -08:00
Robert Moore
99943f0950 iASL: Add template support for SLIC table.
Software Licensing table.
2011-03-02 14:59:43 -08:00
Robert Moore
41e8ec7f2f iASL/DTC: Add support for compiling SLIC table.
Software Licensing table. Lin Ming, Bob Moore.
2011-03-02 14:20:27 -08:00
Robert Moore
62230afb8f Disassembler: Add support for SLIC table.
Software licensing table.
2011-02-25 16:30:39 -08:00
Robert Moore
baab09e685 AcpiXtract: Fix to handle embedded comments/msgs from acpidump
Apparently some or all versions of acpidump will occasionally drop
a comment like "Wrong checksum", etc., into the dump file. This
was causing problems for AcpiXtract. ACPICA BZ 905.
2011-02-25 15:58:05 -08:00
Robert Moore
c846f9b22f Header support for SLIC table.
We finally have the definition for this table.
2011-02-25 15:14:09 -08:00
Robert Moore
e0bd5ee315 iASL: Add large comment concerning module-level code.
Comment the grammar file as to how and why module-level code is
supported by the compiler.
2011-02-17 10:34:05 -08:00
Robert Moore
7df6612545 Handle _PRW at root scope case during wake GPE setup.
A fault was caused if a _PRW under the root object was passed
to the AcpiSetupGpeForWake interface. Lin Ming.
2011-02-17 08:56:37 -08:00
Robert Moore
f1d615e1bf AcpiExec: restore installation of a single user-defined region.
This region is required by ASLTS suite.
2011-02-15 14:58:00 -08:00
Robert Moore
9d813eae95 Update version to 20110211.
Version 20110211.
2011-02-11 13:48:52 -08:00
Robert Moore
eb5df973ec Logfile: Changes for version 20110211.
Version 20110211.
2011-02-11 13:48:22 -08:00
Robert Moore
447d744332 Windows binaries: Update for version 20110211.
Version 20110211.
2011-02-11 13:47:45 -08:00
Robert Moore
8fa73da057 Documentation: Update iASL ref for integer expression support.
Also, "generic" types for UEFI table
2011-02-11 13:46:17 -08:00
Robert Moore
a86df6f035 Update readme for unix makefile changes.
Add info for "make install"
2011-02-11 13:30:09 -08:00
Robert Moore
016ae3e140 Unix makefiles: add "make install" case -> /usr/bin
install acpica utilities to /usr/bin
2011-02-11 13:07:07 -08:00
Robert Moore
2234a29e98 iASL/DTC: fix for unix/linux generation.
Add a default to switch.
2011-02-11 13:05:41 -08:00
Robert Moore
34bc53edda AcpiExec: Do not override default handler for DataTable regions.
Should not override this handler, the default handler should be used.
Also, ASLTS suite depends on this.
2011-02-11 12:15:41 -08:00
Robert Moore
a7064f1a22 Tests: Update badcode.asl for iASL GPE type collision detection.
Add a collision between _Lxx and _Exx names, iASL now detects this.
2011-02-08 13:02:03 -08:00
Robert Moore
5629930ac6 iASL/DTC: Fix scanner issues with comments and line numbers.
Comment remover could get confused and miss a comment ending.
Fixed a problem with line counter maintenance.
2011-02-03 13:54:18 -08:00
Robert Moore
4ac95ece8f iASL: Cleanup use of TrWalkParseTree, eliminate null callbacks.
Removed several callbacks that served no purpose. TrWalkParseTree
has the capability to invoke callbacks during descent or ascent
of a depth-first search. ACPICA BZ 901.
2011-02-01 14:34:54 -08:00
Robert Moore
2e989b5ac1 iASL: Add detection of GPE method name conflicts.
Detects a conflict where there are two GPE methods of the form
_Lxy and _Exy in the same scope. ACPICA bugzilla 848.
(For example, _L1D and _E1D in the same scope.)
2011-02-01 13:37:31 -08:00
Robert Moore
25f99e9523 iASL: Split large file aslanalyze.c into three files.
Split into two new files, aslbtypes.c and aslwalks.c.
2011-02-01 13:10:47 -08:00
Robert Moore
24b79d93e7 AcpiSrc: Add new struct definition.
ACPI_HANDLER_INFO.
2011-01-28 13:49:08 -08:00
Robert Moore
8ab2602d47 AcpiExec: Split handler installation into early/late phases.
Most handlers should be installed before call to AcpiEnableSubsystem.
However, Event handlers and region handlers should be installed
after AcpiInitializeObjects. Override handlers for the "default"
regions should be installed early, however.
ACPICA BZ 848.
2011-01-28 13:35:10 -08:00
Robert Moore
ceee99f6e0 Add mechanism to defer _REG methods for some installed handlers.
The memory/io/pci/dataTable regions must always be available. For
any user installed handlers for these spaces, defer execution of
_REG methods until AcpiEnableSubsystem. This prevents any
chicken/egg problems and ensures that no methods are executed
until all of these regions are ready and available.
2011-01-28 12:37:20 -08:00
Robert Moore
21575b86a8 Debugger: Update/cleanup display handlers command
Improved output and code cleanup.
2011-01-28 12:35:43 -08:00
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