AArch32: Add API to invoke runtime service handler
This patch adds an API in runtime service framework to
invoke the registered handler corresponding to the SMC function
identifier. This is helpful for AArch32 because the number of
arguments required by the handler is more than registers
available as per AArch32 program calling conventions and
requires the use of stack. Hence this new API will do the
necessary argument setup and invoke the appropriate
handler. Although this API is primarily intended for AArch32,
it can be used for AArch64 as well.

Change-Id: Iefa15947fe5a1df55b0859886e677446a0fd7241
1 parent bc202b4 commit 1ae0a49a37b0c0e9f54a488f41b2d24eadae16ea
@Soby Mathew Soby Mathew authored on 5 May 2016
Showing 3 changed files
View
common/runtime_svc.c
View
include/common/runtime_svc.h
View
include/lib/aarch64/smcc_helpers.h