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

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

扫码查看
2K1000 是龙芯推出面向工业控制与终端等领域的低功耗通用处理器,基于MIPS架构,采用双GS264 内核.2K1000 内部中断控制器不支持中断嵌套,对于多任务、高实时性要求的应用场景不利于快速响应高优先级任务.针对该问题提出一种方法,通过软件控制中断路由以及中断现场的保护和恢复,可在 2K1000 上实现中断优先级扩展和多级嵌套,该方法可应用于裸机系统且比操作系统具有更好的实时性,便于移植与扩展.
Design Method of Interrupt Nesting Based on Loongson 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 applica-tion 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.

2K1000MIPSinterrupt nestingmultitaskingpriorityreal-time

邱奇、胡一智、焦旭芬

展开 >

中控技术股份有限公司,浙江 杭州 310053

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

2024

工业控制计算机
中国计算机学会工业控制计算机专业委员会 江苏省计算技术研究所有限责任公司

工业控制计算机

影响因子:0.258
ISSN:1001-182X
年,卷(期):2024.37(10)