Will Liang | a1d4202 | 2019-06-13 14:17:12 +0800 | [diff] [blame] | 1 | #include "config.h" |
| 2 | |
| 3 | #include "ecc_manager.hpp" |
| 4 | |
Will Liang | a1d4202 | 2019-06-13 14:17:12 +0800 | [diff] [blame] | 5 | #include <sdbusplus/bus.hpp> |
| 6 | #include <sdbusplus/sdbus.hpp> |
| 7 | #include <sdbusplus/server/manager.hpp> |
| 8 | |
Patrick Williams | 527190b | 2023-05-10 07:51:28 -0500 | [diff] [blame] | 9 | #include <iostream> |
| 10 | |
Will Liang | a1d4202 | 2019-06-13 14:17:12 +0800 | [diff] [blame] | 11 | int main(void) |
| 12 | { |
Will Liang | a1d4202 | 2019-06-13 14:17:12 +0800 | [diff] [blame] | 13 | /** @brief Dbus constructs */ |
| 14 | auto bus = sdbusplus::bus::new_default(); |
| 15 | |
| 16 | phosphor::memory::ECC obj(bus, OBJPATH); |
| 17 | |
| 18 | obj.run(); |
| 19 | |
| 20 | return 0; |
| 21 | } |