blob: 54c9eed513bb86e1a1b02f217943362397fcce50 [file] [log] [blame]
/*
* Copyright (c) 2019-2020 Cobham Gaisler AB
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Full C support initialization
*/
#include <kernel_internal.h>
/**
*
* @brief Prepare to and run C code
*
* This routine prepares for the execution of and runs C code.
*
* @return N/A
*/
void _PrepC(void)
{
#ifdef CONFIG_XIP
z_data_copy();
#endif
z_cstart();
CODE_UNREACHABLE;
}