10229 Commits

Author SHA1 Message Date
Robert Moore
078b6d2cbf ACPI 5.0: Add new predefined names (iasl/core/acpiexec).
New predefined names that are not resource descriptor field names.
2011-11-10 10:10:24 +08:00
Robert Moore
ec7ea84bfd ACPI 5.0/AcpiHelp: Update for new operators/keywords/predefined-names.
Hopefully this gets all ACPI 5.0 changes in one checkin.
2011-11-10 10:10:24 +08:00
Robert Moore
a5bc732c6a ACPI 5.0/iASL: Add new resource descriptor tag names (_RXL, etc.)
Adds the new names to the list of reserved tag names.
2011-11-10 10:10:23 +08:00
Robert Moore
8c364f0847 ACPI 5.0/iASL: Update resource descriptor tags.
A few changes to sync with latest proposals.
2011-11-10 10:10:23 +08:00
Robert Moore
4d70e21e38 ACPI 5.0: Lint changes, no functional change.
A few lint-detected changes.
2011-11-10 10:10:23 +08:00
Robert Moore
a85d8e8d8c ACPI 5.0/iasl-disassembler: Update resource descriptors.
Update to current proposals.
2011-11-10 10:10:23 +08:00
Robert Moore
cc2b01dc42 ACPI 5.0: Fix parse tree issue with Connection operator.
Child count to TrLinkChildren was incorrect.
2011-11-10 10:10:23 +08:00
Robert Moore
905e1f36bf ACPI 5.0: Finish Connection(), more AccessAs changes.
Add support for Buffer arguments for Connection.
AccessAs now has a separate opcode for the AccessLength case.
Both are per the latest ACPI 5 proposals.
2011-11-10 10:10:23 +08:00
Robert Moore
a9b254734b ACPI 5.0: Update AccessAs syntax/encoding.
Update to final ACPI 5.0 syntax and AML encoding.
2011-11-10 10:10:23 +08:00
Robert Moore
36916a6068 AcpiExec: Add check for correct context arg in region handler.
Ensure that the correct context is passed to the handler.
2011-11-10 10:10:23 +08:00
Robert Moore
047ab509df ACPI 5.0/AcpiExec: Support for GPIO regions, and GSBus parameters.
Install a GPIO handler, and setup the protocol for parameters
passed to GenericSerialBus handlers.
2011-11-10 10:10:23 +08:00
Robert Moore
48862162b8 ACPI 5.0/Core: Implement Connection() and AccessAs() changes.
Support within the interpreter and operatio region dispatch.
2011-11-10 10:10:23 +08:00
Robert Moore
0bb5e623a4 ACPI 5.0/iASL/Disassembler: Support for Connection/AccessAs.
New operator, Connection(). Update to AccessAs() for new
optional argument.
2011-11-10 10:10:23 +08:00
Robert Moore
7da585ffbc ACPI 5.0: Header support for DRTM table.
New table.
2011-11-10 10:10:23 +08:00
Robert Moore
5ac13f2c7f ACPI 5.0: Disassembler support for new AccessAs keywords.
New generic keywords (Attrib*) for the attribute byte associated
with the AccessAs operator.
2011-11-10 10:10:23 +08:00
Robert Moore
c660fcbd56 ACPI 5.0: Support for GenericSerialBus operation region handling.
New keywords for iASL, dispatch to region handler. Lin Ming.
2011-11-10 10:10:23 +08:00
Robert Moore
ddcc4d501d ACPI 5.0: Merge GpioInt/GpioIo descriptors to common struct.
Both resource descriptors use the same data structure.
2011-11-10 10:10:23 +08:00
Robert Moore
aa30e22320 ACPI 5.0/iASL & Disassembler: Implement new resource descriptors.
All new resource descriptors as of this date are implemented.
Lin Ming, Bob Moore.
2011-11-10 10:10:23 +08:00
Robert Moore
99a0294f18 ACPI 5.0/iasl: Update descriptor names. 2011-11-10 10:10:23 +08:00
Robert Moore
83292d7c25 ACPI 5.0/Disassembler: Update support for new descriptors.
Migrating toward latest descriptor definitions.
2011-11-10 10:10:23 +08:00
Robert Moore
06c8f4ef51 ACPI 5.0/iASL: Add correct values for new share/wake interupt bits.
New bits had incorrect values.
2011-11-10 10:10:23 +08:00
Robert Moore
040bbcabb9 ACPI 5.0/AcpiExec: Add support for hardware-reduced option.
Add support for FADT V5 and HW-reduced option. The -r option
enables use of the FADT V5.
2011-11-10 10:10:23 +08:00
Robert Moore
1bdfb62833 ACPI 5.0: Implement hardware-reduced option.
If HW-reduced flag is set in the FADT, do not attempt to access
or initialize any ACPI hardware, including SCI and global lock.
No FACS will be present.
2011-11-10 10:10:23 +08:00
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
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