• Soby Mathew's avatar
    AArch32: Add API to invoke runtime service handler · 1ae0a49a
    Soby Mathew authored
    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
    1ae0a49a
smcc_helpers.h 3.57 KB