欢迎来到天天文库
浏览记录
ID:58783443
大小:526.50 KB
页数:63页
时间:2020-10-03
《操作系统 精髓与设计原理ppt课件.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter1ComputerSystemOverviewOperatingSystems:InternalsandDesignPrinciples,6/EWilliamStallingsDaveBremerOtagoPolytechnic,N.Z.©2008,PrenticeHallRoadmapBasicElementsProcessorRegistersInstructionExecutionInterruptsTheMemoryHierarchyCacheMemoryI/OCommunicationTechniq
2、uesOperatingSystemExploitsthehardwareresourcesofoneormoreprocessorsProvidesasetofservicestosystemusersManagessecondarymemoryandI/OdevicesAComputer’sBasicElementsProcessorMainMemoryI/OModulesSystemBusProcessorControlsoperation,performsdataprocessingTwointernalregiste
3、rsMemoryaddressresister(MAR)Memorybufferregister(MBR)I/OaddressregisterI/ObufferregisterMainMemoryVolatileDataistypicallylostwhenpowerisremovedReferredtoasrealmemoryorprimarymemoryConsistsofasetoflocationsdefinedbysequentiallynumbersaddressesContainingeitherdataorins
4、tructionsI/OModulesMovesdatabetweenthecomputerandtheexternalenvironmentsuchas:Storage(e.g.harddrive)CommunicationsequipmentTerminalsSpecifiedbyanI/OAddressRegister(I/OAR)SystemBusCommunicationamongprocessors,mainmemory,andI/OmodulesTop-LevelViewRoadmapBasicElementsPr
5、ocessorRegistersInstructionExecutionInterruptsTheMemoryHierarchyCacheMemoryI/OCommunicationTechniquesProcessorRegistersFasterandsmallerthanmainmemoryUser-visibleregistersEnableprogrammertominimizemainmemoryreferencesbyoptimizingregisteruseControlandstatusregistersUse
6、dbyprocessortocontroloperatingoftheprocessorUsedbyprivilegedOSroutinestocontroltheexecutionofprogramsUser-VisibleRegistersMaybereferencedbymachinelanguageAvailabletoallprograms–applicationprogramsandsystemprogramsTypesofregisterstypicallyavailableare:data,address,con
7、ditioncoderegisters.DataandAddressRegistersDataOftengeneralpurposeButsomerestrictionsmayapplyAddressIndexRegisterSegmentpointerStackpointerControlandStatusRegistersProgramcounter(PC)ContainstheaddressofaninstructiontobefetchedInstructionregister(IR)Containstheinstr
8、uctionmostrecentlyfetchedProgramstatusword(PSW)ContainsstatusinformationConditioncodesUsuallypartofthecontrolregisterAlsocalledflag
此文档下载收益归作者所有