!355 修复qemu和csky编译使用问题

Merge pull request !355 from LiteOS/master
This commit is contained in:
openharmony_ci 2021-10-20 08:13:47 +00:00 committed by Gitee
commit fe68a93ded
3 changed files with 3 additions and 2 deletions

View File

@ -64,6 +64,8 @@ typedef struct TagTskContext {
} TaskContext; } TaskContext;
VOID HalStartToRun(VOID); VOID HalStartToRun(VOID);
VOID HalTaskContextSwitch(VOID);
VOID HalIrqEndCheckNeedSched(VOID);
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus

View File

@ -38,7 +38,6 @@ extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* __cplusplus */ #endif /* __cplusplus */
#define LOSCFG_STACK_POINT_ALIGN_SIZE 16
#define SAVED_REG_NUM 8 #define SAVED_REG_NUM 8
#define SPILL_WINDOW_SIZE 8 #define SPILL_WINDOW_SIZE 8

View File

@ -79,7 +79,7 @@ VOID OsSetVector(UINT32 num, HWI_PROC_FUNC vector, VOID *arg)
#else #else
/* * /* *
* @ingroup los_hwi * @ingroup los_hwi
* hardware interrupt handler form mapping handling function array. * Hardware interrupt handler form mapping handling function array.
*/ */
STATIC HWI_PROC_FUNC g_hwiHandlerForm[OS_VECTOR_CNT] = {0}; STATIC HWI_PROC_FUNC g_hwiHandlerForm[OS_VECTOR_CNT] = {0};