Commit Graph

98 Commits

Author SHA1 Message Date
Robert Moore
015bcb3d8b AcpiExec: Add full line-editing support for Unix/Linux systems.
Adds a portable module to perform line editing via right-arrow,
left-arrow, and the DEL key. Portability is the key here, so
we don't attempt to use readline(), etc.
2013-09-25 12:19:39 -07:00
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
4805c565d8 AcpiDump: Cleanup directory/mapping functions.
This patch splits file mapping implementation from AcpiDump to form a new
OSL osunixmap.c.
The invocations of AcpiOsMap/UnmapMemory are split into the table related
mappings and the memory related mappings in this patch.
This patch also cleans up opendir/readdir/closedir in AcpiDump by replacing
them with OSL directory iteration implementation.  Lv Zheng.
2013-08-22 09:04:55 -07:00
Jung-uk Kim
6d2f24b8c6 Fix binary installations for FreeBSD.
Also strip binaries and set mode by default.
2013-06-27 20:03:09 -04:00
Jung-uk Kim
79d463c63b Use "uname -p" instead of "uname -m" to detect 64-bit processors on FreeBSD. 2013-06-27 20:01:57 -04:00
Robert Moore
1ad15d5595 AcpiDump: Add preliminary support for FreeBSD.
Adds the OSL file for FreeBSD. Updates makefile.
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-19 10:04:55 -07:00
Robert Moore
4cd5eb8593 Makefiles: Update flags for old GCC and other compilers.
Adds support for FreeBSD, which uses old gcc 4.2
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-19 09:21:14 -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
3fc353da22 AcpiDump: Added full support for Linux.
Adds full support for linux platforms. Chao Guan, Bob Moore.
2013-05-31 17:42:48 -07:00
Robert Moore
6421b9db11 Makefiles: add some additional comments/whitespace.
Update for recent APPLE changes.
2013-05-16 09:41:02 -07:00
Liang Qi
b5de16bf4c Support Mac OS X in Makefile
* gcc and clang both works.
* make install works.
* support PREFIX and HOST.
2013-05-11 22:09:10 +02:00
Robert Moore
3d39b6d688 Tests/ASLTS: Update master script for recent makefile changes.
bin32/bin64 changed to simple "bin".
2013-05-09 09:21:59 -07:00
Robert Moore
f559452036 Unix makefiles: Remove unused cross-platform support.
No longer support generation of 32-bit versions of the ACPICA
applications on a 64-bit platform. This was unused and causes
problems with some compilers due to the use of -m32 and -m64 flags.
2013-05-08 12:42:22 -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
1cf06395c0 Update makefiles and project files for new acpidump utility.
Add acpidump utility.
2013-05-02 09:32:44 -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
fddb804e32 Unix makefile: Abort top-level make on any sub-component error.
Add immediate abort on any errors from any of the sub-components
(AcpiExec, iASL, etc.). Chao Guan. ACPICA BZ 1007.
2013-04-29 09:40:23 -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
4cdb22f2d7 Unix/Linux makefiles: Remove use of -O2 flag that causes problems.
For older versions of gcc, -O2 can cause a warning/error concerning
strchr(). This was fixed in gcc 4.5. Chao Guan.
2013-04-16 13:40:11 -07:00
Robert Moore
ad314879f7 Update makefiles and project files for new file.
Add nsarguments.c
2013-04-12 14:32:07 -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
c51e7d4ee1 Split object conversion functions to a new file.
New file, nsconvert.c, for return object conversion functions.
Created in preparation for new conversion functions forthcoming.
2013-02-06 10:29:31 -08:00
Robert Moore
dfa12e559e Makefiles: Change link sequence for better compatibility.
Some compilers need the link flags to be last on the command line.
2013-02-01 09:00:09 -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
e6d56d167f Makefiles: Ensure that binary files always copied properly.
Minor rule change to ensure that the final binary output files
are always copied up to the appropriate binary directory
(bin32 or bin64.)
2012-09-05 08:22:39 -07:00
Robert Moore
3f205c1618 Makefiles: Update linker invocation.
Move the linker flags to the end of the command line.
Otherwise, the link will fail on some platforms.
Guan Chao.
2012-08-09 12:32:04 -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
ff06513880 Update Linux/ACPICA divergence script.
Ensure operation on multiple types of hosts.
2012-07-13 10:22:24 -07:00
Robert Moore
b1b0c25399 Unix makefiles: Allow forced generation of 32-bit utilities.
Enable forced generation of 32-bit utilities on 64-bit platforms.
2012-07-12 14:34:44 -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
d7a58c82f9 Unix makefiles: Split top level make to Makefile.common file.
This will enable a new top level makefile at the acpica root.
2012-06-29 14:21:57 -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
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