TA-REF
startup.c File Reference
#include "tee_ta_api.h"
#include "edger/Enclave_t.h"
#include "crt.h"
#include "tools.h"
+ Include dependency graph for startup.c:

Functions

TEE_Result TA_InvokeCommandEntryPoint (void *sess_ctx, uint32_t cmd_id, uint32_t param_types, TEE_Param params[4])
 
void EAPP_ENTRY eapp_entry ()
 

Function Documentation

◆ eapp_entry()

void EAPP_ENTRY eapp_entry ( )

The eapp_entry() - It contains enclave verbose and invokes main function.

This function invokes crt_begin() if defined macro is ENCLAVE_VERBOSE then prints the main start and invokes main(). Once main() is completed prints the main end and invokes the crt_end().

Returns
It will return EAPP_RETURN(0).

◆ TA_InvokeCommandEntryPoint()

TEE_Result TA_InvokeCommandEntryPoint ( void *  sess_ctx,
uint32_t  cmd_id,
uint32_t  param_types,
TEE_Param  params[4] 
)