int main ( void )
{
    volatile funcptr_void NonSecure_ResetHandler;
    /* Initialize all modules */
    SYS_Initialize ( NULL );
    /* Set non-secure main stack (MSP_NS) */
    __TZ_set_MSP_NS(*((uint32_t *)(TZ_START_NS)));    
    /* Get non-secure reset handler */
    NonSecure_ResetHandler = (funcptr_void)(*((uint32_t *)((TZ_START_NS) + 4U)));    
    /* Start non-secure state software application */
    NonSecure_ResetHandler();
    /* Execution should not come here during normal operation */
    return ( EXIT_FAILURE );
}