Commit Graph

509 Commits

Author SHA1 Message Date
Robert Moore
1b2097a4a1 ACPI 5.0/AcpiHelp: Add RawDataBuffer type to new descriptors.
Also split some very long lines.
2011-11-16 10:15:28 +08:00
Robert Moore
dc8eae0c51 ACPI 5.0/AcpiHelp: Update formatting of AliasAs operator.
Display the new Extended AccessAs attributes automatically.
2011-11-10 10:10:26 +08:00
Robert Moore
d06db1beb0 ACPI 5.0/AcpiExec: Fix GCC generation problem.
Remove // comments.
2011-11-10 10:10:26 +08:00
Robert Moore
f5c6043a1d ACPI 5.0/AcpiExec: Update for new region SpaceIds.
Add additional support for new region IDs.
2011-11-10 10:10:26 +08:00
Robert Moore
642b20401e ACPI 5.0/iASL: Add new I/O restriction keyword (GPIO descriptors)
Late addition of IoRestrictionNoneAndPreserve. Lin Ming.
2011-11-10 10:10:26 +08:00
Robert Moore
6c816840f5 ACPI 5.0/AcpiHelp: Add keyword support for new resource descriptors.
Support for automatic keyword display.
2011-11-10 10:10:26 +08:00
Robert Moore
a039667e48 ACPI 5.0/AcpiHelp: Fix for FixedDMA width keyword.
Had incorrect name for the keyword.
2011-11-10 10:10:26 +08:00
Robert Moore
a4d062c6d0 ACPI 5.0: New predefined names: _DSM,_EVT,_PRE,_PSE.
From last-minute proposals.
2011-11-10 10:10:25 +08:00
Robert Moore
a701de24ea ACPI 5.0/AcpiExec: Test new AML mutex access interfaces.
Acquire/release an AML mutex from acpiexec code using new
interfaces.
2011-11-10 10:10:25 +08:00
Robert Moore
645a16e3d3 ACPI 5.0/AcpiSrc: Update for new structure names.
Note: Includes new structure names, and some previously existing
names that were missing from AcpiSrc utility.
2011-11-10 10:10:25 +08:00
Robert Moore
aee3313af7 Debugger: Support to display user-defined spaceID handlers.
For the handlers command. Display handlers for user-defined
spaceIDs.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b12fcf75c0 Service Layers: Make multi-thread support configurable.
Conditionally compile the multi-thread support so that threading
libraries will not be linked if not necessary. The only tool
that requires multi-thread support is AcpiExec.
2011-06-08 09:42:47 -07:00
Robert Moore
404bf0d166 Tools: Update AcpiBin for MS generation with disabled extensions.
Disable language extensions where possible for maximum portability.
Unfortunately, when MS system includes are used, this option
cannot be used (oswinxf.c)
2011-06-08 08:42:22 -07:00
Robert Moore
e759b02a86 Tools: Fix for systems where O_BINARY is not defined.
Only used for Windows versions of the tools.
2011-06-07 10:35:47 -07:00
Robert Moore
5adfba9805 AcpiBin: Update for correct unix/linux generation.
Fix warnings under GCC 4. Add generic unix makefile.
2011-06-03 14:15:22 -07:00
Robert Moore
29f3832223 New: AcpiHelp utility.
Provides syntax for ASL operators, and input/output requirements
for predefined ACPI names (Names that start with underscore.)
2011-06-01 12:55:50 -07:00
Robert Moore
a4b5938821 Add option to disable method return value validation and repair.
Runtime option can be used to disable return value repair if this
is causing a problem on a particular machine. Also added an option
to AcpiExec (-dr) to set this disable flag.
2011-05-27 12:19:24 -07:00
Robert Moore
564f68cff3 AcpiExec: update for debugger changes for complex arguments
Interface change for DbExecute.
2011-05-17 14:10:45 -07:00
Robert Moore
94191a62fa AcpiXtract: Fix for RSDP and dynamic SSDT extraction.
Update the header validation to support these tables.
Problem introduced in previous version.
2011-03-30 12:46:08 -07:00
Robert Moore
c0febdf30f AcpiExec: Add ECDT table for test purposes.
Added to the default XSDT loaded by AcpiExec.
2011-03-24 14:22:35 -07:00
Robert Moore
baab09e685 AcpiXtract: Fix to handle embedded comments/msgs from acpidump
Apparently some or all versions of acpidump will occasionally drop
a comment like "Wrong checksum", etc., into the dump file. This
was causing problems for AcpiXtract. ACPICA BZ 905.
2011-02-25 15:58:05 -08:00
Robert Moore
f1d615e1bf AcpiExec: restore installation of a single user-defined region.
This region is required by ASLTS suite.
2011-02-15 14:58:00 -08:00
Robert Moore
34bc53edda AcpiExec: Do not override default handler for DataTable regions.
Should not override this handler, the default handler should be used.
Also, ASLTS suite depends on this.
2011-02-11 12:15:41 -08:00
Robert Moore
24b79d93e7 AcpiSrc: Add new struct definition.
ACPI_HANDLER_INFO.
2011-01-28 13:49:08 -08:00
Robert Moore
8ab2602d47 AcpiExec: Split handler installation into early/late phases.
Most handlers should be installed before call to AcpiEnableSubsystem.
However, Event handlers and region handlers should be installed
after AcpiInitializeObjects. Override handlers for the "default"
regions should be installed early, however.
ACPICA BZ 848.
2011-01-28 13:35:10 -08:00
Robert Moore
d41344f1ec Update all ACPICA copyrights and signons to 2011.
Standard ACPICA source modules only.
2011-01-03 14:02:13 -08:00
Robert Moore
21f9129788 Update ordering of include files.
The ACPICA headers should appear before any compiler-specific
headers (stdio.h, etc.) so that acenv.h can set any
necessary compiler-specific defines, etc.
2010-12-17 17:07:16 -08:00
Robert Moore
5d65ffe2ef AcpiSrc: Add option to simply inject dual-license header.
No other transforms performed. -h option.
2010-12-16 13:37:15 -08:00
Robert Moore
818d9a5f31 New: AcpiNames - Example namespace dump utility.
Shows example of ACPICA configuration for a minimal namespace
dump utility. Uses table and namespace managers, but no AML
interpreter.

Does not add any functionality over AcpiExec. It is a subset
of AcpiExec. The purpose is to show how to partition and
configure ACPICA.
2010-12-01 14:33:02 -08:00
Robert Moore
3bc77e86ae GPE support code overhaul and enhancement.
Contains the complete overhaul of the GPE support code including
removal of _PRW execution, improved handling of wake GPEs, new
external interfaces, and implicit notify support. ACPICA BZ 858,
870,877. Matthew Garrett, Lin Ming, Bob Moore, Rafael Wysocki.

Note: This support is committed as a single patch here because
of multiple patch backporting from Linux and the resulting
interdependency issues.

See the ACPICA reference for full documentation.
2010-12-01 12:57:25 -08:00