commit | 7a5285de708b2f46d47f37920c784314b4ad55aa | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Apr 17 19:15:05 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Wed Apr 18 14:06:11 2018 -0700 |
tree | 08750f56b723c88d653a1d6f963645784667e5d6 | |
parent | 73a50c7f1cd02fca7cbc69e6304514157c59fa63 [diff] |
move getEnv methods into env namespace Move the getEnv(...) methods into the env namespace, for consistency. Change-Id: I4055d9456c17f8b20071cdee1b8e531c10fb0c7e 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.