10584 Commits

Author SHA1 Message Date
Robert Moore
f85e95cf59 acpixtract: Fix possible warning for pointer cast.
Fixes a possible warning if warnings set very high.
2009-10-29 08:43:44 -07:00
Robert Moore
581af16a2a Add post-order callback to AcpiWalkNamespace.
The existing interface only has a pre-order callback. This change
adds an additional parameter for a post-order callback which will
be more useful for bus scans. ACPICA BZ 779. Lin Ming.
2009-10-28 12:11:05 -07:00
Robert Moore
9c992f8871 Change package length error message to an info message.
This message happens when the package element list is longer than
the declared length of the package. Changed to an info message
because this condition is not actually an error. It is caused by
the BIOS attempting to truncate the package on the fly by adjusting
the package element count at the start of the package definition.
2009-10-28 09:44:52 -07:00
Robert Moore
381f8561ee Do not cross page boundaries when mapping operation regions.
Ensure that memory mappings created for operation regions do
not cross page boundaries. Crossing a page boundary while mapping
regions can cause warnings if the pages have different attributes.
Such regions are probably BIOS bugs, and this is the workaround.
Linux BZ 14445. Lin Ming.
2009-10-28 09:38:25 -07:00
Robert Moore
1656dba4f2 Tests: Update ASLTS for iASL Switch/While fix.
Update to abbu/misc
2009-10-14 14:45:14 -07:00
Robert Moore
e7c910d80a iASL: Implement Switch() with While(1) so that Break works.
This change correctly implements the Switch operator with a surrounding
While(1) so that the Break statement works as expected.
ACPICA BZ 461. Lin Ming.
2009-10-14 13:56:01 -07:00
Robert Moore
e16dcbba87 Reduce severity of predefined repair messages, Warning to Info.
Since the object was successfully repaired, a Warning is too severe.
Reduced to Info for now. We may eventually change these messages
to debug-only. ACPICA BZ 812.
2009-10-14 13:32:06 -07:00
Robert Moore
af0711d385 Update version to 20091013.
Version 20091013.
2009-10-13 12:59:27 -07:00
Robert Moore
ce1384b40b Logfile: changes for version 20091013.
Version 20091013.
2009-10-13 12:58:15 -07:00
Robert Moore
b44e695125 Windows binaries: Update for version 20091013.
Version 20091013.
2009-10-13 12:55:48 -07:00
Robert Moore
5cb5408a25 Update .gitignore file. 2009-10-13 11:01:54 -07:00
Robert Moore
b876e438fc acpixtract: Lint/formatting changes.
Update headers, Lint changes, add struct for ACPI table header.
2009-10-02 13:20:21 -07:00
Robert Moore
9ee7239fe9 acpixtract: Close all open files.
Add better cleanup of open files.
2009-10-02 09:26:40 -07:00
Robert Moore
9550e6d62b Lint/formatting changes - no functional changes.
Update for source/common directory, common files for ACPICA
applications and tools.
2009-10-02 08:46:57 -07:00
Robert Moore
e6d2570bdf Fix possible memory leak for Scope ASL operator.
Using Scope(\) to change the scope to the root could cause
a single object memory leak. Lin Ming.
2009-10-01 14:32:20 -07:00
Robert Moore
e7a2f12dda Debugger: Ignore errors during Batch execution.
Do not abort Batch execution on an error returned from a method.
2009-10-01 14:31:28 -07:00
Robert Moore
ecea3cc012 Disassembler: Restructure code for externals, no functional change.
Add new file for handling of ASL External() statements. Consolidates
all such code, it is used only for iASL disassembler (not kernel code
or acpiexec.)
2009-10-01 13:33:07 -07:00
Robert Moore
c13698fbed Remove possibility of executing _REG methods twice.
If a custom address space handler is installed by the host before the
"initialize operation regions" phase of the ACPICA initialization, any
_REG methods for that address space could be executed twice. This change
fixes the problem. ACPICA BZ 427. Lin Ming.
2009-09-30 13:15:32 -07:00
Robert Moore
ae7d6fd01a Disassembler: Properly handle externals with parent-prefix (carat)
References to external names in secondary tables that contained one or
more carats (parent-prefixes) were not handled correctly.
ACPICA BZ 806. Lin Ming.
2009-09-30 10:29:17 -07:00
Robert Moore
2551bea592 Debugger: Add max count argument for Batch command.
Allows a maximum number of predefined methods to be executed.
2009-09-29 12:31:58 -07:00
Robert Moore
31941994cd Fix several rare error messages.
Three error messages contained an extra %s and newline.
2009-09-24 12:12:45 -07:00
Robert Moore
bd05120354 Add repair for bad _MAT buffers.
_MAT can inadvertently return an Integer instead of a Buffer if
the return value has been read from a Field whose width is less
than or equal to the global integer width (32 or 64 bits).
ACPICA BZ 810. Lin Ming.
2009-09-23 12:35:05 -07:00
Robert Moore
07843a09ce Add repair for bad _BIF/_BIX packages.
Add a repair for the "Oem Information" field which is often
mistakenly returned as an integer. It should always be a string.
ACPICA BZ 807.
2009-09-23 12:24:15 -07:00
Robert Moore
7f809268cd iASL: documentation update.
Complete update of user manual.
2009-09-22 09:31:02 -07:00
Robert Moore
29afdc25fa Update version to 20090903.
Version 20090903.
2009-09-03 10:21:39 -07:00
Robert Moore
e08d964782 Logfile: changes for version 20090903.
Version 20090903.
2009-09-03 10:21:05 -07:00
Robert Moore
00c746de27 Windows binaries: Update for version 20090903.
Version 20090903.
2009-09-03 10:19:49 -07:00
Robert Moore
a0ea092ac7 Update windows project files.
new file added to acpiexec.
2009-09-03 09:35:39 -07:00
Robert Moore
460c5ec626 acpiexec: completion of wildcard support.
Needed for Windows version, where wilcard expansion must be performed
by the application.
2009-09-03 09:33:32 -07:00
Robert Moore
457f6bf9d7 Windows compatibility: autoexecute root _INI method.
Add support for execution of an _INI method at the namespace root.
Although not defined in the ACPI specification, this support was
added to Windows around the Vista timeframe. It is added here
for Windows compatibility.
2009-09-02 14:04:28 -07:00
Robert Moore
5681265261 Fix warning for 64-bit build.
2 possible warnings fixed.
2009-09-02 13:27:22 -07:00
Robert Moore
a8bd1a5691 acpiexec: update usage message.
Now supports multiple AML input files.
2009-09-02 13:25:11 -07:00
Robert Moore
e9491d3ef6 Update _OSI with new Windows OS strings.
Added strings for Windows server 2008, Windows Vista SP1,
Windows 7, and Windows server 2008 R2.
2009-09-02 10:18:11 -07:00
Robert Moore
d976daa76b iASL: Fix issue with use of Alias and Resource Templates.
Fixes error if aliasing a resource template. ACPICA BZ 738.
Lin Ming.
2009-09-01 13:22:41 -07:00
Robert Moore
11a8d55d19 AcpiExec: Support for multiple tables and wildcards.
Adds the ability to load more than one table from the command line,
as well as wildcards. ACPICA BZ 804.
2009-09-01 13:10:46 -07:00
Robert Moore
2dfa14e186 iASL: Add support for response files.
Windows-style response files, containing a list of additional
command line options. ACPICA BZ 801.
2009-09-01 13:08:07 -07:00
Robert Moore
f32e3476e0 Fix memory leak for ill-formed Package objects.
Fixes a possible memory leak in the interpreter for package objects if the
package initializer list is longer than the defined size of the package. This
apparently can only happen if the BIOS changes the package size on the fly
(seen in a _PSS object), as both iASL and the other compiler do not allow this.
The interpreter will truncate the package to the defined size (and issue an
error message), but can leave the extra objects undeleted if they have been
pre-created during the argument processing (such is the case if the package
consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
2009-09-01 12:52:55 -07:00
Robert Moore
7a78d55e3f Windows compatibility fix: same buffer/string store.
Fixes a compatibility issue when the same buffer or string is
stored to itself. This has been seen in the field. Previously,
ACPICA would zero out the buffer/string. Now, the operation is
treated as a noop. ACPICA BZ 803. Lin Ming.
2009-08-13 07:06:20 -07:00
Robert Moore
c54620b195 Remove error message for Store(Localx,Localx)
We silently ignore this construct for Windows compatibility.
ACPICA BZ 785.
2009-08-12 09:38:19 -07:00
Robert Moore
3cc98ca6e2 Fix extraneous warning if _DSM returns a package.
_DSM can return any type of object, so validation on the return type
cannot be performed. ACPICA BZ 802.
2009-08-12 09:27:21 -07:00
Robert Moore
64dd41c346 iASL: Add -I option to specify include directories.
Allows multiple additional search paths for include files. Directories
are searched in the order specified on the command line (after the
local directory is searched.)
2009-08-07 12:19:49 -07:00
Robert Moore
35e4b46116 Disassembler fix for HEST ACPI table.
Add missing support for error bank substructures.
2009-08-05 08:01:51 -07:00
Robert Moore
10068025c9 Update version to 20090730.
Version 20090730.
2009-07-30 10:18:54 -07:00
Robert Moore
4e85c8e84e Logfile: changes for version 20090730.
Version 20090730.
2009-07-30 10:17:01 -07:00
Robert Moore
ec93f9313e Windows binaries: Update for version 20090730.
Version 20090730.
2009-07-30 10:15:58 -07:00
Robert Moore
d53981016f Update windows project files.
pathname fix.
2009-07-30 09:07:05 -07:00
Robert Moore
e95b26b19f Update .gitignore file.
Add new files.
2009-07-30 08:58:12 -07:00
Robert Moore
a5777b37bd AcpiReset: Bypass port validation mechanism.
Allow writes to reserved ports. This change may eventually be
driven down in to AcpiWrite and AcpiRead.
2009-07-30 08:38:30 -07:00
Robert Moore
79f8819b96 Fix warning msg, was depending on debug compile.
Dependent on conditional compile in OpInfo.
2009-07-30 08:23:37 -07:00
Robert Moore
52f7b3cc9e Fix typo for HEST ACPI table.
Problem with the name of one of the subtables.
2009-07-30 08:21:04 -07:00