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

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
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
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
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
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
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
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
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"
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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
 
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
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

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