Commit Graph

270 Commits

Author SHA1 Message Date
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
aystarik
71796aea58 flesh out LeaveSleepState
clean up some comments


date	2001.08.09.22.37.00;	author agrover;	state Exp;
2005-06-29 16:57:17 +00:00
aystarik
041bd696ac added AcpiLeaveSleepState function stub
only do the Stall for a second iff sleep state > S3


date	2001.07.27.21.46.00;	author agrover;	state Exp;
2005-06-29 16:57:16 +00:00
aystarik
1cec1e4e9a don't try secondary PM_EN write if doing S1
date	2001.07.24.20.32.00;	author agrover;	state Exp;
2005-06-29 16:57:15 +00:00
aystarik
96279161fc change for new IF
date	2001.07.09.18.08.00;	author agrover;	state Exp;
2005-06-29 16:57:14 +00:00
aystarik
e322a4a79e another change to get poweroff working. sigh
date	2001.07.06.23.29.00;	author agrover;	state Exp;
2005-06-29 16:57:13 +00:00
aystarik
02aa070796 date 2001.06.14.18.25.00; author psdiefen; state Exp; 2005-06-29 16:57:12 +00:00
aystarik
6f582824a0 date 2001.03.21.00.50.00; author agrover; state Exp; 2005-06-29 16:57:10 +00:00
aystarik
5130ecdb53 Code cleanup (acpisrc -c)
date	2001.02.23.23.28.00;	author rmoore1;	state Exp;
2005-06-29 16:57:08 +00:00
aystarik
ef8d178f9c fix for IBM 600E
date	2001.02.02.22.58.00;	author agrover;	state Exp;
2005-06-29 16:57:07 +00:00
aystarik
92f12fe4ab date 2001.01.31.19.19.00; author agrover; state Exp; 2005-06-29 16:57:06 +00:00
aystarik
e143c92ca9 added newline at end
date	2001.01.26.19.26.00;	author agrover;	state Exp;
2005-06-29 16:57:05 +00:00
aystarik
039f5b49fc fix comment
date	2001.01.25.22.15.00;	author agrover;	state Exp;
2005-06-29 16:57:04 +00:00
aystarik
9c59881f47 date 2001.01.25.19.46.00; author agrover; state Exp; 2005-06-29 16:57:03 +00:00
aystarik
ff329cb78f added entersleepstate
date	2001.01.25.19.29.00;	author agrover;	state Exp;
2005-06-29 16:57:02 +00:00
aystarik
7ac5805804 Automated cleanup
date	2005.05.25.22.19.00;	author rmoore1;	state Exp;
2005-06-29 16:56:59 +00:00
aystarik
85c6bb5951 cleanup; update comments
date	2005.03.29.18.19.00;	author rmoore1;	state Exp;
2005-06-29 16:56:58 +00:00
aystarik
c1d8c7d158 date 2005.03.09.20.45.00; author rmoore1; state Exp; 2005-06-29 16:56:55 +00:00
aystarik
af8d542351 code cleanup
date	2005.03.09.20.38.00;	author rmoore1;	state Exp;
2005-06-29 16:56:54 +00:00
aystarik
57e82b0487 Better error messages
date	2005.03.09.20.33.00;	author rmoore1;	state Exp;
2005-06-29 16:56:53 +00:00
aystarik
f46c35f266 Automated cleanup
date	2004.10.15.22.35.00;	author rmoore1;	state Exp;
2005-06-29 16:56:51 +00:00
aystarik
5828bf219c fix for macro invocation
date	2004.10.08.16.18.00;	author rmoore1;	state Exp;
2005-06-29 16:56:50 +00:00