Implementing Memory Protection in a Minimal OS
Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
The car industry has created a series of standards called AutoSAR as a response to the increasing number of processors in modern vehicles. Among these specifications is one for real-time operating systems (RTOS). This RTOS standard includes requirements for memory protection. This thesis outlines the work involved in introducing the memory protection outlined in this specification in the OSEck operating system. The work consisted of updating the operating system, implementing the AutoSAR OS API, and updating the suite of toolsused to build the finished system.The AutoSAR specifications were found to be very thorough and well thoughtout. The OS API was successfully implemented, and the data-structures needed to permit its functionality. The existing software tools were updated to conformwith the new requirements from AutoSAR, and additional software was createdto ease the configuration process.Memory protection was successfully implemented in the OSEck operating system, including two implementations of the trap interface. The memory protection functionality adds yet another layer of user-configuration to the operating system. Also, additional overhead for system calls, context switches and message passing is expected. A general evaluation of how OSEck application performance is aff ected is beyond the scope of this thesis, but preliminary studies of additional instruction counts on certain system calls have been performed.
Place, publisher, year, edition, pages
2009. , 111 p.
MMU, AUTOSAR, OSEK, MEMORY PROTECTION, EMBEDDED
IdentifiersURN: urn:nbn:se:liu:diva-17355ISRN: LIU-IDA/LITH-EX-A--09/006--SEOAI: oai:DiVA.org:liu-17355DiVA: diva2:208762
2009-02-06, Donald Knuth, IDA, Linköpings universitet, Linköping, 15:15 (Swedish)
Nadjm-Tehrani, Simin, Professor