490 Commits

Author SHA1 Message Date
Robert Moore
16c9bbd6a3 iASL: Changes to cleanup support for Berkeley yacc.
A general cleanup of code and various options to simplify the
support for two parser generators, Bison and yacc.
2011-04-15 10:03:35 -07:00
Robert Moore
369c0f165c iASL/DTC: Finish support for expression evaluation.
Added a new expression parser that implements c-style operator
precedence and parenthesization. ACPICA bugzilla 908.
2011-04-08 12:27:17 -07:00
Robert Moore
1a9826914d Unix makefiles: remove unreachable-code warning option.
Cannot use this option.
2011-04-08 10:29:11 -07:00
Robert Moore
c249ac337d Lint: Update options file.
Supress a couple extraneous warnings.
2011-03-29 13:47:39 -07:00
Robert Moore
75da1e778b Unix makefiles: Update compiler options.
Newer versions of gcc do not compile ACPICA with any levels of
strict-aliasing, set to zero.
2011-03-24 14:58:38 -07:00
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
a2a71802ae iASL: Linux makefile - remove double file inclusion.
aslbtypes.o was inadvertently specified twice.
2011-03-08 08:05:10 -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
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
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
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
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
08e05f863b Update Windows project files.
Disable some warnings, update iASL build
2011-01-21 12:18:52 -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
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
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
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
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
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
eda0bf9ae9 Update acpica release generation scripts.
Update comments and pkzip25 path.
2010-12-10 08:54:28 -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
818d9a5f31 New: AcpiNames - Example namespace dump utility.
Shows example of ACPICA configuration for a minimal namespace
dump utility. Uses table and namespace managers, but no AML
interpreter.

Does not add any functionality over AcpiExec. It is a subset
of AcpiExec. The purpose is to show how to partition and
configure ACPICA.
2010-12-01 14:33:02 -08:00
Robert Moore
168720677c Update Windows project files.
Add new GPE file, evxfgpe.c
2010-12-01 13:09:38 -08:00
Robert Moore
3bc77e86ae GPE support code overhaul and enhancement.
Contains the complete overhaul of the GPE support code including
removal of _PRW execution, improved handling of wake GPEs, new
external interfaces, and implicit notify support. ACPICA BZ 858,
870,877. Matthew Garrett, Lin Ming, Bob Moore, Rafael Wysocki.

Note: This support is committed as a single patch here because
of multiple patch backporting from Linux and the resulting
interdependency issues.

See the ACPICA reference for full documentation.
2010-12-01 12:57:25 -08:00
Robert Moore
57e7b47059 Example code: Update windows project file/ACPI_SINGLE_THREADED
Add this new option.
2010-10-08 13:45:55 -07:00
Robert Moore
45fdbcf3b2 iASL: Update windows project file.
Added new header file.
2010-10-05 09:56:18 -07:00
Robert Moore
c6b43c4c8b AcpiBin: Update Windows project file.
ACPI_APPLICATION define no longer needed.
2010-10-01 12:18:56 -07:00
Robert Moore
28b20c5ca6 AcpiExec: Fix for 64-bit build (add XSDT support).
Now uses XSDT exclusively instead of RSDT.
Also, split AML data into new file, aetables.h
2010-09-30 09:59:55 -07:00
Robert Moore
ecc57b86d9 Replace _MULTI_THREADED with ACPI_SINGLE_THREADED and cleanup.
Cleanup the optional multi/single threaded code for semaphores.
2010-09-24 14:32:44 -07:00
Robert Moore
2f1cd3471f Update AcpiBin project file.
For new file, utxferror.c
2010-09-15 10:05:42 -07:00
Robert Moore
e833f7b424 iASL/Disassembler: Write ACPI errors to stderr instead of output file.
This keeps the output files clean of random error messages that may
originate from within the namespace/interpreter code.

Used this opportunity to merge all ACPI:-style messages into a single
new module, utxferror.c. ACPICA bugzilla 866.
2010-09-10 12:48:36 -07:00
Robert Moore
3b9da14964 Update iASL generic unix makefile.
-lrt option is not necessary.
2010-08-26 09:37:00 -07:00
Robert Moore
40ac8b3ff3 Update generic unix makefiles
remove.exe extension, add define for _GNU_SOURCE, add
-lpthread and -lrt loader flags for iasl.
Lin Ming.
2010-08-20 12:41:45 -07:00
Robert Moore
08fd52445b Obsolete the AcpiOsDerivePciId OSL interface.
This function is not OS-dependent and has been replaced by
AcpiHwDerivePciId, which is now in the ACPICA core code.
Local implementations of AcpiOsDerivePciId are no longer
necessary and may be removed. ACPICA BZ 857.
2010-08-17 10:22:06 -07:00
Robert Moore
cd18a057a9 Tests: Update aapits for interface changes.
Also add new file (utosi.c) to project file.
2010-08-06 09:03:32 -07:00
Robert Moore
8ad66eb93a Add new host interfaces for _OSI support.
Adds install/remove interfaces so that the host can dynamically
alter the global _OSI table. Also adds support for _OSI handlers.
Additional support: new debugger command (osi), and test support
in the acpiexec utility. Adds new file, utilities/utosi.c.
Lin Ming, Bob Moore. ACPICA bugzilla 836.
2010-08-05 14:18:28 -07:00
Robert Moore
b87ffc0b38 Update Linux makefiles.
Fix a few path problems with the new makefiles.
2010-07-13 13:08:44 -07:00
Robert Moore
139ed8b13d Tests: Update aapits for interface changes.
Also add new files to project file.
2010-07-02 08:45:07 -07:00
Robert Moore
452c206f89 Update release build script.
For new test/template directory.
2010-06-11 14:58:12 -07:00
Robert Moore
cfb8976152 Update Linux makefiles to prevent object file collisions.
Update the iASL and AcpiExec makefiles so that the objects are
generated in the local directory. This prevents collisions due to
the generation of the common ACPICA code (which is compiled with
different options for both.) ACPICA BZ 864.
2010-06-11 13:22:39 -07:00
Robert Moore
1ad056a79f iASL: Add support to generate ACPI Data Table Template files.
These files can be used as the starting point for an actual ACPI
table, to be compiled via the iASL Data Table Compiler.
2010-06-02 13:45:39 -07:00
Robert Moore
b5dc1a48a1 iASL: Fix some issues with data table compiler integration.
Fixes a fault when using wildcards, Fixes linux generation makefile,
adds support for multi-line buffers in the SLIT table.
2010-05-24 10:18:16 -07:00
Robert Moore
09f8e27f3c iASL: Update makefiles and project files for data table compiler.
Update the Linux and Unix makefiles, plus the Windows project
file for iASL.
2010-05-21 14:20:46 -07:00
Robert Moore
f9c241317d Update linux makefile for iASL changes.
New files added, makefile cleaned up.
2010-04-23 14:45:57 -07:00
Robert Moore
6d8374fa06 Tests: Add new file with examples of extended iASL error checking.
Shows advanced error checking ability of iASL. Compiles with no errors
with ASL.
2010-04-23 09:22:19 -07:00
Robert Moore
8e3a28a487 iASL: Split large aslrestype1.c and aslrestype2.c files.
New files are aslrestype1i.c, aslrestype2d.c, aslrestype2e.c,
aslrestype2q.c, and aslrestype2w.c
2010-04-22 09:36:27 -07:00