From 4779531d50f55d2ecbf173b8aca76ce545a77477 Mon Sep 17 00:00:00 2001 From: Deepak Kodihalli Date: Fri, 17 Mar 2017 07:12:08 -0500 Subject: Find OCC objects For now, map OCC object per POWER processor. Add a method that returns a list of OCC objects that need to be on the bus, based on the processor inventory. Change-Id: I1dd36b96f71684a1d5866876e4ca9aa0283ef8b0 Signed-off-by: Deepak Kodihalli --- occ_finder.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 occ_finder.hpp (limited to 'occ_finder.hpp') diff --git a/occ_finder.hpp b/occ_finder.hpp new file mode 100644 index 0000000..2a31b71 --- /dev/null +++ b/occ_finder.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include +#include + +namespace open_power +{ +namespace occ +{ +namespace finder +{ + +/** @brief Get OCC objects on the system by mapping them to processor inventory + * @returns list of occ objects, such as occ0, occ1, and so on. + */ +std::vector get(); + +} // namespace finder +} // namespace occ +} // namespace open_power -- cgit v1.2.1