- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
04-启动nachos讲义
Nachos启动 Machine 类 machine.main() The master class of the simulated machine. processArgs() 处理nachos的命令行参数 createDevices() 结合nachos.conf的参数构造所有的模拟硬件 interrupt timer bank processor StandardConsole StubFileSystem NetworkLink checkUserClasses() 检查相应类及方法的完整性 启动Autograder Loads the kernel, and then tests it using Kernel.selfTest(). Processes command line argumentsmachine.processArgs() nachos [Option] Options: -d debug flags Enable some debug flags, e.g. -d ti -h Print this help message. -m pages Specify how many physical pages of memory to simulate. -s seed Specify the seed for the random number generator (seed is a long). machine.processArgs() -x program Specify a program that UserKernel.run() should execute, instead of the value of the configuration variable Kernel.shellProgram -z print the copyright message -- grader class Specify an autograder class to use, instead of nachos.ag.AutoGrader -# grader arguments Specify the argument string to pass to the autograder. -[] config file Specifiy a config file to use, instead of nachos.conf machine.main() The master class of the simulated machine. processArgs() 处理nachos的命令行参数 createDevices() 结合nachos.conf的参数构造所有的模拟硬件 interrupt timer bank processor StandardConsole StubFileSystem NetworkLink checkUserClasses() 检查相应类及方法的完整性 启动Autograder Loads the kernel, and then tests it using Kernel.selfTest(). nachos.conf(for Proj1) Machine.stubFileSystem = false Machine.processor = false Machine.console = false Machine.disk = false Machine.bank = false Machine.networkLink = false ElevatorBank.allowElevatorGUI = true NachosSecurityManager.fullySecure = false ThreadedKernel.scheduler = nachos.threads.RoundRobinScheduler #nachos.threads.PriorityScheduler Kernel.kernel = nachos.threads.ThreadedKernel nachos.conf(for Proj2) Machine.stubFileSystem = true Machine.processor = true Machine.console = true Machine.disk = false Machine.bank = false Machine.networkLink = false Processor.usingTLB = false Processor.numPhysPages = 64 nac
您可能关注的文档
最近下载
- 基础工程课程设计计算书.doc VIP
- 罗克韦尔(AB) PowerFlex 750 系列交流变频器编程手册 中文.pdf VIP
- 提高住院患者大小便标本送检率PDCA.pptx VIP
- Yamaha 雅马哈 乐器音响 CL5 CL3 CL1 V4.0 Reference Manual [中文] 用户手册.pdf
- 外周T细胞淋巴瘤课件.pptx
- 中国电信以太智能专线STN(Smart Transport Network)专线培训.pdf VIP
- 宣传制作类项目服务方案.docx VIP
- 小学残疾儿童送教上门教案(40篇).pdf VIP
- 加油站从业人员安全培训.ppt
- 人教版七年级上册《从算式到方程》说课课件三套.pptx VIP
原创力文档


文档评论(0)