Commit Graph

129 Commits

Author SHA1 Message Date
Robert Moore
e4eeff5dba Linuxize scripts: Add an ACPICA release library.
This patch removes deprecated generate/linux/patches folder, moves useful
release scripts to the generate/linux folder, reduces code redundancy by
creating a script library libacpica.sh file under generate/linux folder.
Lv Zheng.
2013-08-22 08:33:00 -07:00
Robert Moore
2160740a2d Linux patch makefiles: Improve patch generation.
The make-patches.pl will generate patches with broken patch descriptions.  This
is because the script is written to generate Linuxized patches for CVS commits.
The complexity in the make-patches.pl is not needed as GIT has offered many
features to let the patch descriptions to be extracted correctly from the
command line.
The new make-patches.sh script invokes git-extract.sh to provide equivalent
functionalities as make-patches.pl for ACPICA release.  This patch also modifies
the git-extract.sh to allow generation of patches that can be used as a part of
an ACPICA release patch set.  Lv Zheng.
2013-07-31 14:52:18 -07:00
Robert Moore
8751a199dc Add new linux generation script for ACPICA.
git-extract.sh: can extract:
1. Linux source tree at a specified commit point
2. Linux patch for a specified commit From ACPICA repository
Lv Zheng.
2013-07-24 09:37:27 -07:00
Robert Moore
7d16594c20 Linux scripts: Update acpisrc generation script.
bin32 and bin64 are now obsolete, update script.
2013-07-19 09:43:58 -07:00
Robert Moore
223f4d39c5 Update Linux-specific script files.
Changes for divergence/patch scripts. Lv Zheng.
2013-03-27 11:36:31 -07:00
Robert Moore
711adab7d4 Linux scripts: Make AcpiSrc utility compile optional.
The enhancement of AcpiSrc generation per-commit could not meet
all requirements of the monthly ACPICA -> Linux release process.
This patch allows the per-commit generation to be selected by the
users. Lv Zheng.
2013-02-06 09:35:40 -08:00
Robert Moore
a37301083f Linuxize: Move acpisrc generation from make-patch.pl to linuxize.sh.
This fix can help to generate correct linuxized patch where the
version of the acpisrc is critical. Lv Zheng.
2013-01-16 09:40:46 -08:00
Robert Moore
f8873db6c0 Linuxize: Add patch header fields for linuxized patches.
Linuxized patches lack patch headers, thus can not be
directly applied to the Linux source codes. This patch updates
the scripts to allow patch headers to be generated for the
linuxized patches. Lv Zheng.
2013-01-16 09:38:17 -08:00
Robert Moore
cedd5d194a Update linux scripts.
Generation and divergence scripts. Lv Zheng.
2012-11-13 13:06:48 -08:00
Robert Moore
6c783a232a Update linux scripts.
Use the new generic makefiles for acpisrc utility.
Lv Zheng.
2012-09-21 10:34:30 -07:00
Robert Moore
dbf3ef2b43 Remove obsolete "Linux" makefiles.
These makefiles are obsolete and have been replaced by the generic
unix makefiles under acpica/generate/unix.
2012-09-06 08:49:17 -07:00
Robert Moore
6e0b539d0c Divergence script: Auto-select 32/64 versions of AcpiSrc utility.
Automatically determine the host bitwidth and generate the appropriate
version of the AcpiSrc conversion utility.
2012-07-31 10:07:21 -07:00
Robert Moore
4abb1d5754 Makefiles: Update for new file, utxfinit.c
New file created as a result of split of utxface.c
2012-07-19 10:47:55 -07:00
Robert Moore
5a77772e0d Update linux/ACPICA divergence script - add diffstat output.
Creates a diffstat.txt file
2012-07-17 15:08:17 -07:00
Robert Moore
b9058029d3 Linux/ACPICA divergence script: Add error checking.
Add some checks for input, etc.
2012-07-13 14:29:48 -07:00
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