Operating System代写OS框架代码 Logical Memory代写R编程、R设计代写

Operating System代写OS框架代码 Logical Memory代写R编程、R课程设计代写留学生& RequirementIn this assignment, you will implement a logical memory initializer for SOS. The logical memory initializer will initialize the logical address space of a process, and set up the page directory/tables for the process.BackgroundThe background material for this assignment is in Chapter 5 of “Understanding a Simple OperatingSystem.” You must read it (and the previous chapters) before attempting this assignment.Assignment ObjectiveThe file lmemman.c has one incomplete function with TODO blocks. Finish these blocks to complete the assignment.1bool init_logical_memory(PCB *p, uint32_t code_size);This function initializes a process’ logical address space. This involves allocating frames for the process code, stacks, page directory and page tables, and then setting them up. The PCB is passed in the argument p, and the number of bytes in the process’ code and data is in the argument code_size. The function should return TRUE if all goes well; otherwise FALSE. Any frames allocated in the function must be freed if FALSE is returned.User programsThe same user programs as in SOS2 are available in this assignment.SetupDownload the ASG4.zip file from the assignment page. Extract the folder. In SOS3, use ./create to create the SOS.dsk file (just like you did for SOS0, SOS1 and SOS2). Create a new machine called SOS3 in VirtualBox, and use the SOS.vmdk file for the hard drive. Once SOS boots, you can run one of the three available programs. For example, to run p2.c, type%run 1300 2However, for now you will see the message run: Not enough memory. This is because init_logical_memory simply returns FALSE. But once you finish the assignment, you should see the program executing (you will see a series of Bs being printed).SubmissionSubmit in Canvas the modified lmemman.c file, and a README file containing any information you feel the GTA should know before grading your program. Comment your program well (include your name).Grading90 points total : 50 points are allocated for correct setup of the page directory/tables, 10 points for allocating the correct number of frames, 20 points for correct setup of the process PCB’s mem struct, and 10 points for correct return behavior. The assignment will be graded within the SOS development environment. It is your responsibility to ensure that the submitted code runs in that environment (irrespective of where you wrote or tested your code). Failure to do so will result in full penalty.The late policy is available in the course syllabus. You must work alone on this assignment.本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(Operating System代写OS框架代码 Logical Memory代写R编程、R设计代写)