11067 Commits

Author SHA1 Message Date
Robert Moore
c17885f24a ACPI 5.0: Basic support for FADT version 5.
Includes: header, disassembler, table compiler support.
2011-11-10 10:10:23 +08:00
Robert Moore
3075e9a7c1 ACPI 5.0/iASL: Update to new RawDataBuffer object.
Changed from simple DataBuffer. Also migrate all VendorData generation
to a single function.
2011-11-10 10:10:23 +08:00
Robert Moore
62b4cf7030 ACPI 5.0/Disassembler: support for GpioInt descriptor.
Initial support, Lin Ming.
2011-11-10 10:10:23 +08:00
Robert Moore
c5865877dd ACPI 5.0/iASL: Initial support for "Connection" keyword.
Just parser support.
2011-11-10 10:10:22 +08:00
Robert Moore
5a5b2f1e17 ACPI 5.0/iASL: Add new AccessAttribute keywords.
For GenericSerialBus fields.
2011-11-10 10:10:22 +08:00
Robert Moore
fd2714dd02 ACPI 5.0: iasl: Update names for res descriptor fields.
New names according to latest proposals.
2011-11-10 10:10:22 +08:00
Robert Moore
f43f09946a ACPI 5.0: iasl: update to fix resource descriptor lengths and offsets. 2011-11-10 10:10:22 +08:00
Robert Moore
7bedf10eb5 ACPI 5.0: iASL grammar updates for new descriptors.
Better specification of required versus optional fields.
2011-11-10 10:10:22 +08:00
Robert Moore
1661a43a4c ACPI 5.0: Split new descriptors to new file, aslrestype2s.c
Original file became too large.
2011-11-10 10:10:22 +08:00
Robert Moore
05d518803c ACPI 5.0: Add FlowControl to UartSerialBus descriptor.
Was unclear in proposal if this field actually existed.
2011-11-10 10:10:22 +08:00
Robert Moore
dcb10f252e ACPI 5.0: Add GeneralPurposeIo keyword for regions.
Previously was GPIO, changed in latest proposal.
2011-11-10 10:10:22 +08:00
Robert Moore
d038fae6b2 ACPI 5.0: Add DataBuffer type for resource descriptors.
Handles the optional VendorData bytes cleanly.
2011-11-10 10:10:22 +08:00
Robert Moore
aab9b21395 ACPI 5.0: Support for 16-bit flags in resource descriptors.
No 16-bit flags before ACPI 5.0.
2011-11-10 10:10:22 +08:00
Robert Moore
e6efd40b18 ACPI 5.0: Implement field names for new resource descriptors.
Added proposed names for the various resource fields.
2011-11-10 10:10:22 +08:00
Robert Moore
96dc14b43b ACPI 5.0: Support for new FixedDMA descriptor.
Short FixedDMA resource descriptor.
2011-11-10 10:10:22 +08:00
Robert Moore
81b1f18cda ACPI 5.0: iASL: update resource descs for latest proposals.
Latest version of the resource descriptors. Compiler support
only.
2011-11-10 10:10:22 +08:00
Robert Moore
1c36e1e786 ACPI 5.0: Add new/changed tables to headers.
Adds new file, actbl3.h
2011-11-10 10:10:22 +08:00
Robert Moore
7e7951fbe6 Predefined names: Add support for _AEI and _DEP.
New 5.0 names.
2011-11-10 10:10:22 +08:00
Robert Moore
937b0779e9 Disassembler/Acpi5: Support for new resource descriptors.
New resource descriptors. Lin Ming.
2011-11-10 10:10:22 +08:00
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