Ensure simulator does not re-initialize same chip type
Change-Id: I4bf3dd45ca30a977dd629acf8e4654c5385fac30
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/test/simulator/simulator.hpp b/test/simulator/simulator.hpp
index e5526d8..7d25160 100644
--- a/test/simulator/simulator.hpp
+++ b/test/simulator/simulator.hpp
@@ -37,18 +37,21 @@
public:
/** The list of supported chip types for the simulator. */
- enum ChipType
+ enum SimChipType
{
SAMPLE = 0xdeadbeef,
};
private:
/** The Chip Data file paths for each support chip type. */
- static const std::map<ChipType, const char*> cv_chipPath;
+ static const std::map<SimChipType, const char*> cv_chipPath;
/** The list of configured chips used throughout a test case. */
std::vector<Chip> iv_chipList;
+ /** The list of configured chip types used throughout a test case. */
+ std::vector<ChipType_t> iv_typeList;
+
/** The contents of all the SCOM registers used for an iteration of
* isolation. */
std::map<Chip, std::map<uint32_t, uint64_t>> iv_scomRegData;