Commit Graph

97 Commits

Author SHA1 Message Date
aystarik
8c11fc55c2 Added ACPI_NOT_ISR flags to external GPE interfaces
date	2003.03.26.22.17.00;	author rmoore1;	state Exp;
2005-06-29 16:45:15 +00:00
aystarik
f872c19e97 Additional mutex and locking for GPE data structures
date	2003.03.18.21.10.00;	author rmoore1;	state Exp;
2005-06-29 16:45:14 +00:00
aystarik
9a9c7dd9a3 Support for GPE Block Devices
date	2003.03.06.21.54.00;	author rmoore1;	state Exp;
2005-06-29 16:45:13 +00:00
aystarik
a454c25c48 Pass GPE list head to SCI handler
date	2003.02.28.20.50.00;	author rmoore1;	state Exp;
2005-06-29 16:45:12 +00:00
aystarik
4397e4ea8e Don't bother checking SCI_EN on every xrupt
date	2003.02.27.22.52.00;	author rmoore1;	state Exp;
2005-06-29 16:45:11 +00:00
aystarik
e258afd17f Externalized 3 hardware interfaces
date	2002.05.01.20.11.00;	author rmoore1;	state Exp;
2005-06-29 16:45:07 +00:00
aystarik
ce8312724b Added ACPI_SYSTEM_XFACE to specify calling convention for "system"
interfaces and callbacks.


date	2002.02.14.23.50.00;	author rmoore1;	state Exp;
2005-06-29 16:45:04 +00:00
aystarik
a49b72a4f8 ACPI_ prefix for all register names; Simplified event and register
decoding


date	2002.01.15.21.56.00;	author rmoore1;	state Exp;
2005-06-29 16:45:01 +00:00
aystarik
adae2195b2 Removed all support to save/restore the GPE status/enable registers --
unnecessary.


date	2002.01.14.22.19.00;	author rmoore1;	state Exp;
2005-06-29 16:45:00 +00:00
aystarik
b7b4c69be7 Restructuring of GPE tables and code
date	2002.01.11.22.41.00;	author rmoore1;	state Exp;
2005-06-29 16:44:59 +00:00
aystarik
53b6b3886b Cleanup and removed obsolete comment
date	2001.12.20.22.25.00;	author rmoore1;	state Exp;
2005-06-29 16:44:57 +00:00
aystarik
8aa08dd499 Removed code to disable events before removing the SCI handler -- not
needed


date	2001.12.14.23.22.00;	author rmoore1;	state Exp;
2005-06-29 16:44:56 +00:00
aystarik
af7d534cc3 remove no longer neede sci counting code
date	2001.02.09.21.54.00;	author agrover;	state Exp;
2005-06-29 16:44:50 +00:00
aystarik
6343fabf72 Code cleanup
date	2000.11.15.23.42.00;	author rmoore1;	state Exp;
2005-06-29 16:44:47 +00:00
aystarik
814cfc3d13 Converted all code to use the new (X) fields of the FADT.
Internally, everything is ACPI 2.0


date	2000.11.08.18.55.00;	author rmoore1;	state Exp;
2005-06-29 16:44:46 +00:00
aystarik
2aadc872df Integrated new hardware bit access function (new name)
date	2000.11.02.22.20.00;	author rmoore1;	state Exp;
2005-06-29 16:44:44 +00:00
aystarik
fa0c1149e3 Support for ACPI 2.0 tables - all hardware access via the Generic
Address Structure


date	2000.11.02.18.40.00;	author rmoore1;	state Exp;
2005-06-29 16:44:43 +00:00
aystarik
5237fbed1b Support for ACPI 2.0 tables
date	2000.10.31.22.38.00;	author rmoore1;	state Exp;
2005-06-29 16:44:42 +00:00
aystarik
0f5a1f97f0 date 2000.10.04.23.56.00; author agrover; state Exp; 2005-06-29 16:44:41 +00:00
aystarik
771b98fa89 Cleanup. Removed an error message from SCI handler
date	2000.07.13.20.34.00;	author rmoore1;	state Exp;
2005-06-29 16:44:36 +00:00
aystarik
b7b7864920 Function rename to avoid multiple uppercase letters
date	2000.06.14.20.34.00;	author rmoore1;	state Exp;
2005-06-29 16:44:29 +00:00
aystarik
ae5b32166f Added parameter to HwRegisterIO call to gate whether or not the
hardware mutex is acquired.


date	2000.05.16.22.18.00;	author mwalz;	state Exp;
2005-06-29 16:44:24 +00:00
aystarik
97aebac97a date 2000.04.19.22.26.00; author rmoore1; state Exp; 2005-06-29 16:44:22 +00:00
aystarik
091d902853 date 2000.02.22.21.57.00; author psdiefen; state Exp; 2005-06-29 16:44:21 +00:00
aystarik
9fd1251ff5 date 2000.02.22.18.20.00; author psdiefen; state Exp; 2005-06-29 16:44:20 +00:00
aystarik
4474d37e0a Changed event handling process for installable GPE handlers (e.g. EC)
-- now uses DPC mechanism just like control method handlers (e.g. _Lxx, _Exx).


date	2000.02.18.22.09.00;	author psdiefen;	state Exp;
2005-06-29 16:44:19 +00:00
aystarik
3d0fb91af7 Osd I/O interfaces use pointer-sized address now
date	99.11.09.23.03.00;	author rmoore1;	state Exp;
2005-06-29 16:44:17 +00:00
aystarik
ba9f9742b9 Prefixed all global variables with "Gbl_" for easy recognition
date	99.09.02.18.02.00;	author rmoore1;	state Exp;
2005-06-29 16:44:15 +00:00
aystarik
3d715aa626 Converted to new return macros
date	99.08.13.16.58.00;	author rmoore1;	state Exp;
2005-06-29 16:44:14 +00:00
aystarik
6f8cd2954a Made some Hardware functions private, changed all callers.
date	99.07.27.18.14.00;	author grsmith1;	state Exp;
2005-06-29 16:44:12 +00:00
aystarik
e46c8b0dc8 Added EvTerminate
date	99.07.23.20.42.00;	author rmoore1;	state Exp;
2005-06-29 16:44:11 +00:00
aystarik
915fb418d8 Fixed the calls to OsdInstall/Remove InterruptHandler to use the new
interface.  Changed the definition of EvSciHandler to take a void context
pointer as it's only argument.


date	99.07.06.17.57.00;	author grsmith1;	state Exp;
2005-06-29 16:44:08 +00:00
aystarik
bd1f055f4c Changed the _DEBUG flag to ACPI_DEBUG.
date	99.07.01.21.57.00;	author grsmith1;	state Exp;
2005-06-29 16:44:07 +00:00
aystarik
b50dcffce1 Standard parameter list formatting
date	99.06.10.18.22.00;	author rmoore1;	state Exp;
2005-06-29 16:44:06 +00:00
aystarik
23b32f4c9d Renamed some of the basic data types to ACPI*
date	99.06.09.23.33.00;	author rmoore1;	state Exp;
2005-06-29 16:44:05 +00:00
aystarik
cb812da80d Gpe handling moved to evgpe.c
Fixed event handling moved to evfixed.c


date	99.06.02.20.52.00;	author rmoore1;	state Exp;
2005-06-29 16:44:04 +00:00
aystarik
c32e9bac25 Renamed AcpiModeStatus to AcpiGetMode
date	99.05.20.23.35.00;	author rmosgrov;	state Exp;
2005-06-29 16:44:03 +00:00
aystarik
ec68d86272 Cleaned up interrupt handling path, added FUNCTION_EXIT.
date	99.05.20.23.11.00;	author grsmith1;	state Exp;
2005-06-29 16:44:02 +00:00
aystarik
dd8f558827 Changed the includes to comply with module name changes.
date	99.05.18.21.14.00;	author grsmith1;	state Exp;
2005-06-29 16:44:01 +00:00
aystarik
0dfe785430 Removed all compilation warnings under BeOS.
date	99.05.14.16.26.00;	author grsmith1;	state Exp;
2005-06-29 16:44:00 +00:00
aystarik
2798847102 Updated to new exception codes
date	99.05.12.23.35.00;	author rmoore1;	state Exp;
2005-06-29 16:43:59 +00:00
aystarik
1e112564fe 1st shot at a redesign:
1) API's for OS to register for fixed events
2) stripped out all obsolete code/globals
3) better support for the new exception types


date	99.05.12.22.21.00;	author grsmith1;	state Exp;
2005-06-29 16:43:58 +00:00
aystarik
eb32c02626 Added ACPI_STATUS exception codes
date	99.05.07.17.23.00;	author rmoore1;	state Exp;
2005-06-29 16:43:57 +00:00
aystarik
4402df51eb Cleaned up the code a bit, allowed for multiple ACPI events per SCI.
date	99.04.30.17.23.00;	author grsmith1;	state Exp;
2005-06-29 16:43:56 +00:00
aystarik
f4b1d5a8fd Added legal-approved header
date	99.04.19.20.22.00;	author rmoore1;	state Exp;
2005-06-29 16:43:55 +00:00
aystarik
9035a970e4 Moving globals to one place (part 2)
date	99.04.16.20.20.00;	author rmoore1;	state Exp;
2005-06-29 16:43:54 +00:00
aystarik
09c7c01fad RestoreAcpiState moved here from nstables.c
date	99.04.16.15.54.00;	author rmoore1;	state Exp;
2005-06-29 16:43:53 +00:00
aystarik
6fdbca5a1c Added I/O uppercase macros
date	99.04.15.22.01.00;	author rmoore1;	state Exp;
2005-06-29 16:43:52 +00:00
aystarik
87a795999a Major header file consolidation
date	99.04.07.22.34.00;	author rmoore1;	state Exp;
2005-06-29 16:43:51 +00:00
aystarik
d2f9dacf51 date 99.04.06.20.42.00; author rmoore1; state Exp; 2005-06-29 16:43:50 +00:00