An error occurred fetching the project authors.
- 20 Jan, 2005 1 commit
-
-
Len Brown authored
Added 2005 copyright to all ACPICA files. Fixed an issue with the String-to-Buffer conversion code where the string null terminator was not included in the buffer after conversion, but there is existing ASL that assumes the string null terminator is included. This is the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was introduced in the previous version when the code was updated to correctly set the converted buffer size as per the ACPI specification. The ACPI spec is ambiguous and will be updated to specify that the null terminator must be included in the converted buffer. This also affects the ToBuffer() ASL operator. Fixed a problem with the Mid() ASL/AML operator where it did not work correctly on Buffer objects. Newly created sub-buffers were not being marked as initialized. Fixed a problem in acpi_tb_find_table where incorrect string compares were performed on the oem_id and oem_table_d table header fields. These fields are not null terminated, so strncmp is now used instead of strcmp. Implemented a restriction on the Store() ASL/AML operator to align the behavior with the ACPI specification. Previously, any object could be used as the source operand. Now, the only objects that may be used are Integers, Buffers, Strings, Packages, Object References, and DDB Handles. As acpi_gbl_enable_interpreter_slack is FALSE by default, "acpi=strict" is needed to enable this check. Enhanced the optional "implicit return" support to allow an implicit return value from methods that are invoked externally via the AcpiEvaluateObject interface. This enables implicit returns from the _STA and _INI methods, for example. Changed the Revision() ASL/AML operator to return the current version of the AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned the supported ACPI version (This is the function of the _REV method). Updated the _REV predefined method to return the currently supported version of ACPI, now 3.
-
- 11 Nov, 2004 1 commit
-
-
Len Brown authored
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
- 22 Oct, 2004 1 commit
-
-
Len Brown authored
Signed-off-by: Len Brown <len.brown@intel.com> Fixed a problem with the implementation of the LNot() operator where "Ones" was not returned for the TRUE case. Changed the code to return Ones instead of (!Arg) which was usually 1. This change affects iASL constant folding for this operator also. Fixed a problem in acpi_ut_initialize_buffer where an existing buffer was not initialized properly -- Now zero the entire buffer in this case where the buffer already exists. Changed the interface to acpi_os_sleep from (UINT32 Seconds, UINT32 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all related code considerably. This requires changes/updates to all OS interface layers (OSLs.) Implemented a new external interface, acpi_install_exception_handler, to allow a system exception handler to be installed. This handler is invoked upon any run-time exception that occurs during control method execution. Added support for the DSDT in acpi_tb_find_table. This allows the DataTableRegion() operator to access the local copy of the DSDT.
-
- 26 Mar, 2004 1 commit
-
-
Len Brown authored
Implemented support for "wake" GPEs via interaction between GPEs and the _PRW methods. Every GPE that is pointed to by one or more _PRWs is identified as a WAKE GPE and by default will no longer be enabled at runtime. Previously, we were blindly enabling all GPEs with a corresponding _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway. We believe this has been the cause of thousands of "spurious" GPEs on some systems. This new GPE behavior is can be reverted to the original behavior (enable ALL GPEs at runtime) via a runtime flag. Fixed a problem where aliased control methods could not access objects properly. The proper scope within the namespace was not initialized (transferred to the target of the aliased method) before executing the target method. Fixed a potential race condition on internal object deletion on the return object in AcpiEvaluateObject. Integrated a fix for resource descriptors where both _MEM and _MTP were being extracted instead of just _MEM. (i.e. bitmask was incorrectly too wide, 0x0F instead of 0x03.) Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a fault in some cases. Updated Notify() values for debug statements in evmisc.c Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
-
- 26 Feb, 2004 1 commit
-
-
Len Brown authored
Implemented execution of _SxD methods for Device objects in the GetObjectInfo interface. Fixed calls to _SST method to pass the correct arguments. Added a call to _SST on wake to restore to "working" state. Check for End-Of-Buffer failure case in the WalkResources interface. Integrated fix for 64-bit alignment issue in acglobal.h by moving two structures to the beginning of the file. After wake, clear GPE status register(s) before enabling GPEs. After wake, clear/enable power button. (Perhaps we should clear/enable all fixed events upon wake.) Fixed a couple of possible memory leaks in the Namespace manager.
-
- 17 Jan, 2004 1 commit
-
-
Len Brown authored
The purpose of this release is primarily to update the copyright years in each module, thus causing a huge number of diffs. There are a few small functional changes, however. Improved error messages when there is a problem finding one or more of the required base ACPI tables Reintroduced the definition of APIC_HEADER in actbl.h Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h) Removed extraneous reference to NewObj in dsmthdat.c
-
- 11 Dec, 2003 1 commit
-
-
Len Brown authored
Fixed a problem where a level-triggered GPE with an associated _Lxx control method was incorrectly cleared twice. Fixed a problem with the Field support code where an access can occur beyond the end-of-region if the field is non-aligned but extends to the very end of the parent region (resulted in an AE_AML_REGION_LIMIT exception.) Fixed a problem with ACPI Fixed Events where an RT Clock handler would not get invoked on an RTC event. The RTC event bitmasks for the PM1 registers were not being initialized properly. Implemented support for executing _STA and _INI methods for Processor objects. Although this is currently not part of the ACPI specification, there is existing ASL code that depends on the init-time execution of these methods. Implemented and deployed a GetDescriptorName function to decode the various types of internal descriptors. Guards against null descriptors during debug output also. Implemented and deployed a GetNodeName function to extract the 4-character namespace node name. This function simplifies the debug and error output, as well as guarding against null pointers during output. Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to simplify the debug and error output of 64-bit integers. This macro replaces the HIDWORD and LODWORD macros for dumping these integers. Updated the implementation of the Stall() operator to only call AcpiOsStall(), and also return an error if the operand is larger than 255. This preserves the required behavior of not relinquishing the processor, as would happen if AcpiOsSleep() was called for "long stalls". Constructs of the form "Store(LocalX,LocalX)" where LocalX is not initialized are now treated as NOOPs. Cleaned up a handful of warnings during 64-bit generation. Fixed a reported error where and incorrect GPE number was passed to the GPE dispatch handler. This value is only used for error output, however. Used this opportunity to clean up and streamline the GPE dispatch code.
-
- 29 Sep, 2003 1 commit
-
-
Len Brown authored
Found and fixed a longstanding problem with the late execution of the various deferred AML opcodes (such as Operation Regions, Buffer Fields, Buffers, and Packages)... This fixes the "region size computed incorrectly" problem. Fixed several 64-bit issues with prototypes, casting and data types. Removed duplicate prototype from acdisasm.h
-
- 23 May, 2003 1 commit
-
-
Andy Grover authored
Found and fixed a reported problem where an AE_NOT_FOUND error occurred occasionally during _BST evaluation. This turned out to be an Owner ID allocation issue where a called method did not get a new ID assigned to it. Eventually, (after 64k calls), the Owner ID UINT16 would wraparound so that the ID would be the same as the caller's and the called method would delete the caller's namespace. Implemented extended error reporting for control methods that are aborted due to a run-time exception. Output includes the exact AML instruction that caused the method abort, a dump of the method locals and arguments at the time of the abort, and a trace of all nested control method calls. Modified the interpreter to allow the creation of buffers of zero length from the AML code. Implemented new code to ensure that no attempt is made to actually allocate a memory buffer (of length zero), only a buffer object with a NULL buffer pointer and length zero. A warning is no longer issued when the AML attempts to create a zero-length buffer. Implemented a workaround for the "leading asterisk problem" in _HIDs, _UIDs, and _CIDs. One leading asterisk is automatically removed if present in all HID, UID, and CID strings. Implemented full support for _CID methods that return a package of multiple CIDs. The AcpiGetObjectInfo interface now returns a device _HID, _UID, and _CID list if present. This required a change to the external interface to pass an ACPI_BUFFER object as a parameter, since the _CID list is of variable length. Fixed a problem with the new AE_SAME_HANDLER exception where handler initialization code did not know about this exception.
-
- 12 May, 2003 1 commit
-
-
Andy Grover authored
Changed the subsystem initialization sequence to hold off installation of address space handlers until the hardware has been initialized and the system has entered ACPI mode. This is because the installation of space handlers can cause _REG methods to be run. Previously, the _REG methods could potentially be run before ACPI mode was enabled. Fixed some memory leak issues related to address space handler and notify handler installation. There were some problems with the reference count mechanism caused by the fact that the handler objects are shared across several namespace objects. Fixed a reported problem where reference counts within the namespace were not properly updated when named objects created by method execution were deleted. Fixed a reported problem where multiple SSDTs caused a deletion issue during subsystem termination. Restructured the table data structures to simplify the linked lists and the related code. Fixed a problem where the table ID associated with secondary tables (SSDTs) was not being propagated into the namespace objects created by those tables. This would only present a problem for tables that are unloaded at run-time, however. Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE type as the length parameter (instead of UINT32). Solved a long-standing problem where an ALREADY_EXISTS error appears on various systems. This problem could happen when there are multiple PCI_Config operation regions under a single PCI root bus. This doesnt happen very frequently, but there are some systems that do this in the ASL. Fixed a reported problem where the internal DeleteNode function was incorrectly handling the case where a namespace node was the first in the parents child list, and had additional peers (not the only child, but first in the list of children.)
-
- 18 Apr, 2003 1 commit
-
-
Andy Grover authored
- Fix for big-endian arcitectures
-
- 18 Feb, 2003 1 commit
-
-
Andy Grover authored
-
- 12 Feb, 2003 1 commit
-
-
Patrick Mochel authored
-
- 07 Jan, 2003 1 commit
-
-
Andy Grover authored
-
- 17 Dec, 2002 2 commits
-
-
Andy Grover authored
-
Andy Grover authored
-
- 12 Dec, 2002 1 commit
-
-
Andy Grover authored
- remove NATIVE_CHAR typedef - remove ACPI_{GET,VALID}_ADDRESS macros - fix memory corruption in deletion of a static AML buffer - fix fault caused by 0-length AML - fix user-buffer overwrite/corruption of buffer is too small - fix buffer-to-string conversion
-
- 05 Dec, 2002 1 commit
-
-
Andy Grover authored
Prefix more contants with ACPI_ Fixed a problem causing DSDT image corruption Fixed a problem if a method was called in an object declaration Fixed a problem in the string copy routine Broke out some code into new files
-
- 11 Nov, 2002 1 commit
-
-
Andy Grover authored
-
- 22 Oct, 2002 1 commit
-
-
Andy Grover authored
- Remove old code - Change some defines - Change Scope behavior
-
- 02 Oct, 2002 1 commit
-
-
Andy Grover authored
- Fix problem where a store/copy of a string did not set string length properly. - Fix ToString operator - Fix CopyObject not updating internal node type - Fix a memory leak during implicit operand source conversion - Enhanced error messages for namespace lookup problems - Revamped Alias support
-
- 15 Aug, 2002 1 commit
-
-
Andy Grover authored
- Improved ACPI mode switching (Kochi Takayoshi) - Improved namespace handling of parent operator "^^" - Changed the names of some proprocessor macros - Other improvements
-
- 11 Jun, 2002 1 commit
-
-
Andy Grover authored
ACPI interpreter update Change non-interpreter code to account for the interpreter changes.
-
- 29 May, 2002 1 commit
-
-
Andy Grover authored
Improved error checking on hw accesses Moved arch specific macros to arch/asm/acpi.h
-
- 05 Apr, 2002 1 commit
-
-
Andy Grover authored
add support for GPE fields to be in any address space, not just IO. comment and debug print cleanups
-
- 15 Mar, 2002 1 commit
-
-
Andy Grover authored
This is the update to the core interpreter code.
-
- 05 Feb, 2002 6 commits
-
-
Linus Torvalds authored
- Michael Warfield: computone serial driver update - Alexander Viro: cdrom module race fixes - David Miller: Acenic driver fix - Andrew Grover: ACPI update - Kai Germaschewski: ISDN update - Tim Waugh: parport update - David Woodhouse: JFFS garbage collect sleep
-
Linus Torvalds authored
- Andrew Grover: ACPI update - Al Viro: block devices.. - Andrea Arcangeli: fix list manipulation bogosity - Trond Myklebust: 64-bit file locking fixes - Brad Hards: USB CDC ethernet - Chris Mason: reiserfs speedup - Robert Love: re-merge AMD 761 GART support that was lost in -ac merge - Adam Richter: check pci_module_init() return value
-
Linus Torvalds authored
- Johannes Erdfelt: USB update (bluetooth and serial) - Andrew Grover: ACPI update for _real_ this time. - Neil Brown: md update - Keith Owens: kbuild script fix, do_softirq versioning fix - David Miller: sparc and portability updates
-
Linus Torvalds authored
- Get non-cpuid Cyrix probing right (it's not a NexGen) - Jens Axboe: cdrom tray status and queing cleanups - AGP GART: don't disable VIA, and allow i815 with external AGP - Coda: use iget4() in order to have big inode numbers without clashes. - Fix UDF writepage() page locking - NIIBE Yutaka: SuperH update - Martin Diehl and others: SiS pirq routing fixes - Andy Grover: ACPI update - Andrea Arkangeli: LVM update - Ingo Molnar: RAID cleanups - David Miller: sparc and networking updates - Make NFS really be able to handle large files
-
Linus Torvalds authored
- got a few too-new R128 #defines in the Radeon merge. Fix. - tulip driver update from Jeff Garzik - more cpq and DAC elevator fixes from Jens. Looks good. - Petr Vandrovec: nicer ncpfs behaviour - Andy Grover: APCI update - Cort Dougan: PPC update - David Miller: sparc updates - David Miller: networking updates - Neil Brown: RAID5 fixes
-
Linus Torvalds authored
-