Home
last modified time | relevance | path

Searched refs:g_hwiForm (Results 1 - 12 of 12) sorted by relevance

/kernel/liteos_a/arch/arm/arm/src/
H A Dlos_hwi.c47 HwiHandleForm g_hwiForm[OS_HWI_MAX_NUM]; variable
84 hwiForm = (&g_hwiForm[intNum]); in OsInterrupt()
137 g_hwiForm[hwiNum].pfnHook = NULL; in OsHwiDelNoShared()
138 if (g_hwiForm[hwiNum].uwParam) { in OsHwiDelNoShared()
139 (VOID)LOS_MemFree(m_aucSysMem0, (VOID *)g_hwiForm[hwiNum].uwParam); in OsHwiDelNoShared()
141 g_hwiForm[hwiNum].uwParam = 0; in OsHwiDelNoShared()
154 if (g_hwiForm[hwiNum].pfnHook == NULL) { in OsHwiCreateNoShared()
155 g_hwiForm[hwiNum].pfnHook = hwiHandler; in OsHwiCreateNoShared()
162 g_hwiForm[hwiNum].uwParam = retParam; in OsHwiCreateNoShared()
179 hwiForm = &g_hwiForm[hwiNu in OsHwiDelShared()
[all...]
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
H A Dlos_interrupt.c67 LITE_OS_SEC_DATA_INIT HWI_HANDLE_FORM_S g_hwiForm[OS_HWI_MAX_NUM] = { variable
100 g_hwiForm[index].pfnHook = HalHwiDefaultHandler; in HalHwiInit()
101 g_hwiForm[index].uwParam = 0; in HalHwiInit()
112 HWI_HANDLE_FORM_S *hwiForm = &g_hwiForm[hwiNum]; in HalHwiInterruptDone()
134 return g_hwiForm; in HalGetHwiForm()
163 if (g_hwiForm[hwiNum].pfnHook == NULL) { in ArchHwiCreate()
165 } else if (g_hwiForm[hwiNum].pfnHook != HalHwiDefaultHandler) { in ArchHwiCreate()
173 g_hwiForm[hwiNum].pfnHook = hwiHandler; in ArchHwiCreate()
175 g_hwiForm[hwiNum].uwParam = (VOID *)irqParam->pDevId; in ArchHwiCreate()
177 g_hwiForm[hwiNu in ArchHwiCreate()
[all...]
H A Dlos_arch_interrupt.h145 extern HWI_HANDLE_FORM_S g_hwiForm[OS_HWI_MAX_NUM];
/kernel/liteos_m/arch/arm/common/
H A Dlos_common_interrupt.c41 HWI_PROC_FUNC g_hwiForm[OS_VECTOR_CNT] = {0}; variable
48 HWI_PROC_FUNC __attribute__((aligned(LOSCFG_ARCH_HWI_VECTOR_ALIGN))) g_hwiForm[OS_VECTOR_CNT] = {0}; variable
53 return g_hwiForm; in ArchGetHwiFrom()
99 if (g_hwiForm[index] != (HWI_PROC_FUNC)HalHwiDefaultHandler) { in OsHwiIsCreated()
122 g_hwiForm[num + OS_SYS_VECTOR_CNT] = (HWI_PROC_FUNC)HalInterrupt; in OsSetVector()
141 g_hwiForm[num + OS_SYS_VECTOR_CNT] = HalInterrupt; in OsSetVector()
253 if (g_hwiForm[hwiNum + OS_SYS_VECTOR_CNT] != (HWI_PROC_FUNC)HalHwiDefaultHandler) { in ArchHwiCreate()
314 g_hwiForm[hwiNum + OS_SYS_VECTOR_CNT] = (HWI_PROC_FUNC)HalHwiDefaultHandler; in ArchHwiDelete()
/kernel/liteos_m/arch/xtensa/common/
H A Dlos_common_interrupt.c40 HWI_PROC_FUNC __attribute__((aligned(LOSCFG_ARCH_HWI_VECTOR_ALIGN))) g_hwiForm[OS_VECTOR_CNT] = {0}; variable
44 return g_hwiForm; in ArchGetHwiFrom()
154 g_hwiForm[num + OS_SYS_VECTOR_CNT] = (HWI_PROC_FUNC)HalInterrupt; in OsSetVector()
174 g_hwiForm[num + OS_SYS_VECTOR_CNT] = HalInterrupt; in OsSetVector()
208 if (g_hwiForm[hwiNum + OS_SYS_VECTOR_CNT] != (HWI_PROC_FUNC)HalHwiDefaultHandler) { in ArchHwiCreate()
261 g_hwiForm[hwiNum + OS_SYS_VECTOR_CNT] = (HWI_PROC_FUNC)HalHwiDefaultHandler; in ArchHwiDelete()
/kernel/liteos_m/arch/csky/common/
H A Dlos_common_interrupt.c38 HWI_PROC_FUNC __attribute__((aligned(HWI_ALIGNSIZE))) g_hwiForm[OS_VECTOR_CNT] = {0}; variable
42 return g_hwiForm; in ArchGetHwiFrom()
172 g_hwiForm[num + OS_SYS_VECTOR_CNT] = (HWI_PROC_FUNC)IrqEntry; in OsSetVector()
192 g_hwiForm[num + OS_SYS_VECTOR_CNT] = IrqEntry; in OsSetVector()
/kernel/liteos_a/arch/arm/arm/src/include/
H A Dlos_hwi_pri.h53 #define HWI_IS_REGISTED(num) ((&g_hwiForm[num])->pfnHook != NULL)
55 #define HWI_IS_REGISTED(num) ((&g_hwiForm[num])->pstNext != NULL)
/kernel/uniproton/src/core/kernel/irq/
H A Dprt_irq_internal.h83 extern struct TagHwiHandleForm *g_hwiForm;
86 extern struct TagHwiHandleForm g_hwiForm[OS_HWI_FORMARRAY_NUM];
92 return &g_hwiForm[irqNum]; in OsHwiHandleFormGet()
H A Dprt_irq.c21 OS_SEC_BSS struct TagHwiHandleForm *g_hwiForm; variable
28 OS_SEC_BSS struct TagHwiHandleForm g_hwiForm[OS_HWI_FORMARRAY_NUM] __attribute__((aligned(8))); variable
104 g_hwiForm = (struct TagHwiHandleForm *)addr; in OsHwiResourceAlloc()
107 g_hwiForm = (struct TagHwiHandleForm *)addr; in OsHwiResourceAlloc()
/kernel/liteos_a/testsuites/kernel/src/
H A DiCunit.c223 extern HwiHandleForm g_hwiForm[OS_HWI_MAX_NUM]; in ICunitRunF()
261 if ((g_hwiForm[i].pfnHook == (HWI_PROC_FUNC)NULL) && (g_hwiForm[i].uwParam == 0)) in ICunitRunF()
341 if ((g_hwiForm[i].pfnHook == (HWI_PROC_FUNC)NULL) && (g_hwiForm[i].uwParam == 0)) in ICunitRunF()
/kernel/liteos_a/arch/arm/include/
H A Dlos_hwi.h264 extern HwiHandleForm g_hwiForm[OS_HWI_MAX_NUM];
/kernel/liteos_a/shell/full/src/cmds/
H A Dhwi_shellcmd.c83 (g_hwiForm[index].uwParam == IRQF_SHARED) ? "shared" : "normal", (irqName != NULL) ? irqName : ""); in ShellCmdHwiInfoShow()

Completed in 7 milliseconds