Commit Graph

54 Commits

Author SHA1 Message Date
Robert Moore
c078edaa1c iASL: Update makefiles/project_files for the preprocessor.
New files added for the iASL preprocessor.
2012-03-15 13:48:53 -07:00
Robert Moore
aa4b5c6cfa Split sleep/wake functions into two files.
The functions for the original/legacy sleep/wake registers are
in hwsleep.c, and the functions for the new extended FADT V5
sleep registers are in hwesleep.c
2012-02-10 09:51:30 -08:00
Robert Moore
fe9c654a34 ACPI 5.0: Support for new FADT SleepStatus, SleepControl registers.
Adds sleep and wake support for systems with these registers.
One new file, hwxfsleep.c
2012-01-26 14:01:20 -08:00
Robert Moore
47f9c4c675 Update linux/unix makefiles for new source file.
Add utaddress.c to the various makefiles.
2011-12-21 13:29:28 -08:00
Robert Moore
952b405c74 Unix makefiles: Update master makefile to cleanup deletion.
1) don't run clean unless the objXX directory exists
2) don't attempt objXX deletion unless it exists
2011-12-07 14:23:14 -08:00
Robert Moore
b3415fdb2d ACPI 5.0/Makefiles: update for new resource manager file.
New file for new descriptor support.
2011-11-10 10:10:25 +08:00
Robert Moore
73526abc6a Update unix makefiles to generate both 32- and 64-bit tools.
Automatically generate 32 or 64 based on machine. Also allows
forced generation of both 32/64 if desired.
2011-10-14 14:02:15 -07:00
Robert Moore
1547f32ec9 Unix makefiles: Add header dependencies, simplify.
Add dependencies for ACPICA and local headers.
Simplify by using source directory search via "vpath" in order
to eliminate one explicit rule per object/source file.
2011-08-19 13:47:02 -07:00
Robert Moore
a31ff979a1 AcpiXtract: Port to standard ACPICA environment (adds 64-bit support also.)
Also split out the main() routine to a new file.
2011-06-24 10:36:40 -07:00
Robert Moore
c1a4e553db AcpiHelp: Add support to display non-operator ASL keywords.
Adds -k option to display ASL keywords (Space IDs, etc.)
2011-06-23 08:43:57 -07:00
Robert Moore
8aa1e098b2 AcpiHelp: Major feature update (AML opcodes, predefined names).
Add additional capabilities.
Now finds AML opcode information (by name or by hex opcode),
and finds information about ACPI predefined names.
2011-06-17 12:47:34 -07:00
Robert Moore
4bcdec146b All makefiles: Remove optimize flags and unneeded defines.
Optimizations like -O2 are seen to cause issues with some compilers.
Remove unneeded defines like DEBUG, _CONSOLE, etc.
Add _GNU_SOURCE to the Linux makefiles.
2011-06-10 10:36:49 -07:00
Robert Moore
6f0bc401ca All makefiles: Cleanup use of command-line #defines.
Common defines now all appear in acenv.h. Simplifies all makefiles.
2011-06-08 15:00:21 -07:00
Robert Moore
fd3949f488 Unix/Linux makefiles: cleanup multithread support.
The only acpica tool that requires multithread support is
acpiexec. Along with previous changes to the actual source code,
this change removes unnecessary use of threading libraries.
2011-06-08 10:11:12 -07:00
Robert Moore
a94cd4cb17 Update linux/unix makefile readme files.
Update for new utilities and new information.
2011-06-07 12:43:15 -07:00
Robert Moore
4ffab75309 Generic unix makefiles: general cleanup.
Cleanup and reformatting.
2011-06-03 14:17:09 -07:00
Robert Moore
5adfba9805 AcpiBin: Update for correct unix/linux generation.
Fix warnings under GCC 4. Add generic unix makefile.
2011-06-03 14:15:22 -07:00
Robert Moore
9f66564370 Generic Unix makefiles: Update makefile headers.
Update purpose of the makefile and add a warning that these makefiles
are only suitable for generation within the native ACPICA directory
structure (which is different than Linux, for example.)
2011-06-01 14:51:07 -07:00
Robert Moore
29f3832223 New: AcpiHelp utility.
Provides syntax for ASL operators, and input/output requirements
for predefined ACPI names (Names that start with underscore.)
2011-06-01 12:55:50 -07:00
Robert Moore
dc30ba95f5 Update generic unix makefile for gcc 4.
Default gcc version is now expected to be 4 or greater.
2011-05-25 08:09:55 -07:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Robert Moore
b0a99f238c Split large file, evgpeblk.c.
Create two new files, evgpeinit.c and evgpeutil.c. Updated unix and
linux makefiles.
2010-04-09 09:01:59 -07:00
Robert Moore
eeb88574ee iASL: Add predefined name checking for static names.
Adds typechecking for static (non-control-method) predefined names.
Migrates compiler to use the common predefined name table (acpredef.h).
Adds a single new file, aslpredef.c. ACPICA BZ 832.
2010-03-02 13:43:56 -08:00
Robert Moore
e51c2639b6 Enhance configuration for output of AML Debug Object.
This change will enable debug object output via a global variable,
AcpiGbl_EnableAmlDebugObject. This will help with remote machine
debugging. Also, moved all debug object support code to a new file,
executer/exdebug.c. Entire debug object module can now be configured
out of the ACPICA build if desired. Lin Ming, Bob Moore.
2010-02-26 13:48:18 -08:00
Robert Moore
cdfcc7cfce Update for new gcc-4 warning options.
Added several new options for the gcc-4 generation, and updated the source
accordingly. This includes some code restructuring to eliminate unreachable
code, elimination of some gotos, elimination of unused return values, and
some additional casting.
2010-01-08 08:14:05 -08:00
Robert Moore
24a732b0d5 Generic unix makefiles: Add additional warning options.
Mostly for gcc 4.
2009-12-18 12:33:38 -08:00
Robert Moore
829c0044e5 Add repair for predefined methods that must return sorted lists.
This change will repair (by sorting) packages returned by _ALR,
_PSS, and _TSS. Drivers can now assume that the packages are
correctly sorted. Adds one new file, namespace/nsrepair2.c
ACPICA BZ 784. Lin Ming, Bob Moore.
2009-11-04 13:57:17 -08:00