Shantappa Teekappanavar | 1ac6162 | 2021-06-22 19:07:29 -0500 | [diff] [blame] | 1 | #pragma once |
Shantappa Teekappanavar | 1ac6162 | 2021-06-22 19:07:29 -0500 | [diff] [blame] | 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 | |
Shantappa Teekappanavar | 41d507e | 2021-10-05 12:17:55 -0500 | [diff] [blame] | 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 | |
Shantappa Teekappanavar | 1ac6162 | 2021-06-22 19:07:29 -0500 | [diff] [blame] | 29 | } // namespace dump |
| 30 | } // namespace watchdog |