中断接口列表
API | 功能 |
---|
API_InterLock | 关闭中断 | API_InterUnlock | 打开中断 | API_InterContext | 是否在中断中 | API_InterGetNesting | 获得中断嵌套层数 | API_InterGetNestingById | 获得指定 CPU 中断嵌套层数 | API_InterEnter | 进入中断 | API_InterExit | 退出中断 | API_InterVectorBaseGet | 获得中断向量表基址 | API_InterVectorConnect | 设置指定向量的服务程序 | API_InterVectorConnectEx | 设置指定向量的服务程序 | API_InterVectorDisconnect | 删除指定向量的服务程序 | API_InterVectorDisconnectEx | 删除指定向量的服务程序 | API_InterVectorServiceCnt | 获得指定中断向量的服务个数 | API_InterVectorEnable | 使能指定向量中断 | API_InterVectorDisable | 禁能指定向量中断 | API_InterVectorDisableEx | 禁能指定向量中断 | API_InterVectorIsEnable | 获得指定中断状态 | API_InterVectorSetPriority | 设置中断优先级 | API_InterVectorGetPriority | 获取中断优先级 | API_InterSetTarget | 设置中断目标 CPU | API_InterGetTarget | 获取中断目标 CPU | API_InterVectorSetFlag | 设置中断向量属性 | API_InterVectorGetFlag | 获取中断向量属性 | API_InterVectorMeasureHook | 中断测量 HOOK | API_InterVectorIsr | 中断服务程序,BSP中断调用 | API_InterVectorIpi | 设置核间中断向量号 | API_InterVectorIpiEx | 设置核间中断向量号 | API_InterDeferGet | 获得对应 CPU 的中断延迟队列 | API_InterDeferContext | 是否在中断或 defer 上下文 | API_InterDeferJobAdd | 向中断延迟处理队列加入任务 | API_InterDeferJobDelete | 从中断延迟处理队列删除任务 | API_InterStackBaseGet | 获得当前中断堆栈首地址 | API_InterStackCheck | 中断堆栈检查 |
中断接口定义
ULONG API_InterLock (INTREG *piregInterLevel)
ULONG API_InterUnlock (INTREG iregInterLevel)
BOOL API_InterContext (VOID)
ULONG API_InterGetNesting (VOID)
ULONG API_InterGetNestingById (ULONG ulCPUId, ULONG *pulMaxNesting)
ULONG API_InterEnter (ARCH_REG_T reg0,
ARCH_REG_T reg1,
ARCH_REG_T reg2,
ARCH_REG_T reg3)
VOID API_InterExit (VOID)
PVOID API_InterVectorBaseGet (VOID)
ULONG API_InterVectorConnect (ULONG ulVector,
PINT_SVR_ROUTINE pfuncIsr,
PVOID pvArg,
CPCHAR pcName)
ULONG API_InterVectorConnectEx (ULONG ulVector,
PINT_SVR_ROUTINE pfuncIsr,
VOIDFUNCPTR pfuncClear,
PVOID pvArg,
CPCHAR pcName)
ULONG API_InterVectorDisconnect (ULONG ulVector,
PINT_SVR_ROUTINE pfuncIsr,
PVOID pvArg)
ULONG API_InterVectorDisconnectEx (ULONG ulVector,
PINT_SVR_ROUTINE pfuncIsr,
PVOID pvArg,
ULONG ulOption)
ULONG API_InterVectorServiceCnt (ULONG ulVector, INT *piCnt)
ULONG API_InterVectorEnable (ULONG ulVector)
ULONG API_InterVectorDisable (ULONG ulVector)
ULONG API_InterVectorDisableEx (ULONG ulVector, INT iMaxServCnt)
ULONG API_InterVectorIsEnable (ULONG ulVector, BOOL *pbIsEnable)
ULONG API_InterVectorSetPriority (ULONG ulVector, UINT uiPrio)
ULONG API_InterVectorGetPriority (ULONG ulVector, UINT *puiPrio)
ULONG API_InterSetTarget (ULONG ulVector, size_t stSize, const PLW_CLASS_CPUSET pcpuset)
ULONG API_InterGetTarget (ULONG ulVector, size_t stSize, PLW_CLASS_CPUSET pcpuset)
ULONG API_InterVectorSetFlag (ULONG ulVector, ULONG ulFlag)
ULONG API_InterVectorGetFlag (ULONG ulVector, ULONG *pulFlag)
irqreturn_t API_InterVectorIsr (ULONG ulVector)
VOID API_InterVectorIpiEx (ULONG ulCPUId, ULONG ulIPIVector, FUNCPTR pfuncClear, PVOID pvArg)
VOID API_InterVectorIpi (ULONG ulCPUId, ULONG ulIPIVector)
PLW_JOB_QUEUE API_InterDeferGet (ULONG ulCPUId)
INT API_InterDeferContext (VOID)
ULONG API_InterDeferJobAdd (PLW_JOB_QUEUE pjobq, VOIDFUNCPTR pfunc, PVOID pvArg)
ULONG API_InterDeferJobDelete (PLW_JOB_QUEUE pjobq, BOOL bMatchArg, VOIDFUNCPTR pfunc, PVOID pvArg)
PVOID API_InterStackBaseGet (VOID)
VOID API_InterStackCheck (ULONG ulCPUId,
size_t *pstFreeByteSize,
size_t *pstUsedByteSize)
|