fix: los_interrupt.c存在未使用的参数编译出错

修复los_interrupt.c存在未使用的参数编译出错

close #I4SJPZ

Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
kenneth
2022-02-14 20:14:40 +08:00
parent b423d9f7bb
commit 5af4c2e213
13 changed files with 52 additions and 0 deletions

View File

@@ -256,11 +256,13 @@ VOID HalHwiDefaultHandler(VOID)
WEAK VOID HalPreInterruptHandler(UINT32 arg)
{
(VOID)arg;
return;
}
WEAK VOID HalAftInterruptHandler(UINT32 arg)
{
(VOID)arg;
return;
}
@@ -324,6 +326,7 @@ UINT32 ArchHwiCreate(HWI_HANDLE_T hwiNum,
HWI_PROC_FUNC handler,
HWI_ARG_T arg)
{
(VOID)mode;
UINT32 intSave;
if (handler == NULL) {
@@ -346,6 +349,7 @@ UINT32 ArchHwiCreate(HWI_HANDLE_T hwiNum,
#if (LOSCFG_PLATFORM_HWI_WITH_ARG == 1)
OsSetVector(hwiNum, handler, arg);
#else
(VOID)arg;
OsSetVector(hwiNum, handler);
#endif
HwiUnmask(hwiNum);