commit | db7ecb6aaa066a2468aaa82cd1dfdbe60f3793eb | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Oct 23 19:42:23 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Fri Nov 02 14:42:03 2018 +0000 |
tree | 0f127e60feecb240a7d3d811e7239390d45f284a | |
parent | 0dd0c4d728757b78d07f57fe3f92193960ac7076 [diff] |
cleanup: add const to read-only iterators Add const to read-only iterators. Change-Id: I848ec6a9558781fc193e19efa63494ec0cea3f46 Signed-off-by: Patrick Venture <venture@google.com>
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
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.