提交 f96848e4 编写于 作者: O openharmony_ci 提交者: Gitee

!85 fix some typos

Merge pull request !85 from kenneth/master
......@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get an interrupt number.
*
* @par Description:
* This API is used to get the current interrupt number.
......@@ -606,7 +606,7 @@ VOID HalHwiInit();
/**
* @ingroup los_exc
* Cortex-M exception types: ncorrect usage indicating that the divisor is zero during the division operation.
* Cortex-M exception types: Incorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
......
......@@ -110,7 +110,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get an interrupt number
Input : None
Output : None
Return : Interrupt Indexes number
......@@ -120,7 +120,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR();
}
inline UINT32 HalIsIntAcvive(VOID)
inline UINT32 HalIsIntActive(VOID)
{
return (g_intCount > 0);
}
......
......@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get an interrupt number.
*
* @par Description:
* This API is used to get the current interrupt number.
......@@ -606,7 +606,7 @@ VOID HalHwiInit();
/**
* @ingroup los_exc
* Cortex-M exception types: ncorrect usage indicating that the divisor is zero during the division operation.
* Cortex-M exception types: Incorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
......
......@@ -100,7 +100,7 @@ VOID OsSetVector(UINT32 num, HWI_PROC_FUNC vector)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get an interrupt number
Input : None
Output : None
Return : Interrupt Indexes number
......@@ -110,7 +110,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR();
}
inline UINT32 HalIsIntAcvive(VOID)
inline UINT32 HalIsIntActive(VOID)
{
return (g_intCount > 0);
}
......
......@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get an interrupt number.
*
* @par Description:
* This API is used to get the current interrupt number.
......@@ -606,7 +606,7 @@ VOID HalHwiInit();
/**
* @ingroup los_exc
* Cortex-M exception types: ncorrect usage indicating that the divisor is zero during the division operation.
* Cortex-M exception types: Incorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
......
......@@ -110,7 +110,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get an interrupt number
Input : None
Output : None
Return : Interrupt Indexes number
......@@ -120,7 +120,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR();
}
inline UINT32 HalIsIntAcvive(VOID)
inline UINT32 HalIsIntActive(VOID)
{
return (g_intCount > 0);
}
......
......@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get an interrupt number.
*
* @par Description:
* This API is used to get the current interrupt number.
......@@ -606,7 +606,7 @@ VOID HalHwiInit();
/**
* @ingroup los_exc
* Cortex-M exception types: ncorrect usage indicating that the divisor is zero during the division operation.
* Cortex-M exception types: Incorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
......
......@@ -111,7 +111,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get an interrupt number
Input : None
Output : None
Return : Interrupt Indexes number
......@@ -121,7 +121,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR();
}
inline UINT32 HalIsIntAcvive(VOID)
inline UINT32 HalIsIntActive(VOID)
{
return (g_intCount > 0);
}
......
......@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get an interrupt number.
*
* @par Description:
* This API is used to get the current interrupt number.
......@@ -606,7 +606,7 @@ VOID HalHwiInit();
/**
* @ingroup los_exc
* Cortex-M exception types: ncorrect usage indicating that the divisor is zero during the division operation.
* Cortex-M exception types: Incorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
......
......@@ -100,7 +100,7 @@ VOID OsSetVector(UINT32 num, HWI_PROC_FUNC vector)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get an interrupt number
Input : None
Output : None
Return : Interrupt Indexes number
......@@ -110,7 +110,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR();
}
inline UINT32 HalIsIntAcvive(VOID)
inline UINT32 HalIsIntActive(VOID)
{
return (g_intCount > 0);
}
......
......@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get an interrupt number.
*
* @par Description:
* This API is used to get the current interrupt number.
......@@ -606,7 +606,7 @@ VOID HalHwiInit();
/**
* @ingroup los_exc
* Cortex-M exception types: ncorrect usage indicating that the divisor is zero during the division operation.
* Cortex-M exception types: Incorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
......
......@@ -107,7 +107,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get an interrupt number
Input : None
Output : None
Return : Interrupt Indexes number
......@@ -117,7 +117,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR();
}
inline UINT32 HalIsIntAcvive(VOID)
inline UINT32 HalIsIntActive(VOID)
{
return (g_intCount > 0);
}
......
......@@ -62,8 +62,8 @@ typedef VOID (*HWI_PROC_FUNC)(VOID *parm);
typedef VOID (*HWI_PROC_FUNC)(void);
#endif
UINT32 HalIsIntAcvive(VOID);
#define OS_INT_ACTIVE (HalIsIntAcvive())
UINT32 HalIsIntActive(VOID);
#define OS_INT_ACTIVE (HalIsIntActive())
#define OS_INT_INACTIVE (!(OS_INT_ACTIVE))
/* *
......
......@@ -145,7 +145,7 @@ LITE_OS_SEC_TEXT HWI_HANDLE_FORM_S *HalGetHwiForm(VOID)
}
inline UINT32 HalIsIntAcvive(VOID)
inline UINT32 HalIsIntActive(VOID)
{
return (g_intCount > 0);
}
......@@ -316,8 +316,8 @@ STATIC VOID ExcInfoDisplay(const LosExcContext *excBufAddr)
WEAK UINT32 HalUnalignedAccessFix(UINTPTR mcause, UINTPTR mepc, UINTPTR mtval, VOID *sp)
{
/* Unaligned acess fixes are not supported by default */
PRINTK("Unaligned acess fixes are not support by default!\n\r");
/* Unaligned access fixes are not supported by default */
PRINTK("Unaligned access fixes are not supported by default!\n\r");
return LOS_NOK;
}
......@@ -327,7 +327,7 @@ VOID HalExcEntry(const LosExcContext *excBufAddr)
g_excInfo.type = excBufAddr->mcause & 0x1FF;
g_excInfo.context = (LosExcContext *)excBufAddr;
if (g_excInfo.nestCnt > 2) { /* 2: Number of layers of exception nesting */
PRINTK("hard faule!\n\r");
PRINTK("hard fault!\n\r");
goto SYSTEM_DEATH;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册