《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 1 Overview of an Operating System

OperatingSystemsChapter 1Overview of an Operating System1
Operating Systems Chapter 1 Overview of an Operating System 1

ObjectivesOverviewofos-OverviewofComputerSystem:Organization&Architecture- Whatis an Oos-OsOperation:Interrupt-drivenviasystemcallMajorOS Components-ProcessManagement一MemoryManagement-StorageManagementKernelDataStructuresComputingEnvironments&Open-SourcedOs
Objectives • Overview of OS – Overview of Computer System: Organization & Architecture – What is an OS – OS Operation: Interrupt-driven via system call • Major OS Components – Process Management – Memory Management – Storage Management • Kernel Data Structures • Computing Environments & Open-Sourced OS

Before wetalkabout OS..Overview of Computer System-System Organization-Storage Structure-System Architecture3
Before we talk about OS. Overview of Computer System -System Organization -Storage Structure -System Architecture 3

ComputerSystemOrganization: Computer-system organization- One or more CPUs, device controllers connect throughcommon bus providing access to shared memory- Concurrent execution of cPUs and devices competing formemory cyclesprinterkeyboardmonitormousediskson-linediskgraphicsCPUUSBcontrollercontrolleradaptermemory
Computer System Organization • Computer-system organization – One or more CPUs, device controllers connect through common bus providing access to shared memory – Concurrent execution of CPUs and devices competing for memory cycles

Computer-SystemOrganization· I/O devices and the CPU can execute concurrently- Each device controller is in charge of a particular device typeEachdevicecontrollerhasalocal buffer-CPUmovesdatafrom/tomainmemoryto/fromlocalbuffers-Device controller informs CPU that it has finished its operation bycausinganinterrupt
Computer-System Organization • I/O devices and the CPU can execute concurrently – Each device controller is in charge of a particular device type – Each device controller has a local buffer – CPU moves data from/to main memory to/from local buffers – Device controller informs CPU that it has finished its operation by causing an interrupt

ComputerStartup· bootstrap program is loaded at power-up or reboot-TypicallystoredinROMorEPROM,generallyknownasfirmware- Initializes all aspects of system Loads operating system kernel into memory and startsexecution: System processes or system daemons- Run the entire time the kernel is running- On UNIX, the first system process is "init" After fully booted, waits for events to occur-Signaledbyinterrupt
Computer Startup • bootstrap program is loaded at power-up or reboot – Typically stored in ROM or EPROM, generally known as firmware – Initializes all aspects of system – Loads operating system kernel into memory and starts execution • System processes or system daemons – Run the entire time the kernel is running – On UNIX, the first system process is “init” • After fully booted, waits for events to occur – Signaled by interrupt

InterruptHandlingInterrupt can be triggered by hardware or softwareHardwaresendssignaltoCPU- Software executes a special operation: system callInterrupt procedure- CPU stops what is doing- Execute the service routine for the interrupt-CPUresumes? Operating system is interrupt driven
Interrupt Handling • Interrupt can be triggered by hardware or software – Hardware sends signal to CPU – Software executes a special operation:system call • Interrupt procedure – CPU stops what is doing – Execute the service routine for the interrupt – CPU resumes • Operating system is interrupt driven

InterruptTimelineCPUuserprocessexecutingVOinterruptprocessingVOidledevicetransferring1/O1/Otransfertransferdonedonerequestrequest
Interrupt Timeline

CommonFunctionsofInterruptsEach computer design has its own interrupt mechanismInterrupt transfers control to the interrupt service routine- A table of pointers to interrupt routines, the interrupt vector, canbe used to provide necessaryspeedThetable of pointers is stored inlowmemoryInterrupt architecture must save the address of theinterruptedinstruction- Modern architectures store the return address on system stack
Common Functions of Interrupts • Each computer design has its own interrupt mechanism • Interrupt transfers control to the interrupt service routine – A table of pointers to interrupt routines, the interrupt vector, can be used to provide necessary speed – The table of pointers is stored in low memory • Interrupt architecture must save the address of the interrupted instruction – Modern architectures store the return address on system stack

Overview of Computer System-System Organization-Storage Structure-System Architecture10
Overview of Computer System -System Organization -Storage Structure -System Architecture 10
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《计算机网络》课程教学资源(PPT课件)第六章 应用层.pptx
- 《计算机网络》课程教学资源(PPT课件)第五章 传输层.pptx
- 《计算机网络》课程教学资源(PPT课件)第四章 网络层.pptx
- 《计算机网络》课程教学资源(PPT课件)第三章 数据链路层.pptx
- 《计算机网络》课程教学资源(PPT课件)第二章 物理层.pptx
- 《计算机网络》课程教学资源(PPT课件)第一章 概述.pptx
- 《智能算法设计与应用》课程教学大纲 Intelligent Algorithm Design and Application.docx
- 《数字导航技术》课程教学资源(书籍文献)计算机视觉-马颂德.pdf
- 《C语言程序设计》课程参考文献:Programming languages — C(PDF电子书,英文版).pdf
- 《操作系统》课程教学资源(PPT课件)课程简介 Operating System.pptx
- 《操作系统》课程教学资源(PPT课件)第1章 操作系统引论.pptx
- 《操作系统》课程教学资源(PPT课件)第2章 进程的描述和控制.pptx
- 《操作系统》课程教学资源(PPT课件)第3章 处理机调度与死锁.pptx
- 《操作系统》课程教学资源(PPT课件)第5章 虚拟存储器.pptx
- 《操作系统》课程教学资源(PPT课件)第6章 输入输出系统.pptx
- 《操作系统》课程教学资源(PPT课件)第7章 文件管理.pptx
- 《操作系统》课程教学资源(PPT课件)第8章 磁盘存储器的管理.pptx
- 《操作系统》课程教学资源(PPT课件)第4章 存储器管理.pptx
- 《程序设计基础》课程实验教学大纲(计算机科学与技术专业).docx
- 《程序设计基础》课程实验教学大纲(网络工程专业).docx
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 2 Operating System Structures.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 3 Process Concepts & Operations(part1).pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 3 Process Concepts & Operations(part2)from Kernel's Perspective.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 4 Threads.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 5 Process Communication & Synchronization(part1).pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 5 Process Communication & Synchronization -Part 2.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 6 Process Scheduling.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 7 Memory Management part1.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 7 Memory Management part2.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 8 Mass Storage.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 9 File Systems part1.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 9 File Systems part2.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 10 Details of FAT32.pdf
- 《操作系统原理与设计 Operating System Principles and Implementation》课程教学课件(英文讲稿)Chapter 10 Details of Ext2/3 File System.pdf
- 北京工业大学:信息科学技术学院《C#程序设计基础》课程教学大纲 Fundamentals of Programming Principle and Practice in C#.pdf
- 北京工业大学:计算机学院本科课程教学大纲汇编(2024).pdf
- 揭阳职业技术学院:《计算机应用基础》课程授课教案(讲义,2025).pdf
- 《C语言程序设计》课程教学课件(PPT讲稿)第10章 对文件的输入输出.pptx
- 《C语言程序设计》课程教学课件(PPT讲稿)第01章 程序设计和C语言.pptx
- 《C语言程序设计》课程教学课件(PPT讲稿)第02章 算法——程序的灵魂.pptx
