176 Commits

Author SHA1 Message Date
Robert Moore
045d5cf5c8 Truncate I/O addresses to 16 bits for Windows compatibility.
This feature is optional and is enabled if the BIOS requests any Windows
OSI strings. It can also be enabled by the host OS. Matthew Garrett,
Bob Moore.
2010-05-20 13:57:02 -07:00
Robert Moore
2ec18d1ecf Update version to 20100428.
Version 20100428.
2010-04-28 12:24:04 -07:00
Robert Moore
ecff2c8ed5 Update/clarify some parameter names associated with ACPI_HANDLE.
Simple rename of some parameters to standardize them.
2010-04-23 10:00:16 -07:00
Robert Moore
4f19d3be5a Update version to 20100331.
Version 20100331.
2010-03-31 09:23:49 -07:00
Robert Moore
45f0b38a92 Major update for GPE support code for shared GPEs.
Adds a reference count mechanism to simplify support of shared GPEs that
require multiple device drivers. Several external interfaces have changed.
One external interface has been removed.

Changed:
AcpiEnableGpe
AcpiDisableGpe
AcpiClearGpe
AcpiGetGpeStatus

Removed:
AcpiSetGpeType

New:
AcpiSetGpe

See the ACPICA Programmer Reference for details.
Matthew Garrett
Bob Moore
Rafael Wysocki
2010-03-26 15:54:55 -07:00
Robert Moore
c6ad540dbe Add subsystem option to force copy of DSDT to local memory.
Optionally copy the entire DSDT to local memory (instead of simply
mapping it.) There are some BIOSs that corrupt or replace the original
DSDT, creating the need for this option. Default is FALSE, do not copy
the DSDT.
2010-03-24 15:30:14 -07:00
Robert Moore
23ced2606d Update version to 20100304.
Version 20100304.
2010-03-04 09:38:05 -08:00
Robert Moore
e51c2639b6 Enhance configuration for output of AML Debug Object.
This change will enable debug object output via a global variable,
AcpiGbl_EnableAmlDebugObject. This will help with remote machine
debugging. Also, moved all debug object support code to a new file,
executer/exdebug.c. Entire debug object module can now be configured
out of the ACPICA build if desired. Lin Ming, Bob Moore.
2010-02-26 13:48:18 -08:00
Robert Moore
376714afc3 Update version to 20100121.
Version 20100121.
2010-01-21 10:01:14 -08:00
Robert Moore
c7dd20b0d7 Update all ACPICA copyrights and signons to 2010.
Add 2010 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2010-01-08 08:49:11 -08:00
Robert Moore
5eeed04c3a Update version to 20091214.
Version 20091214.
2009-12-14 12:52:55 -08:00
Robert Moore
e8195de87c Update version to 20091112.
Version 20091112.
2009-11-12 09:47:13 -08: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
af0711d385 Update version to 20091013.
Version 20091013.
2009-10-13 12:59:27 -07:00
Robert Moore
29afdc25fa Update version to 20090903.
Version 20090903.
2009-09-03 10:21:39 -07:00
Robert Moore
10068025c9 Update version to 20090730.
Version 20090730.
2009-07-30 10:18:54 -07:00
Robert Moore
c0b4186601 Update version to 20090625.
Update version number.
2009-06-25 10:31:32 -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
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
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
947813df24 Update version to 20090521.
Update version number.
2009-05-21 08:04:08 -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
5190ee5752 Update version to 20090422.
Version 20090422.
2009-04-22 12:34:59 -07:00
Robert Moore
5541c0cae8 Update error/warning interfaces.
Moved the module name and line number to the end of the message.
2009-03-25 14:23:48 -07:00
Robert Moore
4b273c9843 Update version to 20090320.
Version 20090320.
2009-03-20 12:40:18 -07:00
Robert Moore
b2483daab0 Update version to 20090220.
Version 20090220.
2009-02-20 08:37:20 -08:00
Robert Moore
89cce9695d Rename ACPI bit register access functions.
Rename AcpiGetRegister and AcpiSetRegister to clarify the purpose
of these functions. New names are AcpiReadBitRegister and
AcpiWriteBitRegister.
2009-02-10 09:00:12 -08:00
Robert Moore
d258fbe313 Optimize ACPI register locking.
Removed locking for reads from the ACPI bit registers in PM1 Status,
Enable, Control, and PM2 Control. The lock is not required when
reading the single-bit registers. The AcpiGetRegisterUnlocked function
is no longer needed and has been removed. This will improve performance
for reads on these registers.
ACPICA BZ 760.
2009-02-10 08:43:05 -08:00
Robert Moore
69dc0f01c7 Conditionally compile AcpiSetFirmwareWakingVector64.
This function is only needed on 64-bit host operating systems.
2009-02-05 12:49:35 -08:00
Robert Moore
5333ae5527 Update version to 20090123.
Update version to 20090123.
2009-01-23 11:02:09 -08:00
Robert Moore
416eb5461f Update all copyrights and signons to 2009.
Add 2009 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2009-01-08 13:17:27 -08:00
Robert Moore
1310e25615 Update version to 20081204.
Update version to 20081204.
2008-12-04 09:19:23 -08:00
Robert Moore
c1fbdac9fc Update prototypes for new public interfaces.
Update acpixf.h. Remove use of name "register" in two prototypes.
2008-11-20 19:31:55 -07:00
Robert Moore
8ce404a262 New: AcpiRead and AcpiWrite public interfaces.
Changed the HwLowLevelRead and HwLowLevelWrite functions to the public
AcpiRead and AcpiWrite to allow direct access to ACPI registers.
Removed the "width" parameter since the width can be obtained from the
input GAS structure. Updated the FADT initialization to setup the GAS
structures with the proper widths. Some widths are still hardcoded
because many FADTs have incorrect register lengths.
2008-11-20 19:31:55 -07:00
Robert Moore
73b9a81c06 New: Public GPE group enable/disable interfaces.
Added AcpiDisableAllGpes and AcpeEnableAllRuntimeGpes for
public use.
2008-11-18 14:57:10 -08:00
Robert Moore
320b444e76 New: AcpiGetGpeDevice interface.
This function maps an input GPE index to a GPE block device. Also
Added AcpiCurrentGpeCount to track the current number of GPEs that
are being managed by the ACPICA core (both FADT-based GPEs and the GPEs
contained in GPE block devices.)
2008-11-18 14:02:50 -08:00
Robert Moore
fb210c4daa Update version to 20081031.
Update version to 20081031.
ACPI_CA_VERSION has been moved to acpixf.h so that it is publically
available.
2008-10-31 08:02:10 -07:00
Robert Moore
a0cc21b568 Header restructuring, part two.
Made some globals "public" for ease-of-use, and to preserve
legacy code that uses them.
2008-10-29 14:01:32 -07:00
Robert Moore
56b2001556 Move some additional symbols to public headers.
Moved some commonly-used defines and global variables from the
private headers to the public headers. Split the resource descriptor
structs out of actypes.h to a new file, acrestyp.h
2008-10-24 14:18:37 -07:00
Robert Moore
085ae7362c Restructure includes into public/private.
acpi.h now includes only the "public" acpica headers. All other
acpica headers are "private" and should not be included by acpica
users. One new file, accommon.h is used to include the commonly
used private headers for acpica code generation. Future plans are
to move all private headers to a new subdirectory.
2008-10-22 14:31:40 -07:00
Robert Moore
b43930c742 Update FACS waking vector interfaces.
Split AcpiSetFirmwareWakingVector into two: one for the 32-bit vector,
another for the 64-bit vector. This is required because the host OS must
setup the wake much differently for each vector (real vs. protected mode,
etc.) and the interface should not be deciding which vector to use.
Also eliminate the GetFirmwareWakingVector interface, as it served no
purpose (only the firmware reads the vector, OS only writes the vector.)
ACPICA BZ 731.
2008-10-03 13:58:08 -07:00
Robert Moore
60c301a625 Simplify ACPI hardware interfaces.
Remove locking parameter from internal HwRegisterRead and HwRegisterWrite
functions. Add new AcpiGetRegisterUnlocked function.
2008-05-28 09:39:57 -07:00
Robert Moore
10e9550130 Eliminate ACPI_NATIVE_UINT type.
No longer needed; replaced mostly with UINT32, but also ACPI_SIZE where a
type that changes 32/64 bit on 32/64-bit platforms is required.
2008-05-08 13:22:20 -07: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
3ec1765aa1 Added new event counters and statistics interface.
AcpiGetStatistics and counters for fixed events, methods executed.
2007-11-14 20:37:56 +00:00
rmoore1
5e9a716dee New interfaces for table event handlers.
Designed and implemented new external interfaces to install and remove handlers for ACPI table-related events. Current events that are defined are LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as they are dynamically loaded and unloaded. See AcpiInstallTableHandler and AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2007-09-19 20:00:31 +00:00
rmoore1
6e075f8871 Update copyright to 2007.
Added 2007 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2007-01-09 20:01:19 +00:00
rmoore1
a6166d0815 Miscellaneous table manager updates and optimizations 2006-11-02 22:44:18 +00:00
rmoore1
cad864c806 Remove obsolete Flags parameter.
The Flags parameter for AcpiGetRegister and AcpiSetRegister has been removed. It is no longer necessary now that these functions use a spinlock for mutual exclusion.
2006-09-19 21:40:06 +00:00
rmoore1
62300dae19 The Table Manager component has been completely redesigned and reimplemented. The new design is much simpler, and reduces the overall code and data size of the kernel-resident ACPICA by approximately 5%. Also, it is now possible to obtain the ACPI tables very early during kernel initialization, even before dynamic memory management is initialized. 2006-08-23 19:55:36 +00:00