Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/share/man/man9 Pull up revision 1.2 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/acc3df3425d9
branches:  netbsd-1-5
changeset: 491640:acc3df3425d9
user:      he <he%NetBSD.org@localhost>
date:      Sun May 06 15:04:12 2001 +0000

description:
Pull up revision 1.2 (requested by he):
  Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
  PWR_SOFTRESUME.  Apm calls powerhook with the values in normal interrupt
  priority level while others are protected with splhigh().

diffstat:

 share/man/man9/powerhook_establish.9 |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 2285d34288a6 -r acc3df3425d9 share/man/man9/powerhook_establish.9
--- a/share/man/man9/powerhook_establish.9      Sun May 06 15:03:46 2001 +0000
+++ b/share/man/man9/powerhook_establish.9      Sun May 06 15:04:12 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: powerhook_establish.9,v 1.1 1999/12/06 14:50:02 augustss Exp $
+.\"    $NetBSD: powerhook_establish.9,v 1.1.6.1 2001/05/06 15:04:12 he Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -80,10 +80,16 @@
 resume.  The reason is reflected in the
 .Fa why
 argument and the values
+.Dv PWR_SOFTSUSPEND ,
 .Dv PWR_SUSPEND ,
+.Dv PWR_SOFTSTANDBY ,
 .Dv PWR_STANDBY ,
+.Dv PWR_SOFTRESUME ,
 and
 .Dv PWR_RESUME .
+It calls with PWR_SOFTxxx in the normal priority level while the other
+callings are protected with
+.Xr splhigh 9 .
 At suspend the system is going to lose (almost) all power, standby retains
 some power (e.g., minimal power to USB devices), and at resume power is
 back to normal.



Home | Main Index | Thread Index | Old Index