23 lines
362 B
C
23 lines
362 B
C
|
/*
|
||
|
* Copyright (c) 2024 Intel Corporation.
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
#include <zephyr/kernel.h>
|
||
|
#include <kernel_internal.h>
|
||
|
|
||
|
extern FUNC_NORETURN void z_cstart(void);
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @brief Prepare to and run C code
|
||
|
*
|
||
|
* This routine prepares for the execution of and runs C code.
|
||
|
*
|
||
|
*/
|
||
|
void z_prep_c(void)
|
||
|
{
|
||
|
z_cstart();
|
||
|
CODE_UNREACHABLE;
|
||
|
}
|