summaryrefslogtreecommitdiffstats
path: root/src/kernel/terminate.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/terminate.C')
-rw-r--r--src/kernel/terminate.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/terminate.C b/src/kernel/terminate.C
index fb3e1d069..308e52b2e 100644
--- a/src/kernel/terminate.C
+++ b/src/kernel/terminate.C
@@ -27,6 +27,7 @@
#include <kernel/hbterminatetypes.H>
#include <kernel/terminate.H>
#include <sys/sync.h>
+#include <arch/ppc.H>
#ifndef BOOTLOADER
#include <stdint.h>
#include <kernel/console.H>
@@ -56,6 +57,9 @@ HB_Descriptor kernel_hbDescriptor =
void terminateExecuteTI()
{
+ // Trigger a hostboot dump in Simics
+ MAGIC_INSTRUCTION(MAGIC_HB_DUMP);
+
// Call the function that actually executes the TI code.
p9_force_attn();
}
OpenPOWER on IntegriCloud