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 type 10 constexpr auto SBE_DUMP_TYPE_SBE = 0xA; 11 12 // Clock state requested 13 // Collect the dump with clocks on 14 constexpr auto SBE_CLOCK_ON = 0x1; 15 16 // Collect the dumps with clock off 17 constexpr auto SBE_CLOCK_OFF = 0x2; 18 19 // Dump command class 20 constexpr auto SBEFIFO_CMD_CLASS_DUMP = 0xAA00; 21 22 // Get dump method 23 constexpr auto SBEFIFO_CMD_GET_DUMP = 0x01; 24 25 // Stop instruction command class 26 constexpr auto SBEFIFO_CMD_CLASS_INSTRUCTION = 0xA700; 27 28 // Stop instruction method 29 constexpr auto SBEFIFO_CMD_CONTROL_INSN = 0x01; 30 } // namespace openpower::dump::SBE 31