Commit Graph

291 Commits

Author SHA1 Message Date
aystarik
f0d043f970 date 2000.02.18.22.49.00; author psdiefen; state Exp; 2005-06-29 16:52:48 +00:00
aystarik
fbe469bdbc date 2000.02.17.21.08.00; author psdiefen; state Exp; 2005-06-29 16:52:47 +00:00
aystarik
1eaa61840d Updated for new core subsystem header filenames
date	2000.02.10.18.59.00;	author rmoore1;	state Exp;
2005-06-29 16:52:43 +00:00
aystarik
c1fb72a092 date 2000.01.20.00.53.00; author psdiefen; state Exp; 2005-06-29 16:52:39 +00:00
aystarik
85446710a4 date 2000.01.13.07.27.00; author psdiefen; state Exp; 2005-06-29 16:52:38 +00:00
aystarik
066bdcb7fd Prefixed all global variables with "Gbl_" for easy recognition
date	99.09.02.18.02.00;	author rmoore1;	state Exp;
2005-06-29 16:52:33 +00:00
aystarik
7a1f831472 Updated License Header
date	99.09.02.18.01.00;	author mwalz;	state Exp;
2005-06-29 16:52:32 +00:00
aystarik
f8b749119a Support for Gpe1Base
date	99.08.10.16.00.00;	author rmoore1;	state Exp;
2005-06-29 16:52:30 +00:00
aystarik
fdc40fdd42 Phase 2 legal header.
date	99.07.07.21.17.00;	author grsmith1;	state Exp;
2005-06-29 16:52:27 +00:00
aystarik
09a894f507 Added VERBOSE_EVENTS debug output.
date	99.06.23.23.26.00;	author grsmith1;	state Exp;
2005-06-29 16:52:25 +00:00
aystarik
3964490e8b GPE register I/O
date	99.06.11.20.57.00;	author rmoore1;	state Exp;
2005-06-29 16:52:24 +00:00
aystarik
514b5f19a3 Header update
date	2005.03.23.22.44.00;	author rmoore1;	state Exp;
2005-06-29 16:52:18 +00:00
aystarik
b657875c6b Update for static functions, cleanup
date	2005.03.21.18.39.00;	author rmoore1;	state Exp;
2005-06-29 16:52:17 +00:00
aystarik
a217c8df77 Improved error messages
date	2003.12.03.18.39.00;	author rmoore1;	state Exp;
2005-06-29 16:52:05 +00:00
aystarik
93281456ed Add check for SMI_CMD register in HwGetMode
date	2003.10.02.17.20.00;	author rmoore1;	state Exp;
2005-06-29 16:52:03 +00:00
aystarik
6c335874bf Changes for big-endian support
date	2003.04.16.20.56.00;	author rmoore1;	state Exp;
2005-06-29 16:52:01 +00:00
aystarik
2b7f4d83fe Automated code cleanup
date	2002.12.06.16.32.00;	author rmoore1;	state Exp;
2005-06-29 16:51:58 +00:00
aystarik
7e4ae3c34a fix typo
date	2002.04.27.00.48.00;	author agrover;	state Exp;
2005-06-29 16:51:51 +00:00
aystarik
97f9727cf7 some hardware takes a LONG time to switch modes. Give them 3 sec to
do so, but allow faster systems to proceed more quickly


date	2002.04.27.00.46.00;	author agrover;	state Exp;
2005-06-29 16:51:50 +00:00
aystarik
a399d0ab70 fix comment
date	2001.12.19.01.22.00;	author agrover;	state Exp;
2005-06-29 16:51:41 +00:00
aystarik
9eb8806461 more time for machines to switch into ACPI mode
date	2001.10.16.22.13.00;	author agrover;	state Exp;
2005-06-29 16:51:39 +00:00
aystarik
4d4daaf0a2 remove dead code
add a delay after changing modes


date	2001.08.24.01.39.00;	author agrover;	state Exp;
2005-06-29 16:51:37 +00:00
aystarik
b690b2f4b1 New OSL interfaces for Mem, IO, and PCI access
date	2001.07.02.16.39.00;	author rmoore1;	state Exp;
2005-06-29 16:51:35 +00:00
aystarik
8c1b24dcaf Added memory allocation macros
date	2001.06.29.20.10.00;	author rmoore1;	state Exp;
2005-06-29 16:51:34 +00:00
aystarik
aa288c878f date 2001.01.21.01.41.00; author psdiefen; state Exp; 2005-06-29 16:51:29 +00:00
aystarik
a3708c619c 16-bit pseudo-support for 64 bits
date	2000.12.13.23.01.00;	author rmoore1;	state Exp;
2005-06-29 16:51:27 +00:00
aystarik
d12d4df007 Code cleanup
date	2000.11.15.23.42.00;	author rmoore1;	state Exp;
2005-06-29 16:51:24 +00:00
aystarik
1949b3d4f7 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:51:23 +00:00
aystarik
92d3f15ba9 ACPI_DIVIDE and ACPI_MODULO macros for 64-bit support
date	2000.11.07.22.40.00;	author rmoore1;	state Exp;
2005-06-29 16:51:22 +00:00
aystarik
c9011ce373 Support for ACPI 2.0 tables
date	2000.10.31.22.38.00;	author rmoore1;	state Exp;
2005-06-29 16:51:19 +00:00
aystarik
f37b583809 date 2000.10.04.23.57.00; author agrover; state Exp; 2005-06-29 16:51:18 +00:00
aystarik
0ba6a1c9cf Modified to 80 char line limit
date	2000.06.29.19.09.00;	author mwalz;	state Exp;
2005-06-29 16:51:12 +00:00
aystarik
cac4837821 Renamed Osd interfaces, renamed header files
date	2000.06.23.21.47.00;	author rmoore1;	state Exp;
2005-06-29 16:51:10 +00:00
aystarik
a267186baf File rename and merge
date	2000.06.16.23.14.00;	author rmoore1;	state Exp;
2005-06-29 16:51:08 +00:00
aystarik
e6947ed884 Changed Acpi_Gbl to AcpiGbl_
date	2000.06.16.20.03.00;	author rmoore1;	state Exp;
2005-06-29 16:51:07 +00:00
aystarik
43dc1784ae Extraneous spaces removed
date	2000.06.13.21.22.00;	author rmoore1;	state Exp;
2005-06-29 16:51:05 +00:00
aystarik
65cc320ac9 date 2000.05.16.22.18.00; author mwalz; state Exp; 2005-06-29 16:51:02 +00:00
aystarik
6af2fb5067 date 2000.03.30.16.22.00; author psdiefen; state Exp; 2005-06-29 16:51:00 +00:00
aystarik
8ac0a1417c Fixed #define for COMPONENT where some modules had old
"DEVICE_MANAGER" value


date	2000.01.21.18.58.00;	author psdiefen;	state Exp;
2005-06-29 16:50:59 +00:00
aystarik
9e53b8efc8 Osd I/O interfaces use pointer-sized address now
date	99.11.09.23.04.00;	author rmoore1;	state Exp;
2005-06-29 16:50:58 +00:00
aystarik
9236324973 Prefixed all global variables with "Gbl_" for easy recognition
date	99.09.02.18.03.00;	author rmoore1;	state Exp;
2005-06-29 16:50:56 +00:00
aystarik
a46327d8e6 Converted to new return macros
date	99.08.13.16.59.00;	author rmoore1;	state Exp;
2005-06-29 16:50:54 +00:00
aystarik
dc8678e37e Updated License Header
date	99.08.09.22.42.00;	author mwalz;	state Exp;
2005-06-29 16:50:53 +00:00
aystarik
48215ea284 Used to be hwlegacy.c
date	99.07.27.18.16.00;	author grsmith1;	state Exp;
2005-06-29 16:50:52 +00:00
aystarik
0b5638774e Lint fixes
date	2004.04.28.21.20.00;	author rmoore1;	state Exp;
2005-06-29 16:50:46 +00:00
aystarik
7b286f7bac Automated cleanup
date	2003.05.21.22.48.00;	author rmoore1;	state Exp;
2005-06-29 16:50:37 +00:00
aystarik
aaace1ff65 Use NATIVE_CHAR for strings, changed INTx to UINTx
date	2000.08.14.18.17.00;	author rmoore1;	state Exp;
2005-06-29 16:49:52 +00:00
aystarik
7e69c9b233 automated code cleanup
date	2004.04.27.18.26.00;	author rmoore1;	state Exp;
2005-06-29 16:49:30 +00:00
aystarik
79473b6104 Automated code cleanup
date	2003.02.28.17.06.00;	author rmoore1;	state Exp;
2005-06-29 16:49:12 +00:00
aystarik
1ed525e09c Apply Kochi Takayoshi's cleanup of the ACPI enable/disable code.
date	2002.08.15.01.37.00;	author agrover;	state Exp;
2005-06-29 16:49:05 +00:00
aystarik
a3d6effadb eliminate AcpiHwGetModeCapabilities. It was useless.
date	2001.11.15.01.19.00;	author agrover;	state Exp;
2005-06-29 16:48:47 +00:00
aystarik
e6914a51f0 Ran acpisrc source cleanup
date	2000.09.15.17.15.00;	author rmoore1;	state Exp;
2005-06-29 16:48:29 +00:00
aystarik
5a6c23824b New initialization interfaces
date	2000.09.14.23.00.00;	author rmoore1;	state Exp;
2005-06-29 16:48:28 +00:00
aystarik
04761f88e7 Update to GPE interfaces to use the GPE device node
date	2003.03.19.22.15.00;	author rmoore1;	state Exp;
2005-06-29 16:47:49 +00:00
aystarik
e257e4f15a Major overhaul of GPE code to prepare for GPE Block Device support
date	2003.02.27.21.05.00;	author rmoore1;	state Exp;
2005-06-29 16:47:46 +00:00
aystarik
5a5e5e64c1 added Flags param to AcpixxxEvent functions to accomodate enabling
wake
added function to disable all non-wake GPEs (used by enterSleep)


date	2001.09.18.23.04.00;	author agrover;	state Exp;
2005-06-29 16:47:21 +00:00
aystarik
2aaff58c4d Global lock is now optional
date	2001.03.02.17.45.00;	author rmoore1;	state Exp;
2005-06-29 16:47:09 +00:00
aystarik
fa35f6ef51 Added some ACPI prefixes
date	2000.06.21.21.17.00;	author rmoore1;	state Exp;
2005-06-29 16:46:47 +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
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
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
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
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
8c17d498ec Global rename of identifiers and constants
date	2000.06.13.18.19.00;	author rmoore1;	state Exp;
2005-06-29 16:40:19 +00:00
aystarik
87b9042dff Added type info to TBDs
date	2000.06.06.22.24.00;	author rmoore1;	state Exp;
2005-06-29 16:40:17 +00:00
aystarik
1d86d73d56 Macro support to eliminate excessive debug string duplication
date	99.10.14.20.54.00;	author rmoore1;	state Exp;
2005-06-29 16:39:46 +00:00
aystarik
7fa0eae193 Support for table-driven Event and Hardware management.
date	2002.01.18.00.22.00;	author rmoore1;	state Exp;
2005-06-29 16:35:08 +00:00
aystarik
3a68915f33 New ACPI_DEBUG_PRINT macro deployed. Much smaller implementation.
date	2001.08.14.23.19.00;	author rmoore1;	state Exp;
2005-06-29 16:34:48 +00:00
aystarik
ac885bb95e Update to use new debug macro that automatically inserts the procedure
name in the output.


date	2001.05.10.17.45.00;	author rmoore1;	state Exp;
2005-06-29 16:34:43 +00:00
aystarik
8864d18ef1 Renamed interpreter functions to Ex*, Utility functions to Ut*
date	2001.05.09.20.12.00;	author rmoore1;	state Exp;
2005-06-29 16:34:42 +00:00
aystarik
ad03b4c2a3 Prefixed component IDs with "ACPI_"
date	2001.03.07.19.27.00;	author rmoore1;	state Exp;
2005-06-29 16:34:37 +00:00
aystarik
d95818b2be Purged unnecessary 0x's in debug output, most output is hex
date	2000.11.17.19.35.00;	author rmoore1;	state Exp;
2005-06-29 16:34:27 +00:00
aystarik
abef9563cb Restructured the name table data structure
date	2000.06.29.16.38.00;	author rmoore1;	state Exp;
2005-06-29 16:34:05 +00:00
aystarik
384cf8ad2b Second pass to include lint changes/comments/cleanup.
date	2002.04.08.22.00.00;	author rmoore1;	state Exp;
2005-06-29 16:31:46 +00:00
aystarik
15734ce9d1 Automated cleanup
date	2002.07.30.22.15.00;	author rmoore1;	state Exp;
2005-06-29 16:29:18 +00:00
aystarik
ee39c44b27 Added and deployed FUNCTION_ENTRY macro. Cleaned up comments to
standardize multi-line comments.


date	2001.08.27.17.57.00;	author rmoore1;	state Exp;
2005-06-29 16:18:52 +00:00
aystarik
0480d5522d Added 2002 copyright
date	2002.01.09.17.51.00;	author rmoore1;	state Exp;
2005-06-29 16:17:06 +00:00
aystarik
a64f87c0ef 2001 copyright. Changed "NUMBER" to "INTEGER" globally
date	2001.01.15.17.27.00;	author rmoore1;	state Exp;
2005-06-29 16:16:34 +00:00
aystarik
2453dc9fe5 global removal of semicolon from MODULE_NAME macro.
This allows us to remove it completely on Release builds.


date	2000.08.30.00.40.00;	author agrover;	state Exp;
2005-06-29 16:16:25 +00:00
aystarik
f751f654ab Renamed most header files
date	2000.07.10.21.26.00;	author rmoore1;	state Exp;
2005-06-29 16:16:18 +00:00
aystarik
d2e35853f8 Renamed store macros for unaligned transfers
date	2000.06.21.17.05.00;	author rmoore1;	state Exp;
2005-06-29 16:16:14 +00:00
aystarik
5682172f26 Third pass to include lint changes/comments/cleanup.
date	2002.04.10.21.53.00;	author rmoore1;	state Exp;
2005-06-29 15:55:15 +00:00
aystarik
1c6913e037 Added 2005 copyright in legal header
date	2005.01.07.23.50.00;	author rmoore1;	state Exp;
2005-06-29 15:53:56 +00:00
aystarik
e636bafa2a Update copyrights for 2004
date	2004.01.13.23.05.00;	author rmoore1;	state Exp;
2005-06-29 15:53:37 +00:00
aystarik
869406b963 Added 2003 copyright to the legal header
date	2003.01.06.17.32.00;	author rmoore1;	state Exp;
2005-06-29 15:53:24 +00:00
aystarik
055d4b012a Prefixed all macros with "ACPI_" to prevent collisions with local OS
header files.


date	2002.02.12.22.40.00;	author rmoore1;	state Exp;
2005-06-29 15:52:31 +00:00
aystarik
a47c080dac Added 2000 to the copyright in the legal header
date	2000.12.08.20.55.00;	author rmoore1;	state Exp;
2005-06-29 15:40:01 +00:00