summaryrefslogtreecommitdiffstats
path: root/src/kernel/exception.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/exception.C')
-rw-r--r--src/kernel/exception.C14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/kernel/exception.C b/src/kernel/exception.C
index 2dd17e574..781e7941d 100644
--- a/src/kernel/exception.C
+++ b/src/kernel/exception.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2010,2016 */
+/* Contributors Listed Below - COPYRIGHT 2010,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -406,6 +406,16 @@ void kernel_execute_unhandled_exception()
exception, t->tid, t->context.nip);
MAGIC_INSTRUCTION(MAGIC_BREAK_ON_ERROR);
- termWriteSRC(TI_UNHANDLED_EX, RC_UNHANDLED_EX, exception);
+ /*@
+ * @errortype
+ * @moduleid KERNEL::MOD_KERNEL_INVALID
+ * @reasoncode KERNEL::RC_UNHANDLED_EX
+ * @userdata1 Exception type
+ * @userdata2 <unused>
+ * @devdesc Kernel encountered an unhandled exception.
+ * @custdesc Boot firmware has crashed with an internal
+ * error.
+ */
+ termWriteSRC(TI_UNHANDLED_EX, KERNEL::RC_UNHANDLED_EX, exception);
terminateExecuteTI();
}
OpenPOWER on IntegriCloud