电机资讯工程实习个人电脑系统(英文版).ppt
《电机资讯工程实习个人电脑系统(英文版).ppt》由会员分享,可在线阅读,更多相关《电机资讯工程实习个人电脑系统(英文版).ppt(39页珍藏版)》请在三一办公上搜索。
1、1,EE110300 電機資訊工程實習Lecture 3 個人電腦系統 II-Operating Systems,2,What is an operating system?Definition,An operating system is the“permanent”software that controls/abstracts hardwareUser applications can thus be simpler and device-independent,physical machine interface,User Applications,Operating System,A
2、rchitecture,virtual machine interface,3,What is an operating system?Definition(cont),Manages resources and processes to support different user applicationsProvides Applications Programming Interface(API)for user applications,User Application,Operating System,Architecture,User Application,4,Modern op
3、erating systems,x86 platformLinuxWindowsMac platform Mac OSSun Solaris&Unix(Sun workstations)IBM AIX(mainframes)Embedded systems(special-purpose OS)Palm,PocketPC,etcXbox,etc,5,Linus Torvalds,1991,Finland,Linux Project1992,Linux Kernel 0.02Bash v1.08GCC v1.401997,Moves to Transmeta1998,Linux Kernel v
4、2.22001,Linux Kernel v2.4Pronunciation:“Linn-ucks”,6,Windows 2000&XP,1989:10 developers left DEC VMS team and joined Microsoft Windows NT 1.01996:Windows NT 4.01999:Windows 20002001:Windows XP2002:Microsoft.Net Server,7,Linux vs.Windows NT,Linux is kernel only,free and open sourceWindows is full-loa
5、ded OS and pricyLinux requires minimum HW,Windows notWeb server(Win2K+SWC)beats(Linux+TUX)File server&printer serverWindows supports a wider range of HWLinux has more stable drivers,8,Operating System Interfaces,9,Software&hardware layer,User Program,Executable Binary,Compiler,Linker,System library,
6、Architecture,user,compiler,OS interface,OS,Hardware,device drivers,Operating System,kernel,user mode,10,Device Driver,Device driver的唯一目的就是要將所有的硬體隱藏.他應該是整套軟體中唯一能和硬體溝通的窗口.他能直接讀取或寫入特定裝置控制及狀態暫存器,如果裝置發生中斷,那ISR也要整合到裝置驅動程式.,11,System service call(monitor),C Programs:main()/call printf,provided/by the C lib
7、rary,to/print on the screenprintf(“Hello World!”);,Borland C library:Int printf()/call SysOutputString,/provided by NT/system library,to/print on the screenSysOutputString();,NT library:Void SysOutputString()/call NtOutputString,that in turn will call/video card driver to output strings to/the scree
8、nNtOutputString();,12,System service call(disk),C Programs:main()/call CreateFile/by the C library,to/create a file on diskCreateFile(“a.txt”),Borland C library:Int CreateFile()/call NtCreateFile,/provided by NT to/create a fileNtCreateFile();,NT library:Void NtCreateFile()/call NtInternalCreateFile
9、,that in turn will/call the file system driver and the disk/driver to create a file on a disk NtInternalCreateFile();,13,System service calls(network),C Programs:main()so=createsocket();send(so,“text”);close(so);,Borland C library:int createsocket()NtCreateSocket();int send()NtSocketSend();,NT libra
10、ry:Void NtCreateSocket()NtAfdCreateSocket();,14,15,Virtual computer concept,C+compiler,FORTRAN compiler,C compiler,Java compiler,Assembler,OperatingSystemCommandinterpreter,LISP interpreter,Operating system,Macroinstruction interpreter,Bare machine,Virtual CComputer,Virtual C+Computer,16,Importance
11、of operating system,System API are the only interface between user applications and hardwareAPI are designed for general-purpose,not performance driven(work applications)OS code cannot allow any bugAny break(e.g.invalid access)causes rebootThe owner of OS technology controls the software industry,17
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 电机 资讯 工程 实习 个人电脑 系统 英文
![提示](https://www.31ppt.com/images/bang_tan.gif)
链接地址:https://www.31ppt.com/p-6318101.html