commit | 2227bd52c5bb8d62dcfe33b58d65515d21e9be17 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Jun 19 11:32:22 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Fri Jul 26 12:39:53 2019 -0700 |
tree | e555d50cc5f3aaf7f603cc3826bb6ce29de7376b | |
parent | 501ade24fb8eaa8112fb2c267727888fd5ac685c [diff] |
sensor: Replace GpioLock with stdplus RAII helper The old RAII helper was not move safe, although it was never moved in the current code so it didn't have any effect on runtime safety. Change-Id: Ica19ed7e60d699d86d0166b356cedb82e4a28b61 Signed-off-by: William A. Kennington III <wak@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.