summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2016-03-16 11:02:28 +0000
committerdanh-arm <dan.handley@arm.com>2016-03-16 11:02:28 +0000
commit63a6d09a084386f27a240602fd3be9a975ba65df (patch)
tree790d7bcce12f8064bfac9cdd149a47d830233b26 /docs
parent5cc34831bab6f6037efb64547090e5248c50a519 (diff)
parent1c3ea103d28760a04e457678bf60725ae761c28f (diff)
Merge pull request #550 from antonio-nino-diaz-arm/an/dead_loops
Remove all non-configurable dead loops
Diffstat (limited to 'docs')
-rw-r--r--docs/porting-guide.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md
index 741ee207..bd1b4489 100644
--- a/docs/porting-guide.md
+++ b/docs/porting-guide.md
@@ -783,6 +783,20 @@ Possible errors reported by the generic code are:
The default implementation simply spins.
+### Function : plat_panic_handler()
+
+ Argument : void
+ Return : void
+
+This API is called when the generic code encounters an unexpected error
+situation from which it cannot recover. This function must not return,
+and must be implemented in assembly because it may be called before the C
+environment is initialized.
+
+Note: The address from where it was called is stored in x30 (Link Register).
+
+The default implementation simply spins.
+
3. Modifications specific to a Boot Loader stage
-------------------------------------------------