Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JNachos file download: http://web.ecs.syr.edu/~pjmcswee/cis486/jnachos.zip JNachos can easily be divided into Kernel Space and User Space. Any code written in Java is Kernel-Space (or emulated machine),
JNachos file download: http://web.ecs.syr.edu/~pjmcswee/cis486/jnachos.zip
JNachos can easily be divided into Kernel Space and User Space. Any code written in Java is Kernel-Space (or emulated machine), while any code written in C is User Space code. If you open the test directory under JNachos you will see several programs: halt, matmult, shell and sort. These are executable programs that can run in JNachos. If you navigate to the test/src directory you will find the source code for the executables. These source files require special compiles as they are not compiled into intel executable code but into the MIPS assembly language. To run programs on your native file system, you can use the change the file system in JNachos.java: mFileSystem = new NachosFileSystem(format): to mFileSystem = new JavaFileSystem(format): What is the purpose of the Machine Run function? What does the emulated main memory look like (datatype) in JNachos? How much RAM does JNachos machine have? How can I run a user program in JNachos? (At the command line). Why is the last line in JNachos startProcess never executed? Which class maintains the memory map and loads executable memory images from the file system? What system calls are currently implemented in JNachos? Is JNachos currently multiprogrammed or uniprogrammed? What is the purpose of the Timer object in JNachos? Explain the call graph from executing user instructions to running a system call implementation. Why can interrupts occur at every user-instruction versus only when interrupts go from off to on in Kernel mode? If the user space/mode runs on the simulated hardware, where does kernel space/mode run? If we consider JNachos to be a process running on top of the JVM on an arbitrary operating system, then what arc NachosProcesscs? If we consider JNachos to be an Operating system, what are NachosProcesses? Explain why we do not see the actual changing of registers in JNachos when switching between kernel processesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started