Nachos n Nachos: – Not Another Completely Heuristic Operating System n Written by Tom Anderson and his students at UC Berkeley http: //www. cs. washington. edu/homes/tom/nachos/
Nachos 4. 0 n An educational OS used to n n n Fact: n n n teach monolithic kernel design and implementation do experiments Real hardware is difficult to handle. May break if handled wrong. Approach: n n Use a virtual MIPS machine Provide some basic OS elements
Nachos 4. 0
Nachos 4. 0 n Simulates MIPS architecture on host system (Unix /Linux/ Windows / Mac. OS X ) n User programs need a cross-compiler (target MIPS) n Nachos appears as a single threaded process to the host operating system
Setup Your System n Get tar-ball from our site: http: //cc. ee. ntu. edu. tw/~farn/courses/OS/_Html/Nachos. htm ftp: //140. 112. 107. 133 port: 21 os/os n Get nachos_40. tar. gz n Untar the file n Compile
Recommended Platform n Redhat Linux 7. 3 n n Install linux directly on your pc. Install linux on virtual machine. n n n http: //www. vmware. com/ http: //www. connectix. com/ NTU IM workstation. host ip: 140. 112. 106. 6~140. 112. 106. 10
Nachos content
Nachos code
How to start n n Read interfaces in the *. h files first. n To have overview of the whole system. Then , read the implementations in the *. cc files. n See how the executable code supports each interface.
Our Project n n n Project 1: System call Project 2: Virtual memory Form groups with 2 persons