blob: 5bfe9959307ddea2302540fd30cc1a9abfac6649 [file] [log] [blame]
Ben Tyneref320152020-01-09 10:31:23 -06001#pragma once
2
Ben Tyner73ac3682020-01-09 10:46:47 -06003namespace attn
4{
5
Ben Tyneref320152020-01-09 10:31:23 -06006/**
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 Tyner970fd4f2020-02-19 13:46:42 -060023 *
24 * @param i_breakpoints true = breakpoint special attn handling enabled
Ben Tyneref320152020-01-09 10:31:23 -060025 */
Ben Tynerb481d902020-03-05 10:24:23 -060026void attnHandler(const bool i_breakpoints);
Ben Tyner73ac3682020-01-09 10:46:47 -060027
28} // namespace attn