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.
cp ~cs170/nachosSept20.tar.gz .
gunzip nachosSept20.tar.gz
tar xvf nachosSept20.tar
One sub-directory will be created: nachos-3.4
.
Your project work should use and edit files under the code
sub-directory of nachos-3.4
.
code
directory of under nachos-3.4
and typing gmake
.
Make sure you're using the Linux version of NACHOS and build it on an 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 has been generated
under test
subdirectory of Nachos. The following lines are in Makefile produces this binary with the MIPS format.
halt
binary is generated,
go to the userprog
subdirectory of
NACHOS and type ./nachos -x
../test/halt. This will bring 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!