CS325 Operating Systems Spring 2021: Computer-System Structures
CS325 Operating Systems Spring 2021: Computer-System Structures
Spring 2021
Computer-System Structures
Owais Hakeem
SST
Users
Applications
Operating System API, AUI
Operating System Kernel
Computer Hardware
Real work is done in the kernel
05/27/2021 Operating System, Owais Hakeem, 2
UMT
Entry Points into Kernel
Interrupt Trap
File Management
Create a file, Delete file, Open and close file, Read/write and
reposition, Get and set file attributes
Device Management
Request and release device, Logically attach/ detach devices, Get and
Set device attributes
Information maintenance
Get or set time and date, Get process and device attributes
Communications
Create/delete communications connections, Send/receive message, Help
OS to transfer status information, Attach or detach remote devices
Library Call
System Call
trap
Dispatch Table Service
Code
Kernel
Code
Simple Structure
Layered Approach
Microkernels
Virtual Machines
Every thing below the system call interface and above the
physical hardware is the kernel.
Modularity
Smaller kernel
Difficult to implement.
Design Goals
Implementation in:
Assembly language
Easier to code
Compact code
Easier to port
Next time
• Process
• Process States
• Process Control Block
• Process Scheduling Queues
• Schedulers