summaryrefslogtreecommitdiff
path: root/bl1
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2015-11-10 15:01:57 +0000
committerAchin Gupta <achin.gupta@arm.com>2015-11-26 21:32:04 +0000
commit862b5dc2d1f45b0195678dcb6556b0721444505f (patch)
tree8dc715be3e0bffcde17c544557aa88080add2660 /bl1
parent35e8c7661ae12ac95bbf394b2b3d19d2c7d03369 (diff)
Pass the entry point info to bl1_plat_prepare_exit()
This patch modifies the prototype of the bl1_plat_prepare_exit() platform API to pass the address of the entry point info structure received from BL2. The structure contains information that can be useful, depending on the kind of clean up or bookkeeping operations to perform. The weak implementation of this function ignores this argument to preserve platform backwards compatibility. NOTE: THIS PATCH MAY BREAK PLATFORM PORTS THAT ARE RELYING ON THE FORMER PROTOTYPE OF THE BL1_PLAT_PREPARE_EXIT() API. Change-Id: I3fc18f637de06c85719c4ee84c85d6a4572a0fdb
Diffstat (limited to 'bl1')
-rw-r--r--bl1/aarch64/bl1_exceptions.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/bl1/aarch64/bl1_exceptions.S b/bl1/aarch64/bl1_exceptions.S
index ee66ef00..5415d395 100644
--- a/bl1/aarch64/bl1_exceptions.S
+++ b/bl1/aarch64/bl1_exceptions.S
@@ -213,6 +213,7 @@ debug_loop:
b debug_loop
#endif
+ mov x0, x20
bl bl1_plat_prepare_exit
ldp x6, x7, [x20, #(ENTRY_POINT_INFO_ARGS_OFFSET + 0x30)]