lab2 - Lab 2: User Space in JNachos Note: All of the...

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

View Full Document Right Arrow Icon
Lab 2: User Space in JNachos Note: All of the answers in today’s lab will be covered in lab- lecture. However, if you have missed lab, then you can still find the answers by digging through the source code (as everyone should be doing) and following up with myself and Chetan in our office hours. 1. User-Space versus Kernel-Space 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 executa- bles. These files are only compilable on the University UNIX systems, as they are not compiled into intel executable code but into the MIPS assembly language. Answer the following questions based on the lab lecture.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

lab2 - Lab 2: User Space in JNachos Note: All of the...

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

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