Chapter 1Introduction

Chapter 1Introduction

ID:40801685

大小:5.85 MB

页数:92页

时间:2019-08-07

Chapter 1Introduction_第1页
Chapter 1Introduction_第2页
Chapter 1Introduction_第3页
Chapter 1Introduction_第4页
Chapter 1Introduction_第5页
资源描述:

《Chapter 1Introduction》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、Chapter1IntroductionContents1.1Whatisanoperatingsystem(OS)?1.2HistoryofOS1.3TheOSzoo1.4OSconcept1.5ThefunctionsofOS1.6Systemcalls1.7OSstructure2Operatingsystem(OS)ThejobofOS:Toprovideuserprogramswithabetter,simpler,cleaner,modelofthecomputerTohandlemanagingalltheresources(on

2、eormoreprocessors,somemainmemory,disks,printers,akeyboard,amouse,adisplay,networkinterfaces,andvariousotherinput/outputdevices.)3Twomodesofoperation(运行模式)ofcomputers:Kernelmode(内核态,也称管态、核心态)Usermode(用户态)TheOSrunsinkernelmode,itcanaccesstoallthehardwareandcanexecuteanyinstruc

3、tionthemachineiscapableofexecuting.Therestofthesoftwarerunsinusermode,inwhichonlyasubsetofthemachineinstructionsisavailable.4WheretheOSfitsin51.1WhatisanOS1.1.1TheOSasanextendedmachineTop-downview1.1.2TheOSasaresourcemanagerBottom-upview61.1.1TheOSas anextendedmachineTheOSpr

4、ovidesabstractions(抽象)toapplicationprograms.Goodabstractionsturnanearlyimpossibletaskintotwomanageableones.Thefirstone:defineandimplementtheabstractionsThesecondone:usetheseabstractionstosolvetheproblemathand7OneofthemajortasksoftheOSistohidethehardwareandpresentprograms(and

5、theirprogrammers)withnice,clean,elegant,consistent,abstractionstoworkwithinstead.8OSturnsuglyhardwareintobeautifulabstractions91.1.2TheOSasaresourcemanagerFromthisview,OSisdesignedtomanageallthepiecesofacomplexsystem.ThejobofOSistoprovideforanorderlyandcontrolledallocationof

6、theprocessors,memories,andI/Odevicesamongthevariousprograms.10Resourcemanagementincludesmultiplexingresourcesintwodifferentways:timemultiplexing(时分复用)Forexample:CPU,printerspacemultiplexing(空分复用)Forexample:mainmemory,disk11操作系统(OS)的定义资源管理的观点操作系统是控制和管理计算机软、硬件资源,合理地组织计算机的工作流程,

7、以及方便用户使用的程序集合。本质123用户的观点操作系统是配置在计算机硬件上的第一层软件,是对硬件系统的第一次扩充。121.2HistoryofOSSinceoperatingsystemshavecloselytiedtothearchitectureofthecomputersonwhichtheyrun,wewilllookatsuccessivegenerationsofcomputerstoseewhattheiroperatingsystemswerelike.131.2.1Thefirstgeneration: vacuumtub

8、esInthisgeneration,allprogrammingwasdoneinabsolutemachinelanguage,orevenwor

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。