1 #pragma once 2 3 #include <iostream> 4 #include <variant> 5 #include <vector> 6 7 namespace ipmi 8 { 9 10 constexpr size_t amdFourBytesPostCode = 4; 11 12 namespace dimm 13 { 14 using hostId = size_t; 15 struct dimmLoop 16 { 17 size_t totalErrorCount; 18 bool gotPattern; // It gets the whole pattern success. 19 bool startDetect; // Dimm loop detection to use. After getting the anchor 20 // tag start to detected. 21 std::vector<std::vector<uint8_t>> postCode; 22 }; 23 } // namespace dimm 24 } // namespace ipmi 25