An Aspect-Oriented Implementation of Interrupt Synchronization in the PURE Operating System Family∗
نویسندگان
چکیده
Some concerns in the design of operating systems are hard to modularize in the implementation and thus difficult to maintain. One of these “crosscutting concerns” is the interrupt synchronization strategy. Changing that strategy is typically expensive and risky. Aspect-oriented programming (AOP) is a promising approach to overcome these problems, but most aspect-oriented programming languages are not adequate for the operating systems domain. Thus experiences with AOP and operating systems are rare. Here we describe our experiences with an aspectoriented implementation of interrupt synchronization in the PURE operating system family using AspectC++ 1, a new aspect-oriented language extension for C++ designed by the authors. We provide a critical evaluation of our new approach comparing it to the previous non aspect-oriented implementation and prove that AOP does not impose an unacceptable overhead.
منابع مشابه
On Interrupt-Transparent Synchronization in an Embedded Object-Oriented Operating System
A crucial aspect in the design of (embedded real-time) operating systems concerns interrupt handling. This paper presents the concept of a modularized interrupt-handling subsystem that enables the synchronization of interruptdriven, non-sequential code without the need to disabling hardware interrupts. The basic idea is to use nonblocking/optimistic concurrency sequences for synchronization ins...
متن کاملConcurrent Object-Oriented Device Driver Programming in Apertos Operating System
This paper proposes a new approach of implementing low-level OS components, especially device drivers. We introduce the notion of concurrent objects into device driver programming. A device driver for every hardware device is implemented as independent concurrent objects. A device driver object has a single thread of control, so that mutual exclusion operations such as spl and semaphores are no...
متن کاملThe Aspect-Aware Design and Implementation of the CiAO Operating-System Family
CiAO is the first operating-system family that has been developed with AOP concepts from the very beginning. By its aspect-aware design and implementation, CiAO reaches excellent configurability, separation of concerns, and low footprints in the resulting systems that outperform leading commercial implementations. CiAO implements the automotive operating-system standard OSEK/AUTOSAR OS and prov...
متن کاملSupporting the Design of Adaptable Operating Systems Using Aspect-Oriented Frameworks
Supporting separation of concerns in the design of operating systems can provide a number of benefits such as reusability, extensibility and reconfigurability. However, in order to maximize these benefits, such a support is difficult to accomplish. Some aspects in operating systems such as synchronization, scheduling, and fault tolerance cut across the basic functionalities of the system. In ev...
متن کاملFinegrain Application Specific Customization for Embedded Software
The paper describes techniques which have been developed to simplify the customization of the PURE operating system family for embedded systems and can be applied to almost any embedded software intended for reuse. The approach is based on feature modeling and the use of aspect-oriented programming and supported by a complete tool chain.
متن کامل