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 tsp
Design of embedded systems tspDesign of embedded systems tsp
Design of embedded systems tspPradeep Kumar TS
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systemsPradeep 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 tsp
Design of embedded systems tspDesign of embedded systems tsp
Design of embedded systems tsp
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
 
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

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Recently uploaded (20)

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
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
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 

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