summaryrefslogtreecommitdiff
path: root/docs/porting-guide.md
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-10-21 12:12:12 +0100
committerdanh-arm <dan.handley@arm.com>2015-10-21 12:12:12 +0100
commit7b66a0269ef9f1626041c8feabd0e679e18b1b5c (patch)
tree6e21b3897af944ff3696cbd5384b74ab13ae72ed /docs/porting-guide.md
parent4425448a01665aa16c36d32629934db694344f48 (diff)
parente3f6712409c54b03f42869faeff0cf8d8af9245e (diff)
Merge pull request #411 from jcastillo-arm/jc/plat_bl1_exit
Jc/plat bl1 exit
Diffstat (limited to 'docs/porting-guide.md')
-rw-r--r--docs/porting-guide.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md
index 50d36ea2..c369844c 100644
--- a/docs/porting-guide.md
+++ b/docs/porting-guide.md
@@ -788,6 +788,17 @@ the entry point set by loader and also set the security state and SPSR which
represents the entry point system state for BL2.
+### Function : bl1_plat_prepare_exit() [optional]
+
+ Argument : void
+ Return : void
+
+This function is called prior to exiting BL1 in response to the `RUN_IMAGE_SMC`
+request raised by BL2. It should be used to perform platform specific clean up
+or bookkeeping operations before transferring control to the next image. This
+function runs with MMU disabled.
+
+
3.2 Boot Loader Stage 2 (BL2)
-----------------------------