Documente Academic
Documente Profesional
Documente Cultură
Custom-Hardware
Components of RTOS
• Introduction
• Structure of RTOS The most important
• Components of RTOS
• RTOS Kernel
component of RTOS is its
• Tasks kernel (Monolithic & Microkernel).
• Memory
• Timers BSP or Board Support
• I/O
Package makes an RTOS
• IPCs
• Device Drivers target-specific (It’s a processor specific
• Expectations code onto (processor) which we like to have our
• Examples RTOS running ).
RTOS KERNEL
• Introduction
• Structure of RTOS
• Components of RTOS
• RTOS Kernel
• Tasks
• Memory
• Timers
• I/O
• IPCs
• Device Drivers
• Expectations
• Examples
RTOS KERNEL: Tasks(1)
• Introduction
• Structure of RTOS A task is basic unit of execution
• Components of RTOS
• RTOS Kernel
in RTOS.
• Tasks
RTOS scheduler needs to be
• Memory
• Timers deterministic ~ O(1) or O(n).
• I/O
• IPCs
Scheduling policies that are
• Device Drivers available in a RTOS are:
• Expectations
• Examples Clock driven
Priority driven (RMS & EDF)
RTOS KERNEL: Tasks(2)
• Introduction
TID
• Structure of RTOS
• Components of RTOS
SAVED_TASK_STATE
• RTOS Kernel
• Tasks
Resource 1 (signals)
• Memory
• Timers Resource 2 (events)
• I/O
• IPCs Resource 3 (shared memory)
• Device Drivers
• Expectations .
• Examples .
System Variables
Hardware
RTOS KERNEL:
Device Drivers(3)
• Introduction
• Structure of RTOS A host controller driver enables
• Components of RTOS system to accept a particular type of
• RTOS Kernel
• Tasks
device.
• Memory Client drivers are device specific.
• Timers
• I/O
Protocol layer converts device
• IPCs request to form that is understood
• Device Drivers
by corresponding host controllers
• Expectations
• Examples
through their drivers.
Expectations from RTOS
• Introduction
• Structure of RTOS Deadline-driven
• Components of RTOS
• RTOS Kernel Work with Dearth of Resources
• Tasks
• Memory
Intricate I/O interfaces (Touch
• Timers panels, Push buttons …)
• I/O
• IPCs Fail-safe and Robust
• Device Drivers
• Expectations Availability
• Examples
An Example RTOS
• Introduction
• Structure of RTOS
• Components of RTOS
• RTOS Kernel
• Tasks
• Memory
• Timers
• I/O
• IPCs
• Device Drivers
• Expectations
• Examples
EMERALDS architecture
Relevant books and
websites
http://www.intelinfo.com/it_training_materials_and_books/free_real_time_o
perating_systems_training_materials.html
Linux Device Drivers – Alexander Rubini, Oreilly publications
http://www.ddjembedded.com : Dr. Dobb’s Journal
http://www.embedded.com