西电软院OS复习整理.pdf

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
西电软院OS复习整理

OS 管锥九篇 昔者有云:以管窥天,所窥者大,所见者小;以锥插地,所刺者巨,所中者小。 OS 乃恩师航博士亲自授传。临至期末,始觉有kd 之嫌,众人之惑正亦。 不求高分但求保过,亲自总结此文,名曰管锥九篇。寓意乃 OS 本博大精深,此文不过管锥 之见,应对考试而已。 但愿有缘人从中拾得一点收获,己莫大满足矣。 癸巳年岁末于西电 李欢 一 简介 1. For this reason,computers are equipped with a layer of software called the operating system, whose job is to provide user programs with a better, simpler, cleaner, model of the computer and to handle managing all the resources just mentioned. 2. The program that users interact with, usually called the shell when it is text based and the GUI (Graphical User Interface). 3. Most computers have two modes of operation:kernel mode and user mode.The operating system is the most fundamental piece of soft-ware and runs in kernel mode(also called supervisor mode).In this mode it has complete access to all the hardware and can execute any instruction the machine is capable of executing.The rest of the software runs in user mode,in which only a subset of the machine instructions is available. 内核态中,OS 拥有对所有的硬件的完全访问权,可以执行及其能够运行的任何指令。软件的 其余部分运行在用户态下,只使用了机器指令中的一个子集。 4. To obtain services from the operating system, a user program must make a system call, which traps into the kernel and invokes the operating system. 二 进程和线程 Processes 1. 进程拥有各自独立的地址空间,进程共用一段地址空间。 2. In this model, all the runnable software on the computer, sometimes including the operating system, is organized into a number of sequential processes, or just processes for short. A process is just an instance of an executing program, in-cluding the current values of the program counter, registers, and variables. Con-ceptually, each process has its own virtual CPU. In reality, of course, the real CPU switches back and forth from process to process. 3. This rapid switching back and forth is called multiprogramming. Some-times people speak of pseudoparalleli

您可能关注的文档

文档评论(0)

dajuhyy + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档