Robert Moore
d8a0e964dd
iASL/Makefile: Add parallel compilation support.
...
This patch enables parallel compilation for iASL. Fixes issues
caused by the YACC header generation.
Reported by Andrew McDermott, fixed by Lv Zheng.
2013-09-18 13:15:38 -07:00
Robert Moore
88982558e5
Makefiles: Update to improve portability.
...
1) Use $(MAKE) instead of naked make.
2) Consistently use braces instead of parentheses.
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-18 12:34:01 -07:00
Robert Moore
1553228079
iASL: Split large main module into two files.
...
Adds a new file, asloptions.c, that contains the command-line
option processing.
2013-05-07 13:40:23 -07:00
Robert Moore
2dbd8e17fb
Update makefiles and project files for new file.
...
Add tbprint.c
2013-04-30 08:26:20 -07:00
Robert Moore
a9d8bd031d
Update makefiles and project files for new file.
...
Add uterror.c
2013-04-19 14:15:32 -07:00
Robert Moore
3cc4aaba03
Update makefiles and project files for new file.
...
Add utbuffer.c
2013-04-19 10:05:13 -07:00
Robert Moore
c79891a16a
iASL: Add support for an "offset table" output file.
...
The -so option will create a C table containing offsets of various
named objects so that BIOS code can modifiy them easily at boot
time. Simplifies BIOS code and provides greater reliability.
2013-03-15 09:27:23 -07:00
Robert Moore
cd230d278a
Makefiles and project files: update for new source file.
...
New file is utilities/utpredef.c
2013-02-27 13:41:51 -08:00
Robert Moore
73fd636107
iASL: Add validation of predefined name package objects.
...
This change adds validation of static package objects returned
by the various predefined names. Object types and package lengths
are validated. The code is similar to the repair mechanism within
the interpreter, and uses the common predefined name table.
2013-02-12 13:03:47 -08:00
Robert Moore
3e45e0f238
Update the generic Unix makefiles.
...
1) Add OPT_CFLAGS to allow the warning flags to by overriden by
the command line. Thomas Renninger (trenn@suse.de )
2) Eliminate extraneous spaces from the makefile execution output.
2013-01-24 13:52:41 -08:00
Robert Moore
1a7373c3b6
Makefiles/projectfiles: Update for new files.
...
Five new iASL files added.
2012-12-14 09:24:30 -08:00
Robert Moore
37f8669676
Unix makefiles: Update for new files.
...
Eight new files.
2012-12-12 14:31:08 -08:00
Robert Moore
9b3792d65b
Makefiles: Cleanup some whitespace/tab issues.
...
Cosmetic changes only. Thomas Renninger.
2012-11-14 07:51:05 -08:00
Robert Moore
adb8709e05
Debugger: Major update for the Disassemble<method> command.
...
This command was downreved and did not properly disassemble control
methods with any reasonable complexity. This fix brings the
command up to the same level as the rest of the disassembler.
Adds one new file, dmdeferred.c, which is existing code that is
now common with the main disassembler and the debugger disassembl
command.
2012-10-31 13:57:20 -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
04520d5f9f
Unix makefiles: Add common Makefile.rules file.
...
Simplify makefiles by using a common rules file.
2012-07-13 14:27:28 -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
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
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
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
4ffab75309
Generic unix makefiles: general cleanup.
...
Cleanup and reformatting.
2011-06-03 14:17:09 -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
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
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
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
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
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
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
ecea3cc012
Disassembler: Restructure code for externals, no functional change.
...
Add new file for handling of ASL External() statements. Consolidates
all such code, it is used only for iASL disassembler (not kernel code
or acpiexec.)
2009-10-01 13:33:07 -07:00
Robert Moore
db2eb1f5b8
Add makefiles for generic unix generation of acpica.
...
Makefiles to generate the acpica tools and utilities from within
the original acpica source tree.
2009-04-22 09:48:38 -07:00