基于Cortex-M4内核的RT-Thread上下文切换机制剖析  

ANALYSIS OF RT-THREAD CONTEXT SWITCH MECHANNISM BASED ON CORTEX-M4 KERNEL

作  者:徐丽华[1,2] 王宜怀[2] 奚圣鑫 Xu Lihua;Wang Yihuai;Xi Shengxin(School of Computer Engineering,Suzhou Vocational University,Suzhou 215104,Jiangsu,China;School of Computer Science and Technology,Soochow University,Suzhou 215006,Jiangsu,China)

机构地区:[1]苏州市职业大学计算机工程学院,江苏苏州215104 [2]苏州大学计算机科学与技术学院,江苏苏州215006

出  处:《计算机应用与软件》2025年第1期213-216,302,共5页Computer Applications and Software

基  金:国家自然科学基金项目(61672369)。

摘  要:RT-Thread是源码公开的国产嵌入式实时操作系统。基于Cortex-M4内核,对RT-Thread通过底层PendSV中断进行上下文切换的过程进行了剖析,从指令级别对上下文切换的实现机制进行了研究,为深入理解内核调度机制的实现提供了参考,也为RT-Thread的应用与推广提供了技术基础。RT-Thread is a domestic embedded real time operating system with open source.Based on Cortex-M4 kernel,the process of RT-Thread context switch through the PendSV interrupt was analyzed,and the implementation mechanism of context switch was deeply studied from the assembly instructions,which provided a reference for further understanding the implementation of kernel scheduling mechanism,and the technical basis for the application and promotion of RT-Thread.

关 键 词:嵌入式实时操作系统 RT-THREAD 任务调度 上下文切换 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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