Commit Graph

111717 Commits

Author SHA1 Message Date
thorpej
8332742ea3 Add powerd rc.d script and configuration scripts. 2003-04-18 05:42:04 +00:00
thorpej
3449ccac0f Install powerd(8) scripts when installing etc files. 2003-04-18 05:41:47 +00:00
thorpej
e45c396415 Add a default power_button script for powerd(8). 2003-04-18 05:40:06 +00:00
thorpej
324cf4c7d6 Add /etc/rc.d/powerd. 2003-04-18 05:38:40 +00:00
gmcgarry
25ab7bf52b Build manpage. 2003-04-18 05:32:37 +00:00
gmcgarry
dcc55b6153 arm32 -> acorn32 fallout 2003-04-18 05:23:38 +00:00
thorpej
7fcb5daedb Add defaults for powerd(8). 2003-04-18 05:21:20 +00:00
thorpej
71e3ac911d Add /etc/rc.d/powerd 2003-04-18 05:19:59 +00:00
thorpej
f0150db8f2 Add an rc script for powerd(8). 2003-04-18 05:19:35 +00:00
gmcgarry
6da12b12c0 arm32 -> acorn32 2003-04-18 05:17:28 +00:00
thorpej
d56213af86 Add /etc/powerd and /etc/powerd/scripts. 2003-04-18 05:15:48 +00:00
thorpej
7591178b00 Create /etc/powerd and /etc/powerd/scripts. 2003-04-18 05:15:29 +00:00
thorpej
9a567ab38d Add powerd(8). 2003-04-18 05:02:07 +00:00
thorpej
834d7f0ae7 Add /usr/sbin/powerd 2003-04-18 05:00:25 +00:00
thorpej
9b6e3d2e91 Add <sys/power.h>. 2003-04-18 04:56:58 +00:00
thorpej
77923a9ba6 Build powerd. 2003-04-18 04:55:54 +00:00
thorpej
539625c024 Power management daemon for sysmon. Currently supports acting on
power switch state change events.
2003-04-18 04:54:49 +00:00
explorer
2248468d68 add my 80 GB SATA drive to the quirk table. 2003-04-18 04:32:19 +00:00
lukem
ef83aa34d9 clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-18 03:21:00 +00:00
thorpej
5a20f4be3c * Add a generic power management event API, defined in <sys/power.h>.
Right now, only power switch state change events are supported.  This
  is a work-in-progress.
* Add support to sysmon for delivering power mangement events to userland.
  Add poll, kqueue, and read entry points to sysmon.
* Adapt ACPI to use the new generic <sys/power.h> event types.

This provides the kernel support for a forthcoming powerd(8) which can
do nice things like gracefully shut the system down when an ACPI power
button is pressed.
2003-04-18 01:31:34 +00:00
simonb
3a00c85d38 Add a KASSERT to make sure that "sizeof(struct mbuf)" is MSIZE.
Extra insurance for Steve Woodford's recent <sys/mbuf.h> patch.
2003-04-18 01:24:20 +00:00
mason
d1b448c6e5 From current-users:
On Thu, Apr 17, 2003 at 11:26:26AM -0500, Dave Huang wrote:

> Typo police here :) "whose," not "who's."
2003-04-18 00:35:14 +00:00
thorpej
3088c62122 Bump file system size to 2300k. 2003-04-17 23:00:49 +00:00
thorpej
091e93c002 Bump ramdisk size to 4600 blocks. 2003-04-17 22:57:16 +00:00
salo
f35804411a depreceated->deprecated 2003-04-17 22:55:29 +00:00
thorpej
f72721d957 Add man4 acorn32 dirs. 2003-04-17 22:23:47 +00:00
thorpej
817eb1cb2e We need -I., too. 2003-04-17 22:12:50 +00:00
perry
6545393afc Update date 2003-04-17 21:24:18 +00:00
perry
f15285a4b0 Improve the language and description. 2003-04-17 21:23:45 +00:00
wiz
b2c4fe3bde Mention info page for am-utils. Closes PR 20167 by Ben Collver. 2003-04-17 21:05:38 +00:00
matt
062bcd3204 acpi.c needs sysmon_power too. 2003-04-17 20:56:29 +00:00
tron
ea6c5e2cf1 Forgot "./usr/share/man/cat8/wizd.0" in last commit. 2003-04-17 20:53:43 +00:00
jdolecek
f331bb3205 do not show nodes corresponding to directory descriptors for process
in fd/ subdirectory, nor allow lookup/open for the nodes
this fixes PR kern/21187 for good, and also avoids interesting directory
locking issues
2003-04-17 20:50:46 +00:00
tron
088e2da85b Add manual page for wizd(8). 2003-04-17 20:48:33 +00:00
jdolecek
884bdfdbaf procfs_readdir(): in Pfd case, only show descriptors of types we want
how to represent (vnodes, fifo, pipes); also use fd_getfile() et al

this avoids annoying EOPNOTSUPP error messages from ls -F and such
2003-04-17 20:33:17 +00:00
jdolecek
be4c900d41 procfs_lookup(): use fd_getfile() et al in Pfd case 2003-04-17 20:19:18 +00:00
wiz
c77eae368f Convert to mdoc, except for a gruesome example. 2003-04-17 20:04:29 +00:00
fvdl
1279513402 Need PAGE_SIZE definition for mptramp.S 2003-04-17 20:00:03 +00:00
thorpej
ee5b1a7c61 Protect the definition of offsetof(). 2003-04-17 19:58:57 +00:00
wiz
365962d31f Convert to mdoc. 2003-04-17 19:48:37 +00:00
wiz
335e44b3ef Convert to mdoc. 2003-04-17 19:35:03 +00:00
wiz
93ebe1c2f3 Punctuation nit. 2003-04-17 19:32:17 +00:00
fvdl
046ec6c887 FIx kernel set names. Add 'toolchain' set for the time being. 2003-04-17 19:30:19 +00:00
wiz
7e06307f35 Convert to mdoc. 2003-04-17 19:18:01 +00:00
wiz
0a1b8c0e9c Increase width in a list. 2003-04-17 19:17:48 +00:00
jdolecek
ed9a5a7448 use fd_getfile() in procfs_getfp(), and FILE_USE()/FILE_UNUSE() the
returned file descriptor pointer appropriately
2003-04-17 19:04:25 +00:00
fvdl
c3065b2a37 Create two ptys in the init case. You never know, you might need them
(sysinst does).
2003-04-17 18:51:23 +00:00
wiz
6fa350b93d Convert to mdoc. 2003-04-17 18:48:28 +00:00
fvdl
5b38542fe2 Bump MSIZE to 512. 2003-04-17 18:20:17 +00:00
jdolecek
b5bca36101 g/c, it's outdated and the info wouldn't belong here anyway 2003-04-17 18:14:57 +00:00