检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:崔永旭 王鑫 胡启龙 樊琳 梁华 刘永富 Cui Yongxu;Wang Xin;Hu Qilong;Fan Lin;Liang Hua;Liu Yongfu(Beijing Smartchip Microelectronics Technology Company Limited,Beijing 102299,China)
机构地区:[1]北京智芯微电子科技有限公司,北京102299
出 处:《单片机与嵌入式系统应用》2022年第12期46-48,53,共4页Microcontrollers & Embedded Systems
摘 要:内存保护机制是嵌入式操作系统研究中的一个重点和难点问题。RISC V处理器使用物理内存保护单元(PMP)进行内存访问保护,防止数据区破坏和堆栈溢出引起的系统异常。一般嵌入式系统的内核和各个任务不是孤立的,导致无法在代码区和数据区直接设置内存保护。提出了一种基于RISC V的嵌入式操作系统内存保护方法,操作系统为每个应用分配独立的代码区和数据区,从应用安装、启动、运行到任务切换来获取并设置PMP保护的参数,从而实现了高效灵活的内存保护方法,确保系统稳定可靠地运行。Memory protection mechanism is a key and difficult problem in embedded operating system research.RISC V processors use Physical Memory Protection Unit(PMP)for memory access protection to prevent system exceptions caused by data area corruption and stack overflow.Generally,the kernel and each task of an embedded system are not isolated,so it is impossible to directly set memory protection in the code area and data area.This paper proposes a memory protection method for embedded operating systems based on RISC V.The operating system allocates independent code areas and data areas for each application,from application installation,startup,running to task switching,to obtain and set the parameters of PMP protection,thus realizing an efficient and flexible memory protection method to ensure the stable and reliable operation of the system.
关 键 词:RISC V PMP 内存保护 任务启动 任务切换
分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7