Your SlideShare is downloading. ×
Real Time Operating System
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Real Time Operating System

3,275
views

Published on


0 Comments
11 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,275
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
11
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • This template can be used as a starter file to give updates for project milestones.SectionsRight-click on a slide to add sections. Sections can help to organize your slides or facilitate collaboration between multiple authors.NotesUse the Notes section for delivery notes or to provide additional details for the audience. View these notes in Presentation View during your presentation. Keep in mind the font size (important for accessibility, visibility, videotaping, and online production)Coordinated colors Pay particular attention to the graphs, charts, and text boxes.Consider that attendees will print in black and white or grayscale. Run a test print to make sure your colors work when printed in pure black and white and grayscale.Graphics, tables, and graphsKeep it simple: If possible, use consistent, non-distracting styles and colors.Label all graphs and tables.
  • What is the project about?Define the goal of this projectIs it similar to projects in the past or is it a new effort?Define the scope of this projectIs it an independent project or is it related to other projects?* Note that this slide is not necessary for weekly status meetings
  • * If any of these issues caused a schedule delay or need to be discussed further, include details in next slide.
  • Duplicate this slide as necessary if there is more than one issue.This and related slides can be moved to the appendix or hidden if necessary.
  • Prepare slides for the appendix in the event that more details or supplemental slides are needed. The appendix is also useful if the presentation is distributed later.
  • Transcript

    • 1. REAL TIME OPERATING SYSTEM
      VIVEK JAISWAL
      0813331103
      EC VI B
    • 2. Operating System
      • Collection of system calls (functions)
      Provides a set of basic services to interact with the hardware
      • Core of the OS is Kernel
      Basic structural unit of OS
      Typically a library or set of libraries
      A bridge between applications and the actual data processing done
      at the hardware level
    • 3. Basic Structure of Operating System
    • 4. Real Time Operating System
      • Completes its task and deliver services on time
      • 5. Deterministic – guarantees task completion at a set deadline
      • 6. Operates in constrained environment where computer memory and processing power is limited
      • 7. Provides services in definite amount of time
      • 8. Multitasking or multi-threading
    • Features
      • Fast
      • 9. Small and occupy very little memory
      • 10. Consume fewer resources
      • 11. Mission-critical
      • 12. Response times are highly predictable
      • 13. Unpredictable environment
      • 14. Life risking applications
    • Applications of RTOS
      • Air Traffic Control Systems
      • 15. Networked Multimedia Systems
      • 16. Command Control Systems
      • 17. Internet Telephony
      • 18. Anti-lock Brake Systems
      • 19. Heart Pacemaker
    • Types of RTOS
      • Hard Real-Time Systems
      Meets deadlines with zero degree of flexibility
      Missed deadlines cause catastrophe
      Cost of catastrophe is high
      • Soft Real-Time Systems
      Meets deadlines with some degree of flexibility
      Missed deadline does not cause catastrophe
      Costs rise in proportion to the delay
    • 20. Example of Hard Real-Time Systems
      • Weapons defense system
      • 21. Missile guidance system
      Weapons Defense System
    • 22. Example of Soft Real-Time Systems
      • Networked Multimedia System
      • 23. DVD or multimedia players
      • 24. Internet telephony
      Tele-seminars
    • 25. Tasks
      • Group of instructions performing a function of a system
      • 26. An independent thread of execution
      • 27. It is schedulable
      • 28. Characterized by associated name, unique ID, priority, task control block (TCB), stack & taskroutine
      • 29. Each task moves from one state to another using finite state machine (FSM)
    • Task States
      • Executing Actually running
      • 30. Ready Ready to be dispatched
      • 31. Blocked Blocked by another task or resource
      • 32. Waiting Blocked by time
    • Scheduler
      • Maintains ranked list of tasks based on priority
      • 33. Makes sure that all tasks meet their timing constraints
      • 34. It is not a task but a function call [schedule()]
      • 35. Called at various scheduling points likewise end of ISR, when tasks go to sleep or when they are ready to run
      • 36. Types of algorithms
      Preemptive priority based scheduling algorithm
      Round Robin scheduling algorithm
    • 37. Preemptive priority based scheduling algorithm
      • Each task has a priority and highest-priority task runs first
    • Round Robin scheduling algorithm
      • Each task of same priority uses time slice to achieve equal share of CPU execution time
    • Semaphores
      • A kernel object that one or more threads of execution can acquire or release for the purposes of synchronization or mutual exclusion.
      • 38. Acts like a key
      • 39. Allows a task to carry out some operation or to access a resource
      • 40. Types
      Binary Semaphore
      Counting Semaphore
      Mutual Exclusion Semaphore
    • 41. Semaphores (Contd.)
      • Binary Semaphore
      • 42. Counting Semaphore
      • 43. Mutual Exclusion Semaphore
    • Message Queues
      • It is like a pipeline through which tasks & ISRs communicate and synchronize with data.
      • Non-interlinked
      one-way data communication
      • Interlocked
      one-way data communication
      • Interlocked
      two-way data communication
      • Broadcast Communication
      Ways to use Message Queues
    • 44. Exceptions & Interrupts
      • Exception is any event that disrupts the normal execution of the processor and forces the processor into execution of special instructions
      • 45. Types
      Synchronous Exceptions Raised by internal events like processor instructions
      “An arithmetic operation that results in a division by zero”
      Asynchronous Exceptions Associated with hardware signals from external hardware devices
      Also called as INTERRUPTS
      “Pushing the reset button on the embedded board”
    • 46. I/O Subsystem
      • Hides the device-specific information from the kernel as well as from the application developer and to provide a uniform access method to the peripheral I/O devices of the system.
      • 47. Defines the standard set of functions called API.
    • Communication
      • Transfer of data from one task to another task.
      • 48. Signal the occurrences of events from one task to another task
      • 49. Control the execution of tasks by other task
      • 50. Synchronize activities
      • 51. Implement additional synchronization protocols for resource sharing
    • RTOS Distributions
    • Thank You