- 7
- 0
- 约2.18万字
- 约 50页
- 2018-03-27 发布于浙江
- 举报
[工学]09嵌入式系统及应用-面向行业的嵌入式操作系统-OSEK-VDX
Mixed preemptive scheduling If preemptable and non preemptable tasks are mixed on the same system, the resulting policy is called mixed preemptive scheduling. Many applications comprise only few parallel tasks with a long execution time, for which a full preemptive operating system would be convenient and many short tasks with a defined execution time where non preemptive scheduling would be more efficient. 3.5 Termination of tasks In the OSEK operating system, a task can only terminate itself (self-termination). The OSEK operating system provides the service ChainTask to ensure that a dedicated task activation is performed just after the termination of the running task. Each task shall terminate itself at the end of its code. Ending the task without a call to TerminateTask or ChainTask is strictly forbidden and causes undefined behaviour. 4 Application modes Many ECUs may execute completely independent applications as e.g. factory test, Flash pro-gramming or normal operation. allow an OSEK operating system to come up under different modes of operation. The minimum number of supported application modes is one. It is intended only for modes of operation that are totally mutually exclusive. Once the operating system has been started, it shall not be allowed to change the application mode. Typically each application mode uses its own subset of all tasks, ISRs, alarms and timing conditions, although there is no limitation to having a task or ISR running in different modes. 5 Interrupt processing two ISR categories: ISR category 1 The ISR does not use an operating system service. After the ISR is finished, processing continues exactly at the instruction where the interrupt has occurred. ISRs of this category have the least overhead. ISR category 2 The OSEK operating system provides an ISR-frame to prepare a run-time environment for a dedicated user routine. During system generation the user routine is assigned to the interrupt. Inside the ISR no reschedulin
您可能关注的文档
- [工学]05静电场.ppt
- [工学]06第五章集成触发器.ppt
- [工学]06第六章合金钢.ppt
- [工学]06第二章+第四节+屈服准则打.pdf
- [工学]07 醇酚醚.ppt
- [工学]07 发光.ppt
- [工学]07-VRP34命令手册组播协议命令.pdf
- [工学]076空间直线及其方程.ppt
- [工学]07--xbl运算电路2010.ppt
- [工学]07实验七 MSI计数器及其应用.ppt
- 2026年及未来5年内中国液体氩气行业投资前景及策略咨询研究报告.docx
- 2026年及未来5年内中国黄铜合页行业投资前景及策略咨询研究报告.docx
- 2026年及未来5年内中国竹工艺家具行业投资前景及策略咨询研究报告.docx
- 2025年中国微机数显自动分析仪市场调查研究报告.docx
- 2026年及未来5年内中国微尘白色粉笔行业投资前景及策略咨询研究报告.docx
- 2025年中国微电脑型压胶机市场调查研究报告.docx
- 2026年及未来5年内中国数字化等功游泳训练测试系统行业投资前景及策略咨询研究报告.docx
- 2025年中国圆形花瓶市场调查研究报告.docx
- 2026年及未来5年内中国植物纤维静淀过滤器行业投资前景及策略咨询研究报告.docx
- 2025年中国超音波手套机市场调查研究报告.docx
最近下载
- 平潭澳海上风电场项目可研收口报告2018年4月版本15工程设计概算表.pdf VIP
- 2024年常州信息职业技术学院单招职业技能测试题库(历年真题).docx VIP
- 腹膜透析指南(2025年版).docx VIP
- 党的二十届四中全会PPT课件.ppt VIP
- 产品设计与实训 设计实训.ppt VIP
- 施工现场建筑垃圾减量化专项方案.pdf VIP
- 《数学史》数学的起源.pptx VIP
- 2026年信息科技课标试题及答案.doc VIP
- 本科课件-ArcGIS Engine地理信息系统开发教程(完整).ppt
- 北京通州区2022-2023学年高一下学期期末质量检测英语试卷 含解析.docx VIP
原创力文档

文档评论(0)