예제 #1
0
파일: prep_c.c 프로젝트: sunkaizhu/zephyr
void _PrepC(void)
{
	_icache_setup();
	adjust_vector_table_base();
	_bss_zero();
	_data_copy();
	_Cstart();
	CODE_UNREACHABLE;
}
예제 #2
0
파일: prep_c.c 프로젝트: milinddeore/zephyr
void _PrepC(void)
{
#ifdef CONFIG_INIT_STACKS
	init_stacks();
#endif
	/*
	 * Set PSP and use it to boot without using MSP, so that it
	 * gets set to _interrupt_stack during initialization.
	 */
	set_and_switch_to_psp();
	relocate_vector_table();
	enable_floating_point();
	_bss_zero();
	_data_copy();
#ifdef CONFIG_BOOT_TIME_MEASUREMENT
	__start_time_stamp = 0U;
#endif
	_IntLibInit();
	_Cstart();
	CODE_UNREACHABLE;
}