SlideShare a Scribd company logo
1 of 31
Download to read offline
OPERATING SYSTEMS
CS160
HISTORY OF OPERATING SYSTEMS
Operating Systems
FUNCTIONS OF AN OPERATING SYSTEM
 Oversee operation of computer
 Store and retrieve files
 Schedule programs for execution
 Coordinate the execution of programs
BATCH PROCESSING
INTERACTIVE PROCESSING
OPERATING SYSTEM ARCHITECTURE
Operating Systems
SOFTWARE CLASSIFICATION
OPERATING SYSTEM ARCHITECTURE
Application
Shell
Kernel
Hardware
WINDOWS XP SYSTEM ARCHITECTURE
WINDOWS XP SYSTEM ARCHITECTURE
OPERATING SYSTEM ARCHITECTURE
Application
Shell
Kernel
Hardware
THE BOOT PROCESS: BIOS
 Custom settings are read from CMOS
 Complementary Metal-Oxide Semiconductor
 Memory used to store configurable system
settings
 System setup utility
 Power-on self-test (POST) is run to check
system function
THE BOOT PROCESS: POST
 POST
 BIOS instructs CPU to read code stored at various
locations and compares it to known values
 BIOS loads low-level drivers and interrupt handlers
for basic hardware
 Checks video card
 Initializes video BIOS
 Tests video card and video memory
 BIOS information (version, date, manufacturer)
is displayed
THE BOOT PROCESS: WARM VS COLD BOOT
 BIOS checks memory location 0x0472
 Value of 0x1234 indicates a reboot and rest of
post is skipped
 Any other value indicates a cold boot and the
following steps are performed
 RAM is tested
 Values are written then read from each memory
cell
 BIOS tests for existence of floppy disks, hard
drive, and optical drives
THE BOOT PROCESS: HANDOFF
 After POST BIOS hands off control to operating
system
 BIOS instructs CPU to begin executing the
operating system boot loader
 Code found in sector zero of primary HDD
 Operating system replaces many of the device
drivers and interrupt vectors that BIOS loaded
THE BOOT PROCESS: PLUG AND PLAY
ENUMERATION
 The operating system adds special device
drivers called enumerators
 ISA bus enumerator
 SCSI bus enumerator
 PCI bus enumerator
 PCIe bus enumerator
 Port enumerator
 Operating system asks each enumerator to
identify which devices it has and what
resources they require
THE BOOT PROCESS: RESOURCE ARBITRATION
 Operating system assigns resources to each
enumerated device
 IRQ
 DMA
 Memory addresses
 If no new devices are discovered, stored PnP
information is used
 Operating system loads appropriate high-level
device drivers for each PnP device
 Drivers initialize each device
THE BOOT PROCESS: FINISHING UP
 Operating system mounts disk drives for use
 Video drivers are installed to allow for use of
video hardware
 Operating system services are initialized
 User logon screen displayed
COORDINATING THE MACHINE’S
ACTIVITIES
Operating Systems
PROCESSES
 Program: a set of instructions given to a
computer
 Process: a program in execution
 Process state: the current status of a process
including the contents of the relevant CPU
registers
PROCESS STATE DIAGRAM
New
Ready
Admitted
Running
Scheduler dispatch
TerminatedExit
Interrupt
Waiting
I/O or event waitI/O or event completion
PROCESS ADMINISTRATION
 Processes compete for operating system
attention and computer resources
 Operating system coordinates execution of
processes
 Scheduler
 Dispatcher
SCHEDULER
 Scheduler manages a
pool of processes
which are currently
being executed
 Adds new processes
 Removes completed
processes
 This pool is a
collection of process
control blocks (PCBs)
DISPATCHER
 Responsible to ensuring processes get
scheduled for CPU time
 The act of changing from one process to
another is called a context switch
 PCBs are packed/unpacked
 Cooperative multitasking
 Processes remove themselves from running state
 Preemptive multitasking
 Dispatcher evicts process when time slice expires
 Occurs on interrupt
CONTEXT SWITCHING
HANDLING COMPETITION AMONG
PROCESSES
Operating Systems
SEMAPHORES
DEADLOCK
SECURITY
Operating Systems
USER ACCOUNTS
 Privileges assigned according to account type
 Super User or Administrator
 Standard user
 Other role-based accounts
HIERARCHICAL PROTECTION DOMAINS
(PROTECTION RINGS)
Least Privileged
Most Privileged
Application
Shell
Ring 3
Ring 2
Kernel
Ring 1
Hardware
Ring 0

More Related Content

What's hot

What's hot (18)

Booting of Computer System
Booting of Computer SystemBooting of Computer System
Booting of Computer System
 
Boot process
Boot processBoot process
Boot process
 
5. boot process
5. boot process5. boot process
5. boot process
 
Booting process by Amar singh
Booting process by Amar singhBooting process by Amar singh
Booting process by Amar singh
 
System Booting Process overview
System Booting Process overviewSystem Booting Process overview
System Booting Process overview
 
Aix install via nim
Aix install via nimAix install via nim
Aix install via nim
 
BIOS basic input output system
BIOS basic input output systemBIOS basic input output system
BIOS basic input output system
 
Ch 2
Ch 2Ch 2
Ch 2
 
Booting troubleshooting
Booting troubleshootingBooting troubleshooting
Booting troubleshooting
 
Understanding The Boot Process
Understanding The Boot ProcessUnderstanding The Boot Process
Understanding The Boot Process
 
Bootloader and bootloading
Bootloader and bootloadingBootloader and bootloading
Bootloader and bootloading
 
What is Bootloader???
What is Bootloader???What is Bootloader???
What is Bootloader???
 
COMPUTER Bios
COMPUTER BiosCOMPUTER Bios
COMPUTER Bios
 
Linux booting process!!
Linux booting process!!Linux booting process!!
Linux booting process!!
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
BIOS AND OS
BIOS AND OSBIOS AND OS
BIOS AND OS
 
Booting Up And Shutting Down Computer
Booting Up And Shutting Down ComputerBooting Up And Shutting Down Computer
Booting Up And Shutting Down Computer
 
Bios
BiosBios
Bios
 

Similar to Cs160 chapter 3

Bios, processorand motherboard
Bios, processorand  motherboardBios, processorand  motherboard
Bios, processorand motherboardImranulHasan6
 
101 1.1 hardware settings v2
101 1.1 hardware settings v2101 1.1 hardware settings v2
101 1.1 hardware settings v2Acácio Oliveira
 
motherboard.pptx
motherboard.pptxmotherboard.pptx
motherboard.pptxRaviRaval36
 
BSP.pptx
BSP.pptxBSP.pptx
BSP.pptxtaruian
 
Oracle database 12c client quick installation guide
Oracle database 12c client quick installation guideOracle database 12c client quick installation guide
Oracle database 12c client quick installation guidebupbechanhgmail
 
Operating System & Utility Programme
Operating System & Utility ProgrammeOperating System & Utility Programme
Operating System & Utility Programmebbp2067
 
Chapter02 Managing Hardware Devices
Chapter02      Managing  Hardware  DevicesChapter02      Managing  Hardware  Devices
Chapter02 Managing Hardware DevicesRaja Waseem Akhtar
 
Operating Systems - A Primer
Operating Systems - A PrimerOperating Systems - A Primer
Operating Systems - A PrimerSaumil Shah
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systemsPradeep Kumar TS
 
Design of embedded systems tsp
Design of embedded systems tspDesign of embedded systems tsp
Design of embedded systems tspPradeep Kumar TS
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of ComputersTallat Satti
 
8. internal components of router
8. internal components of router8. internal components of router
8. internal components of routerSwarndeep Singh
 
1 study of motherboard
1 study of motherboard1 study of motherboard
1 study of motherboardAnkit Dubey
 
Process block Control.pptx
Process block Control.pptxProcess block Control.pptx
Process block Control.pptxSureshD94
 

Similar to Cs160 chapter 3 (20)

Bios, processorand motherboard
Bios, processorand  motherboardBios, processorand  motherboard
Bios, processorand motherboard
 
1.1 hardware settings v2
1.1 hardware settings v21.1 hardware settings v2
1.1 hardware settings v2
 
101 1.1 hardware settings v2
101 1.1 hardware settings v2101 1.1 hardware settings v2
101 1.1 hardware settings v2
 
motherboard.pptx
motherboard.pptxmotherboard.pptx
motherboard.pptx
 
File000124
File000124File000124
File000124
 
WinCE
WinCEWinCE
WinCE
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
 
Choosing the right processor
Choosing the right processorChoosing the right processor
Choosing the right processor
 
BSP.pptx
BSP.pptxBSP.pptx
BSP.pptx
 
Oracle database 12c client quick installation guide
Oracle database 12c client quick installation guideOracle database 12c client quick installation guide
Oracle database 12c client quick installation guide
 
Operating System & Utility Programme
Operating System & Utility ProgrammeOperating System & Utility Programme
Operating System & Utility Programme
 
Chapter02 Managing Hardware Devices
Chapter02      Managing  Hardware  DevicesChapter02      Managing  Hardware  Devices
Chapter02 Managing Hardware Devices
 
Operating Systems - A Primer
Operating Systems - A PrimerOperating Systems - A Primer
Operating Systems - A Primer
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
 
Design of embedded systems tsp
Design of embedded systems tspDesign of embedded systems tsp
Design of embedded systems tsp
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of Computers
 
8. internal components of router
8. internal components of router8. internal components of router
8. internal components of router
 
1 study of motherboard
1 study of motherboard1 study of motherboard
1 study of motherboard
 
Plug and play services
Plug and play services Plug and play services
Plug and play services
 
Process block Control.pptx
Process block Control.pptxProcess block Control.pptx
Process block Control.pptx
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 

Cs160 chapter 3

  • 2. HISTORY OF OPERATING SYSTEMS Operating Systems
  • 3. FUNCTIONS OF AN OPERATING SYSTEM  Oversee operation of computer  Store and retrieve files  Schedule programs for execution  Coordinate the execution of programs
  • 9. WINDOWS XP SYSTEM ARCHITECTURE
  • 10. WINDOWS XP SYSTEM ARCHITECTURE
  • 12. THE BOOT PROCESS: BIOS  Custom settings are read from CMOS  Complementary Metal-Oxide Semiconductor  Memory used to store configurable system settings  System setup utility  Power-on self-test (POST) is run to check system function
  • 13. THE BOOT PROCESS: POST  POST  BIOS instructs CPU to read code stored at various locations and compares it to known values  BIOS loads low-level drivers and interrupt handlers for basic hardware  Checks video card  Initializes video BIOS  Tests video card and video memory  BIOS information (version, date, manufacturer) is displayed
  • 14. THE BOOT PROCESS: WARM VS COLD BOOT  BIOS checks memory location 0x0472  Value of 0x1234 indicates a reboot and rest of post is skipped  Any other value indicates a cold boot and the following steps are performed  RAM is tested  Values are written then read from each memory cell  BIOS tests for existence of floppy disks, hard drive, and optical drives
  • 15. THE BOOT PROCESS: HANDOFF  After POST BIOS hands off control to operating system  BIOS instructs CPU to begin executing the operating system boot loader  Code found in sector zero of primary HDD  Operating system replaces many of the device drivers and interrupt vectors that BIOS loaded
  • 16. THE BOOT PROCESS: PLUG AND PLAY ENUMERATION  The operating system adds special device drivers called enumerators  ISA bus enumerator  SCSI bus enumerator  PCI bus enumerator  PCIe bus enumerator  Port enumerator  Operating system asks each enumerator to identify which devices it has and what resources they require
  • 17. THE BOOT PROCESS: RESOURCE ARBITRATION  Operating system assigns resources to each enumerated device  IRQ  DMA  Memory addresses  If no new devices are discovered, stored PnP information is used  Operating system loads appropriate high-level device drivers for each PnP device  Drivers initialize each device
  • 18. THE BOOT PROCESS: FINISHING UP  Operating system mounts disk drives for use  Video drivers are installed to allow for use of video hardware  Operating system services are initialized  User logon screen displayed
  • 20. PROCESSES  Program: a set of instructions given to a computer  Process: a program in execution  Process state: the current status of a process including the contents of the relevant CPU registers
  • 21. PROCESS STATE DIAGRAM New Ready Admitted Running Scheduler dispatch TerminatedExit Interrupt Waiting I/O or event waitI/O or event completion
  • 22. PROCESS ADMINISTRATION  Processes compete for operating system attention and computer resources  Operating system coordinates execution of processes  Scheduler  Dispatcher
  • 23. SCHEDULER  Scheduler manages a pool of processes which are currently being executed  Adds new processes  Removes completed processes  This pool is a collection of process control blocks (PCBs)
  • 24. DISPATCHER  Responsible to ensuring processes get scheduled for CPU time  The act of changing from one process to another is called a context switch  PCBs are packed/unpacked  Cooperative multitasking  Processes remove themselves from running state  Preemptive multitasking  Dispatcher evicts process when time slice expires  Occurs on interrupt
  • 30. USER ACCOUNTS  Privileges assigned according to account type  Super User or Administrator  Standard user  Other role-based accounts
  • 31. HIERARCHICAL PROTECTION DOMAINS (PROTECTION RINGS) Least Privileged Most Privileged Application Shell Ring 3 Ring 2 Kernel Ring 1 Hardware Ring 0