commit | fd5dfd56b05f082623dde50f4bea15eaef25dd27 | [log] [tgz] |
---|---|---|
author | Nirav Shah <nirav.j2.shah@intel.com> | Wed Mar 09 12:29:41 2022 -0800 |
committer | Nirav Shah <nirav.j2.shah@intel.com> | Wed Mar 09 12:33:11 2022 -0800 |
tree | ec39ac17ab12229a3eae9b1f21479f3bf19d8733 | |
parent | bdefaa3c95d0a93928f8ebda1ce158172d3a4bcf [diff] |
Make code c portable Changing struct init to compile with C Tested: Built code with cmake --build . Change-Id: I72836a897e73cf1a3b13ffa21d2254cc9db9529b Signed-off-by: Nirav Shah <nirav.j2.shah@intel.com>
libpeci is a library that provides various APIs to interface with the IOCTLs provided by the PECI driver in the OpenBMC kernel. Currently available here:
https://github.com/openbmc/linux/blob/dev-5.4/include/uapi/linux/peci-ioctl.h
This repo also includes a peci_cmds command-line utility with functions that map to the libpeci APIs. It can be used to test PECI functionality across the library, driver, and hardware.
This repo also includes dbus_raw_peci which provides a raw-peci daemon that exposes a raw PECI interface that is accessible over D-Bus. It can be used when an application needs to send a raw PECI command without loading the full PECI library.