CS-3013 Operating Systems Hugh C. Lauer

Slides:



Advertisements
Similar presentations
Slide 19-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19.
Advertisements

Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 3 Operating System Organization.
Memory Management Paging &Segmentation CS311, CS350 & CS550.
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
© 2004, D. J. Foreman 1 O/S Organization. © 2004, D. J. Foreman 2 Topics  Basic functions of an OS ■ Dev mgmt ■ Process & resource mgmt ■ Memory mgmt.
Architectural Support for OS March 29, 2000 Instructor: Gary Kimura Slides courtesy of Hank Levy.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
OS Spring’03 Introduction Operating Systems Spring 2003.
Process in Unix, Linux and Windows CS-3013 C-term Processes in Unix, Linux, and Windows CS-3013 Operating Systems (Slides include materials from.
Protection and Security (Part 1) CS-502 Fall Protection and Security CS-502 Operating Systems Fall 2006 (Slides include materials from Operating.
Process Concept An operating system executes a variety of programs
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
MicrokernelsCS-502 (EMC) Fall Microkernels CS-502, Operating Systems Fall 2009 (EMC) (Slides include materials from Modern Operating Systems, 3 rd.
ConcurrencyCS-3013 A-term Introduction to Concurrency ( Processes, Threads, Interrupts, etc.) CS-3013, Operating Systems A-term 2009 (Slides include.
Chapter 5 Input/Output I/O Hardware I/O Software Software Layers Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights.
Processes in Unix, Linux, and Windows CS-502 Fall Processes in Unix, Linux, and Windows CS502 Operating Systems (Slides include materials from Operating.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
CSE 451: Operating Systems Autumn 2013 Module 6 Review of Processes, Kernel Threads, User-Level Threads Ed Lazowska 570 Allen.
Process in Unix, Linux, and Windows CS-3013 A-term Processes in Unix, Linux, and Windows CS-3013 Operating Systems (Slides include materials from.
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
Three fundamental concepts in computer security: Reference Monitors: An access control concept that refers to an abstract machine that mediates all accesses.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
1 Chapter 2: Computer-System Structures  Computer System Operation  I/O Structure  Storage Structure  Storage Hierarchy  Hardware Protection  General.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: Operating-System Structures.
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
Introduction to Concurrency CS-502 (EMC) Fall Introduction to Concurrency ( Processes, Threads, Interrupts, etc.) CS-502, Operating Systems Fall.
Lecture 5 Rootkits Hoglund/Butler (Chapters 1-3).
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
CSCE451/851 Introduction to Operating Systems
Introduction to Operating Systems Concepts
Virtualization.
Virtual Machine Monitors
System Calls, Interrupts and Exceptions
MODERN OPERATING SYSTEMS Third Edition ANDREW S
Memory Management Paging (continued) Segmentation
Interrupts and signals
Protection of System Resources
CASE STUDY 1: Linux and Android
CS 3305 System Calls Lecture 7.
Processes in Unix, Linux, and Windows
What is an Operating System?
Processes in Unix, Linux, and Windows
OS Basics Module 1.2 Richard Newman University of Florida.
Concurrency CS-3013 Operating Systems C-Term 2008 Assumptions:
Memory Management Paging (continued) Segmentation
Processes in Unix, Linux, and Windows
CSE 451: Operating Systems Spring 2012 Module 6 Review of Processes, Kernel Threads, User-Level Threads Ed Lazowska 570 Allen.
OS Concepts Module 1.4 Richard Newman University of Florida.
Architectural Support for OS
CSE 451: Operating Systems Autumn 2001 Lecture 2 Architectural Support for Operating Systems Brian Bershad 310 Sieg Hall 1.
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Operating Systems: A Modern Perspective, Chapter 3
CS-3013 Operating Systems Hugh C. Lauer
CSE 451: Operating Systems Winter 2007 Module 2 Architectural Support for Operating Systems Brian Bershad 562 Allen Center 1.
Processes in Unix, Linux, and Windows
CSE 451: Operating Systems Winter 2003 Lecture 2 Architectural Support for Operating Systems Hank Levy 412 Sieg Hall 1.
Architectural Support for OS
O/S Organization © 2004, D. J. Foreman.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment. Phone:
O/S Organization © 2004, D. J. Foreman.
Memory Management Paging (continued) Segmentation
Operating Systems Structure
In Today’s Class.. General Kernel Responsibilities Kernel Organization
Presentation transcript:

CS-3013 Operating Systems Hugh C. Lauer System Calls CS-3013 Operating Systems Hugh C. Lauer (Slides include materials from Slides include materials from Modern Operating Systems, 3rd ed., by Andrew Tanenbaum and from Operating System Concepts, 7th ed., by Silbershatz, Galvin, & Gagne) CS-3013, A-Term 2011 System Calls

Definition – System Call A structured function call across a protection boundary between less privileged applications and more privileged operating system functions Also, across privilege layers of the operating system itself CS-3013, A-Term 2011 System Calls

Structure of an Operating System XYZ Office Media Player Business Appl. UI/Shell/GUI Prog. Tools Services Practical OS OS Kernel Traditional OS Hardware Interfaces – Registers, etc. Processor(s) I/O Controllers CS-3013, A-Term 2011 System Calls 3

System Organization (continued) CS-3013, A-Term 2011 System Calls 4

Operating System Organization (continued) Kernel System Libraries (user space) Utilities, tools, Window packages, program management, other stuff Drivers & modules File Systems Protection Boundary CS-3013, A-Term 2011 System Calls 5

Protection Boundary Application programs are not allowed to Read or write data structures in the kernel Call functions in the kernel directly Change settings of the machine Control arbitrary devices directly Interfere with the operation of the kernel in any way Enforced by hardware CS-3013, A-Term 2011 System Calls

System Call A trap caused by executing a special machine language instruction Causes a synchronous interrupt to a specific interrupt/trap handler in the OS Allows the OS to control access, check arguments, manage behavior, etc. Causes machine to switch modes from “user” to “system” As indicated by bits in the PSW I.e., specifying protection levels CS-3013, A-Term 2011 System Calls

Operating System Organization (continued) Kernel System Libraries (user space) Utilities, tools, Window packages, program management, other stuff Drivers & modules File Systems Also part of Protection Boundary CS-3013, A-Term 2011 System Calls 8

Figure 10-1. The layers in a Linux system. Interfaces to Linux Figure 10-1. The layers in a Linux system. CS-3013, A-Term 2011 System Calls Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

Windows Vista Operating System Structure Protection Boundaries Figure 11-13. Windows kernel-mode organization. CS-3013, A-Term 2011 System Calls Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

We will work with System Calls in Project #2 Questions? We will work with System Calls in Project #2 CS-3013, A-Term 2011 System Calls