Skip to content

Commit

Permalink
modify los_exc gcc make error
Browse files Browse the repository at this point in the history
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

xuliqun25 committed Jan 15, 2019
1 parent 933354e commit 75471f9
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/arm-m/cortex-m4/los_exc.ph
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */

#if (LOSCFG_PLATFORM_EXC == YES)

typedef enum
{
OS_EXC_TYPE_CONTEXT = 0,
@@ -103,6 +105,8 @@ typedef struct tagExcInfoCallBackArray

extern VOID osExcRegister(EXC_INFO_TYPE uwType, EXC_INFO_SAVE_CALLBACK pFunc, VOID *pArg);

#endif

#ifdef __cplusplus
#if __cplusplus
}
5 changes: 5 additions & 0 deletions arch/arm/arm-m/include/los_exc.h
Original file line number Diff line number Diff line change
@@ -48,6 +48,9 @@ extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */

#if (LOSCFG_PLATFORM_EXC == YES)


#define OS_EXC_IN_INIT 0
#define OS_EXC_IN_TASK 1
#define OS_EXC_IN_HWI 2
@@ -372,6 +375,8 @@ VOID osExcInfoDisplay(EXC_INFO_S *pstExc);
extern OS_TASK_SWITCH_INFO g_astTskSwitchInfo;
extern UINT8 g_uwExcTbl[32];

#endif

#ifdef __cplusplus
#if __cplusplus
}

0 comments on commit 75471f9

Please sign in to comment.