Operating System
Operating System
By:
Eng Ahmed awed
Week 2
مقبول مالوشos أي تعريف لل
Operating system تعريف ثابت
Make computer
Run User programs
widely used
Operating
system role
Hw attached to I/o
Each device Device devices provide
controller interface between
computer and device I/O device
Mouse, Memory CPU Buffer
keyboard, Buffer
camera, printer (memory)
An interrupt is a signal sent by hardware or software to the processor for
processing
Interrupt
An interrupt is a necessary part of Computer System Organization as it is
triggered by hardware and software parts when they need immediate attention.
Device Program
interrupts ينظم الشغل بتاعه ويتحكم فيOS دى الحاجة اللى بتخلى ال
• The CPU saves the state of the ongoing process and shifts its attention to the
interrupt generated.
Interrupt handling
*ISR handles the request and sends it to the CPU. When the ISR is complete, the process
gets resumed.
I/O is from the device to local buffer of controller
I/O structure It’s operations : sensory input, control output, and data transfer
Device status table: in the os contains entry for each I/O device indicating its type,
address, and state
System calls : It acts as a link between the operating system and a process, allowing user-level
programs to request operating system services.
ROM
cash
memory
Memory RAM
Hard
Hard Disk
Drives (HDD)
Solid state
driver (SSD)
Computer types of storage
Bootstrap program : simple code to initialize the system, load the
kernel
Operating system
operations File management: os mange files and folders on the computer
(open, close, delete, copy, move)
File management
functions information
maintenance
Communications
Protection
security
Apps compiled on one system usually not
executable on other operating systems
Batch system
OS organize jobs for the CPU
User 1
User 2
User n
Text section—the
executable code
ال يستفيد مشغل النظام وال يقوم بأى مهام اثناء تغيير ال process
كلما كان نظام التشغيل معقد كلما اخذ تغيير الوظائف وقت اطول
تغيير العمليات الى وحدة التحكم يعتمد على الهاروير بعض األنظمة تساعد على سرعة تغيير الوظائف
باستخدام register
The creating process is called a parent process, and
Operation on process the new processes are called the children of that
process.
termination