26 lines
366 B
C
26 lines
366 B
C
/*
|
|
* 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 z_prep_c(void)
|
|
{
|
|
z_data_copy();
|
|
z_cstart();
|
|
CODE_UNREACHABLE;
|
|
}
|