基于龙芯2K1000的中断嵌套软件设计方法  

Design Method of Interrupt Nesting Based on Loongson 2K1000

在线阅读下载全文

作  者:邱奇 胡一智 焦旭芬 Qiu Qi

机构地区:[1]中控技术股份有限公司,浙江杭州310053

出  处:《工业控制计算机》2024年第10期78-80,84,共4页Industrial Control Computer

摘  要:2K1000是龙芯推出面向工业控制与终端等领域的低功耗通用处理器,基于MIPS架构,采用双GS264内核。2K1000内部中断控制器不支持中断嵌套,对于多任务、高实时性要求的应用场景不利于快速响应高优先级任务。针对该问题提出一种方法,通过软件控制中断路由以及中断现场的保护和恢复,可在2K1000上实现中断优先级扩展和多级嵌套,该方法可应用于裸机系统且比操作系统具有更好的实时性,便于移植与扩展。2K1000 is a low-power general-purpose processor launched by Loongson for industrial control and terminal fields.It integrates dual GS264 cores based on mips architecture.The 2K1000 internal interrupt controller does not support interrupt nesting,which is not conducive to rapid response to high priority tasks for multi task and high real-time application scenarios.This paper proposes a method to solve this problem.The software controls the interrupt route with protecting and recovering the interrupt site at the same time.It realizes the interrupt priority expansion and multi-level nesting on 2K1000.This method can be applied to bare-meta systems and has better real-time performance than operating systems,which is convenient for transplantation and expansion.

关 键 词:2K1000 MIPS 中断嵌套 多任务 优先级 实时性 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论] TP332[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象