summaryrefslogtreecommitdiff
path: root/bl31/aarch64/runtime_exceptions.S
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-04-09 11:37:01 +0100
committerdanh-arm <dan.handley@arm.com>2015-04-09 11:37:01 +0100
commit9c7eecce726c2089494a4e4b31374a34a34ec7f0 (patch)
tree345141826138671577efda8e8b8426dd3f039916 /bl31/aarch64/runtime_exceptions.S
parentcd319142464907e3760129f3e245a325300eb3c3 (diff)
parent8b779620d3bad024b83650ecfeaafd7b3ae26ccf (diff)
Merge pull request #284 from kpet/kp/tf-issues-295
Add support to indicate size and end of assembly functions
Diffstat (limited to 'bl31/aarch64/runtime_exceptions.S')
-rw-r--r--bl31/aarch64/runtime_exceptions.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/bl31/aarch64/runtime_exceptions.S b/bl31/aarch64/runtime_exceptions.S
index 3265862a..accb11bd 100644
--- a/bl31/aarch64/runtime_exceptions.S
+++ b/bl31/aarch64/runtime_exceptions.S
@@ -479,6 +479,7 @@ smc_prohibited:
rt_svc_fw_critical_error:
msr spsel, #1 /* Switch to SP_ELx */
bl report_unhandled_exception
+endfunc smc_handler
/* -----------------------------------------------------
* The following functions are used to saved and restore
@@ -503,6 +504,7 @@ func save_gp_registers
stp x16, x17, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X16]
save_x18_to_x29_sp_el0
ret
+endfunc save_gp_registers
func restore_gp_registers_eret
ldp x0, x1, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X0]
@@ -525,3 +527,4 @@ restore_gp_registers_callee_eret:
msr sp_el0, x17
ldp x16, x17, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X16]
eret
+endfunc restore_gp_registers_eret