!85 fix some typos

Merge pull request !85 from kenneth/master
This commit is contained in:
openharmony_ci 2021-04-25 15:30:16 +08:00 committed by Gitee
commit f96848e4ce
14 changed files with 30 additions and 30 deletions

View File

@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* * /* *
* @ingroup los_hwi * @ingroup los_hwi
* @brief: Get a interrupt number. * @brief: Get an interrupt number.
* *
* @par Description: * @par Description:
* This API is used to get the current interrupt number. * This API is used to get the current interrupt number.
@ -606,7 +606,7 @@ VOID HalHwiInit();
/** /**
* @ingroup los_exc * @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 #define OS_EXC_UF_DIVBYZERO 10

View File

@ -110,7 +110,7 @@ WEAK VOID SysTick_Handler(VOID)
/* **************************************************************************** /* ****************************************************************************
Function : HalIntNumGet Function : HalIntNumGet
Description : Get a interrupt number Description : Get an interrupt number
Input : None Input : None
Output : None Output : None
Return : Interrupt Indexes number Return : Interrupt Indexes number
@ -120,7 +120,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR(); return __get_IPSR();
} }
inline UINT32 HalIsIntAcvive(VOID) inline UINT32 HalIsIntActive(VOID)
{ {
return (g_intCount > 0); return (g_intCount > 0);
} }

View File

@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* * /* *
* @ingroup los_hwi * @ingroup los_hwi
* @brief: Get a interrupt number. * @brief: Get an interrupt number.
* *
* @par Description: * @par Description:
* This API is used to get the current interrupt number. * This API is used to get the current interrupt number.
@ -606,7 +606,7 @@ VOID HalHwiInit();
/** /**
* @ingroup los_exc * @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 #define OS_EXC_UF_DIVBYZERO 10

View File

@ -100,7 +100,7 @@ VOID OsSetVector(UINT32 num, HWI_PROC_FUNC vector)
/* **************************************************************************** /* ****************************************************************************
Function : HalIntNumGet Function : HalIntNumGet
Description : Get a interrupt number Description : Get an interrupt number
Input : None Input : None
Output : None Output : None
Return : Interrupt Indexes number Return : Interrupt Indexes number
@ -110,7 +110,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR(); return __get_IPSR();
} }
inline UINT32 HalIsIntAcvive(VOID) inline UINT32 HalIsIntActive(VOID)
{ {
return (g_intCount > 0); return (g_intCount > 0);
} }

View File

@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* * /* *
* @ingroup los_hwi * @ingroup los_hwi
* @brief: Get a interrupt number. * @brief: Get an interrupt number.
* *
* @par Description: * @par Description:
* This API is used to get the current interrupt number. * This API is used to get the current interrupt number.
@ -606,7 +606,7 @@ VOID HalHwiInit();
/** /**
* @ingroup los_exc * @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 #define OS_EXC_UF_DIVBYZERO 10

View File

@ -110,7 +110,7 @@ WEAK VOID SysTick_Handler(VOID)
/* **************************************************************************** /* ****************************************************************************
Function : HalIntNumGet Function : HalIntNumGet
Description : Get a interrupt number Description : Get an interrupt number
Input : None Input : None
Output : None Output : None
Return : Interrupt Indexes number Return : Interrupt Indexes number
@ -120,7 +120,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR(); return __get_IPSR();
} }
inline UINT32 HalIsIntAcvive(VOID) inline UINT32 HalIsIntActive(VOID)
{ {
return (g_intCount > 0); return (g_intCount > 0);
} }

View File

@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* * /* *
* @ingroup los_hwi * @ingroup los_hwi
* @brief: Get a interrupt number. * @brief: Get an interrupt number.
* *
* @par Description: * @par Description:
* This API is used to get the current interrupt number. * This API is used to get the current interrupt number.
@ -606,7 +606,7 @@ VOID HalHwiInit();
/** /**
* @ingroup los_exc * @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 #define OS_EXC_UF_DIVBYZERO 10

View File

@ -111,7 +111,7 @@ WEAK VOID SysTick_Handler(VOID)
/* **************************************************************************** /* ****************************************************************************
Function : HalIntNumGet Function : HalIntNumGet
Description : Get a interrupt number Description : Get an interrupt number
Input : None Input : None
Output : None Output : None
Return : Interrupt Indexes number Return : Interrupt Indexes number
@ -121,7 +121,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR(); return __get_IPSR();
} }
inline UINT32 HalIsIntAcvive(VOID) inline UINT32 HalIsIntActive(VOID)
{ {
return (g_intCount > 0); return (g_intCount > 0);
} }

View File

@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* * /* *
* @ingroup los_hwi * @ingroup los_hwi
* @brief: Get a interrupt number. * @brief: Get an interrupt number.
* *
* @par Description: * @par Description:
* This API is used to get the current interrupt number. * This API is used to get the current interrupt number.
@ -606,7 +606,7 @@ VOID HalHwiInit();
/** /**
* @ingroup los_exc * @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 #define OS_EXC_UF_DIVBYZERO 10

View File

@ -100,7 +100,7 @@ VOID OsSetVector(UINT32 num, HWI_PROC_FUNC vector)
/* **************************************************************************** /* ****************************************************************************
Function : HalIntNumGet Function : HalIntNumGet
Description : Get a interrupt number Description : Get an interrupt number
Input : None Input : None
Output : None Output : None
Return : Interrupt Indexes number Return : Interrupt Indexes number
@ -110,7 +110,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR(); return __get_IPSR();
} }
inline UINT32 HalIsIntAcvive(VOID) inline UINT32 HalIsIntActive(VOID)
{ {
return (g_intCount > 0); return (g_intCount > 0);
} }

View File

@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* * /* *
* @ingroup los_hwi * @ingroup los_hwi
* @brief: Get a interrupt number. * @brief: Get an interrupt number.
* *
* @par Description: * @par Description:
* This API is used to get the current interrupt number. * This API is used to get the current interrupt number.
@ -606,7 +606,7 @@ VOID HalHwiInit();
/** /**
* @ingroup los_exc * @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 #define OS_EXC_UF_DIVBYZERO 10

View File

@ -107,7 +107,7 @@ WEAK VOID SysTick_Handler(VOID)
/* **************************************************************************** /* ****************************************************************************
Function : HalIntNumGet Function : HalIntNumGet
Description : Get a interrupt number Description : Get an interrupt number
Input : None Input : None
Output : None Output : None
Return : Interrupt Indexes number Return : Interrupt Indexes number
@ -117,7 +117,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 HalIntNumGet(VOID)
return __get_IPSR(); return __get_IPSR();
} }
inline UINT32 HalIsIntAcvive(VOID) inline UINT32 HalIsIntActive(VOID)
{ {
return (g_intCount > 0); return (g_intCount > 0);
} }

View File

@ -62,8 +62,8 @@ typedef VOID (*HWI_PROC_FUNC)(VOID *parm);
typedef VOID (*HWI_PROC_FUNC)(void); typedef VOID (*HWI_PROC_FUNC)(void);
#endif #endif
UINT32 HalIsIntAcvive(VOID); UINT32 HalIsIntActive(VOID);
#define OS_INT_ACTIVE (HalIsIntAcvive()) #define OS_INT_ACTIVE (HalIsIntActive())
#define OS_INT_INACTIVE (!(OS_INT_ACTIVE)) #define OS_INT_INACTIVE (!(OS_INT_ACTIVE))
/* * /* *

View File

@ -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); 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) WEAK UINT32 HalUnalignedAccessFix(UINTPTR mcause, UINTPTR mepc, UINTPTR mtval, VOID *sp)
{ {
/* Unaligned acess fixes are not supported by default */ /* Unaligned access fixes are not supported by default */
PRINTK("Unaligned acess fixes are not support by default!\n\r"); PRINTK("Unaligned access fixes are not supported by default!\n\r");
return LOS_NOK; return LOS_NOK;
} }
@ -327,7 +327,7 @@ VOID HalExcEntry(const LosExcContext *excBufAddr)
g_excInfo.type = excBufAddr->mcause & 0x1FF; g_excInfo.type = excBufAddr->mcause & 0x1FF;
g_excInfo.context = (LosExcContext *)excBufAddr; g_excInfo.context = (LosExcContext *)excBufAddr;
if (g_excInfo.nestCnt > 2) { /* 2: Number of layers of exception nesting */ 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; goto SYSTEM_DEATH;
} }