检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:朱绍英 顾云鹭 查启鹏 ZHU Shao-ying;GU Yun-lu;ZHA Qi-peng(Shanghai Civil Aviation College,Shanghai 200232,China;Intel Asia Pacific R&D Ltd,Shanghai 201100,China)
机构地区:[1]上海民航职业技术学院,上海200232 [2]英特尔亚太研发有限公司,上海201100
出 处:《电脑与信息技术》2022年第6期51-54,64,共5页Computer and Information Technology
基 金:民航发展基金(项目编号:14003700000018J002)。
摘 要:RISC-V架构由于其精简和模块化的指令集以及更开放的授权而广泛用于设计各种处理器,而Zephyr操作系统目前只支持单CPU的RISC-V,缺少对高性能多CPU的SMP应用处理器的支持。为此,首先从RISC-V架构的特点和Zephyr的编译,启动等方面分析了移植Zephyr的过程,然后从三个方面分析了支持SMP的具体设计原理和实现流程,包括Zephyr SMP定义的底层架构接口实现,SMP线程切换和调度的实现和SMP相关驱动的实现。最后,在开发板上测试结果表明SMP下的多线程启动及延迟,线程抢占和唤醒均符合Zephyr设计。RISC-V is a modular RISC instruction set which is highly optimized to reduce hardware complexity and is open for all organization to design processors,while latest Zephyr RTOS only support single CPU and doesn’t support multi SMP CPUs for RISC-V.To solve this limitation,it introduces how to port Zephyr to HiFive board with detail build and bring up steps.then analyzes how to support SMP in aspects of implementation of Zephyr SMP low level interfaces for each architecture,implementation of thread context switch and schedule,improvement of interrupt and timer driver for SMP.Finally,module test shows that thread boot and scheduling,thread preemption and wakeup works as expected in Zephyr.
关 键 词:RISC-V Zephyr实时操作系统 对称多处理 线程调度
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.200