1 #pragma once 2 namespace openpower::dump::SBE 3 { 4 // Dump type to the sbe_dump chipop 5 constexpr auto SBE_DUMP_TYPE_HOSTBOOT = 0x5; 6 constexpr auto SBE_DUMP_TYPE_HARDWARE = 0x1; 7 constexpr auto SBE_DUMP_TYPE_PERFORMANCE = 0x3; 8 9 // SBE dump types 10 constexpr auto SBE_DUMP_TYPE_SBE = 0xA; 11 constexpr auto SBE_DUMP_TYPE_MSBE = 0xB; 12 13 // Clock state requested 14 // Collect the dump with clocks on 15 constexpr auto SBE_CLOCK_ON = 0x1; 16 17 // Collect the dumps with clock off 18 constexpr auto SBE_CLOCK_OFF = 0x2; 19 20 // Dump command class 21 constexpr auto SBEFIFO_CMD_CLASS_DUMP = 0xAA00; 22 23 // Get dump method 24 constexpr auto SBEFIFO_CMD_GET_DUMP = 0x01; 25 26 // Stop instruction command class 27 constexpr auto SBEFIFO_CMD_CLASS_INSTRUCTION = 0xA700; 28 29 // Stop instruction method 30 constexpr auto SBEFIFO_CMD_CONTROL_INSN = 0x01; 31 } // namespace openpower::dump::SBE 32