Affiliation:
1. Scuola Superiore Sant'Anna
2. Scuola Superiore Sant'Anna and LSV - ENS, Cachan
Abstract
Most embedded software is currently developed using the C programming language, even though its low level of abstraction requires a lot of effort to the programmer. The C++ language is a better choice because: it raises the level of abstraction; it is strongly typed, so it prevents many common programming mistakes; it can be made as efficient as C through fine-grained customisation of memory mechanisms; it can be easily adapted to domain-specific needs. In addition, recent compilers have grown in maturity and performance, and the new standard considerably improves the language by introducing new concepts and an easier syntax.
In this paper we present ADOK, a minimal Real-Time Operating System entirely written in C++ with the exception of a few lines of assembler code. It directly offers a C++ interface to the developer, and it provides a flexible scheduling framework which allows the developer to customise the scheduling to its needs. In particular, we implement a two-level scheduler based on Earliest Deadline First, the Stack Resource Policy protocol for sharing resources and support for mode changes. We demonstrate through examples and a small case-study that ADOK can substantially improve productivity without sacrificing on performance.
Funder
Seventh Framework Programme
Publisher
Association for Computing Machinery (ACM)
Subject
Engineering (miscellaneous),Computer Science (miscellaneous)
Reference15 articles.
1. A stack-based resource allocation policy for realtime processes
2. Protothreads
3. Antônio Augusto Medeiros Fröhlich. Application Oriented Operating Systems volume 1. GMD-forschungszentrum informationstechnik 2001. Antônio Augusto Medeiros Fröhlich. Application Oriented Operating Systems volume 1. GMD-forschungszentrum informationstechnik 2001.
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A Review of the Scopes and Challenges of the Modern Real-Time Operating Systems;International Journal of Embedded and Real-Time Communication Systems;2018-01