Attention Handler base logic
Added base logic for the attention handler application (attn) as a starting point for further refinement. Attn will handle SBE vital, system checkstop and special attention events. These events will be handled through a combination local logic and external hardware and software interfaces.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I074fb86474761bf694644c71d93ede9c45673b79
diff --git a/attn/attn_handler.hpp b/attn/attn_handler.hpp
new file mode 100644
index 0000000..2be6b07
--- /dev/null
+++ b/attn/attn_handler.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+/**
+ * @brief The main attention handler logic
+ *
+ * Check each processor for active attentions of type SBE Vital (vital),
+ * System Checkstop (checkstop) and Special Attention (special) and handle
+ * each as follows:
+ *
+ * checkstop: TBD
+ * vital: TBD
+ * special: Determine if the special attention is a Breakpoint (BP),
+ * Terminate Immediately (TI) or CoreCodeToSp (corecode). For each
+ * special attention type, do the following:
+ *
+ * BP: Notify Cronus
+ * TI: TBD
+ * Corecode: TBD
+ * Recoverable: TBD
+ */
+void attnHandler();