Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
847f19b87f Update iASL/Linux makefile.
Change ordering of linker flags.
2009-05-08 12:47:59 -07:00
Robert Moore
b1c943d6c2 Fix AcpiWalkNamespace race condition with table unload.
Added a reader/writer locking mechanism to allow multiple
concurrent namespace walks (readers), but a dynamic table
unload will have exclusive access to the namespace. This fixes
a problem where a table unload could delete the portion of
the namespace that is currently being examined by a walk.
Adds a new file, utlock.c that implements the reader/writer
lock mechanism. ACPICA BZ 749.
2009-03-06 08:54:39 -08:00
Robert Moore
186aaca9a7 Add semaphores to Linux/Unix application OSL.
Use libsemaphore and libpthread to implement OSL synchronization
interfaces for Linux/Unix.
2008-11-12 13:03:01 -08:00
Robert Moore
35bcda4be0 Update Linux/Unix makefiles for source tree changes.
Affects acpiexec and iASL only.
2008-05-13 13:00:35 -07:00
rmoore1
1be2447fdc New files added 2007-08-30 22:36:27 +00:00
rmoore1
34b612c903 ACPICA: Added new file 2006-09-01 22:13:43 +00:00
rmoore1
62300dae19 The Table Manager component has been completely redesigned and reimplemented. The new design is much simpler, and reduces the overall code and data size of the kernel-resident ACPICA by approximately 5%. Also, it is now possible to obtain the ACPI tables very early during kernel initialization, even before dynamic memory management is initialized. 2006-08-23 19:55:36 +00:00
rmoore1
a4fd233186 New files added 2006-05-12 20:39:35 +00:00
rmoore1
6b648a34c5 New files added 2006-03-24 20:27:32 +00:00
rmoore1
0fc5317d4e Add new file 2006-03-10 17:52:08 +00:00
rmoore1
847b6c19da Add new source file, utresrc.c 2005-11-17 16:37:01 +00:00
aystarik
749868ea0a date 2003.05.24.00.10.00; author agrover; state Exp; 2005-06-29 06:28:02 +00:00
aystarik
7974d9dae8 update for latest changes
date	2002.12.06.18.05.00;	author agrover;	state Exp;
2005-06-29 06:27:49 +00:00
aystarik
09ad82769a date 2002.08.29.22.36.00; author agrover; state Exp; 2005-06-29 06:27:33 +00:00
aystarik
de98fb5907 fix for getopt
date	2002.08.16.00.24.00;	author agrover;	state Exp;
2005-06-29 06:27:15 +00:00
aystarik
8596c6121a update for Bob's addition of the disassembler
date	2002.07.25.01.04.00;	author agrover;	state Exp;
2005-06-29 06:27:04 +00:00
aystarik
c4b078dcbd update for Bob including the whole frickin interpreter in the compiler
optimized compile (why not?)


date	2002.05.01.04.16.00;	author agrover;	state Exp;
2005-06-29 06:26:38 +00:00
aystarik
11de2ea9d0 date 2002.04.18.22.37.00; author agrover; state Exp; 2005-06-29 06:26:21 +00:00
aystarik
0717bb4ae0 explicitly use flex
date	2001.08.03.22.06.00;	author agrover;	state Exp;
2005-06-29 06:26:08 +00:00
aystarik
f7cf244944 date 2001.07.11.00.13.00; author agrover; state Exp; 2005-06-29 06:25:57 +00:00
aystarik
2799e7edb4 changes for latest DB chanegs
date	2001.05.09.22.32.00;	author agrover;	state Exp;
2005-06-29 06:25:45 +00:00
aystarik
5c84865c6c date 2001.04.23.20.10.00; author agrover; state Exp; 2005-06-29 06:25:21 +00:00
aystarik
98d19627c3 date 2001.04.19.23.13.00; author agrover; state Exp; 2005-06-29 06:25:06 +00:00
aystarik
ca0c9fc4ed date 2001.02.22.00.19.00; author agrover; state Exp; 2005-06-29 06:24:51 +00:00
aystarik
d174521832 makefile for ASL compiler under Linux
date	2001.02.22.00.10.00;	author agrover;	state Exp;
2005-06-29 06:24:40 +00:00
aystarik
afd7dc0d33 update for new files, defines
date	2005.06.23.21.03.00;	author rmoore1;	state Exp;
2005-06-29 06:17:17 +00:00