Module Name: src Committed By: martin Date: Sun Jan 31 21:36:38 UTC 2010
Modified Files: src/sys/dev/sysmon: sysmon_envsys.c sysmonvar.h Log Message: Add a convenience function to find the maximum value currently reported by a set (selected via a passed callback predicate) of sensors. This provides an easy way to query the current temperature of a thermal zone, for example, from within the kernel - assuming the caller knows the topology. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/dev/sysmon/sysmon_envsys.c cvs rdiff -u -r1.29 -r1.30 src/sys/dev/sysmon/sysmonvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.