├── Makefile ├── Makefile.common ├── Makefile.dep ├── README.md ├── bin ├── Makefile ├── coff.h ├── coff2flat.c ├── coff2noff.c ├── d.c ├── disasm.c ├── encode.h ├── execute.c ├── halt ├── instr.h ├── int.h ├── main.c ├── noff.h ├── opstrings.c ├── out.c └── system.c ├── filesys ├── Makefile ├── directory.cc ├── directory.h ├── filehdr.cc ├── filehdr.h ├── filesys.cc ├── filesys.h ├── fstest.cc ├── openfile.cc ├── openfile.h ├── synchdisk.cc ├── synchdisk.h └── test │ ├── big │ ├── medium │ └── small ├── machine ├── TLBManager.cc ├── TLBManager.h ├── console.cc ├── console.h ├── disk.cc ├── disk.h ├── interrupt.cc ├── interrupt.h ├── machine.cc ├── machine.h ├── mipssim.cc ├── mipssim.h ├── network.cc ├── network.h ├── stats.cc ├── stats.h ├── sysdep.cc ├── sysdep.h ├── timer.cc ├── timer.h ├── translate.cc └── translate.h ├── network ├── Makefile ├── README ├── nettest.cc ├── post.cc └── post.h ├── test ├── Makefile ├── halt.c ├── matmult.c ├── script ├── shell.c ├── sort.c ├── start.c └── start.s ├── threads ├── Makefile ├── bool.h ├── copyright.h ├── list.cc ├── list.h ├── main.cc ├── scheduler.cc ├── scheduler.h ├── stdarg.h ├── switch-old.s ├── switch.c ├── switch.h ├── switch.s ├── synch.cc ├── synch.dis ├── synch.h ├── synchlist.cc ├── synchlist.h ├── system.cc ├── system.h ├── thread.cc ├── thread.h ├── threadmanager.cc ├── threadmanager.h ├── threadtest.cc ├── utility.cc └── utility.h ├── userprog ├── Makefile ├── addrspace.cc ├── addrspace.h ├── bitmap.cc ├── bitmap.h ├── exception.cc ├── progtest.cc └── syscall.h └── vm ├── Makefile ├── MemoryManager.cc ├── MemoryManager.h ├── PhyMemManager.cc ├── PhyMemManager.h ├── SwappingLRU.cc ├── SwappingLRU.h ├── SwappingManager.cc ├── SwappingManager.h ├── SwappingStrategy.h ├── VirtMemManager.cc └── VirtMemManager.h /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.common: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/Makefile.common -------------------------------------------------------------------------------- /Makefile.dep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/Makefile.dep -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/Makefile -------------------------------------------------------------------------------- /bin/coff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/coff.h -------------------------------------------------------------------------------- /bin/coff2flat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/coff2flat.c -------------------------------------------------------------------------------- /bin/coff2noff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/coff2noff.c -------------------------------------------------------------------------------- /bin/d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/d.c -------------------------------------------------------------------------------- /bin/disasm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/disasm.c -------------------------------------------------------------------------------- /bin/encode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/encode.h -------------------------------------------------------------------------------- /bin/execute.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/execute.c -------------------------------------------------------------------------------- /bin/halt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/halt -------------------------------------------------------------------------------- /bin/instr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/instr.h -------------------------------------------------------------------------------- /bin/int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/int.h -------------------------------------------------------------------------------- /bin/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/main.c -------------------------------------------------------------------------------- /bin/noff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/noff.h -------------------------------------------------------------------------------- /bin/opstrings.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/opstrings.c -------------------------------------------------------------------------------- /bin/out.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/out.c -------------------------------------------------------------------------------- /bin/system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/bin/system.c -------------------------------------------------------------------------------- /filesys/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/Makefile -------------------------------------------------------------------------------- /filesys/directory.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/directory.cc -------------------------------------------------------------------------------- /filesys/directory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/directory.h -------------------------------------------------------------------------------- /filesys/filehdr.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/filehdr.cc -------------------------------------------------------------------------------- /filesys/filehdr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/filehdr.h -------------------------------------------------------------------------------- /filesys/filesys.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/filesys.cc -------------------------------------------------------------------------------- /filesys/filesys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/filesys.h -------------------------------------------------------------------------------- /filesys/fstest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/fstest.cc -------------------------------------------------------------------------------- /filesys/openfile.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/openfile.cc -------------------------------------------------------------------------------- /filesys/openfile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/openfile.h -------------------------------------------------------------------------------- /filesys/synchdisk.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/synchdisk.cc -------------------------------------------------------------------------------- /filesys/synchdisk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/synchdisk.h -------------------------------------------------------------------------------- /filesys/test/big: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/test/big -------------------------------------------------------------------------------- /filesys/test/medium: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/filesys/test/medium -------------------------------------------------------------------------------- /filesys/test/small: -------------------------------------------------------------------------------- 1 | This is the spring of our discontent. 2 | -------------------------------------------------------------------------------- /machine/TLBManager.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/TLBManager.cc -------------------------------------------------------------------------------- /machine/TLBManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/TLBManager.h -------------------------------------------------------------------------------- /machine/console.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/console.cc -------------------------------------------------------------------------------- /machine/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/console.h -------------------------------------------------------------------------------- /machine/disk.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/disk.cc -------------------------------------------------------------------------------- /machine/disk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/disk.h -------------------------------------------------------------------------------- /machine/interrupt.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/interrupt.cc -------------------------------------------------------------------------------- /machine/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/interrupt.h -------------------------------------------------------------------------------- /machine/machine.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/machine.cc -------------------------------------------------------------------------------- /machine/machine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/machine.h -------------------------------------------------------------------------------- /machine/mipssim.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/mipssim.cc -------------------------------------------------------------------------------- /machine/mipssim.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/mipssim.h -------------------------------------------------------------------------------- /machine/network.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/network.cc -------------------------------------------------------------------------------- /machine/network.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/network.h -------------------------------------------------------------------------------- /machine/stats.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/stats.cc -------------------------------------------------------------------------------- /machine/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/stats.h -------------------------------------------------------------------------------- /machine/sysdep.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/sysdep.cc -------------------------------------------------------------------------------- /machine/sysdep.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/sysdep.h -------------------------------------------------------------------------------- /machine/timer.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/timer.cc -------------------------------------------------------------------------------- /machine/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/timer.h -------------------------------------------------------------------------------- /machine/translate.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/translate.cc -------------------------------------------------------------------------------- /machine/translate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/machine/translate.h -------------------------------------------------------------------------------- /network/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/network/Makefile -------------------------------------------------------------------------------- /network/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/network/README -------------------------------------------------------------------------------- /network/nettest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/network/nettest.cc -------------------------------------------------------------------------------- /network/post.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/network/post.cc -------------------------------------------------------------------------------- /network/post.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/network/post.h -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/halt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/test/halt.c -------------------------------------------------------------------------------- /test/matmult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/test/matmult.c -------------------------------------------------------------------------------- /test/script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/test/script -------------------------------------------------------------------------------- /test/shell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/test/shell.c -------------------------------------------------------------------------------- /test/sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/test/sort.c -------------------------------------------------------------------------------- /test/start.c: -------------------------------------------------------------------------------- 1 | start.s -------------------------------------------------------------------------------- /test/start.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/test/start.s -------------------------------------------------------------------------------- /threads/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/Makefile -------------------------------------------------------------------------------- /threads/bool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/bool.h -------------------------------------------------------------------------------- /threads/copyright.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/copyright.h -------------------------------------------------------------------------------- /threads/list.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/list.cc -------------------------------------------------------------------------------- /threads/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/list.h -------------------------------------------------------------------------------- /threads/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/main.cc -------------------------------------------------------------------------------- /threads/scheduler.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/scheduler.cc -------------------------------------------------------------------------------- /threads/scheduler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/scheduler.h -------------------------------------------------------------------------------- /threads/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/stdarg.h -------------------------------------------------------------------------------- /threads/switch-old.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/switch-old.s -------------------------------------------------------------------------------- /threads/switch.c: -------------------------------------------------------------------------------- 1 | switch.s -------------------------------------------------------------------------------- /threads/switch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/switch.h -------------------------------------------------------------------------------- /threads/switch.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/switch.s -------------------------------------------------------------------------------- /threads/synch.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/synch.cc -------------------------------------------------------------------------------- /threads/synch.dis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/synch.dis -------------------------------------------------------------------------------- /threads/synch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/synch.h -------------------------------------------------------------------------------- /threads/synchlist.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/synchlist.cc -------------------------------------------------------------------------------- /threads/synchlist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/synchlist.h -------------------------------------------------------------------------------- /threads/system.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/system.cc -------------------------------------------------------------------------------- /threads/system.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/system.h -------------------------------------------------------------------------------- /threads/thread.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/thread.cc -------------------------------------------------------------------------------- /threads/thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/thread.h -------------------------------------------------------------------------------- /threads/threadmanager.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/threadmanager.cc -------------------------------------------------------------------------------- /threads/threadmanager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/threadmanager.h -------------------------------------------------------------------------------- /threads/threadtest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/threadtest.cc -------------------------------------------------------------------------------- /threads/utility.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/utility.cc -------------------------------------------------------------------------------- /threads/utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/threads/utility.h -------------------------------------------------------------------------------- /userprog/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/Makefile -------------------------------------------------------------------------------- /userprog/addrspace.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/addrspace.cc -------------------------------------------------------------------------------- /userprog/addrspace.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/addrspace.h -------------------------------------------------------------------------------- /userprog/bitmap.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/bitmap.cc -------------------------------------------------------------------------------- /userprog/bitmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/bitmap.h -------------------------------------------------------------------------------- /userprog/exception.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/exception.cc -------------------------------------------------------------------------------- /userprog/progtest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/progtest.cc -------------------------------------------------------------------------------- /userprog/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/userprog/syscall.h -------------------------------------------------------------------------------- /vm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/Makefile -------------------------------------------------------------------------------- /vm/MemoryManager.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/MemoryManager.cc -------------------------------------------------------------------------------- /vm/MemoryManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/MemoryManager.h -------------------------------------------------------------------------------- /vm/PhyMemManager.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/PhyMemManager.cc -------------------------------------------------------------------------------- /vm/PhyMemManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/PhyMemManager.h -------------------------------------------------------------------------------- /vm/SwappingLRU.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/SwappingLRU.cc -------------------------------------------------------------------------------- /vm/SwappingLRU.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/SwappingLRU.h -------------------------------------------------------------------------------- /vm/SwappingManager.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/SwappingManager.cc -------------------------------------------------------------------------------- /vm/SwappingManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/SwappingManager.h -------------------------------------------------------------------------------- /vm/SwappingStrategy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/SwappingStrategy.h -------------------------------------------------------------------------------- /vm/VirtMemManager.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/VirtMemManager.cc -------------------------------------------------------------------------------- /vm/VirtMemManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeshang/nachos/HEAD/vm/VirtMemManager.h --------------------------------------------------------------------------------