The purpose of this assignment is for
you to familiarize yourself with the various tools we will be using this quarter. Work
through the steps outlined below, and submit your source code repository as indicated. Get
started as soon as possible, since it may take you some time to accomplish some of these
tasks properly.
TA will NOT grade this project, but will notify if the submitted project is received.
tar xvf ~cs170/src/nachos/nachos2006.tar
Two subdirectories will be created: nachos-3.4
and gnu-decstation-ultrix
.
Your project work should use and edit files under the code
subdirectory of nachos-3.4
.
gmake
.
Make sure you're using the Linux version of NACHOS and build it on a x86
machines.threads
subdirectory of
NACHOS and type ./nachos
.
You should see printout that looks like this. If you
don't see this, then you need to find out why NACHOS didn't compile correctly. halt
user program under test
subdirectory of Nachos. You need to make sure that the following lines are in Makefile so that
a proper binary with the MIPS format is generated.
halt
binary,
go to the userprog
subdirectory of
NACHOS and type ./nachos -x
../test/halt. This will brign up NACHOS system
and run the above user program named halt
under the test
directory. Read through the source codes and make sure the print out result
is exactly as it should be. You may also want to try ./nachos -s -x
../test/halt
to see how you can run NACHOS in single step mode.
You can turnin up to 3 times per project and not more than that! The
earlier versions will be discarded.
Please include a
HW0_WRITEUP file under the root directory of your code that lists the names
and emails of your group members. If your group has not been assembled yet,
please indicate so in your HW0_WRITEUP.
Note: only one turnin per group/individual is accepted!