Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos M
提交
f96848e4
K
Kernel Liteos M
项目概览
OpenHarmony
/
Kernel Liteos M
大约 1 年 前同步成功
通知
20
Star
28
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos M
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f96848e4
编写于
4月 25, 2021
作者:
O
openharmony_ci
提交者:
Gitee
4月 25, 2021
浏览文件
操作
浏览文件
下载
差异文件
!85 fix some typos
Merge pull request !85 from kenneth/master
上级
81688857
f6b8cab2
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
30 addition
and
30 deletion
+30
-30
kernel/arch/arm/cortex-m3/keil/los_arch_interrupt.h
kernel/arch/arm/cortex-m3/keil/los_arch_interrupt.h
+2
-2
kernel/arch/arm/cortex-m3/keil/los_interrupt.c
kernel/arch/arm/cortex-m3/keil/los_interrupt.c
+2
-2
kernel/arch/arm/cortex-m33/gcc/los_arch_interrupt.h
kernel/arch/arm/cortex-m33/gcc/los_arch_interrupt.h
+2
-2
kernel/arch/arm/cortex-m33/gcc/los_interrupt.c
kernel/arch/arm/cortex-m33/gcc/los_interrupt.c
+2
-2
kernel/arch/arm/cortex-m4/gcc/los_arch_interrupt.h
kernel/arch/arm/cortex-m4/gcc/los_arch_interrupt.h
+2
-2
kernel/arch/arm/cortex-m4/gcc/los_interrupt.c
kernel/arch/arm/cortex-m4/gcc/los_interrupt.c
+2
-2
kernel/arch/arm/cortex-m4/iar/los_arch_interrupt.h
kernel/arch/arm/cortex-m4/iar/los_arch_interrupt.h
+2
-2
kernel/arch/arm/cortex-m4/iar/los_interrupt.c
kernel/arch/arm/cortex-m4/iar/los_interrupt.c
+2
-2
kernel/arch/arm/cortex-m7/gcc/los_arch_interrupt.h
kernel/arch/arm/cortex-m7/gcc/los_arch_interrupt.h
+2
-2
kernel/arch/arm/cortex-m7/gcc/los_interrupt.c
kernel/arch/arm/cortex-m7/gcc/los_interrupt.c
+2
-2
kernel/arch/arm/cortex-m7/iar/los_arch_interrupt.h
kernel/arch/arm/cortex-m7/iar/los_arch_interrupt.h
+2
-2
kernel/arch/arm/cortex-m7/iar/los_interrupt.c
kernel/arch/arm/cortex-m7/iar/los_interrupt.c
+2
-2
kernel/arch/include/los_interrupt.h
kernel/arch/include/los_interrupt.h
+2
-2
kernel/arch/risc-v/riscv32/gcc/los_interrupt.c
kernel/arch/risc-v/riscv32/gcc/los_interrupt.c
+4
-4
未找到文件。
kernel/arch/arm/cortex-m3/keil/los_arch_interrupt.h
浏览文件 @
f96848e4
...
...
@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get a
n
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:
I
ncorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
...
...
kernel/arch/arm/cortex-m3/keil/los_interrupt.c
浏览文件 @
f96848e4
...
...
@@ -110,7 +110,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get a
n
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
HalIsIntAc
v
ive
(
VOID
)
inline
UINT32
HalIsIntAc
t
ive
(
VOID
)
{
return
(
g_intCount
>
0
);
}
...
...
kernel/arch/arm/cortex-m33/gcc/los_arch_interrupt.h
浏览文件 @
f96848e4
...
...
@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get a
n
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:
I
ncorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
...
...
kernel/arch/arm/cortex-m33/gcc/los_interrupt.c
浏览文件 @
f96848e4
...
...
@@ -100,7 +100,7 @@ VOID OsSetVector(UINT32 num, HWI_PROC_FUNC vector)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get a
n
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
HalIsIntAc
v
ive
(
VOID
)
inline
UINT32
HalIsIntAc
t
ive
(
VOID
)
{
return
(
g_intCount
>
0
);
}
...
...
kernel/arch/arm/cortex-m4/gcc/los_arch_interrupt.h
浏览文件 @
f96848e4
...
...
@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get a
n
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:
I
ncorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
...
...
kernel/arch/arm/cortex-m4/gcc/los_interrupt.c
浏览文件 @
f96848e4
...
...
@@ -110,7 +110,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get a
n
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
HalIsIntAc
v
ive
(
VOID
)
inline
UINT32
HalIsIntAc
t
ive
(
VOID
)
{
return
(
g_intCount
>
0
);
}
...
...
kernel/arch/arm/cortex-m4/iar/los_arch_interrupt.h
浏览文件 @
f96848e4
...
...
@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get a
n
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:
I
ncorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
...
...
kernel/arch/arm/cortex-m4/iar/los_interrupt.c
浏览文件 @
f96848e4
...
...
@@ -111,7 +111,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get a
n
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
HalIsIntAc
v
ive
(
VOID
)
inline
UINT32
HalIsIntAc
t
ive
(
VOID
)
{
return
(
g_intCount
>
0
);
}
...
...
kernel/arch/arm/cortex-m7/gcc/los_arch_interrupt.h
浏览文件 @
f96848e4
...
...
@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get a
n
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:
I
ncorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
...
...
kernel/arch/arm/cortex-m7/gcc/los_interrupt.c
浏览文件 @
f96848e4
...
...
@@ -100,7 +100,7 @@ VOID OsSetVector(UINT32 num, HWI_PROC_FUNC vector)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get a
n
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
HalIsIntAc
v
ive
(
VOID
)
inline
UINT32
HalIsIntAc
t
ive
(
VOID
)
{
return
(
g_intCount
>
0
);
}
...
...
kernel/arch/arm/cortex-m7/iar/los_arch_interrupt.h
浏览文件 @
f96848e4
...
...
@@ -344,7 +344,7 @@ extern VOID HalInterrupt(VOID);
/* *
* @ingroup los_hwi
* @brief: Get a interrupt number.
* @brief: Get a
n
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:
I
ncorrect usage indicating that the divisor is zero during the division operation.
*/
#define OS_EXC_UF_DIVBYZERO 10
...
...
kernel/arch/arm/cortex-m7/iar/los_interrupt.c
浏览文件 @
f96848e4
...
...
@@ -107,7 +107,7 @@ WEAK VOID SysTick_Handler(VOID)
/* ****************************************************************************
Function : HalIntNumGet
Description : Get a interrupt number
Description : Get a
n
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
HalIsIntAc
v
ive
(
VOID
)
inline
UINT32
HalIsIntAc
t
ive
(
VOID
)
{
return
(
g_intCount
>
0
);
}
...
...
kernel/arch/include/los_interrupt.h
浏览文件 @
f96848e4
...
...
@@ -62,8 +62,8 @@ typedef VOID (*HWI_PROC_FUNC)(VOID *parm);
typedef
VOID
(
*
HWI_PROC_FUNC
)(
void
);
#endif
UINT32
HalIsIntAc
v
ive
(
VOID
);
#define OS_INT_ACTIVE (HalIsIntAc
v
ive())
UINT32
HalIsIntAc
t
ive
(
VOID
);
#define OS_INT_ACTIVE (HalIsIntAc
t
ive())
#define OS_INT_INACTIVE (!(OS_INT_ACTIVE))
/* *
...
...
kernel/arch/risc-v/riscv32/gcc/los_interrupt.c
浏览文件 @
f96848e4
...
...
@@ -145,7 +145,7 @@ LITE_OS_SEC_TEXT HWI_HANDLE_FORM_S *HalGetHwiForm(VOID)
}
inline
UINT32
HalIsIntAc
v
ive
(
VOID
)
inline
UINT32
HalIsIntAc
t
ive
(
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 ac
ess fixes are not support
by default!
\n\r
"
);
/* Unaligned ac
c
ess fixes are not supported by default */
PRINTK
(
"Unaligned ac
cess 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 faul
e
!
\n\r
"
);
PRINTK
(
"hard faul
t
!
\n\r
"
);
goto
SYSTEM_DEATH
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录