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