Computer System Structures

Slides:



Advertisements
Similar presentations
Computer System Organization Computer-system operation – One or more CPUs, device controllers connect through common bus providing access to shared memory.
Advertisements

System Setup CGS2564. What Happens When You Start up a Computer? BIOS Basic Input Output System A set of programs stored in ROM Contain instructions on.
The Operating System. What is an Operating System? The program that is loaded first and manages the hardware resources like main memory, backing storage.
Genesis: from raw hardware to processes System booting sequence: how does a machine come into life.
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
CS4315A. Berrached:CMS:UHD1 Operating Systems and Computer Organization Chapter 4.
Basic Input Output System
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
EET 450 Chapter 2 – How hardware and Software Work Together.
CS2422 Assembly Language & System Programming November 2, 2006.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Chapter 1: Introduction
Chapter 91 Memory Management Chapter 9   Review of process from source to executable (linking, loading, addressing)   General discussion of memory.
Introduction by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
Computer Organization
Memory Hierarchy.
Computer Startup Sequence Overview
How Hardware and Software Work Together
Chapter 5 Basic Input/Output System (BIOS)
Operating System Concepts Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
COMPUTER MANAGEMENT. System start-up Before switching on a computer, make sure that all the components are properly connected. The computer must be connected.
Four Components of a Computer System. Computer System Components Users (people, machines, other computers) Applications programs – define the ways in.
DOS  In the 1980s or early 1990s, the operating system that shipped with most PCs was a version of the Disk Operating System (DOS) created by Microsoft:
Hardware Boot Sequence. Vocabulary BIOS = Basic Input Output System UEFI = Unified Extensible Firmware Interface POST= Power On Self Test BR = Boot Record.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do (previous.
CS 346 – Chapter 1 Operating system – definition Responsibilities What we find in computer systems Review of –Instruction execution –Compile – link – load.
Virtual Memory Review Goal: give illusion of a large memory Allow many processes to share single memory Strategy Break physical memory up into blocks (pages)
OPERATING SYSTEMS Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department 1.
7.2 Peripheral Supplementary From the view of OS to see interrupt.
1.4 Hardware Review. CPU  Fetch-decode-execute cycle 1. Fetch 2. Bump PC 3. Decode 4. Determine operand addr (if necessary) 5. Fetch operand from memory.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 4 Computer Systems Review.
Computer Software Operating Systems – Programs. Computer Language - Review We learnt that computers are made up of millions of tiny switches that can.
1 ENG224 INFORMATION TECHNOLOGY – Part I 1. Introduction to Computers.
Lecture on Central Process Unit (CPU)
Genesis: From Raw Hardware to Processes Andy Wang Operating Systems COP 4610 / CGS 5765.
Review of Computer System Organization. Computer Startup For a computer to start running when it is first powered up, it needs to execute an initial program.
OSes: 2. Structs 1 Operating Systems v Objective –to give a (selective) overview of computer system architectures Certificate Program in Software Development.
POST and The Boot Process
Bootstrapping Introduction. Bootstrapping Introduction: Computers execute programs stored in main memory, and initially the operating system is on the.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
Computer Technician POST and The Boot Process ©UNT in Partnership with TEA1.
NON STANDARD HARDWARE By the end of this lesson you will be able to: 1. Identify non standard computer hardware 2. Understand ACRONYMS used to describe.
OS Boot Sequence and File System (implication to “Boot Sector Viruses”) Department of Computer Science Southern Illinois University Edwardsville Spring,
IT Chapter 2 Part A How Computers Work Input, process, output, and storage The operating system helps the computer perform four basic operations,
Introduction to Operating Systems Concepts
Tech Level Cyber Security
Computer Basics.
OPERATING SYSTEM CONCEPT AND PRACTISE
Operating Systems Lecture 2.
Chapter Objectives In this chapter, you will learn:
BIOS & CMOS.
Memory Key Revision Points.
CS101 Booting A Computer.
Credits: 3 CIE: 50 Marks SEE:100 Marks Lab: Embedded and IOT Lab
TOPIC 6: SYSTEM START-UP AND CONFIGURATION
CS101 Booting A Computer.
Lesson Objectives Aims You should be able to:
Chapter 1: Introduction
Booting Up 15-Nov-18 boot.ppt.
Starting the computer. Every day we are using an operating system and most specifically a Windows operating system but most of us are not aware of the.
Genesis: From Raw Hardware to Processes
Operating Systems Lecture 2.
Components of a CPU AS Computing - F451.
The Operating system Gives life to the hardware
BIOS Chapter 6.
CS101 Booting A Computer.
Introduction to Computing
CS101 Booting A Computer.
OS Boot Sequence and File System
OS Boot Sequence and File System
Presentation transcript:

Computer System Structures System Operation Computer System Operation Boot Process BIOS, UEFI Loaders, Init Interrupt Driven OS Textbook Silberschatz, Chapter 2

Booting The procedure of starting a computer by loading the kernel is known as booting the system. On most computer systems, a small piece of code known as the bootstrap program or bootstrap loader locates the kernel loads it into main memory and starts its execution. Some computer systems, such as PCs, use a two-step process in which a simple bootstrap loader fetches a more complex boot program from disk which in turn loads the kernel.

After Reset CPU receives a reset event - powered up or rebooted The instruction address register is loaded with a predefined memory location, and execution starts there. At that location is the initial bootstrap program. This program is in the form of read-only memory (ROM), because the RAM is in an unknown state at system startup. ROM is convenient because it needs no initialization (keeps the content with power off computer) and cannot easily be infected by a computer virus.

Bootstrap Program - Requirements. Firmware The bootstrap program should be simple. It should not be lost when the power is off. So it should reside somewhere in ROM. It should know how to load the OS. It should ensure that the hardware is OK. The bootstrap program usually is the part of the larger entity called firmware – something between the hardware and software Firmware is the combination of persistent memory and program code and data stored in it It’s slow, expensive

The Booting Process, BIOS, UEFI, loaders, Init The system’s component   Firmware(BIOS, UEFI, Uboot, bootstrap, ..) Initial Boot Loader OS Loader Init (initial process) Resides on … ROM EEPROM HDD Master Boot Record HDD Partition’s boot sector Kernel The Action Power on. Start the BIOS. Initialize the system hardware. Call IBL Recognize HDD partitions. Choose OS. Call OS loader. Load the OS (kernel). Run kernel’s initial process. All the time continuously run in the system waiting events.

Once more Interrupt driven OS Modern operating systems are interrupt driven. If there are no processes to execute, no I/O devices to service, and no users to whom to respond, an operating system will sit quietly, waiting for something to happen. The occurrence of an event is usually signaled by an interrupt from either the hardware or the software.