Lin Ming
bc7a36ab74
ACPICA: Fixes for Unload and DDBHandles
...
Implemented support for the use of DDBHandles as an Indexed
Reference, as per the ACPI spec.
http://www.acpica.org/bugzilla/show_bug.cgi?id=486 .
Implemented support for UserTerm (Method invocation) for the Unload operator
as per the ACPI spec.
http://www.acpica.org/bugzilla/show_bug.cgi?id=580
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:30 -04:00
Bob Moore
a6f4a4511e
ACPICA: Bulletproof disassembler for bad ACPI tables
...
Fixed a problem with the disassembler where invalid ACPI tables
could cause faults or infinite loops.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:30 -04:00
Bob Moore
970d9c9ec3
ACPICA: Include file support for new ACPI tables
...
Implemented header file support for new ACPI tables - BERT, ERST,
EINJ, HEST, IBFT, UEFI, WDAT. Disassembler support is forthcoming.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:30 -04:00
Lin Ming
47c08729bf
ACPICA: Fix for LoadTable operator, input strings
...
Fixed a problem with the LoadTable operator where the OemId
and OemTableId input strings could cause unexpected failures if
they were shorter than the maximum lengths allowed.
http://www.acpica.org/bugzilla/show_bug.cgi?id=576
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:29 -04:00
Lin Ming
200cce6a75
ACPICA: Fix for Load operator
...
Fixed a problem with the Load operator where an exception was not
returned in the case where the table is already loaded.
http://www.acpica.org/bugzilla/show_bug.cgi?id=463
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:29 -04:00
Lin Ming
9accd46459
ACPICA: Methods now implicitly return 0 in slack mode
...
Implemented an enhancement to the interpreter "slack mode". In the
absence of an explicit return or an implicitly returned object from
the last executed opcode, a control method will now implicitly
return an integer of value 0 for Microsoft compatibility.
http://www.acpica.org/bugzilla/show_bug.cgi?id=392
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:29 -04:00
Lin Ming
8246934b7c
ACPICA: Fix for SizeOf when used with Buffers and Packages
...
Fixed a problem with the SizeOf operator when used with Package
and Buffer objects. These objects have deferred execution for some
arguments, and the execution is now completed before the SizeOf is
executed. This problem caused unexpected AE_PACKAGE_LIMIT errors
on some systems.
http://bugzilla.kernel.org/show_bug.cgi?id=9558
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:29 -04:00
Bob Moore
c351f2dd54
ACPICA: Update version to 20071219
...
Update version to 20071219.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:29 -04:00
Lin Ming
ef805d9563
ACPICA: Implemented full argument resolution support for the BankValue argument to BankField
...
Previously, only constants were supported, now any TermArg may
be used.
http://www.acpica.org/bugzilla/show_bug.cgi?id=387
http://www.acpica.org/bugzilla/show_bug.cgi?id=393
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:28 -04:00
Bob Moore
57345ee6b8
ACPICA: Undo accidental checkin of not-fully-tested mutex changes
...
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:28 -04:00
Lin Ming
941f48bb46
ACPICA: Implemented full support for deferred execution for the TermArg string arguments for DataTableRegion
...
This enables forward references and full operand resolution for
the three string arguments. Similar to OperationRegion deferred
argument execution.)
http://www.acpica.org/bugzilla/show_bug.cgi?id=430
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:28 -04:00
Bob Moore
9aa6169f47
ACPICA: Fixed a problem with Index Fields where the Index register was incorrectly limited to a maximum of 32 bits
...
Now any size may be used.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:28 -04:00
Bob Moore
549f46044e
ACPICA: Fixed a problem with AcpiGetDevices where the search of a branch of the device tree could be terminated prematurely
...
In accordance with the ACPI specification, the search is terminated
if a device is both not present and not functional (instead of
just not present.) Yakui Zhao.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:28 -04:00
Bob Moore
8a2e71a823
ACPICA: Update version to 20071114
...
Update version to 20071114.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:28 -04:00
Lin Ming
1cb2ef6606
ACPICA: Fixed a problem with CopyObject used in conjunction with the Index operator
...
The reference was incorrectly dereferenced before the copy. The
reference is now correctly copied.
http://bugzilla.kernel.org/show_bug.cgi?id=5391
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:28 -04:00
Lin Ming
e5bcc811f7
ACPICA: Fixed a problem with Index references passed as method arguments
...
References passed as arguments to control methods were dereferenced
immediately (before control was passed to the called method). The
references are now correctly passed directly to the called
method.
http://bugzilla.kernel.org/show_bug.cgi?id=5389
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:27 -04:00
Bob Moore
1f549a240c
ACPICA: Fixed a problem with FromBCD and ToBCD with some compilers
...
On some compilers, the ShortDivide function worked incorrectly,
causing problems with the BCD functions with large input
values. (Truncation from 64-bit to 32-bit occurred.) Internal
http://www.acpica.org/bugzilla/show_bug.cgi?id=435
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:27 -04:00
Bob Moore
b160987df7
ACPICA: Fixes a problem with control method references within packages
...
Completes the package changes started with version 20071019.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:27 -04:00
Bob Moore
f2d69559b3
ACPICA: Cleanup of debug output
...
Improved output of object dump routine.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:27 -04:00
Bob Moore
b7f9f04228
ACPICA: Cosmetic changes only, no functional changes
...
Lint changes, fix compiler warnings, etc.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:27 -04:00
Bob Moore
1d18c05825
ACPICA: Cosmetic changes only, no functional changes
...
Lint changes, fix compiler warnings, etc.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:27 -04:00
Bob Moore
39adb11e56
ACPICA: Update version to 20071019
...
Update version to 20071019.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:26 -04:00
Lin Ming
49718b1741
ACPICA: Added additional parameter validation for LoadTable
...
Implemented additional parameter validation for the LoadTable
operator. The length of the input strings SignatureString,
OemIdString, and OemTableId are now checked for maximum
lengths.
http://www.acpica.org/bugzilla/show_bug.cgi?id=582
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:26 -04:00
Lin Ming
fe4078af56
ACPICA: Fix for Increment/Decrement operator, incorrect type change
...
Fixed a problem with the Increment and Decrement operators where
the type of the target object could be unexpectedly and incorrectly
changed.
http://www.acpica.org/bugzilla/show_bug.cgi?id=353
Signed-off-by: Lin Ming <ming.m.lin@intel.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:26 -04:00
Bob Moore
9e41d93c97
ACPICA: Fixed a memory leak when Device or Thermal objects referenced in packages
...
Problem introduced in fix for Package references.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de >
Signed-off-by: Len Brown <len.brown@intel.com >
2008-04-22 14:29:26 -04:00