• 2.88 MB
  • 2022-04-29 14:21:47 发布

操作系统课件PPT第一章.ppt

  • 36页
  • 当前文档由用户上传发布,收益归属用户
  1. 1、本文档共5页,可阅读全部内容。
  2. 2、本文档内容版权归属内容提供方,所产生的收益全部归内容提供方所有。如果您对本文有版权争议,可选择认领,认领后既往收益都归您。
  3. 3、本文档由用户上传,本站不保证质量和数量令人满意,可能有诸多瑕疵,付费之前,请仔细先通过免费阅读内容等途径辨别内容交易风险。如存在严重挂羊头卖狗肉之情形,可联系本站下载客服投诉处理。
  4. 文档侵权举报电话:19940600175。
'IntroductionChapter11.1Whatisanoperatingsystem1.2Historyofoperatingsystems1.3Theoperatingsystemzoo1.4Computerhardwarereview1.5Operatingsystemconcepts1.6Systemcalls1.7Operatingsystemstructure1 IntroductionAcomputersystemconsistsofhardwaresystemprogramsapplicationprograms2 WhatisanOperatingSystemItisanextendedmachineHidesthemessydetailswhichmustbeperformedPresentsuserwithavirtualmachine,easiertouseItisaresourcemanagerEachprogramgetstimewiththeresourceEachprogramgetsspaceontheresource3 HistoryofOperatingSystems(1)Earlybatchsystembringcardsto1401readcardstotapeputtapeon7094whichdoescomputingputtapeon1401whichprintsoutput4 HistoryofOperatingSystems(2)Firstgeneration1945-1955vacuumtubes,plugboardsSecondgeneration1955-1965transistors,batchsystemsThirdgeneration1965–1980ICsandmultiprogrammingFourthgeneration1980–presentpersonalcomputers5 HistoryofOperatingSystems(3)StructureofatypicalFMSjob–2ndgeneration6 HistoryofOperatingSystems(4)Multiprogrammingsystemthreejobsinmemory–3rdgeneration7 TheOperatingSystemZooMainframeoperatingsystemsServeroperatingsystemsMultiprocessoroperatingsystemsPersonalcomputeroperatingsystemsReal-timeoperatingsystemsEmbeddedoperatingsystemsSmartcardoperatingsystems8 ComputerHardwareReview(1)ComponentsofasimplepersonalcomputerMonitorBus9 ComputerHardwareReview(2)(a)Athree-stagepipeline(b)AsuperscalarCPU10 ComputerHardwareReview(3)Typicalmemoryhierarchynumbersshownareroughapproximations11 ComputerHardwareReview(4)Structureofadiskdrive12 ComputerHardwareReview(5)Onebase-limitpairandtwobase-limitpairs13 ComputerHardwareReview(6)(a)StepsinstartinganI/Odeviceandgettinginterrupt(b)HowtheCPUisinterrupted(a)(b)14 ComputerHardwareReview(7)StructureofalargePentiumsystem15 OperatingSystemConcepts(1)AprocesstreeAcreatedtwochildprocesses,BandCBcreatedthreechildprocesses,D,E,andF16 OperatingSystemConcepts(2)(a)Apotentialdeadlock.(b)anactualdeadlock.17 OperatingSystemConcepts(3)Filesystemforauniversitydepartment18 OperatingSystemConcepts(4)Beforemounting,filesonfloppyareinaccessibleAftermountingfloppyonb,filesonfloppyarepartoffilehierarchy19 OperatingSystemConcepts(5)Twoprocessesconnectedbyapipe20 StepsinMakingaSystemCallThereare11stepsinmakingthesystemcallread(fd,buffer,nbytes)21 SomeSystemCallsForProcessManagement22 SomeSystemCallsForFileManagement23 SomeSystemCallsForDirectoryManagement24 SomeSystemCallsForMiscellaneousTasks25 SystemCalls(1)Astrippeddownshell:while(TRUE){/*repeatforever*/type_prompt();/*displayprompt*/read_command(command,parameters)/*inputfromterminal*/if(fork()!=0){/*forkoffchildprocess*//*Parentcode*/waitpid(-1,&status,0);/*waitforchildtoexit*/}else{/*Childcode*/execve(command,parameters,0);/*executecommand*/}}26 SystemCalls(2)Processeshavethreesegments:text,data,stack27 SystemCalls(3)(a)Twodirectoriesbeforelinking/usr/jim/memotoast"sdirectory(b)Thesamedirectoriesafterlinking28 SystemCalls(4)(a)Filesystembeforethemount(b)Filesystemafterthemount29 SystemCalls(5)SomeWin32APIcalls30 OperatingSystemStructure(1)Simplestructuringmodelforamonolithicsystem31 OperatingSystemStructure(2)StructureoftheTHEoperatingsystem32 OperatingSystemStructure(3)StructureofVM/370withCMS33 OperatingSystemStructure(4)Theclient-servermodel34 OperatingSystemStructure(5)Theclient-servermodelinadistributedsystem35 MetricUnitsThemetricprefixes36'