26 lines
364 B
C
26 lines
364 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 _PrepC(void)
|
||
|
{
|
||
|
z_data_copy();
|
||
|
z_cstart();
|
||
|
CODE_UNREACHABLE;
|
||
|
}
|