Home
last modified time | relevance | path

Searched refs:excType (Results 1 – 25 of 38) sorted by relevance

12

/kernel/liteos_m/components/exchook/
Dlos_exchook.c47 STATIC VOID DoExcHookInRegOrder(EXC_TYPE excType, struct Node *node) in DoExcHookInRegOrder() argument
50 DoExcHookInRegOrder(excType, node->next); in DoExcHookInRegOrder()
51 node->excHookFn(excType); in DoExcHookInRegOrder()
55 STATIC VOID DoExcHook(EXC_TYPE excType) in DoExcHook() argument
58 if (excType >= EXC_TYPE_END) { in DoExcHook()
62 DoExcHookInRegOrder(excType, g_excHeads[excType]); in DoExcHook()
89 UINT32 LOS_RegExcHook(EXC_TYPE excType, ExcHookFn excHookFn) in LOS_RegExcHook() argument
93 if (excType >= EXC_TYPE_END || excHookFn == NULL) { in LOS_RegExcHook()
105 node->next = g_excHeads[excType]; in LOS_RegExcHook()
106 g_excHeads[excType] = node; in LOS_RegExcHook()
[all …]
Dlos_exchook.h75 extern UINT32 LOS_RegExcHook(EXC_TYPE excType, ExcHookFn excHookFn);
97 extern UINT32 LOS_UnRegExcHook(EXC_TYPE excType, ExcHookFn excHookFn);
/kernel/uniproton/src/arch/cpu/armv7-m/common/exc/
Dprt_exc.c101 excInfo->excCause = regs->excType; in OsExcSaveInfo()
130 static OS_SEC_L4_TEXT void OsExcRecordInfo(U32 excType, U32 faultAddr, struct ExcContext *excBufAdd… in OsExcRecordInfo() argument
133 U16 tmpFlag = (U16)OS_GET_32BIT_HIGH_16BIT(excType); in OsExcRecordInfo()
135 g_excInfo.excType = excType; in OsExcRecordInfo()
156 OS_SEC_L4_TEXT void OsExcHandleEntryM4(U32 excType, U32 faultAddr, struct ExcContext *excBufAddr) in OsExcHandleEntryM4() argument
162 OsExcRecordInfo(excType, faultAddr, excBufAddr); in OsExcHandleEntryM4()
Dprt_exc_internal.h31 extern void OsExcHandleEntryM4(U32 excType, U32 faultAddr, struct ExcContext *excBufAddr);
/kernel/liteos_a/arch/arm/arm/src/
Dlos_exc.c78 VOID OsExcHook(UINT32 excType, ExcContext *excBufAddr, UINT32 far, UINT32 fsr);
184 UINT32 OsArmSharedPageFault(UINT32 excType, ExcContext *frame, UINT32 far, UINT32 fsr) in OsArmSharedPageFault() argument
207 if (excType == OS_EXCEPT_PREFETCH_ABORT) { in OsArmSharedPageFault()
249 STATIC VOID OsExcType(UINT32 excType, ExcContext *excBufAddr, UINT32 far, UINT32 fsr) in OsExcType() argument
252 if ((excType == OS_EXCEPT_UNDEF_INSTR) || (excType == OS_EXCEPT_SWI)) { in OsExcType()
260 if (excType == OS_EXCEPT_PREFETCH_ABORT) { in OsExcType()
263 } else if (excType == OS_EXCEPT_DATA_ABORT) { in OsExcType()
317 STATIC VOID OsExcSysInfo(UINT32 excType, const ExcContext *excBufAddr) in OsExcSysInfo() argument
330 g_excTypeString[excType], in OsExcSysInfo()
845 VOID OsExcHook(UINT32 excType, ExcContext *excBufAddr, UINT32 far, UINT32 fsr) in OsExcHook() argument
[all …]
/kernel/liteos_m/utils/
Dlos_debug.c77 VOID OsDoExcHook(EXC_TYPE excType) in OsDoExcHook() argument
81 g_excHook(excType); in OsDoExcHook()
Dlos_debug.h83 typedef VOID (*ExcHookFn)(EXC_TYPE excType);
87 VOID OsDoExcHook(EXC_TYPE excType);
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_interrupt.c286 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
291 g_excInfo.type = excType; in HalExcHandleEntry()
293 if ((excType == OS_EXCEPT_UNDEF_INSTR) || (excType == OS_EXCEPT_SWI)) { in HalExcHandleEntry()
Dlos_arch_interrupt.h212 VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/
Dlos_interrupt.c352 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
354 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
358 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
377 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/
Dlos_interrupt.c352 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
354 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
358 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
377 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/non_secure/
Dlos_interrupt.c352 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
354 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
358 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
377 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m4/gcc/
Dlos_interrupt.c351 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
353 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
357 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
376 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/non_secure/
Dlos_interrupt.c352 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
354 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
358 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
377 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/
Dlos_interrupt.c355 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
357 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
361 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
380 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/
Dlos_interrupt.c352 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
354 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
358 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
377 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m7/gcc/
Dlos_interrupt.c350 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
352 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
356 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
375 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
Dlos_arch_interrupt.h445 VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/
Dlos_interrupt.c352 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
354 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
358 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
377 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m3/keil/
Dlos_interrupt.c350 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
352 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
356 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
375 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m4/iar/
Dlos_interrupt.c351 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
353 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
357 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
376 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m7/iar/
Dlos_interrupt.c354 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
356 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
360 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
379 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/non_secure/
Dlos_interrupt.c353 LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONT… in HalExcHandleEntry() argument
355 UINT16 tmpFlag = (excType >> 16) & OS_NULL_SHORT; /* 16: Get Exception Type */ in HalExcHandleEntry()
359 g_excInfo.type = excType & OS_NULL_SHORT; in HalExcHandleEntry()
378 if (excType & OS_EXC_FLAG_NO_FLOAT) { in HalExcHandleEntry()
/kernel/uniproton/src/include/uapi/hw/armv7-m/
Dprt_exc.h66 U32 excType; member
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_interrupt.c373 UINT32 excType = (HalGetPsr() >> PSR_VEC_OFFSET) & MASK_8_BITS; in HalExcHandleEntry() local
374 g_excInfo.type = excType; in HalExcHandleEntry()

12