• Varun Wadekar's avatar
    include: fixup 'cm_setup_context' prototype · 25d819a3
    Varun Wadekar authored
    
    
    This patch changes the prototype cm_setup_context() to use struct entry_point_info
    rather than the typedef'ed version of it. This fixes the following compilation error
    seen with EL3_EXCEPTION_HANDLING = 1.
    
    <snip>
    In file included from bl31/ehf.c:19:
    include/lib/el3_runtime/context_mgmt.h:35:49: error: unknown type name 'entry_point_info_t'
       35 | void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep);
          |                                                 ^~~~~~~~~~~~~~~~~~
    <snip>
    Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
    Change-Id: I73b059ff2dade2259cefd0f9a097c7ea4a88055d
    25d819a3
context_mgmt.h 2.8 KB