blob: 731aecc95c018fcb88a2dbc8b39df01fd9b41ea9 [file] [log] [blame]
Dhruvaraj Subhashchandran858d1aa2021-10-27 03:26:06 -05001#pragma once
2namespace openpower::dump::SBE
3{
4// Dump type to the sbe_dump chipop
5constexpr auto SBE_DUMP_TYPE_HOSTBOOT = 0x5;
6constexpr auto SBE_DUMP_TYPE_HARDWARE = 0x1;
7
8// SBE dump type
9constexpr auto SBE_DUMP_TYPE_SBE = 0xA;
10
11// Clock state requested
12// Collect the dump with clocks on
13constexpr auto SBE_CLOCK_ON = 0x1;
14
15// Collect the dumps with clock off
16constexpr auto SBE_CLOCK_OFF = 0x2;
17
Dhruvaraj Subhashchandran6feeebd2021-10-19 05:03:59 -050018// Dump command class
19constexpr auto SBEFIFO_CMD_CLASS_DUMP = 0xAA00;
20
21// Get dump method
22constexpr auto SBEFIFO_CMD_GET_DUMP = 0x01;
Dhruvaraj Subhashchandranf9f65b82022-10-13 06:46:43 -050023
24// Stop instruction command class
25constexpr auto SBEFIFO_CMD_CLASS_INSTRUCTION = 0xA700;
26
27// Stop instruction method
28constexpr auto SBEFIFO_CMD_CONTROL_INSN = 0x01;
Dhruvaraj Subhashchandran858d1aa2021-10-27 03:26:06 -050029} // namespace openpower::dump::SBE