dbus.hpp (1315968c4aa294f2e4b414fffb8cb012578fa878) | dbus.hpp (626270affc0f71eaab89c45c492e6732238fa360) |
---|---|
1#pragma once 2 3#include <sdbusplus/bus.hpp> 4#include <util/ffdc_file.hpp> 5 6#include <string> 7#include <variant> 8#include <vector> --- 120 unchanged lines hidden (view full) --- 129 * @param io_additional - map of additional data 130 * @param i_ffdc - vector of ffdc data 131 * @return Platform log id or 0 if error 132 */ 133uint32_t createPel(const std::string& i_message, const std::string& i_severity, 134 std::map<std::string, std::string>& io_additional, 135 const std::vector<FFDCTuple>& i_ffdc); 136 | 1#pragma once 2 3#include <sdbusplus/bus.hpp> 4#include <util/ffdc_file.hpp> 5 6#include <string> 7#include <variant> 8#include <vector> --- 120 unchanged lines hidden (view full) --- 129 * @param io_additional - map of additional data 130 * @param i_ffdc - vector of ffdc data 131 * @return Platform log id or 0 if error 132 */ 133uint32_t createPel(const std::string& i_message, const std::string& i_severity, 134 std::map<std::string, std::string>& io_additional, 135 const std::vector<FFDCTuple>& i_ffdc); 136 |
137/** @brief Machine ID definitions */ 138enum class MachineType 139{ 140 Rainier_2S4U, 141 Rainier_2S2U, 142 Rainier_1S4U, 143 Rainier_1S2U, 144 Everest, 145}; 146 147/** 148 * @brief Read the System IM keyword to get the machine type 149 * 150 * @return An enum representing the machine type 151 */ 152MachineType getMachineType(); 153 |
|
137} // namespace dbus 138 139} // namespace util | 154} // namespace dbus 155 156} // namespace util |