Εργαστήριο Λειτουργικών Συστημάτων Φροντιστήριο 6–Device Drivers Ντίρλης Νικόλαος.

Slides:



Advertisements
Similar presentations
Chapter 8: Operating Systems and Utility Programs
Advertisements

Mac OS X Anja Philipp MAC OS X Anja Philipp
Device Drivers Witawas Srisa-an Embedded Systems Design and Implementation.
What is an operating system? Is it software?
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
1 Module 1 The Windows NT 4.0 Environment. 2  Overview The Microsoft Operating System Family Windows NT Architecture Overview Workgroups and Domains.
Chapter 8 Operating Systems and Utility Programs.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 2: OS Programming Interface T.Yang, CS
Chapter 2: Operating-System Structures
1 Chapter 2 Operating Systems: Software in the Background.
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Introduction to windows operating system i
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures Modified from the text book.
Operating Systems.
Chapter 8 Operating Systems and Utility Programs By: James Granahan.
Is a program that acts as an intermediary between the user of the devices, which are cut by CO computer and applications (programs) which it runs are used.
Drivers & Installation. In computing, a device driver is a computer program that operates or controls a particular type of device that is attached to.
Learning Outcomes At the end of this lesson, students should be able to: State the types of system software – Operating system – Utility system Describe.
Lesson 8 Operating Systems
Ms. Tracy. Directions: Answer bell ringer, login, navigate to Edmodo -> Small Group (Module 1 – Lesson 8) Question: A graphic that is saved as a.PNG is.
Lesson 6 Operating Systems and Software
BUSINESS COMPUTER APPLICATION University of Palestine College of Business Instructor: Mr. Ahmed Abumosameh.
Module 2 Part I Introduction To Windows Operating Systems Intro & History Introduction To Windows Operating Systems Intro & History.
ITE 1 Chapter 5. Chapter 5 is a Large Chapter It has a great deal of useful information about operating systems. You will find this VERY helpful when.
Agenda Last class: Computer Hardware Today: –Typing for 10 minutes –Computer Software –Journal 2 homework.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Mr C Johnston ICT Teacher
Windows XP. History Windows XP is based on the NT kernel developed in 1988 Windows XP is based on the NT kernel developed in 1988 XP was originally sold.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures T.Yang, 2012 Partially based on the.
1 Chapter 7 Operating System & Utility Programs.  consists of the programs that control or maintain the operations of the computer and its devices. It.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
5 SYSTEM SOFTWARE CHAPTER
Advanced Design and System Patterns The Microkernel Pattern.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
CMPF124 Basic Skills For Knowledge Workers Chapter 1 – Part 1 Introduction To Windows Operating Systems CMPF 112 : COMPUTING SKILLS.
OPERATING SYSTEM - program that is loaded into the computer and coordinates all the activities among computer hardware devices. -controls the hardware.
Copyright©2008 N.AlJaffan®KSU1 Chapter 7 Operating System and Utility Programs.
Copyright©2008 N.AlJaffan®KSU1 Chapter 7 Operating System and Utility Programs.
Module 2 Part I Introduction To Windows Operating Systems Intro & History Introduction To Windows Operating Systems Intro & History.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
CMPF124 Basic Skills For Knowledge Workers Chapter 1 – Part 1 Introduction To Windows Operating Systems.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 6A Operating System Basics PART I.
Ms. Tracy  Identify the purpose of an operating system.  Identify different operating systems.  Describe computer user interaction with multiple.
OPERATING SYSTEM BY KINSHUK RASTOGI. WHAT IS AN OPERATING SYSTEM? What is an operating system in the first place? An operating system is a software that.
What is O.S Introduction to an Operating System OS Done by: Hani Al-Mohair.
Business-logic Layer Presentation Layer Network Layer Digital Signal Processing Layer SmartHome API SmartHome Software Architecture SH mobile application.
1 Lesson 8 Operating Systems Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
System Software Chapter Handles technical details Works with end users, application software, and computer hardware Four types of programs –Operating.
OPERATING SYSTEMS (OS) By the end of this lesson you will be able to explain: 1. What an OS is 2. The relationship between the OS & application programs.
System Software Chapter Handles technical details Works with end users, application software, and computer hardware Four types of programs –Operating.
Systems Software / The Operating System CSC October 14, 2010.
PCs ENVIRONMENT and PERIPHERALS Lecture 5. Computer Maintenance software: Operating System: Define: - An operating system (OS) is a collection of software.
Linux Essentials Chapter 1: Selecting an Operating System.
Computer System Structures
IPC demo on AM57xx EVM.
Chapter 8 Operating Systems and Utility Programs.
Chapter 2: Operating-System Structures
Computer Software CS 107 Lecture 2 September 1, :53 PM.
Mobile Application Development with MeeGo™ - Programming with SDK
ماهو نظام التشغيل : هو مجموعة من البرمجيات المسؤولة عن إدارة موارد "عتاد" وبرمجيات الحاسوب ويمثل وسيط بين المستخدم وعتاد الحاسب. ويعتبر اهم البرامج المشغلة.
Chapter 2: System Structures
Lesson 8 Operating Systems
Computer software 2.
Module 5- Unit 2 OPERATING COMPUTER SYSTEMS
Computer System Laboratory
Presentation transcript:

Εργαστήριο Λειτουργικών Συστημάτων Φροντιστήριο 6–Device Drivers Ντίρλης Νικόλαος

Device Drivers Operates Controls Hiding Details Enable users to use high level functions Example: Serial Port High Level Functions: (1) Send Data, (2) Receive Data Different low-level commands for UART or FTDI RS-232 standard compatible

Help Please? - Windows How difficult is to write a driver? Windows Driver Foundation: User-Mode Driver Framework (recommended, message-based) and Kernel- Mode Drivers Framework (standard implementations of functions that are known to cause problems, including cancellation of I/O operations, power management, and plug and play device)

Help Please? – Mac OS X is Not Unix Kernel I/O Kit subset of C++ (omits features that Apple feels are unsafe for use in a multithreaded kernel)

APIs Windows Display Driver Model (WDDM) – the graphic display driver architecture for Win Vista-7-8 Windows Driver Model (WDM) Network Driver Interface Specification (NDIS) – a standard network card driver API Advanced Linux Sound Architecture (ALSA) – as of 2009 the standard Linux sound-driver interface Scanner Access Now Easy (SANE) – a public-domain interface to raster-image scanner-hardware Installable File System (IFS) – a filesystem API for IBM OS/2 and Microsoft Windows NTfilesystem API Open Data-Link Interface (ODI) – a network card API similar to NDIS Uniform Driver Interface (UDI) – a cross-platform driver interface project Dynax Driver Framework (dxd) – C++ open source cross-platform driver framework for KMDF and I/O Kit

Others Firmware Embedded Systems

The Hello Driver usr/src/drivers/hello int main(int argc, char **argv) { sef_startup(); printf("Hello, World!\n"); return EXIT_SUCCESS; } make install

System Services cd etc vi system.conf /hello # service up /usr/sbin/hello # service down hello #cd dev #ls| grep hello