Ben Tyner | ef32015 | 2020-01-09 10:31:23 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Ben Tyner | 73ac368 | 2020-01-09 10:46:47 -0600 | [diff] [blame] | 3 | namespace attn |
| 4 | { |
| 5 | |
Ben Tyner | ef32015 | 2020-01-09 10:31:23 -0600 | [diff] [blame] | 6 | /** |
| 7 | * @brief The main attention handler logic |
| 8 | * |
| 9 | * Check each processor for active attentions of type SBE Vital (vital), |
| 10 | * System Checkstop (checkstop) and Special Attention (special) and handle |
| 11 | * each as follows: |
| 12 | * |
| 13 | * checkstop: TBD |
| 14 | * vital: TBD |
| 15 | * special: Determine if the special attention is a Breakpoint (BP), |
| 16 | * Terminate Immediately (TI) or CoreCodeToSp (corecode). For each |
| 17 | * special attention type, do the following: |
| 18 | * |
| 19 | * BP: Notify Cronus |
| 20 | * TI: TBD |
| 21 | * Corecode: TBD |
| 22 | * Recoverable: TBD |
Ben Tyner | 970fd4f | 2020-02-19 13:46:42 -0600 | [diff] [blame] | 23 | * |
| 24 | * @param i_breakpoints true = breakpoint special attn handling enabled |
Ben Tyner | ef32015 | 2020-01-09 10:31:23 -0600 | [diff] [blame] | 25 | */ |
Ben Tyner | b481d90 | 2020-03-05 10:24:23 -0600 | [diff] [blame] | 26 | void attnHandler(const bool i_breakpoints); |
Ben Tyner | 73ac368 | 2020-01-09 10:46:47 -0600 | [diff] [blame] | 27 | |
| 28 | } // namespace attn |