10754 Commits

Author SHA1 Message Date
Robert Moore
bb624f47b8 Update msvc header for VC++ 9 (VS 2008)
Add a couple new compiler-specific items to eliminate warnings.
2010-12-17 17:06:14 -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
01e2d545cd Update pc-lint options file.
Allow acpi names in quoted strings within tables with no comment.
2010-12-15 12:57:04 -08:00
Robert Moore
da9aadea0b Debugger: Lock namespace for duration of a namespace dump.
Prevents issues if the namespace is changing underneath the debugger.
Especially temporary nodes, since the debugger displays these also.
2010-12-15 12:39:36 -08:00
Robert Moore
c3baf042e9 Fix namespace race condition.
Fixes a race condition between method execution and namespace walks
that can possibly fault. Problem was apparently introduced in version
20100528 as a result of a performance optimization that reduces the
number of namespace walks upon method exit by using the
delete_namespace_subtree function instead of the delete_namespace_by_owner
function used previously. Bug is in the delete_namespace_subtree function.
dana.myers@oracle.com
2010-12-14 14:43:51 -08:00
Robert Moore
eda0bf9ae9 Update acpica release generation scripts.
Update comments and pkzip25 path.
2010-12-10 08:54:28 -08:00
Robert Moore
b55e472e92 Update version to 20101209.
Version 20101209.
2010-12-09 09:52:55 -08:00
Robert Moore
f4e52ed7d0 Logfile: Changes for version 20101209.
Version 20101209.
2010-12-09 09:52:13 -08:00
Robert Moore
5bf5e86e50 Windows binaries: Update for version 20101209.
Version 20101209.
2010-12-09 09:50:55 -08:00
Robert Moore
0093d40286 Update for warning on 64-bit generation.
Fix a printf in the aml debugger.
2010-12-09 08:26:11 -08:00
Robert Moore
064e90b753 Update examples/tests for new GPE changes.
Add new file to project files, update API tests for GPE
interface changes.
2010-12-08 10:21:23 -08:00
Robert Moore
5c5b53d53c iASL: Update EOF error message fix.
Handle case where source file is null.
2010-12-03 14:22:55 -08:00
Robert Moore
3efb775402 iASL: Fix error message for premature EOF.
Repairs seek off end-of-file case if a syntax error causes the
parser to reach EOF.

Previously:
[*** iASL: Read error on source code temp file gr.src ***]

Now, something like this:
gr.asl(6) : Error    4096 -  parse error and premature End-Of-File

ACPICA bugzilla 891.
2010-12-03 10:26:45 -08:00
Robert Moore
1379c05881 Update ACPICA reference for GPE overhaul.
Added new GPE overview and use section. Added new
interfaces, changes to existing interfaces.
2010-12-02 10:28:59 -08:00
Robert Moore
79a99d76c8 iASL: Clarify operator timeout error message.
Was not clear to many users. ACPICA BZ 893.
2010-12-02 09:55:20 -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
168720677c Update Windows project files.
Add new GPE file, evxfgpe.c
2010-12-01 13:09:38 -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
Robert Moore
1d96aaf67d acpisrc: modify include file paths for linux conversion.
Change all instances of "acpi.h" to <acpi/acpi.h>
2010-11-18 13:40:45 -08:00
Robert Moore
81f545c7c6 Increase debugger buffer size for method return objects.
Was 4K, increased to 16K. Also enhanced error messages for debugger
method execution, including the buffer overflow case.
2010-11-17 13:48:30 -08:00
Robert Moore
019ccfe508 Fix problem with Scope() operator during parse load phase.
During load phase (table load or method execution), the scope operator
should not enter the target into the namespace. Instead, it should
open a new scope at the target location. Linux BZ 19462.
2010-11-03 10:40:54 -07:00
Robert Moore
a1d2af4804 Tests: update badcode example file for new iASL error messages.
new _CID/_HID error messages.
2010-11-03 10:38:40 -07:00
Robert Moore
8cc0a33fe7 iASL: Relax alphanumeric restriction on _CID strings.
These strings are "bus-specific" per the ACPI specification, therefore
any characters are acceptable. The only checks that can be performed
are for a null string and perhaps for a leading asterisk.
2010-11-03 10:31:30 -07:00
Robert Moore
378378c888 Disassembler: Decode AccessWidth field of GAS structure.
Decode the encoded width (1=Byte, 2=Word, etc.)
2010-10-15 12:47:07 -07:00
Robert Moore
615836b90d Update version to 20101013.
Version 20101013.
2010-10-13 09:24:43 -07:00
Robert Moore
301d07ccbf Logfile: Changes for version 20101013.
Version 20101013.
2010-10-13 09:24:11 -07:00
Robert Moore
a7897db2ec Windows binaries: Update for version 20101013.
Version 20101013.
2010-10-13 09:23:16 -07:00
Robert Moore
14486424a2 Update file permissions.
No functional change.
2010-10-13 08:09:26 -07:00
Robert Moore
7db2c3bc9a acpica reference: Update for initialization sequence.
Fix/clarify the initialization sequence for installation
of user/host address space handlers. This can only happen
after AcpiEnableSubsystem is called.
2010-10-12 14:52:36 -07:00
Robert Moore
57e7b47059 Example code: Update windows project file/ACPI_SINGLE_THREADED
Add this new option.
2010-10-08 13:45:55 -07:00
Robert Moore
2e7745a40b Tests: Update badcode.asl for new iASL error checks.
New _HID checks and null resource descriptor check.
2010-10-06 08:30:54 -07:00
Robert Moore
b66fd716e0 iASL: Add additional _HID/_CID string validation.
_HID strings must be 7 or 8 characters. Additional checks for
uppercase non-hex characters. ACPICA BZ 874.
2010-10-05 14:54:39 -07:00
Robert Moore
1fa54bc597 iASL: Enhance "null descriptor" error messages.
Message displays the first line of the descriptor.
2010-10-05 14:47:33 -07:00
Robert Moore
45fdbcf3b2 iASL: Update windows project file.
Added new header file.
2010-10-05 09:56:18 -07:00
Robert Moore
ab46514ffe iASL: Move all compiler messages to new file, aslmessages.h
All error/warning/remark messages (strings) and the numeric
definitions.
2010-10-01 14:32:20 -07:00
Robert Moore
f25ea48797 iASL: Allow certain "null" Resource Descriptors.
Fixes a problem where some resource descriptors are created with
most fields set to zero, because the intent is that these
descriptors will be updated at runtime via a BufferField.
These "null" resource desriptors are now allowed iff the desrcriptor
is created with a resource tag -- meaning that the descriptor
can be referenced by a BufferField. ACPICA BZ 873.
2010-10-01 14:14:50 -07:00
Robert Moore
c6b43c4c8b AcpiBin: Update Windows project file.
ACPI_APPLICATION define no longer needed.
2010-10-01 12:18:56 -07:00
Robert Moore
16da8c8163 Deploy common signon/header for all ACPICA tools.
Common signon with version,32/64 width,date,copyright.
2010-09-30 14:47:37 -07:00
Robert Moore
d01d91a34c Add configuration for AcpiBin utility.
To acenv.h file.
2010-09-30 14:37:48 -07:00
Robert Moore
ae36fb6358 AcpiExec: Additional changes for 64-bit build support.
64-bit addresses for DSDT, FACS.
2010-09-30 14:15:57 -07:00
Robert Moore
28b20c5ca6 AcpiExec: Fix for 64-bit build (add XSDT support).
Now uses XSDT exclusively instead of RSDT.
Also, split AML data into new file, aetables.h
2010-09-30 09:59:55 -07:00
Robert Moore
40328a6612 Cleanup Unix OSL modules. No functional change.
Reformat to ACPICA common format.
2010-09-29 09:17:44 -07:00
Robert Moore
f0caebb16f Clear PCIEXP_WAKE_STS when clearing ACPI events.
When clearing status bits via HwClearAcpiStatus, also clear
the PCIEXP_WAKE_STS bit. Original change from Colin King.
ACPICA BZ 880.
2010-09-29 08:49:28 -07:00
Robert Moore
990324383c Add Vista SP2 to supported _OSI strings.
Added "Windows 2006 SP2" for Vista SP2.
2010-09-29 08:43:21 -07:00
Robert Moore
462f3611e7 Unix application OSL: Add single-thread support.
For single threads (like iASL), semaphore support is stubbed.
2010-09-24 14:58:41 -07:00
Robert Moore
48fbd5e14e Cleanup Windows OSL modules. No functional change.
Reformat to ACPICA common format.
2010-09-24 14:53:57 -07:00
Robert Moore
ecc57b86d9 Replace _MULTI_THREADED with ACPI_SINGLE_THREADED and cleanup.
Cleanup the optional multi/single threaded code for semaphores.
2010-09-24 14:32:44 -07:00
Robert Moore
32f46843f9 Eliminate duplicate code in AcpiUtExecute* functions.
Now that the nsrepair code automatically repairs _HID-related
strings, this type of code is no longer needed in Execute_HID,
Execute_CID, and Execute_UID. ACPICA BZ 878.
2010-09-23 12:58:57 -07:00
Robert Moore
1bce3b12a2 Change type of _TZ from ThermalZone to Device.
The type of ThermalZone was confusing hosts as they process the
various ThermalZone objects. ACPICA BZ 876.
2010-09-21 12:48:23 -07:00
Robert Moore
45b6f1fab0 Comment update; no functional change.
Add a usage note to InstallAddressSpaceHandler.
2010-09-21 10:27:35 -07:00