Robert Moore
d503b1488e
iASL/Acpi5: Fix a couple errors in the lex file.
...
GPIO_INT, GPIO_IO were incorrect.
2011-11-10 10:10:22 +08:00
Robert Moore
b80cbd76d9
iASL/ACPI5.0: Support for new region space IDs.
...
GPIO and GenericSerialBus keywords supported. Also includes
disassembler support. Does not include core ACPICA support
for these IDs.
2011-11-10 10:10:22 +08:00
Robert Moore
bc0dda82ef
iASL/ACPI 5.0: Add new Resource Descriptors.
...
For compiler only, not disassembler. Code imported from
Intel BIOS - Jiewen Yao.
2011-11-10 10:10:22 +08:00
Robert Moore
75f3969b36
Add error msg for Index/Bank field registers out-of-range.
...
Supplement the exception code with an actual message.
2011-10-28 14:37:45 -07:00
Robert Moore
fc17ad2d76
Add error msg for unsupported I/O requests (not 8/16/32 bit length)
...
Also add messages to the windows OSL Port I/O interfaces.
2011-10-28 14:32:17 -07:00
Robert Moore
8520c56b56
Add _ERR to predefined names list.
...
This name is used for the ASLTS suite.
2011-10-28 14:25:20 -07:00
Robert Moore
eb513d0723
Debugger: Add Template command to dump resource templates.
...
Will format/dump any buffer object that is also a resource
template.
2011-10-28 14:18:51 -07:00
Robert Moore
c543c59676
Merge branch 'master' of ssh://ssh.github.com/otcshare/acpica
...
Conflicts:
tests/aslts.sh
2011-10-21 08:41:12 -07:00
Robert Moore
365742767b
ASLTS: update master script to handle 32/64 bit cases.
...
Always generate the native width tools.
2011-10-21 08:38:51 -07:00
Robert Moore
6a640a9523
Debugger: Set default output for buffers to BYTE (from DWORD).
...
Byte output is easier to read/decipher.
2011-10-19 14:25:16 -07:00
Robert Moore
6fb2dc3195
Tests/ASLTS: Update main script for generation file changes.
...
Added bin32 and bin64 for the tool generation (iasl/acpiexec).
2011-10-18 13:11:44 -07: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
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