
CVS log for src/sys/dev/sysmon/sysmon_power.c
Up to [NetBSD] / src / sys / dev / sysmon
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Feb 2 20:43:07 2012 CET (7 days, 1 hour ago) by tls
Branches: MAIN
CVS tags: HEAD
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +11 -2
lines
Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.
ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Jul 22 16:21:40 2011 (6 months, 2 weeks ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +10 -10
lines
Ensure events come off the list in the same order they went on.
Hotkey press/release events now happen in the correct order.
Revision 1.37.4.5: download - view: text, markup, annotated - select for diffs
Thu Aug 12 00:54:12 2010 (17 months, 4 weeks ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.37.4.4: preferred, colored to branchpoint 1.37: preferred, colored next main 1.38: preferred, colored
Changes since revision 1.37.4.4: +4 -4
lines
sync with head.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 16:43:50 2010 (21 months, 1 week ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.42: preferred, colored next main 1.43: preferred, colored
Changes since revision 1.42: +16 -4
lines
Sync with HEAD.
Revision 1.37.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 16:04:04 2010 CET (23 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.37.4.3: preferred, colored to branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.3: +15 -2
lines
sync with head
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Mar 11 14:51:01 2010 CET (23 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +4 -4
lines
Fix comment typos (mangement, managmenet).
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Feb 15 23:32:04 2010 CET (23 months, 3 weeks ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +14 -2
lines
For symmetry, allow warning and critical upper-limits for capacity
sensors.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Nov 6 19:28:10 2009 CET (2 years, 3 months ago) by jakllsch
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +3 -2
lines
Fix POWER_IOC_GET_TYPE.
The longest string in use with this seems to have been "acpi",
so size_t covered that, but on 32-bit ports omited the NUL.
Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Fri Jul 24 01:32:20 2009 (2 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to previous 1.40: preferred, colored next main 1.41: preferred, colored
Changes since revision 1.40: +8 -20
lines
Sync with HEAD.
Revision 1.37.4.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 09:20:29 2009 (2 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.37.4.2: preferred, colored to branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.2: +8 -20
lines
sync with head
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jun 8 02:55:35 2009 (2 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base,
jym-xensuspend-nbase
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +8 -20
lines
General clean-up and some restructuring of event handling. This is a
precursor to letting sensor drivers actually exchange limits/thresholds
with user-land.
Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 10:13:19 2009 (2 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.37.4.1: preferred, colored to branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.1: +21 -6
lines
sync with head.
Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 20 00:17:05 2008 (3 years, 3 months ago) by haad
Branches: haad-dm
Diff to previous 1.38: preferred, colored next main 1.39: preferred, colored
Changes since revision 1.38: +21 -6
lines
Sync with HEAD.
Revision 1.35.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 12:40:32 2008 (3 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.35.6.2: preferred, colored to branchpoint 1.35: preferred, colored next main 1.36: preferred, colored
Changes since revision 1.35.6.2: +19 -4
lines
Sync with HEAD.
Revision 1.37.6.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 06:35:10 2008 (3 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to previous 1.37.6.1: preferred, colored to branchpoint 1.37: preferred, colored next main 1.38: preferred, colored
Changes since revision 1.37.6.1: +21 -6
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Sep 5 23:58:32 2008 (3 years, 5 months ago) by gmcgarry
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jym-xensuspend-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +9 -6
lines
Rearrange sysmonread_power() to have a single exit point, which simplifies
the locking and fixes -Wunreachable-code warning.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Aug 22 13:27:50 2008 (3 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +14 -2
lines
1. provide for warning-min and warning-max alarm levels in addition to
critical-min and critical-max; also, a battery warning-capacity is
added in addition to a critical-capacity.
2. usr.sbin/envstat is modified to introduce a -W command line switch to
display the warning-* values instead of the critical-* values, and
envstat(8) and envsys.conf(5) man pages are updated appropriately.
3. Treat user-defined limits as a single continuum and generate a single
event regardless of how many boundaries a change in sensor value
crosses; ditto for driver-defined limits.
Fixes my PR/39021
Fixes my PR/39022
OK'd by christos@ bouyer@ cube@
Revision 1.37.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 06:31:30 2008 (3 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +6 -4
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.35.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:23:52 2008 (3 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.35.6.1: preferred, colored to branchpoint 1.35: preferred, colored
Changes since revision 1.35.6.1: +4 -2
lines
Sync with HEAD.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 14:34:46 2008 (3 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to previous 1.37: preferred, colored next main 1.38: preferred, colored
Changes since revision 1.37: +6 -4
lines
sync with head.
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 04:25:06 2008 (3 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +6 -4
lines
sync with head.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat May 10 16:01:32 2008 (3 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
hpcarm-cleanup-nbase
Branch point for: haad-dm
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +6 -4
lines
Use aprint when reporting AC adapter status.
Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 14:42:57 2008 (3 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +5 -3
lines
Sync with HEAD.
Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 08:16:09 2008 CET (3 years, 10 months ago) by keiichi
Branches: keiichi-mipv6
Diff to previous 1.35: preferred, colored next main 1.36: preferred, colored
Changes since revision 1.35: +5 -3
lines
sync with head.
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 03:04:52 2008 CET (3 years, 10 months ago) by matt
Branches: matt-armv6
Diff to previous 1.22.2.2: preferred, colored next main 1.23: preferred, colored
Changes since revision 1.22.2.2: +5 -3
lines
sync with HEAD
Revision 1.10.12.8: download - view: text, markup, annotated - select for diffs
Mon Mar 17 10:15:27 2008 CET (3 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10.12.7: preferred, colored to branchpoint 1.10: preferred, colored next main 1.11: preferred, colored
Changes since revision 1.10.12.7: +5 -3
lines
sync with head.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Mar 1 15:16:51 2008 CET (3 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +4 -3
lines
Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.
- Merge selwakeup() and selnotify() calls into a single selnotify().
- Add an additional 'events' argument to selnotify() call. It will
indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown,
zero may be used.
Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Feb 29 19:07:11 2008 CET (3 years, 11 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2
lines
Added a missing break that was bothering me.
Revision 1.10.12.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 10:44:38 2008 CET (4 years ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10.12.6: preferred, colored to branchpoint 1.10: preferred, colored
Changes since revision 1.10.12.6: +27 -2
lines
sync with head
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:54:34 2008 CET (4 years, 1 month ago) by matt
Branches: matt-armv6
Diff to previous 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1: +43 -13
lines
sync with HEAD
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 22:55:15 2008 CET (4 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to previous 1.34: preferred, colored next main 1.35: preferred, colored
Changes since revision 1.34: +9 -2
lines
Sync with HEAD
Revision 1.29.4.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 01:45:28 2007 CET (4 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to previous 1.29.4.2: preferred, colored to branchpoint 1.29: preferred, colored next main 1.30: preferred, colored
Changes since revision 1.29.4.2: +27 -2
lines
Sync with HEAD.
Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 22:39:29 2007 CET (4 years, 1 month ago) by ad
Branches: vmlocking2
Diff to previous 1.30.2.1: preferred, colored to branchpoint 1.30: preferred, colored next main 1.31: preferred, colored
Changes since revision 1.30.2.1: +27 -2
lines
Sync with head.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Dec 22 19:35:13 2007 CET (4 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +9 -2
lines
Handle hotkey events using /etc/powerd/scripts/hotkey_button, ok xtraeme
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 16:40:00 2007 CET (4 years, 2 months ago) by yamt
Branches: yamt-kmem
Diff to previous 1.32: preferred, colored next main 1.33: preferred, colored
Changes since revision 1.32: +20 -2
lines
sync with head.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Dec 9 21:57:19 2007 CET (4 years, 2 months ago) by martin
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2
lines
Add missing <sys/device.h> include.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Dec 9 21:28:23 2007 CET (4 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +19 -2
lines
Merge jmcneill-pm branch.
Revision 1.20.6.10: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:38:00 2007 CET (4 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.20.6.9: preferred, colored to branchpoint 1.20: preferred, colored next main 1.21: preferred, colored
Changes since revision 1.20.6.9: +4 -4
lines
Sync with HEAD.
Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 19:19:59 2007 CET (4 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to previous 1.29.4.1: preferred, colored to branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +4 -4
lines
Sync with HEAD.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:57:31 2007 CET (4 years, 2 months ago) by ad
Branches: vmlocking2
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4
lines
Sync with head.
Revision 1.20.6.9: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:21:36 2007 CET (4 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.20.6.8: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.8: +4 -4
lines
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.10.12.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 18:31:26 2007 CET (4 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10.12.5: preferred, colored to branchpoint 1.10: preferred, colored
Changes since revision 1.10.12.5: +4 -4
lines
sync with head
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Dec 5 18:19:54 2007 CET (4 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base
Branch point for: yamt-kmem
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3
lines
Do not "return 1" from kqfilter for errors. That value is passed
directly to the userland caller and results in a mysterious EPERM.
Instead, return EINVAL or something else sensible depending on the
case.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Dec 5 08:06:52 2007 CET (4 years, 2 months ago) by ad
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3
lines
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 01:48:24 2007 CET (4 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +16 -11
lines
Sync with HEAD.
Revision 1.10.12.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 12:44:32 2007 CET (4 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10.12.4: preferred, colored to branchpoint 1.10: preferred, colored
Changes since revision 1.10.12.4: +16 -11
lines
sync with head.
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 17:01:40 2007 CET (4 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to previous 1.29: preferred, colored next main 1.30: preferred, colored
Changes since revision 1.29: +16 -11
lines
Sync with HEAD
Revision 1.20.6.8: download - view: text, markup, annotated - select for diffs
Sun Nov 11 17:47:47 2007 CET (4 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.20.6.7: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.7: +16 -11
lines
Sync with HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Nov 10 10:32:24 2007 CET (4 years, 3 months ago) by xtraeme
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +16 -11
lines
Add another flag that is set only when the event was enqueued
(and its dictionary created) successfully and use it in the
POWER_EVENT_RECVDICT ioctl to check if the dictionary is ready before
calling prop_dictionary_copyout_ioctl().
This fixes a rare condition when too many events are enqueued and
there wasn't time to create the dictionary, so prop_dictionary_copyout_ioctl()
fails with a NULL pointer dereference.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:30:21 2007 CET (4 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +195 -86
lines
sync with HEAD
Revision 1.20.6.7: download - view: text, markup, annotated - select for diffs
Tue Nov 6 15:27:32 2007 CET (4 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.20.6.6: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.6: +4 -4
lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
three layers (class logic, device logic, bus logic), all of them being
optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
not suspended (even partially), device_is_enabled returns true if the
device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
pnp_system_resume. Before running any suspend/resume handlers, check
that all currently attached devices support power management and bail
out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
can register what events they are interested in and whether the handler
should be global or not.
- Introduce device_active API for devices to mark themselve in use from
either the system or the device. Use this to implement the idle handling
for audio and input devices. This is intended to replace most ad-hoc
watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.
Revision 1.10.12.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 13:34:22 2007 (4 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10.12.3: preferred, colored to branchpoint 1.10: preferred, colored
Changes since revision 1.10.12.3: +189 -87
lines
sync with head.
Revision 1.20.6.6: download - view: text, markup, annotated - select for diffs
Fri Oct 26 17:47:39 2007 (4 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.20.6.5: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.5: +9 -2
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 14 13:48:20 2007 (4 years, 3 months ago) by yamt
Branches: yamt-x86pmap
Diff to previous 1.24.2.1: preferred, colored to branchpoint 1.24: preferred, colored next main 1.25: preferred, colored
Changes since revision 1.24.2.1: +157 -76
lines
sync with head.
Revision 1.17.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 12 19:03:15 2007 (4 years, 3 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.8: preferred, colored to branchpoint 1.17: preferred, colored next main 1.18: preferred, colored
Changes since revision 1.17.2.8: +9 -2
lines
Sync with head.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Oct 11 01:25:40 2007 (4 years, 4 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +9 -2
lines
Fix the problems described in:
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html
- Introduce sme_class into the sysmon_envsys struct to specify a
class; currently there are two classes: SME_CLASS_ACADAPTER and
SME_CLASS_BATTERY.
- Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when
all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not
any SME_CLASS_ACADAPTER connected.
- Add the 'low-power' event into the sensor_battery script that will
shutdown the system gracefully via 'shutdown -p'. If powerd(8) is
not running, cpu_reboot(9) with RB_POWERDOWN is used.
- Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a
SME_CLASS_BATTERY device.
Update the documentation accordingly to these changes.
Revision 1.17.2.8: download - view: text, markup, annotated - select for diffs
Tue Oct 9 17:22:13 2007 (4 years, 4 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.7: preferred, colored to branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.7: +13 -6
lines
Sync with head.
Revision 1.17.2.7: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:42:06 2007 (4 years, 4 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.6: preferred, colored to branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.6: +180 -83
lines
Sync with head.
Revision 1.20.6.5: download - view: text, markup, annotated - select for diffs
Sun Oct 7 15:25:06 2007 (4 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.20.6.4: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.4: +149 -76
lines
Sync with HEAD.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 7 00:07:42 2007 (4 years, 4 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +8 -4
lines
Forgot to change the kmem_zalloc(9) calls to use KM_NOSLEEP in previous,
as was suggested by rmind.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Oct 6 23:58:40 2007 (4 years, 4 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +139 -77
lines
Fix a bug that happened when two or more events were received almost
at the same time and the code accessed to an unexistent dictionary:
- Rather than using a global dictionary, use a singly linked list to
access to the dictionaries, one per event.
- When the dictionary has been sent to userland, destroy it and remove
it from the list.
With that change it is possible to receive multiple events at the
same time without panics; again thanks to rmind@ for comments and help
with locking.
Reviewed and ok by rmind.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 17:31:33 2007 (4 years, 4 months ago) by yamt
Branches: yamt-x86pmap
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +39 -14
lines
sync with head.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Oct 6 04:49:46 2007 (4 years, 4 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +10 -2
lines
- sysmon_power_daemon_task: check if pev is valid before use.
- Add two more KASSERTS in strategic places.
Revision 1.20.6.4: download - view: text, markup, annotated - select for diffs
Tue Oct 2 20:28:41 2007 (4 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.20.6.3: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.3: +48 -27
lines
Sync with HEAD.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Sep 25 21:27:08 2007 (4 years, 4 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-x86pmap-base2
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +39 -14
lines
- Don't use _nocopy in prop_dictionary_set_cstring, the string is part
of another object that will be released shortly.
- Fix a memleak: add sysmon_power_destroy_dictionary() and remove
all objects that are currently in the dictionary and finally release
the dictionary.
Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 10 12:55:24 2007 (4 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to previous 1.20.2.2: preferred, colored to branchpoint 1.20: preferred, colored next main 1.21: preferred, colored
Changes since revision 1.20.2.2: +11 -15
lines
Sync with HEAD.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Sep 4 18:54:02 2007 (4 years, 5 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +11 -15
lines
- Remove ENVSYS_GSTRING and the genstr member from envsys_data_t.
(at least three or four persons were against it).
- Add a new sensor type: ENVSYS_BATTERY_STATE, this uses value_cur
and some predefined values in a static table, like ENVSYS_DRIVE.
- Move all static tables to sysmon_envsys_tables.c and use a function
on it to retrieve a pointer to the struct of the specified type.
- Rename the ENVSYS_FMONDRVSTCHANGED to ENVSYS_FMONSTCHANGED and make
it generic for Battery state and drive sensors (this flag enables
monitoring on these sensors when state has been changed).
- Update sysmon_penvsys_event() to report state changes on
ENVSYS_BATTERY_STATE sensors and remove other type of events, with
PENVSYS_EVENT_STATE_CHANGED they are not necessary anymore.
Revision 1.20.6.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 18:48:40 2007 (4 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.20.6.2: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.2: +10 -2
lines
Sync with HEAD.
Revision 1.10.12.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:38:51 2007 (4 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10.12.2: preferred, colored to branchpoint 1.10: preferred, colored
Changes since revision 1.10.12.2: +492 -121
lines
sync with head.
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 12:22:00 2007 (4 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to previous 1.20.2.1: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +10 -2
lines
Sync with HEAD.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Sep 3 03:29:51 2007 (4 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +9 -2
lines
Add some KASSERT(mutex_owned(&foo_lock)).
Revision 1.17.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 20 20:37:50 2007 (4 years, 5 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.5: preferred, colored to branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.5: +3 -3
lines
Sync with HEAD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Aug 17 18:52:52 2007 (4 years, 5 months ago) by pavel
Branches: MAIN
Branch point for: matt-armv6
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +3 -2
lines
Add missing #include <prop/proplib.h>, should fix build failure reported
by Juergen Hannken-Illjes. The code apparently relied on proplib.h being
included indirectly through proc.h -> event.h -> ioctl.h -> dkio.h.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 15:48:46 2007 (4 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Sync with HEAD.
Revision 1.20.6.2: download - view: text, markup, annotated - select for diffs
Thu Aug 9 04:37:14 2007 (4 years, 6 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.20.6.1: preferred, colored to branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.1: +3 -3
lines
Sync with HEAD.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Aug 7 16:03:00 2007 (4 years, 6 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
The acpilid(4) powerd script is "lid_switch" not "lid_button"... found
by jmcneill@.
Revision 1.20.6.1: download - view: text, markup, annotated - select for diffs
Sat Aug 4 00:17:24 2007 (4 years, 6 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +20 -2
lines
Pull in power management changes from private branch.
Revision 1.17.2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 15 17:52:49 2007 (4 years, 6 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.4: preferred, colored to branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.4: +90 -27
lines
Sync with head.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jul 15 17:27:53 2007 (4 years, 6 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +5 -4
lines
The power daemon is now an LWP.
Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:21:46 2007 (4 years, 6 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.3: preferred, colored to branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.3: +395 -97
lines
Sync with head.
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 22:08:25 2007 (4 years, 7 months ago) by mjf
Branches: mjf-ufs-trans
Diff to previous 1.17: preferred, colored next main 1.18: preferred, colored
Changes since revision 1.17: +483 -121
lines
Sync with head.
Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 9 23:30:48 2007 (4 years, 7 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.2: preferred, colored to branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +4 -4
lines
Make sysmon_power_daemon of type lwp_t *.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jul 2 17:18:30 2007 (4 years, 7 months ago) by xtraeme
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +5 -3
lines
Add PENVSYS_TYPE_INDICATOR to handle events on Indicator sensors.
ipmi(4) uses this for the Intrussion and Power Supply sensors.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jul 1 09:36:59 2007 (4 years, 7 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +481 -121
lines
Imported envsys 2, a brief description of the new features:
(Part 1: API)
* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
sysmon_power(9) and powerd(8), that means there is no 32 bytes event
size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 23:57:47 2007 (4 years, 10 months ago) by ad
Branches: vmlocking
Diff to previous 1.17.2.1: preferred, colored to branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +3 -2
lines
Compile fixes.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 21 21:10:19 2007 CET (4 years, 10 months ago) by ad
Branches: vmlocking
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4
lines
GC the simplelock/spinlock debugging stuff.
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:57:13 2007 CET (4 years, 11 months ago) by rmind
Branches: yamt-idlelwp
Diff to previous 1.14: preferred, colored next main 1.15: preferred, colored
Changes since revision 1.14: +3 -3
lines
Sync with HEAD.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:02:45 2007 CET (4 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Feb 19 07:08:37 2007 CET (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +34 -39
lines
Back out previous for now. There isn't currently an easy way to set up
shared state before these get attached or used.
From xtraeme@.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Feb 19 00:38:11 2007 CET (4 years, 11 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +41 -36
lines
* Replace simple_locks and exclusive locks with adaptive mutexes.
* Replace ltsleep/wakeup pairs with condition variables
(cv_init/cv_wait/cv_broadcast).
Reviewed by ad@.
Revision 1.10.12.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 21:49:38 2006 CET (5 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10.12.1: preferred, colored to branchpoint 1.10: preferred, colored
Changes since revision 1.10.12.1: +8 -5
lines
sync with head.
Revision 1.12.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 08:18:16 2006 CET (5 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
Diff to previous 1.12.8.1: preferred, colored to branchpoint 1.12: preferred, colored next main 1.13: preferred, colored
Changes since revision 1.12.8.1: +11 -11
lines
sync with head.
Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 22:34:50 2006 CET (5 years, 2 months ago) by ad
Branches: newlock2
Diff to previous 1.12: preferred, colored next main 1.13: preferred, colored
Changes since revision 1.12: +8 -5
lines
Sync with head.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Nov 16 02:33:26 2006 CET (5 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: yamt-idlelwp
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +11 -11
lines
__unused removal on arguments; approved by core.
Revision 1.12.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 08:06:51 2006 (5 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +12 -9
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Oct 12 03:31:59 2006 (5 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +12 -9
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 04:55:16 2006 (5 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.11: preferred, colored next main 1.12: preferred, colored
Changes since revision 1.11: +3 -3
lines
sync with head
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Thu Aug 3 14:35:41 2006 (5 years, 6 months ago) by tron
Branches: netbsd-2
Diff to previous 1.8: preferred, colored next main 1.9: preferred, colored
Changes since revision 1.8: +3 -3
lines
Pull up following revision(s) (requested by freza in ticket #10642):
sys/dev/sysmon/sysmon_power.c: revision 1.12 via patch
Advance queue indices properly instead of silently rewriting
sysmon_power_event_queue[0] all the time.
OK by thorpej@
Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:52:28 2006 (5 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.11: preferred, colored next main 1.12: preferred, colored
Changes since revision 1.11: +3 -3
lines
sync with head.
Revision 1.10.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 17:07:30 2006 (5 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +9 -9
lines
sync with head.
Revision 1.11.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 06:05:49 2006 (5 years, 7 months ago) by chap
Branches: chap-midi
Diff to previous 1.11: preferred, colored next main 1.12: preferred, colored
Changes since revision 1.11: +3 -3
lines
Sync with head.
Revision 1.10.10.1: download - view: text, markup, annotated - select for diffs
Tue Jun 13 12:23:44 2006 (5 years, 7 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1
Diff to previous 1.10: preferred, colored next main 1.11: preferred, colored
Changes since revision 1.10: +3 -3
lines
Pull up following revision(s) (requested by freza in ticket #1369):
sys/dev/sysmon/sysmon_power.c: revision 1.12
Advance queue indices properly instead of silently rewriting
sysmon_power_event_queue[0] all the time.
OK by thorpej@
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jun 8 06:23:34 2006 (5 years, 8 months ago) by freza
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
rpaulo-netinet-merge-pcb-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Advance queue indices properly instead of silently rewriting
sysmon_power_event_queue[0] all the time.
OK by thorpej@
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 11 13:23:56 2005 CET (6 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
peter-altq-base,
peter-altq,
elad-kernelauth-base,
elad-kernelauth
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb,
chap-midi
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +8 -8
lines
merge ktrace-lwp.
Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 15:33:42 2004 (7 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.7.2.3: preferred, colored next main 1.8: preferred, colored
Changes since revision 1.7.2.3: +8 -8
lines
Fix the sync with head I botched.
Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 16:51:34 2004 (7 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.7.2.2: preferred, colored
Changes since revision 1.7.2.2: +7 -7
lines
Sync with HEAD.
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 12:51:29 2004 (7 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.7.2.1: preferred, colored
Changes since revision 1.7.2.1: +22 -1
lines
Sync with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 22 13:32:50 2004 (7 years, 8 months ago) by cube
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
netbsd-3-base,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
matt-timespec,
ktrace-lwp-base,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf,
netbsd-3
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +6 -6
lines
According to acpi_acad.c and powerd(8), PRESSED event for AC adapter device
means it gets connected. It feels odd to be told the AC adapter went
offline right after plugging it in.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon May 3 09:43:37 2004 (7 years, 9 months ago) by kochi
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +20 -2
lines
Add AC adapter event type.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jul 14 17:47:28 2003 (8 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0
Branch point for: netbsd-2
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1
lines
add missing __KERNEL_RCSID()
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:26:22 2003 (8 years, 7 months ago) by darrenr
Branches: ktrace-lwp
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +7 -7
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jun 30 00:30:50 2003 (8 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +6 -6
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jun 28 16:21:45 2003 (8 years, 7 months ago) by darrenr
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +7 -7
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 20 01:24:55 2003 (8 years, 8 months ago) by kochi
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +15 -10
lines
Fix a locking problem, which closes kern/21607.
ok'd by Jason Thorpe.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 11 20:52:39 2003 (8 years, 9 months ago) by fvdl
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
Fix format / number of argument mismatch for a printf.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Apr 20 22:48:28 2003 (8 years, 9 months ago) by thorpej
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +16 -1
lines
Add a "reset button" type.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Apr 18 03:31:35 2003 (8 years, 9 months ago) by thorpej
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +321 -9
lines
* 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.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Apr 17 03:02:21 2003 (8 years, 9 months ago) by thorpej
Branches: MAIN
Start at a power management framework for sysmon. Right now we just
provide some VERY basic support for power/sleep buttons and lid switches;
if someone presses the power button, shut down the system semi-gracefully.
Eventually, we will send events for all types of button/lid events down
to a userland power management daemon, which will be able to define a
separate policy for each button/switch.
cvsweb.de.netbsd.org <zafer@aydogan.de>