10936 Commits

Author SHA1 Message Date
Robert Moore
f3863d6e5c Fix to allow region arguments to reference other scopes.
Allow referenced objects to be in a different scope.
Lin Ming.
2011-10-12 13:52:21 -07:00
Robert Moore
ccdeddbaf0 Fix unix-specific OSL for 32-bit generation.
Fixes a problem where the casting of the pthread value could cause
an error. ACPICA BZ 936. Lin Ming.
2011-10-12 08:28:18 -07:00
Robert Moore
49d8d601c1 Disassembler: Eliminate extra spaces in buffer disassembly.
Remove extra space at the end of each buffer data output line.
2011-10-12 08:21:22 -07:00
Robert Moore
7acf57cb95 Disassembler: Add option to disable Buffer->ResourceTemplate disassembly.
There may be cases where it is not desireable to fully disassemble a
buffer to a ResourceTemplate.
2011-10-11 13:36:12 -07:00
Robert Moore
26d92b01a1 Disassembler: Fix for DataTableRegion operator.
Fix for inadvertent error message during disassembly of this operator.
Message was "Unhandled deferred opcode".
2011-10-11 13:28:02 -07:00
Robert Moore
b2be089f21 AcpiHelp: Display expanded keyword info for all ASL operators.
For any and all keywords associated with an ASL operator, display
the keyword info -- all possible values for the keyword.
2011-10-07 14:32:19 -07:00
Robert Moore
cf5fef749b iASL: Add __PATH__ operator.
Returns the full path to the current file, if available.
__FILE__ now always returns the simple filename.
2011-10-07 09:14:05 -07:00
Robert Moore
348a6da123 Tests-ASLTS: Update for resource descriptor changes.
Resource tag references now always return a bit offset, not
sometimes bit, sometimes byte. Update descriptor tests to
reflect this change.
2011-10-05 12:22:03 -07:00
Robert Moore
6ac92ae253 iASL: Fix listing output for switch operator.
Switch caused the AML listing output to be suspended until much
later in the listing file. This change fixes the problem.
2011-10-04 15:09:43 -07:00
Robert Moore
25999a4189 Update .gitignore file.
For unix filenames.
2011-10-04 08:18:27 -07:00
Robert Moore
e3f7713188 Update for GCC 4.6
Fixes several issues with GCC 4.6 related to the new checks
for unused variables.
2011-10-04 07:55:35 -07:00
Robert Moore
07f4b5eb16 iASL: Harden error printing code against null message strings.
Prevent possible fault if main message is null string or zero
length string.
2011-09-30 13:58:22 -07:00
Robert Moore
c7c6a163ea Tests: Add master script to generate and run ASLTS.
Compile iASL/AcpiExec, compile tests, run ASLTS.
"All in one". Lin Ming, Bob Moore.
2011-09-29 14:08:16 -07:00
Robert Moore
c9b25b3250 Tests: Fix ASLTS "Do" script for incorrect use of $PWD.
Did not work on all platforms.
2011-09-29 14:07:05 -07:00
Robert Moore
aa94fcaa88 Update badcode.asl example for resource tag length checks.
iASL now checks lengths of fields created against resource tags,
they must match.
2011-09-28 10:11:28 -07:00
Robert Moore
8db2bdab94 Update to version 20110922.
Version 20110922.
R09_22_11
2011-09-22 09:09:10 -07:00
Robert Moore
ee81c0185a Logfile: Changes for version 20110922.
Version 20110922.
2011-09-22 09:08:43 -07:00
Robert Moore
a71ddb633d Windows binaries: Update for version 20110922.
Version 20110922.
2011-09-22 09:08:07 -07:00
Robert Moore
c7cd1fe110 AcpiXtract: Lowercase all output filenames.
Simplify filenames on systems that are case-sensitive.
2011-09-21 15:19:38 -07:00
Robert Moore
8df82fc77f AcpiHelp: Add missing table terminator.
Fixes possible fault in the -p option.
2011-09-20 09:34:02 -07:00
Robert Moore
858f7beecf iASL: Fix some VarPackage issues.
1) properly handle constants like One,Ones,Zero. Do not make a
var_package when these are used as a package length.
2) Allow VAR_PACKAGE (in addition to PACKAGE) opcode when validating
object types for predifined names.
2011-09-16 13:11:24 -07:00
Robert Moore
5e40c31ec4 Tests: Add unix setup file for ASLTS suite.
more unix flavor than the .cygwin file.
2011-09-13 15:04:45 -07:00
Robert Moore
3ff4069333 Tests: Fix an illegal _HID within alsts.
Change several _HID strings.
2011-09-13 12:44:17 -07:00
Robert Moore
62268be19e AcpiExec: ignore non-aml tables.
Don't load non-aml tables that are specified on the command line.
Prevents issues, especially with odd tables like the RSDP.
However, allow loading of the FADT. ACPICA BZ 932.
2011-09-13 08:41:47 -07:00
Robert Moore
72b04989b2 iASL/DTC: Add -G option to compile custom/generic tables.
Allows construction of custom ACPI tables that contain a standard
ACPI table header, and the rest of the table is defined using
the "generic" data terms (UINT32, etc.)
LinMing.
2011-09-09 12:48:01 -07:00
Robert Moore
7e826fbbfa iASL: Alphabetize error messages, no functional change.
Cleanup master list of error/warning messages.
2011-09-02 14:06:20 -07:00
Robert Moore
bd2e51cfa9 iASL: Check access length for ResourceTag references.
When compiling CreateXxxField operators that access resource descriptor tags,
check that the bit access width matches the actual width of the resource
descriptor field referenced by the tag. ACPICA BZ 930.
2011-09-02 13:53:35 -07:00
Robert Moore
0341583276 Fix maximum AML Sleep() time to two seconds.
Was indadvertently limited to 20 seconds instead of 2 seconds.
This change fixes the problem.
2011-08-30 08:17:56 -07:00
Robert Moore
2b8ab3c4fd iASL: Fix to seek to zero on AML file for listings.
Fixes a problem introduced in a previous commit to emit more
file statistics for the iASL summary. The getfilesize function no
longer leaves the file at offset 0, it preserves the current
offset. Therefore, this patch fixes code that depended on that
behavior.
2011-08-25 12:52:17 -07:00
Robert Moore
f8d85c9777 iASL: Emit statistics for all optional output files.
Listing, hex, etc. files. Display filename and filesize for
each selected optional file, in addition to the ASL input
and AML output files.
2011-08-23 15:12:26 -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
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
c6e4bc259f AcpiSrc: Fix possible divide-by-zero fault.
Occurred if no files or no lines were processed.
2011-08-19 12:32:12 -07:00
Robert Moore
b2b7ab725c iASL: Add error message for root parse node failure.
Error message if the parse tree root node does not get
found/created.
2011-08-19 08:01:42 -07:00
Robert Moore
45ebe2cf90 Disassembler: Fix problem with UINT24 and UINT56 output.
Bytes were reversed for these types. Fortunately, these are mostly
used for reserved fields. UINT24 is used for actual data in one
field of the SRAT (ProximityDomainHi).
2011-08-04 13:17:19 -07:00
Robert Moore
96376edca3 AcpiHelp: Add AccessAs and Offset operators.
These operators were missing from the ACPI specification and thus
did not get pulled into this utility. ACPI 5.0 spec adds them,
and they are added to AcpiHelp.
2011-07-29 14:01:49 -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
373b57f06d Tools: Standardize usage help messages.
Add new common macros for usage messages.
2011-06-24 08:20:20 -07:00
Robert Moore
dedc9e10e2 Update to version 20110623.
Version 20110623.
2011-06-23 09:18:06 -07:00
Robert Moore
ae38e7b5a7 Logfile: Changes for version 20110623.
Version 20110623.
2011-06-23 09:17:29 -07:00
Robert Moore
61daee6dfd Windows binaries: Update for version 20110623.
Version 20110623.
2011-06-23 09:13:44 -07:00
Robert Moore
462c5c7edc Update .gitignore
for .sh files.
2011-06-23 08:52:33 -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
96e28acc9e AcpiHelp: Add -a (display all) option. Split long lines on output.
-a displays all operators/opcodes of the type selected.
Added function to split all long lines on output.
2011-06-22 13:53:25 -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
08a6614c84 AcpiHelp: Fix a printf formatting warning under Linux. 2011-06-10 10:39:58 -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