Lecture1 - Intro
Lecture1 - Intro
Introduction
Hakan Ayral
Lecture 1
• Website
– Blackboard : https://ku.blackboard.com/
– All course materials will be posted
• Main Book
– Operating System and Concepts (10th edition)
• By Silberschatz, Galvin and Gagne
• Additional Book
– Linux Kernel Development (3rd Edition)
• By Robert Love
• http://it-ebooks.info/book/819/
Final makeup exam and remedial exam will take place on the
same day at the same time. A student can take either of them
but not both.
• Duties of an OS
1) Provide resource abstraction
2) Manage and coordinate resources
3) Provide security and protection
4) Provide fairness among users (or programs)
foo(int x) {…}
Users/Other Machines
Applications
Compiler
Operating System
Hardware
There are other layers in software stack such as runtime, libraries etc.
Operating System and Compilers are essentials.
trap return
kernel mode bit = 0 mode bit = 1 kernel mode
(mode bit = 0)
execute system call
Hmm, that’s
not fair
Process 1
Process 2
Process 3
Time-multiplexed CPU
Process 4
Space-multiplexed Memory
31
Acknowledgments
• Original slides are by Didem Unat which were adapted
from
– Öznur Özkasap (Koç University)
– Operating System and Concepts (9th edition) Wiley
32