summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2016-02-08 10:39:42 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2016-03-07 09:16:40 +0000
commite5846732e36272a7a387f088092becd0d46461b5 (patch)
tree77e98b050e0eac90e2e4dbbe1e5320d27c61b6da
parentdbc807179fea7438efa3374584310727ce44bbc9 (diff)
Porting guide: Clarify API that don't follow AAPCS
This patch clarifies a porting API in the Porting Guide that do not follow the ARM Architecture Program Calling Standards (AAPCS). The list of registers that are allowed to be clobbered by this API has been updated in the Porting Guide. Fixes ARM-software/tf-issues#259 Change-Id: Ibf2adda2e1fb3e9b8f53d8a918d5998356eb8fce
-rw-r--r--docs/porting-guide.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md
index 56ddbb1c..d19811d1 100644
--- a/docs/porting-guide.md
+++ b/docs/porting-guide.md
@@ -642,7 +642,8 @@ CPU-specific linear index into blocks of memory (for example while allocating
per-CPU stacks). This function will be invoked very early in the
initialization sequence which mandates that this function should be
implemented in assembly and should not rely on the avalability of a C
-runtime environment.
+runtime environment. This function can clobber x0 - x8 and must preserve
+x9 - x29.
This function plays a crucial role in the power domain topology framework in
PSCI and details of this can be found in [Power Domain Topology Design].