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