Abstract

In this study, we present a miniOS kernel implemented via analysis of the context switching, the scheduler, and the memory management of the original OS kernel for an embedded system based on ARM core. Since this is a large subject, we have limited our scope to them only that made up an embedded operating system. The implemented miniOS kernel is composed only by them, to the exclusion of all other functions of the original kernel. Our goal is to modify the OS kernel depending on the product function. The implementation method of the miniOS kernel can be applicable to any OS being mounted based on the ARM core. Modifying the kernel depending on the product function can improve the OS booting speed as well as save the system memory. The functions of the scheduler, the context switching, and the memory management are described with the source in each section. The miniOS kernel was implemented in the Assembly and C language and was verified through the build and the test. The results are shown in the Section 5.

Highlights

  • With an explosive increase of the development of the embedded systems with which OS is mounted, the development of independent OS became more significant

  • We present the miniOS kernel made via the implementation of the context switching and the scheduler for an embedded system based on ARM core (ARM 920T)

  • In this study, we present the implementation of the miniOS kernel that can operate the context switching and the scheduler [2]

Read more

Summary

Introduction

With an explosive increase of the development of the embedded systems with which OS is mounted, the development of independent OS became more significant. In most cases, companies and individuals that develop embedded systems create only device drivers and release the products It seems that few companies and individuals are interested in the independent OS development. We present the miniOS kernel made via the implementation of the context switching and the scheduler for an embedded system based on ARM core (ARM 920T). Device Driver: serial access, random access, network The context switching and the scheduler in the OS that supports the multi-tasking are the most significant core parts. In this study, we present the implementation of the miniOS kernel that can operate the context switching and the scheduler [2].

Multitasking
Context Switching
Scheduler
IRQ Handler
Task Context Backup
Entry of IRQ Handler Function
Recovery of Task Context
Implementation of Scheduler
Scheduler Strategy of OS
Implementation of Round Robin Scheduler
Scheduler Initialization Code
Main Function of miniOS Kernel
OS Timer Handler
USER Task
Test of miniOS Kernel
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call