Commit Graph

114 Commits

Author SHA1 Message Date
Robert Moore
ff06513880 Update Linux/ACPICA divergence script.
Ensure operation on multiple types of hosts.
2012-07-13 10:22:24 -07:00
Robert Moore
91948ecb22 Add script to generate Linux/ACPICA divergences.
Simplify tracking of differences between Linux ACPICA code, and
the native ACPICA code.
2012-07-12 14:36:20 -07:00
Robert Moore
e4e99ffc4c Update for unix/linux makefiles.
1) Add -D_FORTIFY_SOURCE=2 to compile flags for Linux generation
2) Use "install" to install the utilities.
2012-07-11 13:50:33 -07:00
Robert Moore
83136604a9 Update makefiles/projectfiles for new file, tbxfload.c
updates all makefiles and MS project files.
2012-06-29 10:55:25 -07:00
Robert Moore
c725de3b1c AcpiHelp: Add new file (utexcep.c) to makefils and project files.
Adds support for the -e option to decode ACPICA exceptions.
2012-06-26 09:14:25 -07:00
Robert Moore
69823cf044 Update makefiles for new file, utexcep.c
Update the linux and unix makefiles.
2012-06-21 13:20:24 -07:00
Robert Moore
3773b5ac3e Project/Make files: Update for file move.
Moved ahpredef.c to the common directory for use by iASL
in addition to AcpiHelp.
2012-05-25 10:20:25 -07:00
Robert Moore
b99aec25a4 iASL: Update Linux/Unix makefiles for new file.
Add aslsupport.l
2012-04-02 14:52:16 -07:00
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
f44723d7e5 Linux makefiles: Update for new unix tarball directory structure.
Update the makefiles to match the updated tarball directory
structure -- which in turn was updated to match the ACPICA
git source tree.
2012-01-18 13:55:45 -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
a440cb215b ACPI 5.0: New interfaces to allow driver access to AML mutex objects.
Adds AcpiAcquireMutex, AcpiReleaseMutex external interfaces.
New file, utilities/utxfmutex.c.
Lin Ming, Bob Moore.
2011-11-10 10:10:25 +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
7f4d1050bf ACPI 5.0: Update makefiles for new disassembler file.
New file: dmresrcl.c
2011-11-10 10:10:24 +08:00
Robert Moore
59836be063 Update linux patch creation scripts.
Minor updates. Lin Ming.
2011-11-10 10:10:24 +08:00
Robert Moore
1661a43a4c ACPI 5.0: Split new descriptors to new file, aslrestype2s.c
Original file became too large.
2011-11-10 10:10:22 +08:00
Robert Moore
3d58a14139 Linux 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:45:04 -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
1d6a2cb464 Linux makefiles: add helper scripts to run linux makefiles from git tree.
The final linux tree is slightly different, these scripts allow testing
of the makefiles.
2011-06-22 14:02:00 -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
c30da62310 Linux makefiles: rework and reformat the tool generation makefiles.
Add the same warning flags as the unix makefiles (except for
gcc4-specific warnings.) reformat the files.
2011-06-03 14:19:27 -07:00
Robert Moore
3697135d47 Linux makefiles: Update makefile headers.
Update purpose of the makefile and add a warning that the makefiles
are only suitable for use on Linux, with the Linux directory
structure (different than the native ACPICA directory structure.)
2011-06-01 14:29:54 -07:00
Robert Moore
1adcf06bb3 iASL: Linux makefile: Add -Wstrict-aliasing=0 flag for GCC-4.
GCC-4 is much stricter about aliasing, disable it.
2011-06-01 13:58:33 -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
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
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
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
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
b87ffc0b38 Update Linux makefiles.
Fix a few path problems with the new makefiles.
2010-07-13 13:08:44 -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