10203 Commits

Author SHA1 Message Date
rmoore1
ce68afe20a Fix for extraneous debug message for packages.
Fixed a problem where an extraneous debug message was produced for package objects (when debugging enabled). The message "Package List length larger than NumElements count" is now produced in the correct case, and is also an error message rather than a debug message. Added a debug message for the opposite case, where NumElements is larger than the Package List, and the package has been padded out with NULL elements.
2008-03-05 22:24:37 +00:00
rmoore1
a9c2b329d8 Fix for AE_ALREADY_EXISTS when using Switch operator.
Fixed a problem with the use of the Switch operator where execution by multiple concurrent threads could cause an AE_ALREADY_EXISTS. This is caused by the fact that there is no actual Switch opcode, it must be simulated with temp variables and if/else pairs. The solution chosen was to mark any method that uses Switch to be Serialized, thus preventing multiple thread entries. BZ 469.
2008-02-26 19:55:23 +00:00
rmoore1
cf488d4ed8 Add test for using external buffer as argument to a method 2008-02-13 18:13:18 +00:00
rmoore1
a41245aee8 Update ACPICA version to 20080213.
Update ACPICA version to 20080213.
2008-02-13 18:09:17 +00:00
rmoore1
4fd0a351eb Fix for possible error when packages/buffers are passed to methods externally.
Fixed a problem where buffer and package objects passed as arguments to a control method via the external AcpiEvaluateObject interface could cause an AE_AML_INTERNAL exception depending on the order and type of operators executed by the target control method.
2008-02-13 18:07:19 +00:00
rmoore1
14ac5e4da7 Fix for AcpiGetDevices -- CID matching.
Fixed a problem with the AcpiGetDevices interface where the mechanism to match device CIDs did not examine the entire list of available CIDs, but instead aborted on the first non-matching CID. Andrew Patterson.
2008-02-12 23:45:11 +00:00
rmoore1
513c55f199 Update behavior of CopyObject to match ACPI spec.
Fixed a problem where a CopyObject to RegionField, BankField, and IndexField objects did not perform an implicit conversion as it should. These types must retain their initial type permanently as per the ACPI specification. However, a CopyObject to all other object types should not perform an implicit conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2008-02-12 23:06:29 +00:00
rmoore1
c02ce8378a *** empty log message *** 2008-02-12 21:27:37 +00:00
rmoore1
7fabf2c1a0 Fix for HIDWORD macro.
Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was inadvertently changed to return a 16-bit value instead of a 32-bit value, truncating the upper dword of a 64-bit value. This macro is only used to display debug output, so no incorrect calculations were made. Also, reimplemented the macro so that a 64-bit shift is not performed by inefficient compilers.
2008-02-12 21:27:21 +00:00
rmoore1
1378c2d2d8 Fix for resource descriptor optimization issues for _CRS/_SRC.
Fixed a problem where resource descriptor size optimization could cause a problem when a _CRS resource template is passed to a _SRS method. The _SRS resource template must use the same descriptors (with the same size) as returned from _CRS. This change affects the following resource descriptors: IRQ/IRQNoFlags and StartDependendentFn/StartDependentFnNoPri. (BZ 9487)
2008-02-12 21:26:21 +00:00
rmoore1
62aa826c5a Additional GPE/Notify handling change.
Implemented another MS compatibility design change for GPE/Notify handling. GPEs are now cleared/enabled asynchronously to allow all pending notifies to complete first. It is expected that the OSL will queue the enable request behind all pending notify requests (may require changes to the local host OSL in AcpiOsExecute). Alexey Starikovskiy
2008-02-12 21:24:59 +00:00
rmoore1
8b2e508821 Disassembler support for new ACPI tables.
Implemented full disassembler support for the following new ACPI tables: BERT, EINJ, and ERST. Partial disassembler support for the complicated HEST table. These tables support the Windows Hardware Error Architecture (WHEA).
2008-02-12 21:23:36 +00:00
rmoore1
0ceab23334 Back out change made for BankField/BankValue.
Change caused problems with the disassembler.
2008-02-07 23:56:04 +00:00
rmoore1
52c83a9378 Fix for ACPI_HIDWORD macro.
Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was inadvertently changed to return a 16-bit value instead of a 32-bit value, truncating the upper Dword of a 64-bit value. This macro is only used to display debug output, so no incorrect calculations were made.
2008-02-07 21:37:33 +00:00
mlin2
018c4178a2 Delete multiple External declarations with the same name. 2008-02-03 01:39:43 +00:00
rmoore1
c67cda2bca Added BankField to deferred opcode list.
Now handles BankField as a deferred opcode (BankField recently became a deferred opcode).
2008-02-01 00:02:33 +00:00
rmoore1
52cb48f9cb Added additional object to SIZES command.
Added ACPI_OBJECT to the object sizes dumped by statistics/sizes
2008-02-01 00:00:27 +00:00
rmoore1
8ffb8731ed Added new error messages.
New messages for the 2 AE_SUPPORT cases.
2008-01-31 23:25:00 +00:00
rmoore1
e65b207b45 Add va_end statements as appropriate.
Added missing va_end statements that should correspond with each va_start statement.
2008-01-24 23:36:02 +00:00
rmoore1
1dfeb90acd *** empty log message *** 2008-01-23 22:36:48 +00:00
rmoore1
1004b05952 Update version to 20080123.
Update version to 20080123.
2008-01-23 22:22:25 +00:00
rmoore1
f710c3b2e4 Fixes for Unload and DDBHandles.
Implemented support for the use of DDBHandles as an Indexed Reference, as per the ACPI spec. (Lin Ming) BZ 486. Implemented support for UserTerm (Method invocation) for the Unload operator as per the ACPI spec. (Lin Ming) BZ 580
2008-01-23 22:19:31 +00:00
rmoore1
27acc4211a Bulletproof disassembler for bad ACPI tables.
Fixed a problem with the disassembler where invalid ACPI tables could cause faults or infinite loops.
2008-01-23 22:13:53 +00:00
rmoore1
96af461e5c 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.
2008-01-23 22:11:31 +00:00
rmoore1
52e3d1c0d3 Fix for LoadTable operator.
Implemented support for full TermArgs (adding Argx, Localx and method invocation) for the ParameterData parameter to the LoadTable operator. (Lin Ming) BZ 583,587
2008-01-23 22:07:34 +00:00
rmoore1
562b50607f Fix for multiple Externals with same name.
Fixed a problem where two External declarations with the same name did not cause an error (Lin Ming) BZ 509
2008-01-23 21:57:15 +00:00
rmoore1
bc5da88afa 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. (Lin Ming, Bob Moore) BZ 576
2008-01-23 21:55:57 +00:00
rmoore1
11225de712 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. (Lin Ming) BZ 463
2008-01-23 21:51:36 +00:00
rmoore1
20c70630f8 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. (Lin Ming) BZ 392
2008-01-23 21:49:59 +00:00
rmoore1
051f5bae56 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 (Lin Ming, Bob Moore) BZ 9558
2008-01-23 21:42:43 +00:00
rmoore1
fd57e67dfa Fixed incorrect parse error.
Fixed an unexpected parse error when using the optional "parameter types" list in a control method declaration. (Lin Ming) BZ 397
2008-01-18 17:48:43 +00:00
rmoore1
71363415fe Added additional info to the namespace output file.
Implemented additional debugging information in the namespace listing file created during compilation. In addition to the namespace hierarchy, the full pathname to each namespace object is displayed.
2008-01-11 21:58:24 +00:00
rmoore1
83324fc43b Added checksum validation for disassembly of DSDTs and SSDTs.
Implemented support in the disassembler for checksum validation on incoming binary DSDTs and SSDTs. If incorrect, a message is displayed within the table header dump at the start of the disassembly.
2008-01-11 21:47:42 +00:00
rmoore1
fd55360349 Added the 2008 copyright to all module headers and signons.
This affects  virtually every file in the ACPICA core subsystem, the iASL compiler, and the tools/utilities.
2008-01-09 22:52:49 +00:00
rmoore1
b5a5d1f8f7 Update signon.
Update to add 2008 to copyright.
2008-01-09 22:40:23 +00:00
rmoore1
a417391ec6 Update copyright to 2008.
Added 2008 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2008-01-09 21:27:10 +00:00
rmoore1
dc7e4c5bc3 2008 Copyright support added.
2008 copyright for base code and Linux version. Also, removed R. Byron Moore copyright and replaced with Intel Corp.
2008-01-09 21:25:54 +00:00
rmoore1
1f8e9d2305 *** empty log message *** 2007-12-19 17:58:25 +00:00
rmoore1
775219ccf7 Update version to 20071219.
Update version to 20071219.
2007-12-19 16:37:32 +00:00
rmoore1
198adef437 *** empty log message *** 2007-12-19 16:36:49 +00:00
mlin2
e65c208bc6 No RSDT in simulator, so comment out the RSDT DataTableRegion test
Fix a bug of method m7f4
2007-12-13 08:47:12 +00:00
mlin2
7ffbb19a7f Enable BankField and DataTableRegion test 2007-12-13 08:41:26 +00:00
rmoore1
b9f21a5207 Fixed a couple memory leaks associated with "implicit return" objects when the AML Interpreter slack mode is enabled. Lin Ming BZ 349 2007-12-11 23:11:16 +00:00
rmoore1
07c223a3de Implemented full argument resolution support for the BankValue argument to BankField. Previously, only constants were supported, now any TermArg may be used. Lin Ming BZ 387, 393 2007-12-11 22:43:43 +00:00
rmoore1
413ebb3f59 Automated cleanup 2007-12-11 22:11:54 +00:00
rmoore1
6a9ee10013 Undo accidental checkin of not-fully-tested mutex changes. 2007-12-07 22:02:52 +00:00
rmoore1
5215ee7228 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.) Lin Ming. BZ 430 2007-12-07 21:45:40 +00:00
rmoore1
60a2aece79 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. 2007-12-07 21:39:56 +00:00
rmoore1
1bfa058e6c Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if the underlying AML code changed the GPE enable registers. Now, any unknown incoming GPE is immediately disabled instead of simply ignored. 2007-12-07 21:35:57 +00:00
rmoore1
d100081f18 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. 2007-12-07 21:10:01 +00:00