commit | 6aa24d4406bf1675f846d418b79b6616e61ae4bd | [log] [tgz] |
---|---|---|
author | Deepak Kodihalli <dkodihal@in.ibm.com> | Wed Mar 07 01:10:03 2018 -0600 |
committer | Deepak Kodihalli <dkodihal@in.ibm.com> | Mon Apr 09 22:32:23 2018 -0500 |
tree | a9f71280b6a399f7d658098fbb4baf2ef21e15db | |
parent | c1cece76a0d0054b705a7f05c8500fecdfb8c5e8 [diff] |
Add a Timer class The class provides for a timer, callback invocation on timer expiry, and timer control/cleanup. This will be used in subsequent commits. Change-Id: Ieb04e5ec76a1023efa2c3f5c5b88f03e9819c3eb Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Exposes generic hwmon entries as DBus objects.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To full clean the repository again run `./bootstrap.sh clean`.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance. This requires an algorithm for selecting a stable, well-known D-Bus busname. The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.