Project - University of Central Florida School of...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Central Florida School of Electrical Engineering and Computer Science COT4600 - Operating Systems. Fall 2009 - dcm Class Project: simulate the operation of a simple kernel for a computer system. The simulator should be written in Java; the students who are not familiar with Java could use C or C++; the code should be amply commented. Keep in mind that the simulator becomes increasingly more complex as you add more functions to it and a good design is one that has the ability to accommodate changes. The detailed design and the functions supported by the simulator are left to the student, we only provide some hints for minimal functionality. The more functions your simulator supports, the more points the project deserves. Do not procrastinate, start working on the project immediately; think carefully before starting the implementation. It takes more time than you think to design the system and even longer to implement and test it. For each phase you are expected to submit a two to four page design outline. Email the code, the instruction how to test it, and the design outline to the TA only. Make sure that you get an acknowledgment from the TA that your submission has been received. The project involves multiple phases: 1. Simulate a processor with a minimal instruction set operating in kernel and user mode. Due week 4. 2. Virtualize the memory. Design and implement a paging system and a virtual memory manager. Due week 8. 3. Virtualize the processor. Add a thread management system. Due week 10. 4. Add a virtual communication channel allowing threads to communicate using a bounded buffer and send and receive primitives. Due week 14. The analysis of resource virtualization (memory, processor, communication channels) is cov- ered in Chapter 5 and will be covered in class starting with Lecture 17. To have sufficient time to complete the project the students are encouraged to read ahead the topics regarding virtual memory and threads and to ask questions regarding the implementation during the class or at the office hours. The Processor The processor operates either in user mode when it uses the user registers, or in kernel mode when it uses the kernel registers. The processor has several registers: 1. Mode Register: set to 1 in user mode and to 0 in kernel mode: MR 1 for user mode and MR 0 for kernel mode 2. User mode Program Counter- UPC
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Stack Pointer - USP Page Map Address Register - UPMAR 16 General Purpose Registers: R 0– R 15 3. Kernel mode Program Counter- KPC Stack Pointer - KSP Page Map Address Register - KPMAR 16 General Purpose Registers: KR 0 - KR 15 The processor operates on 32 bit words (or 4 byte words) and has 32 bit registers. The
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/15/2012 for the course COP 4600 taught by Professor Montagne during the Fall '08 term at University of Central Florida.

Page1 / 6

Project - University of Central Florida School of...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online