commit | 50cf1c57b782cfb139245b15893f59d19066ee4f | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Apr 18 09:21:41 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Apr 24 19:56:22 2018 +0000 |
tree | 30fb0005f3f8cdae461bc7c370ee04a719014d79 | |
parent | 979c806dc6d236711a5eb7752d61b8895036192d [diff] |
mainloop cleanup: added std namespace where missing A few calls into libc weren't wrapped with the standard namespace. This will ensure they are the calls intended via the wrapped cpp libraries. Change-Id: I966b5d2133efe6c0ac56701a2a60eef6d6d7f6e0 Signed-off-by: Patrick Venture <venture@google.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 clean the repository 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.