10526 Commits

Author SHA1 Message Date
Robert Moore
33e66358ec Disassembler: Fix several miscellaneous issues.
Fix some output problems with DMAR, HEST, IVRS.
Fix possible extraneous error message with GAS structure output.
Several lint changes.
2009-07-20 12:01:13 -07:00
Robert Moore
21ea332fa9 ACPI 4.0: Update iASL signon message.
Add ACPI 4.0 to signon message.
2009-07-17 14:12:50 -07:00
Robert Moore
5d2cb5aa68 ACPI 4.0: Disassembler support for new ACPI tables.
Support for new and changed ACPI tables.
2009-07-17 13:16:01 -07:00
Robert Moore
a502146f98 ACPI 4.0: Update headers for new and changed ACPI tables.
Add IVRS,MSCT,UEFI,WAET,WDAT.
Updated several existing tables for ACPI 4.0-related changes.
Added document references for all tables not defined in ACPI spec.
2009-07-17 13:11:09 -07:00
Robert Moore
1d7f44e667 Split large ACPI table header.
Split out the non-acpi-defined ACPI tables into the existing (but empty)
actbl2.h file. Preparation for new ACPI 4.0 tables.
2009-07-14 15:05:15 -07:00
Robert Moore
1170aa2715 Fix fault if AcpiTerminate is called twice.
Fixes a problem with the mechanism that prevents problems if the
AcpiTerminate interface is inadvertently called more than once before
the ACPICA code is re-initialized. ACPICA BZ 795.
2009-07-14 09:24:25 -07:00
Robert Moore
6fa3c7e131 Update windows project files (add new aapits project)
Windows project for aapits test suite added.
2009-07-01 14:22:58 -07:00
Robert Moore
f1ce4cf58f Tests: Port AAPITS suite to current ACPICA. Phase 1 (compile).
Code now compiles on cygwin and windows. Next phase will be to
get the code running properly.
2009-07-01 14:16:44 -07:00
Robert Moore
eeb71b76cb Fix regression for AcpiGetDevices - ID matching.
Problem was introduced in 20090625. The _HID and _CID matching code
was broken with the introduction of the string changes for these
IDs. ACPICA BZ 793. Reported by Dana Myers.
2009-06-30 14:10:27 -07:00
Robert Moore
619cbe4d6c ACPI 4.0: Add new return package type, restructure module.
Added one new package type, a package that contains a revision number
and a variable number of sub-packages. Restructured the module to
put the sub-package list traversal in a separate function.
2009-06-30 08:13:22 -07:00
Robert Moore
ede1ca0212 Add repair for predefined methods that return nested packages.
Fixes a problem where a predefined method is defined to return a
variable-length Package of sub-packages. If the length is one, the
BIOS code occasionally creates a simple single package with no
sub-packages. This code attempts to fix the problem by wrapping
a new package object around the existing package. ACPICA BZ 790.
2009-06-26 10:54:44 -07:00
Robert Moore
a535937a41 Update Windows project files.
Add new file, nsrepair.c.
2009-06-26 10:53:45 -07:00
Robert Moore
4811ab66f4 Move predefined repair code to new file, no functional change.
New file is nsrepair.c. This is in preparation for additional
errror correcting code.
2009-06-26 09:36:18 -07:00
Robert Moore
c0b4186601 Update version to 20090625.
Update version number.
2009-06-25 10:31:32 -07:00
Robert Moore
b8ddfc8df3 Logfile: changes for version 20090625.
Version 20090625.
2009-06-25 10:30:19 -07:00
Robert Moore
01014ff505 Windows binaries: update for version 20090625.
Version 20090625.
2009-06-25 10:28:40 -07:00
Robert Moore
d3e3f6c496 Update .gitignore file.
Add test/aml files.
2009-06-25 10:16:33 -07:00
Robert Moore
29620245ac Update lint option file.
Allow pointer overruns for dynamic structures.
2009-06-24 14:35:03 -07:00
Robert Moore
d1ae4eb88b Tests: Update DataTableRegion test for new SpaceId.
DataTableRegion uses an internal SpaceID. The new IPMI space ID forced
this internal ID to be incremented.
2009-06-24 13:12:23 -07:00
Robert Moore
2a5384ea61 Update Widnows project files.
New file added to projects. Fixed .bsc paths for iASL.
2009-06-23 15:19:56 -07:00
Robert Moore
cac6ebb3e7 ACPI 4.0: Changes for existing ACPI tables.
FACS: new flag and new OspmFlags field.
SRAT: x2APIC - add ClockDomain field to descriptor #2

Includes header and disassembler support.
2009-06-23 15:07:23 -07:00
Robert Moore
ba06eaab14 Clarify common suffix for error/warning messages.
Added parens around the acpica version/modulename/linenumber to
clearly differentiate this group from the rest of the message.
2009-06-23 13:44:35 -07:00
Robert Moore
8997e8ccd1 Fix: Predefined object repair executed only once.
This fixes a problem where the code that attempts to repair/convert an
object of incorrect type is only executed on the first time the
predefined method is called. The mechanism that disables warnings
on subsequent calls was interfering with the repair mechanism.
ACPICA BZ 781.
2009-06-23 13:33:48 -07:00
Robert Moore
93d8cbef0d Dump table header - suppress output of non-printable characters.
Function AcpiTbPrintTableHeader. Some ACPI tables contain non-printable
characters in one of the string fields of the the header - Signature,
OemId, OemTableId, or CompilerId. Invalid characters are replaced
by '?'. ACPICA BZ 788.
2009-06-22 12:33:47 -07:00
Robert Moore
f2c4203b36 Documentation: Update for interface changes.
Changes to AcpiGetObjectInfo and AcpiRead/Write. Also added IPMI as
an additional address space ID (ACPI 4.0).
2009-06-22 09:21:11 -07:00
Robert Moore
ace198676c Fix several AcpiAttachData problems.
Handler was never invoked. Now invoked if/when host node is deleted.
Data object was not automatically deleted when host node was deleted.
Interface to handler had an unused parameter, removed it.
ACPICA BZ 778.
2009-06-19 13:23:34 -07:00
Robert Moore
64a735c120 ACPI 4.0: Interpreter support for IPMI.
Adds support for IPMI which is similar to SMBus and uses a bi-directional
data buffer. ACPICA BZ 773. Lin Ming.
2009-06-19 09:17:58 -07:00
Robert Moore
17e7c9672f ACPI 4.0: iASL - Add new predefined/reserved names.
Added 31 new predefined names to the reserved list. Includes the required
number of parameters and whether a value must be returned.
2009-06-18 12:40:47 -07:00
Robert Moore
745f52e0c3 ACPI 4.0: iASL/Disassembler - IPMI keyword support.
Adds support for the new IPMI operation region keyword.
ACPICA BZ 771, 772. Lin Ming.
2009-06-18 09:11:27 -07:00
Robert Moore
235329a8f3 Fix possible memory leak in nspredef.c
Fixed a possible leak when an attempt is made to repair a return object.
The only current repair is an automatic buffer to string conversion.
2009-06-12 13:33:19 -07:00
Robert Moore
95dd0f01c6 Major update for AcpiGetObjectInfo external interface.
Completed a major update for the AcpiGetObjectInfo external interface.
Changes include:
 - Support for variable, unlimited length HID, UID, and CID strings
 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
 - Call the _SxW power methods on behalf of a device object
 - Determine if a device is a PCI root bridge
 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
These changes will require an update to all callers of this interface.
See the ACPICA Programmer Reference for details.
2009-06-10 14:07:55 -07:00
Robert Moore
dd31d3de28 Remove duplicate prototypes from header.
Two duplicates in acdebug.h.
2009-06-02 15:19:49 -07:00
Robert Moore
c63f4ddb0f Add 64-bit support to AcpiRead and AcpiWrite.
Needed by drivers for new ACPi tables.
Internal versions of these functions still use 32-bit max transfers,
in order to minimize disruption and stack use for the standard ACPI
registers (FADT-based).
2009-05-27 13:06:39 -07:00
Robert Moore
6cbe8169d4 Delete obsolete 16-bit files.
No longer necessary since 16-bit support has been removed from
ACPICA. ACPICA BZ 776.
2009-05-22 10:23:06 -07:00
Robert Moore
798539da85 Remove duplicate extern declarations for public globals.
Some were defined twice, causes a warning with gcc -Wredundant-decls.
2009-05-22 09:36:29 -07:00
Robert Moore
c99866ffd8 Fix several pointer casts to avoid possible compile warnings.
Fixes warnings with gcc -Wcast-qual flag.
2009-05-22 09:20:09 -07:00
Robert Moore
947813df24 Update version to 20090521.
Update version number.
2009-05-21 08:04:08 -07:00
Robert Moore
af3974807b Logfile: changes for version 20090521.
Version 20090521.
2009-05-21 08:03:13 -07:00
Robert Moore
1137c9525c Windows binaries: update for version 20090521.
Version 20090521.
2009-05-21 08:01:29 -07:00
Robert Moore
f63d5b83e7 Update comment.
No functional change.
2009-05-21 07:42:34 -07:00
Robert Moore
66a7952f1b Region deletion: Ensure region object is removed from handler list.
Prevents a possible fault when a dynamic operation region is
deleted. ACPICA BZ 507. Lin Ming.
2009-05-20 14:47:25 -07:00
Robert Moore
64b824d3c7 Disable preservation of SCI enable bit (SCI_EN).
Preserving this bit breaks some machines. Not preserving this bit seems
to work OK in all cases, even though this goes against the ACPI spec.
2009-05-20 13:52:25 -07:00
Robert Moore
07e1415b52 Disassembler: Fixed some issues with DMAR, HEST, MADT tables.
Some issues with sub-table disassembly and handling invalid
sub-tables. Attempt recovery after an invalid sub-table ID.
2009-05-20 09:54:18 -07:00
Robert Moore
b9d03a5871 Eliminate extra call to NsGetParentNode.
Was called twice in the same function with the same parameter.
Alex Chiang.
2009-05-19 07:49:09 -07:00
Robert Moore
f7baaa44f5 Simplify internal operation region interface.
Changed address parameter to a simple offset. This removes the need for
the caller to access the region object to obtain the physical address.
2009-05-15 14:33:05 -07:00
Robert Moore
39a897a21d Update Load() to use operation region interfaces.
Replace memory mapping with region access calls. Now, all region
accesses go through the region handler as they should.
2009-05-15 08:26:13 -07:00
Robert Moore
386c279940 Documentation: Update for new AcpiInstallMethod.
Add description and examples for AcpiInstallMethod.
2009-05-14 08:05:19 -07:00
Robert Moore
7abcc2ea10 New: AcpiInstallMethod - install a single control method.
This interface enables the override or creation of a single control
method. Useful to repair a bug or install a missing method.
2009-05-13 13:04:01 -07:00
Robert Moore
43cfa272f6 Update acfreebsd.h.
New changes provided by FreeBSD, Jung-uk Kim.
2009-05-13 12:50:28 -07:00
Robert Moore
c31764aaf7 Invalidate DdbHandle after table unload.
Mark the DdbHandle as invalid after the table it refers to is unloaded.
This is needed because the handle itself may not be deleted after
the table unload, depending on whether it has been stored in a named
object by the caller.
2009-05-13 08:27:59 -07:00