11011 Commits

Author SHA1 Message Date
Robert Moore
8539d18bb5 ACPI 5.0/iASL: Add _SLV field to UartSerialBus macro.
Slave mode is not an actual argument to this macro, but the bit is
defined in the common serial bus descriptor. There is some concern
that there may be a "slave mode" needed for some rare UARTs, so
we add this field so that the flag can be set dynamically by the
ASL, if it is required.
2011-11-10 10:10:24 +08:00
Robert Moore
c5f0b06303 Debugger: Add call to AcpiWalkNamespace.
In the "Resources" command, call this interface to exercise it.
2011-11-10 10:10:24 +08:00
Robert Moore
fb97cf5c3f Update resource descriptor comments for clarity.
Utresrc.c - add comments to resource type table.
2011-11-10 10:10:24 +08:00
Robert Moore
8a8843b3f3 ACPI 5.0/AcpiHelp: Update for DMA keyword changes.
Changes to width keywords. Also added SMB* synonyms for the
acces attribute keywords.
2011-11-10 10:10:24 +08:00
Robert Moore
d73f14eee8 ACPI 5.0/iASL: Update for DMA keyword changes.
Changes to width keyword for FixedDma descriptor.
2011-11-10 10:10:24 +08:00
Robert Moore
c75de9cb4b ACPI 5.0: Update resource types table.
Remove extraneous entries.
2011-11-10 10:10:24 +08:00
Robert Moore
759b6f5076 ACPI 5.0/iASL: Update to fix some default values in descriptors.
Some issues with the new descriptors, default values.
2011-11-10 10:10:24 +08:00
Robert Moore
a7a02e258f ACPI 5.0/iASL: Update debug output.
Cleanup descriptor debug output.
2011-11-10 10:10:24 +08:00
Robert Moore
07f2f9092b ACPI 5.0/iASL: Update expected shift/reduce conflicts.
Caused by change to ResourceUsage type.
2011-11-10 10:10:24 +08:00
Robert Moore
155fdee57b ACPI 5.0/iASL: Fix to add PullDefault/PullNone keywords.
Also fix an issue with the optional ResourceUsage descriptor arg.
2011-11-10 10:10:24 +08:00
Robert Moore
05473e052a Fix case issue with DMA resource typedef.
Small fix for incorrect upper case typedef.
Lin Ming.
2011-11-10 10:10:24 +08:00
Robert Moore
59836be063 Update linux patch creation scripts.
Minor updates. Lin Ming.
2011-11-10 10:10:24 +08:00
Robert Moore
aa551d40ba Disassembler: Update decode opcodes and simplify.
Use an enum to simplify the opcodes and restructure the table
for clarity and ease of maintenance.
2011-11-10 10:10:24 +08:00
Robert Moore
1908bcdeaf ACPI 5.0: Update version and iASL signon for internal release.
Internal release supports current version of ACPI 5.0
2011-11-10 10:10:24 +08:00
Robert Moore
3cd82f4043 ACPI 5.0/iASL: Disassembler support for BGRT/FPDT/PCCT/MADT.
Three new tables, and two new subtables for the MADT.
2011-11-10 10:10:24 +08:00
Robert Moore
f16d73dbe4 ACPI 5.0: Update EINJ definition.
Fixes some small issues/changes in the table definition.
2011-11-10 10:10:24 +08:00
Robert Moore
0996ddb911 ACPI 5.0/iASL: New MADT subtables in disassembler, DTC, template gen.
This completes support for the new MADT subtables.
2011-11-10 10:10:24 +08:00
Robert Moore
aa901633dc ACPI 5.0/Disassembler: Support for new MADT subtables (GIC).
Generic interrupt controller support.
2011-11-10 10:10:24 +08:00
Robert Moore
a553c1fe77 ACPI 5.0: Support for _HID string format extension.
Allows 8 char string with the format: NNNN#### where N is an uppercase
character or decimal digit, and # is a hex character.
2011-11-10 10:10:24 +08:00
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
7f54738fd4 ACPI 5.0/ApiTest: Update for new field attribute names.
SMBus specific names have been renamed.
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
3ab9ee9d6a Update .gitignore file. 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