blob: 16cae7c7bb71d79c8c906aa4cb906ff18ebfbb95 [file] [log] [blame]
Shantappa Teekappanavar1ac61622021-06-22 19:07:29 -05001#pragma once
2
3#include <stdint.h>
4
5/**
6 * @brief Main function to initiate Hostboot dump
7 *
8 */
9
10namespace watchdog
11{
12namespace dump
13{
14
15/**
16 * @brief Initiate Hostboot dump collection
17 *
18 * @param timeout - timeout interval in seconds
19 */
20void triggerHostbootDump(const uint32_t timeout);
21
Shantappa Teekappanavar41d507e2021-10-05 12:17:55 -050022/**
23 * @brief Handle SBE Boot Error
24 *
25 * @param procTarget - Processor target
26 * @param timeout - timeout interval in seconds
27 */
28void handleSbeBootError(struct pdbg_target* procTarget, const uint32_t timeout);
29
Shantappa Teekappanavar1ac61622021-06-22 19:07:29 -050030} // namespace dump
31} // namespace watchdog