aboutsummaryrefslogtreecommitdiff
path: root/include/stack.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-03-27 16:11:40 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-31 15:42:37 +1100
commit989d8b68b63ba21a58fb96cd0b0a82505e669046 (patch)
tree74388ed44bae1f00319108dba9aeed1927208242 /include/stack.h
parente162dbe49d12603ed9663a16f3040fbe6fddb9e9 (diff)
downloadskiboot-989d8b68b63ba21a58fb96cd0b0a82505e669046.zip
skiboot-989d8b68b63ba21a58fb96cd0b0a82505e669046.tar.gz
skiboot-989d8b68b63ba21a58fb96cd0b0a82505e669046.tar.bz2
exceptions: Catch exceptions at boot time
And print some informations about GPR state, backtrace, etc... Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/stack.h')
-rw-r--r--include/stack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stack.h b/include/stack.h
index 2f27a7b..0009ea9 100644
--- a/include/stack.h
+++ b/include/stack.h
@@ -90,6 +90,8 @@ struct stack_frame {
uint64_t cfar;
uint64_t srr0;
uint64_t srr1;
+ uint64_t hsrr0;
+ uint64_t hsrr1;
} __attribute__((aligned(16)));
/* Backtrace */