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.
Set up your source code repository:
Nachos source is available in
~cs170/nachos. This version of Nachos
is for Intel x86 boxes running Solaris 2.7 (note that CSIL
machines are Intel x86 boxes with Solaris 2.7). Copy the
distribution to your directory.
Browse through the Nachos distribution and try to understand the
directory structure. Download and print documentation from the
links off this page.
Build Nachos: go to the top-level directory of your
Nachos directory. Build by typing gmake.
Run the threads demo:
go to the threads subdirectory and type nachos.
You should see printout that looks like
this. If you don't see this, then you need to figure out why Nachos
didn't compile correctly.
Run the userprog demo: go to the userprog subdirectory
and type nachos -x ../test/halt.
This will bring up Nachos and will
run the program called halt in the testdirectory.
Read through the source and make sure the printed result is as
expected. Try nachos -s -x ../test/halt to see how you can
run Nachos in single step mode.
Turnin the entire distribution. To do this, go to the top-level
nachos directory and type: