- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 血栓性疾病的实验检测王鸿利.pdf
- 血液及骨髓细胞学实习带教技巧.pdf
- 血液和血细胞的发生-组织胚胎学-PDF课件-上海交通大学-06.pdf
- 血栓弹力图的应用.pdf
- 蚯蚓堆肥技术与高值化产品开发.pdf
- 血液生化-医学生物化学-PDF课件-上海交通大学医学院-18.pdf
- 血浆置换.pdfx.pdf
- 血液专科-2015.pdf
- 血培养及PCT检测在脓毒症诊治(2014年12月19日甘肃).pdf
- 血流动力学监测及临床意义.pdf
- 第12课 我们小点儿声 课件 二年级道德与法治上册(部编版).ppt
- 11.2我从哪里来(教学课件)二年级道德与法治下册(统编版).ppt
- 第10课 我们不乱扔 课件 二年级道德与法治上册(部编版).ppt
- 1.3过好我们的课余生活 课件五年级道德与法治上册(部编版).ppt
- 第四单元《法律保护我们健康成长》大单元整体学程设计道德与法治六年级上册统编版.pdf
- 第十一课:多姿多彩的民间艺术(分层练习)四年级道法下册 部编版.pdf
- 第八课:大家的“朋友”(分层练习)三年级道法下册 部编版.pdf
- 第5课 我爱我们班 课件 二年级道德与法治上册(部编版).ppt
- 第二单元 我们是公民 大单元整体学程设计道德与法治六年级上册统编版.pdf
- 人教部编版二年级语文下册第五单元单元教学课件.ppt
文档评论(0)