1 #pragma once
2 #include <stdint.h>
3 
4 /**
5  * @brief Main function to initiate Hostboot dump
6  *
7  */
8 
9 namespace watchdog
10 {
11 namespace dump
12 {
13 
14 /**
15  * @brief Initiate Hostboot dump collection
16  *
17  * @param timeout - timeout interval in seconds
18  */
19 void triggerHostbootDump(const uint32_t timeout);
20 
21 /**
22  * @brief Handle SBE Boot Error
23  *
24  * @param procTarget - Processor target
25  * @param timeout - timeout interval in seconds
26  */
27 void handleSbeBootError(struct pdbg_target* procTarget, const uint32_t timeout);
28 
29 } // namespace dump
30 } // namespace watchdog
31