REAL TIME OPERATING SYSTEMS Lesson-11

:

Basic Design using an Real Time
Operating System

2008

Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc.

1

1. Basic Design

2008

Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc.

2

RTOS

An embedded system with a single CPU can run only one process at an instance. The process at any instance may either be an ISR, or kernel function or task

2008

Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc.

3

RTOS

Provides running the user threads in kernel space so that they execute fast. Provides effective handling of the ISRs, device drivers, ISTs, tasks or threads Disabling and enabling of interrupts in user mode critical section code Provides memory allocation and deallocation functions in fixed time and blocks of memory
Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 4

2008

RTOS

Provides for effectively scheduling and running and blocking of the tasks in cases of number of many tasks I/O Management with devices, files, mailboxes, pipes and sockets becomes simple using an RTOS provides for the uses of Semaphore (s) by the tasks or for the shared resources (cCritical sections) in a task or OS functions
Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 5

2008

RTOS

Effective management of the multiple states of the CPU and, internal and external physical or virtual devices

2008

Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc.

6

Summary

2008

Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc.

7

We learnt
• RTOS is an OS for effective real time scheduling of the concurrent processes • User priority allocations • Preemptive scheduling • Fixed memory blocks allocation and deallocation • IPCs

2008

Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc.

8

End of Lesson 11 of Chapter 8

2008

Chapter-8 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc.

9

Sign up to vote on this title
UsefulNot useful