UC Santa Cruz CMP 111
Nachos Project Structure

Including ".h" Files in Nachos

Braden Carter / Jim Spring

In Nachos, header files can be located in any of the assignment subdirectories. For any given assignment, the include path for ".h" files is set in the Makefile in that assignment's directory.


Header File Dependencies

If you modify a ".cc.h" file, you should rebuild the dependency in the Makefile by using gmake depend in the current assignment directory. Also related are assignment object-file dependencies, which are in Makefile.common, in the Nachos root directory.


Where to Find a Particular ".h" File

	Header File	Directory		Header File	Directory
	=========================               =========================
	addrspace.h 	userprog		network.h 	machine
	bitmap.h 	userprog		noff.h	 	bin
	coff.h 		bin			openfile.h 	filesys
	console.h 	machine			scheduler.h 	threads
	copyright.h 	threads			stats.h 	machine
	directory.h 	filesys			switch.h 	threads
	disk.h 		machine			synch.h 	threads
	encode.h 	bin			synchdisk.h 	filesys
	filehdr.h 	filesys			synchlist.h 	threads
	filesys.h 	filesys			syscall.h 	userprog
	instr.h 	bin			sysdep.h 	machine
	int.h 		bin			system.h 	threads
	interrupt.h 	machine			thread.h 	threads
	list.h 		threads			timer.h 	machine
	machine.h 	machine			translate.h 	machine
	mipssim.h 	machine			utility.h 	threads

bwcarter@cse.ucsc.edu / jims@cse.ucsc.edu

Last Modified 1996/04/18 02:31:07.