Will Liang | a1d4202 | 2019-06-13 14:17:12 +0800 | [diff] [blame^] | 1 | #include "config.h" |
2 | |||||
3 | #include "ecc_manager.hpp" | ||||
4 | |||||
5 | #include <iostream> | ||||
6 | #include <sdbusplus/bus.hpp> | ||||
7 | #include <sdbusplus/sdbus.hpp> | ||||
8 | #include <sdbusplus/server/manager.hpp> | ||||
9 | |||||
10 | int main(void) | ||||
11 | { | ||||
12 | |||||
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 | } |