Commit Graph

291 Commits

Author SHA1 Message Date
aystarik
ff2347c12f New divide interface
date	2004.10.05.22.51.00;	author rmoore1;	state Exp;
2005-06-29 16:58:53 +00:00
aystarik
a99188fe19 Comment and header updates
date	2004.07.23.16.21.00;	author rmoore1;	state Exp;
2005-06-29 16:58:52 +00:00
aystarik
fe3723fc0f speling fix
date	2003.02.26.17.36.00;	author agrover;	state Exp;
2005-06-29 16:58:46 +00:00
aystarik
7b88cd1eaa Fixed a comment about the PM timer
date	2003.01.10.00.30.00;	author rmoore1;	state Exp;
2005-06-29 16:58:45 +00:00
aystarik
1425cb6c0b Use internal short divide instead of divide macro. (macros not used in
IA64)


date	2001.12.12.17.56.00;	author rmoore1;	state Exp;
2005-06-29 16:58:35 +00:00
aystarik
a6e5b344d8 Cast to UINT64 for 64-bit multiply
date	2001.12.05.18.38.00;	author rmoore1;	state Exp;
2005-06-29 16:58:34 +00:00
aystarik
6bf53c639d use 64-bit divide macro
date	2001.12.05.18.15.00;	author rmoore1;	state Exp;
2005-06-29 16:58:33 +00:00
aystarik
7f07a1ecaf remove unused status vars
date	2001.09.25.00.36.00;	author agrover;	state Exp;
2005-06-29 16:58:32 +00:00
aystarik
8cc03b6757 remove IS_INIT_COMPLETE macro because it's ugly, and people should
just call AcpiSubsystemStatus before they do anything.


date	2001.09.21.18.08.00;	author agrover;	state Exp;
2005-06-29 16:58:31 +00:00
aystarik
0cd4a64a5e cleanup
date	2001.06.08.20.46.00;	author rmoore1;	state Exp;
2005-06-29 16:58:28 +00:00
aystarik
18763fa391 check to see if init succeeded
date	2001.05.21.20.05.00;	author agrover;	state Exp;
2005-06-29 16:58:27 +00:00
aystarik
cc934c8964 Changed TODOs to TBDs
date	2001.04.26.18.14.00;	author psdiefen;	state Exp;
2005-06-29 16:58:26 +00:00
aystarik
f674bdc7d3 date 2001.02.05.17.56.00; author psdiefen; state Exp; 2005-06-29 16:58:23 +00:00
aystarik
e7d5a433dc date 2001.01.21.04.35.00; author psdiefen; state Exp; 2005-06-29 16:58:22 +00:00
aystarik
4017492b9a date 2001.01.21.03.45.00; author psdiefen; state Exp; 2005-06-29 16:58:21 +00:00
aystarik
9a1e7f2b93 date 2001.01.21.03.29.00; author psdiefen; state Exp; 2005-06-29 16:58:20 +00:00
aystarik
e2203d67c8 Moved defines to header files
date	2005.03.24.18.41.00;	author rmoore1;	state Exp;
2005-06-29 16:58:17 +00:00
aystarik
b2f154d2f6 Lint fixes
date	2004.04.28.21.20.00;	author rmoore1;	state Exp;
2005-06-29 16:58:10 +00:00
aystarik
62781bdfcb Always clear wake status; gpe enable/disable cleanup
date	2004.04.22.19.16.00;	author rmoore1;	state Exp;
2005-06-29 16:58:08 +00:00
aystarik
e56559f95d Support for RUNTIME vs. WAKE GPEs
date	2004.03.26.22.31.00;	author rmoore1;	state Exp;
2005-06-29 16:58:07 +00:00
aystarik
2c52e830da After wake, clear/enable power button
date	2004.02.20.22.38.00;	author rmoore1;	state Exp;
2005-06-29 16:58:06 +00:00
aystarik
9d335c3292 cleanup
date	2004.02.12.21.14.00;	author rmoore1;	state Exp;
2005-06-29 16:58:05 +00:00
aystarik
eacc6fe376 Fixes to pass proper argument to _SST method
date	2004.02.12.21.10.00;	author rmoore1;	state Exp;
2005-06-29 16:58:04 +00:00
aystarik
ba625da1aa automated cleanup
date	2003.12.05.23.53.00;	author rmoore1;	state Exp;
2005-06-29 16:58:02 +00:00
aystarik
9c4834c3c9 Use values of \_S0 when waking
date	2003.12.05.23.42.00;	author rmoore1;	state Exp;
2005-06-29 16:58:01 +00:00
aystarik
bc959038a5 Clear SLP_TYP and SLP_EN on wake
date	2003.12.03.18.38.00;	author rmoore1;	state Exp;
2005-06-29 16:57:59 +00:00
aystarik
3cc550bfc0 Misc fixes. Use _SST method; clear wake status only if SleepState is
not s5.  Also fixed some comments.


date	2003.12.02.19.17.00;	author rmoore1;	state Exp;
2005-06-29 16:57:58 +00:00
aystarik
15ae15968c xface change
date	2003.04.17.20.13.00;	author rmoore1;	state Exp;
2005-06-29 16:57:56 +00:00
aystarik
05163ee634 remove redundant ARB DIS tweak
date	2003.04.08.16.42.00;	author agrover;	state Exp;
2005-06-29 16:57:55 +00:00
aystarik
2458e81b98 do not acquire semaphores when entering a sleep state
date	2003.04.07.18.23.00;	author agrover;	state Exp;
2005-06-29 16:57:54 +00:00
aystarik
0610961748 Do not lock mutexes when at the very last stages of sleeping. This is
OK because interrupts are disabled anyways.


date	2003.02.28.17.01.00;	author agrover;	state Exp;
2005-06-29 16:57:52 +00:00
aystarik
f3fbe59b11 Update of debug levels and defines
date	2002.11.27.17.47.00;	author rmoore1;	state Exp;
2005-06-29 16:57:49 +00:00
aystarik
8ba8ae4482 Re-enable BM ARB on return from S1
date	2002.10.22.23.15.00;	author agrover;	state Exp;
2005-06-29 16:57:48 +00:00
aystarik
f14bd2af11 disable/enable BM arb when entering/leaving a sleep state
date	2002.05.10.00.46.00;	author agrover;	state Exp;
2005-06-29 16:57:45 +00:00
aystarik
5aa100bd9d remove tab
date	2002.04.30.20.11.00;	author agrover;	state Exp;
2005-06-29 16:57:42 +00:00
aystarik
2111585293 increase delay for the sleep hack to 10 sec and add comment
date	2002.04.22.18.31.00;	author agrover;	state Exp;
2005-06-29 16:57:41 +00:00
aystarik
10096d54fc Fifth lint pass - CLEAN for 32-bit and 64-bit
date	2002.04.12.20.46.00;	author rmoore1;	state Exp;
2005-06-29 16:57:40 +00:00
aystarik
c5ca33c9e2 Third pass to include lint changes/comments/cleanup.
date	2002.04.10.21.53.00;	author rmoore1;	state Exp;
2005-06-29 16:57:39 +00:00
aystarik
032ee79506 change the too-x86-specific ACPI_WBINVD macro to something better
date	2002.03.27.00.51.00;	author agrover;	state Exp;
2005-06-29 16:57:37 +00:00
aystarik
f3f630e954 flush cache immediately before sleep (P Machek)
date	2002.03.22.18.40.00;	author agrover;	state Exp;
2005-06-29 16:57:36 +00:00
aystarik
89a524c87d Made the "common" FACS a static global structure because we need to
keep the original FACS mapped so that the global lock is accessible.


date	2002.02.11.17.33.00;	author rmoore1;	state Exp;
2005-06-29 16:57:33 +00:00
aystarik
08026c40fd note to self: compile things before checking in.
date	2001.12.11.21.32.00;	author agrover;	state Exp;
2005-06-29 16:57:29 +00:00
aystarik
c25ea6e631 return AE_OK from leavesleepstate even if the control methods don't
exist (because that is OK)


date	2001.12.11.18.59.00;	author agrover;	state Exp;
2005-06-29 16:57:28 +00:00
aystarik
5f4d1b2941 account for the fact that _PTS, _GTS, _BFS etc do not have to be
present so we should return AE_OK even if they aren't there


date	2001.12.11.18.53.00;	author agrover;	state Exp;
2005-06-29 16:57:27 +00:00
aystarik
85ab06a367 Check status for wake/sleep methods
date	2001.12.03.21.12.00;	author rmoore1;	state Exp;
2005-06-29 16:57:26 +00:00
aystarik
f612d99cde broke EnterSleepState into 2 functions. still up in the air about good
names for the 2 functions, yet.


date	2001.11.07.22.09.00;	author agrover;	state Exp;
2005-06-29 16:57:25 +00:00
aystarik
26e95c8273 remove stall while waiting for resumption from S1
date	2001.11.05.19.11.00;	author agrover;	state Exp;
2005-06-29 16:57:24 +00:00
aystarik
543c7091e5 Cleanup - extraneous spaces and tab removal
date	2001.11.02.00.05.00;	author rmoore1;	state Exp;
2005-06-29 16:57:23 +00:00
aystarik
91b95df50f fix compiler error
date	2001.08.31.23.02.00;	author agrover;	state Exp;
2005-06-29 16:57:21 +00:00
aystarik
bbd4cec2bc Cleanup via acpisrc -c
date	2001.08.27.19.53.00;	author rmoore1;	state Exp;
2005-06-29 16:57:20 +00:00