blob: 6eb1fe5d8f3a514c7f43611bd649d90f7fe2a217 [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.
*/
void _PrepC(void)
{
#ifdef CONFIG_XIP
z_data_copy();
#endif
z_cstart();
CODE_UNREACHABLE;
}