mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-02-05 11:29:44 +08:00
删除文件 System/os_main.c
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
/**************************************************************************//**
|
||||
* @item CosyOS-II Kernel
|
||||
* @file os_main.c
|
||||
* @brief 主函数
|
||||
* @author 迟凯峰
|
||||
* @version V2.1.0
|
||||
* @date 2024.03.31
|
||||
******************************************************************************/
|
||||
|
||||
#include "os_link.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
void s_init_timing(void);
|
||||
#if SYSCFG_SAFERUNTIME == __ENABLED__
|
||||
s_tid_t i;
|
||||
for(i = 0; i < OS_TASKTOTAL + 1; i++){
|
||||
s_sign_timeout[i] = 0;
|
||||
}
|
||||
#endif
|
||||
#if OS_TIMINTTOTAL || OS_TIMQRYTOTAL
|
||||
s_init_timing();
|
||||
#endif
|
||||
init_hook();
|
||||
mSys_INIT;
|
||||
#if SYSCFG_DEBUGGING == __ENABLED__
|
||||
sStartTask_TimQry(OS_TMID_TASKMGR);
|
||||
#endif
|
||||
uStartTask(Starter, OS_STATUS_READY);
|
||||
uStartTask(Sysidle, OS_STATUS_READY);
|
||||
while(true);
|
||||
}
|
||||
Reference in New Issue
Block a user