summaryrefslogtreecommitdiffstats
path: root/proc_control.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add .clang-formatPatrick Venture2018-11-021-12/+9
| | | | | | | Add .clang-format for automatic style. Change-Id: I6d240009370179b5b8f1f646b0476a059ec6aa85 Signed-off-by: Patrick Venture <venture@google.com>
* s/copyright char/(C)/g to make compiler happyPatrick Venture2018-11-021-1/+1
| | | | | | | Compiler complaining about the copyright characters. Change-Id: I6730a50a668899a33e9dfcc4accb67ee207a3f08 Signed-off-by: Patrick Venture <venture@google.com>
* Add FSI scan procedureMatt Spinler2017-10-041-0/+13
| | | | | | | | | | | | | | | | | This procedure will perform both the FSI master and FSI hub scans. It replaces doing the scans by writing to sysfs using the echo command so that real errors can be created on failures. Currently the only way to tell if the master scan fails is by checking for missing sysfs files, and this code will do that by checking for the hub scan file. Change-Id: Id4b91592b8c8b9a5fc9f1a56f4d89e142a6c6b74 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Use all phosphor-dbus-interfaces errorsMatt Spinler2017-10-041-12/+20
| | | | | | | | | | Remove the local error definitions and use the ones in phosphor-dbus-interfaces instead as the ones there suit our purposes and it simplifies this repository to do so. Change-Id: I18428c496914153270ecb181e7193acd0e386e97 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Replacing runtime exceptions with elogDhruvaraj Subhashchandran2017-05-171-0/+6
| | | | | | | Resolves openbmc/openbmc#1323 Change-Id: Ia93d1f0036341c26fdc6c5e3133d4a05346090be Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Replace error strings with logging errors in device operationsDhruvaraj Subhashchandran2017-05-151-3/+20
| | | | | Change-Id: I0fc1c23e51a0233c18775ee712132dba7e4c7d7e Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Register proceduresMatt Spinler2017-03-141-17/+10
| | | | | | | | | | For a procedure to be available to run, it needs to have a call to a REGISTER_PROCEDURE macro. This macro wraps a call to a Register class that adds the procedure to the list along with the name to call it. Change-Id: I20d02e8f004c1c726228469465ae89b60ee52d66 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add startHost and vcsWorkaround stubsMatt Spinler2017-03-141-0/+74
Change-Id: Id696a7735930806373c214da50660ee0ee830598 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud