Description: LOSCFG_PLATFORM_HWI_WITH_ARG 报错处理

IssueNo: https://gitee.com/openharmony/kernel_liteos_m/issues/I8DJ48
Feature Or Bugfix: Bugfix
Binary Source: No
Signed-off-by: hw_llm <liu.limin@huawei.com>
This commit is contained in:
hw_llm 2024-03-26 11:43:32 +08:00
parent 76562c376c
commit 005596709f
2 changed files with 5 additions and 5 deletions

View File

@ -105,11 +105,6 @@ BOOL OsHwiIsCreated(UINT32 index)
#endif
#if (LOSCFG_PLATFORM_HWI_WITH_ARG == 1)
typedef struct {
HWI_PROC_FUNC pfnHandler;
VOID *pParm;
} HWI_HANDLER_FUNC;
/* *
* @ingroup los_hwi
* Hardware interrupt handler form mapping handling function array.

View File

@ -63,6 +63,11 @@ extern UINT32 g_intCount;
#endif
#if (LOSCFG_PLATFORM_HWI_WITH_ARG == 1)
typedef struct {
HWI_PROC_FUNC pfnHandler;
VOID *pParm;
} HWI_HANDLER_FUNC;
/* *
* @ingroup los_arch_interrupt
* Set interrupt vector table.