├── .gitignore ├── Notes ├── README.md └── img │ ├── 1.png │ ├── 10.png │ ├── 11.png │ ├── 12.png │ ├── 13.png │ ├── 14.png │ ├── 15.png │ ├── 16.png │ ├── 17.png │ ├── 18.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── 6.png │ ├── 7.png │ ├── 8.png │ └── 9.png ├── README.md ├── lab00 ├── hello.c ├── hello.sh ├── hello2.c └── ls.out ├── lab01 ├── dis.sh ├── file.info ├── opt.c ├── opt.s ├── opt0.s └── opt1.s ├── lab02 ├── README.md ├── fork │ ├── fork1 │ ├── fork1.c │ ├── fork2 │ ├── fork2.c │ ├── fork_ex │ └── fork_ex.c ├── getpid ├── getpid.c ├── pipe │ ├── pipe_creation │ ├── pipe_creation.c │ ├── pipe_ex1.c │ ├── pipe_lsless.c │ ├── pipe_withfork.c │ └── pipe_withfork2.c ├── report │ ├── fork │ ├── fork.c │ ├── pipe.c │ ├── process │ ├── process.c │ ├── signal.c │ └── sys.c └── signals │ ├── custom │ ├── custom.c │ ├── kill │ ├── kill.c │ └── sigign.c ├── lab03 ├── Lcode │ ├── deq │ ├── deq.c │ ├── enq │ ├── enq.c │ ├── job.h │ ├── sample │ ├── sample.c │ ├── scheduler │ ├── scheduler.c │ ├── scheduler.c~ │ ├── stat │ └── stat.c └── Tcode │ ├── reparent.c │ ├── time_1.c │ ├── time_2.c │ ├── time_example_fast.c │ ├── time_example_slow.c │ └── wait_and_exit.c ├── lab04 ├── a.c ├── a_sol.c ├── b.c ├── b_sol.c └── semaphore.c ├── lab05 ├── producer_consumer.c └── reader-writer │ ├── BUFFER.TXT │ ├── Main_file │ ├── Main_file.c │ ├── init.h │ ├── output_sample.txt │ ├── read.h │ └── write.h ├── lab06 ├── CMakeLists.txt ├── cmake-build-debug │ ├── CMakeCache.txt │ ├── CMakeFiles │ │ ├── 3.10.3 │ │ │ ├── CMakeCCompiler.cmake │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ ├── CompilerIdC │ │ │ │ ├── CMakeCCompilerId.c │ │ │ │ └── a.out │ │ │ └── CompilerIdCXX │ │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ │ └── a.out │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── CMakeOutput.log │ │ ├── Makefile.cmake │ │ ├── Makefile2 │ │ ├── TargetDirectories.txt │ │ ├── clion-environment.txt │ │ ├── clion-log.txt │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── feature_tests.c │ │ ├── feature_tests.cxx │ │ ├── lab6.dir │ │ │ ├── CXX.includecache │ │ │ ├── DependInfo.cmake │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ ├── flags.make │ │ │ ├── link.txt │ │ │ ├── progress.make │ │ │ └── temp.cpp.o │ │ └── progress.marks │ ├── Makefile │ ├── cmake_install.cmake │ ├── lab6 │ └── lab6.cbp ├── lab7.cpp ├── main.cpp └── temp.cpp ├── lab07 ├── CMakeLists.txt ├── cmake-build-debug │ ├── CMakeCache.txt │ ├── CMakeFiles │ │ ├── 3.10.3 │ │ │ ├── CMakeCCompiler.cmake │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ ├── CompilerIdC │ │ │ │ ├── CMakeCCompilerId.c │ │ │ │ └── a.out │ │ │ └── CompilerIdCXX │ │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ │ └── a.out │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── CMakeOutput.log │ │ ├── Makefile.cmake │ │ ├── Makefile2 │ │ ├── TargetDirectories.txt │ │ ├── clion-environment.txt │ │ ├── clion-log.txt │ │ ├── cmake.check_cache │ │ ├── code.dir │ │ │ ├── C.includecache │ │ │ ├── CXX.includecache │ │ │ ├── DependInfo.cmake │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ ├── flags.make │ │ │ ├── lab7.c.o │ │ │ ├── lab7.cpp.o │ │ │ ├── link.txt │ │ │ └── progress.make │ │ ├── feature_tests.bin │ │ ├── feature_tests.c │ │ ├── feature_tests.cxx │ │ └── progress.marks │ ├── Makefile │ ├── cmake_install.cmake │ ├── code │ └── code.cbp ├── lab7.c ├── lab7.cpp ├── main.c └── test.txt ├── lab08 ├── 1.in ├── 2.in ├── 3.in ├── Algo_real ├── Algo_real.cpp ├── CMakeLists.txt ├── cmake-build-debug │ ├── CMakeCache.txt │ ├── CMakeFiles │ │ ├── 3.10.3 │ │ │ ├── CMakeCCompiler.cmake │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ ├── CompilerIdC │ │ │ │ ├── CMakeCCompilerId.c │ │ │ │ └── a.out │ │ │ └── CompilerIdCXX │ │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ │ └── a.out │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── CMakeOutput.log │ │ ├── Makefile.cmake │ │ ├── Makefile2 │ │ ├── TargetDirectories.txt │ │ ├── clion-environment.txt │ │ ├── clion-log.txt │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── feature_tests.c │ │ ├── feature_tests.cxx │ │ ├── lab8.dir │ │ │ ├── DependInfo.cmake │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.make │ │ │ ├── flags.make │ │ │ ├── link.txt │ │ │ └── progress.make │ │ └── progress.marks │ ├── Makefile │ ├── cmake_install.cmake │ ├── lab8 │ └── lab8.cbp └── real_correct_code.cpp ├── lab09 ├── 0.in ├── 1.in ├── 2.in ├── 3.in ├── CMakeLists.txt ├── a.out ├── additional-test │ ├── 4-1.in │ ├── 4-2.in │ ├── 4-3.in │ ├── 5-1.in │ ├── 5-2.in │ └── 5-3.in ├── cmake-build-debug │ ├── CMakeCache.txt │ ├── CMakeFiles │ │ ├── 3.10.3 │ │ │ ├── CMakeCCompiler.cmake │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ ├── CompilerIdC │ │ │ │ ├── CMakeCCompilerId.c │ │ │ │ └── a.out │ │ │ └── CompilerIdCXX │ │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ │ └── a.out │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── CMakeOutput.log │ │ ├── Makefile.cmake │ │ ├── Makefile2 │ │ ├── TargetDirectories.txt │ │ ├── clion-environment.txt │ │ ├── clion-log.txt │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── feature_tests.c │ │ ├── feature_tests.cxx │ │ ├── lab9.dir │ │ │ ├── CXX.includecache │ │ │ ├── DependInfo.cmake │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ ├── flags.make │ │ │ ├── lab9_11510225.cpp.o │ │ │ ├── link.txt │ │ │ └── progress.make │ │ └── progress.marks │ ├── Makefile │ ├── cmake_install.cmake │ ├── lab9 │ └── lab9.cbp ├── disk-scheduling-master │ ├── .gitignore │ ├── README.md │ ├── clook.c │ ├── cscan.c │ ├── disk_sch_java │ │ └── src │ │ │ ├── SCAN.java │ │ │ ├── SSTF.java │ │ │ └── fcfs.java │ ├── disk_scheduling_algorithms.c │ ├── fcfs.c │ ├── look.c │ ├── scan.c │ └── sstf.c ├── lab92.cpp └── lab9_11510225.cpp ├── lab10 ├── a.out └── file_system.cpp ├── lab11 ├── 11510225.cpp ├── CMakeLists.txt ├── cmake-build-debug │ ├── CMakeCache.txt │ ├── CMakeFiles │ │ ├── 3.10.3 │ │ │ ├── CMakeCCompiler.cmake │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ ├── CompilerIdC │ │ │ │ ├── CMakeCCompilerId.c │ │ │ │ └── a.out │ │ │ └── CompilerIdCXX │ │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ │ └── a.out │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── CMakeOutput.log │ │ ├── Makefile.cmake │ │ ├── Makefile2 │ │ ├── TargetDirectories.txt │ │ ├── clion-environment.txt │ │ ├── clion-log.txt │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── feature_tests.c │ │ ├── feature_tests.cxx │ │ ├── lab11.dir │ │ │ ├── 11510225.cpp.o │ │ │ ├── CXX.includecache │ │ │ ├── DependInfo.cmake │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ ├── file_system.cpp.o │ │ │ ├── flags.make │ │ │ ├── link.txt │ │ │ └── progress.make │ │ └── progress.marks │ ├── Makefile │ ├── cmake_install.cmake │ ├── lab11 │ └── lab11.cbp └── test.in ├── proj1 ├── README.md └── src │ ├── .gitignore │ ├── LICENSE │ ├── Make.config │ ├── Makefile │ ├── Makefile.build │ ├── Makefile.kernel │ ├── Makefile.userprog │ ├── devices │ ├── block.c │ ├── block.h │ ├── ide.c │ ├── ide.h │ ├── input.c │ ├── input.h │ ├── intq.c │ ├── intq.h │ ├── kbd.c │ ├── kbd.h │ ├── partition.c │ ├── partition.h │ ├── pit.c │ ├── pit.h │ ├── rtc.c │ ├── rtc.h │ ├── serial.c │ ├── serial.h │ ├── shutdown.c │ ├── shutdown.h │ ├── speaker.c │ ├── speaker.h │ ├── timer.c │ ├── timer.h │ ├── vga.c │ └── vga.h │ ├── examples │ ├── .gitignore │ ├── Makefile │ ├── bubsort.c │ ├── cat.c │ ├── cmp.c │ ├── cp.c │ ├── echo.c │ ├── halt.c │ ├── hex-dump.c │ ├── insult.c │ ├── lib │ │ ├── .gitignore │ │ └── user │ │ │ ├── .dummy │ │ │ └── .gitignore │ ├── lineup.c │ ├── ls.c │ ├── matmult.c │ ├── mcat.c │ ├── mcp.c │ ├── mkdir.c │ ├── pwd.c │ ├── recursor.c │ ├── rm.c │ └── shell.c │ ├── filesys │ ├── .gitignore │ ├── Make.vars │ ├── Makefile │ ├── directory.c │ ├── directory.h │ ├── file.c │ ├── file.h │ ├── filesys.c │ ├── filesys.h │ ├── free-map.c │ ├── free-map.h │ ├── fsutil.c │ ├── fsutil.h │ ├── inode.c │ ├── inode.h │ └── off_t.h │ ├── lib │ ├── arithmetic.c │ ├── ctype.h │ ├── debug.c │ ├── debug.h │ ├── inttypes.h │ ├── kernel │ │ ├── bitmap.c │ │ ├── bitmap.h │ │ ├── console.c │ │ ├── console.h │ │ ├── debug.c │ │ ├── hash.c │ │ ├── hash.h │ │ ├── list.c │ │ ├── list.h │ │ └── stdio.h │ ├── limits.h │ ├── packed.h │ ├── random.c │ ├── random.h │ ├── round.h │ ├── stdarg.h │ ├── stdbool.h │ ├── stddef.h │ ├── stdint.h │ ├── stdio.c │ ├── stdio.h │ ├── stdlib.c │ ├── stdlib.h │ ├── string.c │ ├── string.h │ ├── syscall-nr.h │ ├── user │ │ ├── console.c │ │ ├── debug.c │ │ ├── entry.c │ │ ├── stdio.h │ │ ├── syscall.c │ │ ├── syscall.h │ │ └── user.lds │ ├── ustar.c │ └── ustar.h │ ├── misc │ ├── bochs-2.2.6-big-endian.patch │ ├── bochs-2.2.6-build.sh │ ├── bochs-2.2.6-gdbstub-ENN.patch │ ├── bochs-2.2.6-jitter.patch │ ├── bochs-2.2.6-ms-extensions.patch │ ├── bochs-2.2.6-namespace.patch │ ├── bochs-2.2.6-page-fault-segv.patch │ ├── bochs-2.2.6-paranoia.patch │ ├── bochs-2.2.6-solaris-link.patch │ ├── bochs-2.2.6-solaris-tty.patch │ ├── bochs-2.2.6-triple-fault.patch │ ├── bochs-2.6.2-build.sh │ ├── bochs-2.6.2-jitter-plus-segv.patch │ ├── bochs-2.6.2-xrandr-pkgconfig.patch │ ├── gcc-3.3.6-cross-howto │ └── gdb-macros │ ├── tests │ ├── Algorithm │ │ └── Diff.pm │ ├── Make.tests │ ├── arc4.c │ ├── arc4.h │ ├── arc4.pm │ ├── cksum.c │ ├── cksum.h │ ├── cksum.pm │ ├── filesys │ │ ├── Grading.no-vm │ │ ├── Grading.with-vm │ │ ├── base │ │ │ ├── Make.tests │ │ │ ├── Rubric │ │ │ ├── child-syn-read.c │ │ │ ├── child-syn-wrt.c │ │ │ ├── full.inc │ │ │ ├── lg-create.c │ │ │ ├── lg-create.ck │ │ │ ├── lg-full.c │ │ │ ├── lg-full.ck │ │ │ ├── lg-random.c │ │ │ ├── lg-random.ck │ │ │ ├── lg-seq-block.c │ │ │ ├── lg-seq-block.ck │ │ │ ├── lg-seq-random.c │ │ │ ├── lg-seq-random.ck │ │ │ ├── random.inc │ │ │ ├── seq-block.inc │ │ │ ├── seq-random.inc │ │ │ ├── sm-create.c │ │ │ ├── sm-create.ck │ │ │ ├── sm-full.c │ │ │ ├── sm-full.ck │ │ │ ├── sm-random.c │ │ │ ├── sm-random.ck │ │ │ ├── sm-seq-block.c │ │ │ ├── sm-seq-block.ck │ │ │ ├── sm-seq-random.c │ │ │ ├── sm-seq-random.ck │ │ │ ├── syn-read.c │ │ │ ├── syn-read.ck │ │ │ ├── syn-read.h │ │ │ ├── syn-remove.c │ │ │ ├── syn-remove.ck │ │ │ ├── syn-write.c │ │ │ ├── syn-write.ck │ │ │ └── syn-write.h │ │ ├── create.inc │ │ ├── extended │ │ │ ├── Make.tests │ │ │ ├── Rubric.functionality │ │ │ ├── Rubric.persistence │ │ │ ├── Rubric.robustness │ │ │ ├── child-syn-rw.c │ │ │ ├── dir-empty-name-persistence.ck │ │ │ ├── dir-empty-name.c │ │ │ ├── dir-empty-name.ck │ │ │ ├── dir-mk-tree-persistence.ck │ │ │ ├── dir-mk-tree.c │ │ │ ├── dir-mk-tree.ck │ │ │ ├── dir-mkdir-persistence.ck │ │ │ ├── dir-mkdir.c │ │ │ ├── dir-mkdir.ck │ │ │ ├── dir-open-persistence.ck │ │ │ ├── dir-open.c │ │ │ ├── dir-open.ck │ │ │ ├── dir-over-file-persistence.ck │ │ │ ├── dir-over-file.c │ │ │ ├── dir-over-file.ck │ │ │ ├── dir-rm-cwd-persistence.ck │ │ │ ├── dir-rm-cwd.c │ │ │ ├── dir-rm-cwd.ck │ │ │ ├── dir-rm-parent-persistence.ck │ │ │ ├── dir-rm-parent.c │ │ │ ├── dir-rm-parent.ck │ │ │ ├── dir-rm-root-persistence.ck │ │ │ ├── dir-rm-root.c │ │ │ ├── dir-rm-root.ck │ │ │ ├── dir-rm-tree-persistence.ck │ │ │ ├── dir-rm-tree.c │ │ │ ├── dir-rm-tree.ck │ │ │ ├── dir-rmdir-persistence.ck │ │ │ ├── dir-rmdir.c │ │ │ ├── dir-rmdir.ck │ │ │ ├── dir-under-file-persistence.ck │ │ │ ├── dir-under-file.c │ │ │ ├── dir-under-file.ck │ │ │ ├── dir-vine-persistence.ck │ │ │ ├── dir-vine.c │ │ │ ├── dir-vine.ck │ │ │ ├── grow-create-persistence.ck │ │ │ ├── grow-create.c │ │ │ ├── grow-create.ck │ │ │ ├── grow-dir-lg-persistence.ck │ │ │ ├── grow-dir-lg.c │ │ │ ├── grow-dir-lg.ck │ │ │ ├── grow-dir.inc │ │ │ ├── grow-file-size-persistence.ck │ │ │ ├── grow-file-size.c │ │ │ ├── grow-file-size.ck │ │ │ ├── grow-root-lg-persistence.ck │ │ │ ├── grow-root-lg.c │ │ │ ├── grow-root-lg.ck │ │ │ ├── grow-root-sm-persistence.ck │ │ │ ├── grow-root-sm.c │ │ │ ├── grow-root-sm.ck │ │ │ ├── grow-seq-lg-persistence.ck │ │ │ ├── grow-seq-lg.c │ │ │ ├── grow-seq-lg.ck │ │ │ ├── grow-seq-sm-persistence.ck │ │ │ ├── grow-seq-sm.c │ │ │ ├── grow-seq-sm.ck │ │ │ ├── grow-seq.inc │ │ │ ├── grow-sparse-persistence.ck │ │ │ ├── grow-sparse.c │ │ │ ├── grow-sparse.ck │ │ │ ├── grow-tell-persistence.ck │ │ │ ├── grow-tell.c │ │ │ ├── grow-tell.ck │ │ │ ├── grow-two-files-persistence.ck │ │ │ ├── grow-two-files.c │ │ │ ├── grow-two-files.ck │ │ │ ├── mk-tree.c │ │ │ ├── mk-tree.h │ │ │ ├── syn-rw-persistence.ck │ │ │ ├── syn-rw.c │ │ │ ├── syn-rw.ck │ │ │ ├── syn-rw.h │ │ │ └── tar.c │ │ ├── seq-test.c │ │ └── seq-test.h │ ├── internal │ │ ├── list.c │ │ ├── stdio.c │ │ └── stdlib.c │ ├── lib.c │ ├── lib.h │ ├── lib.pm │ ├── main.c │ ├── main.h │ ├── make-grade │ ├── random.pm │ ├── tests.pm │ ├── threads │ │ ├── Grading │ │ ├── Make.tests │ │ ├── Rubric.alarm │ │ ├── Rubric.mlfqs │ │ ├── Rubric.priority │ │ ├── alarm-multiple.ck │ │ ├── alarm-negative.c │ │ ├── alarm-negative.ck │ │ ├── alarm-priority.c │ │ ├── alarm-priority.ck │ │ ├── alarm-simultaneous.c │ │ ├── alarm-simultaneous.ck │ │ ├── alarm-single.ck │ │ ├── alarm-wait.c │ │ ├── alarm-zero.c │ │ ├── alarm-zero.ck │ │ ├── alarm.pm │ │ ├── mlfqs-block.c │ │ ├── mlfqs-block.ck │ │ ├── mlfqs-fair-2.ck │ │ ├── mlfqs-fair-20.ck │ │ ├── mlfqs-fair.c │ │ ├── mlfqs-load-1.c │ │ ├── mlfqs-load-1.ck │ │ ├── mlfqs-load-60.c │ │ ├── mlfqs-load-60.ck │ │ ├── mlfqs-load-avg.c │ │ ├── mlfqs-load-avg.ck │ │ ├── mlfqs-nice-10.ck │ │ ├── mlfqs-nice-2.ck │ │ ├── mlfqs-recent-1.c │ │ ├── mlfqs-recent-1.ck │ │ ├── mlfqs.pm │ │ ├── priority-change.c │ │ ├── priority-change.ck │ │ ├── priority-condvar.c │ │ ├── priority-condvar.ck │ │ ├── priority-donate-chain.c │ │ ├── priority-donate-chain.ck │ │ ├── priority-donate-lower.c │ │ ├── priority-donate-lower.ck │ │ ├── priority-donate-multiple.c │ │ ├── priority-donate-multiple.ck │ │ ├── priority-donate-multiple2.c │ │ ├── priority-donate-multiple2.ck │ │ ├── priority-donate-nest.c │ │ ├── priority-donate-nest.ck │ │ ├── priority-donate-one.c │ │ ├── priority-donate-one.ck │ │ ├── priority-donate-sema.c │ │ ├── priority-donate-sema.ck │ │ ├── priority-fifo.c │ │ ├── priority-fifo.ck │ │ ├── priority-preempt.c │ │ ├── priority-preempt.ck │ │ ├── priority-sema.c │ │ ├── priority-sema.ck │ │ ├── tests.c │ │ └── tests.h │ ├── userprog │ │ ├── Grading │ │ ├── Make.tests │ │ ├── Rubric.functionality │ │ ├── Rubric.robustness │ │ ├── args-dbl-space.ck │ │ ├── args-many.ck │ │ ├── args-multiple.ck │ │ ├── args-none.ck │ │ ├── args-single.ck │ │ ├── args.c │ │ ├── bad-jump.c │ │ ├── bad-jump.ck │ │ ├── bad-jump2.c │ │ ├── bad-jump2.ck │ │ ├── bad-read.c │ │ ├── bad-read.ck │ │ ├── bad-read2.c │ │ ├── bad-read2.ck │ │ ├── bad-write.c │ │ ├── bad-write.ck │ │ ├── bad-write2.c │ │ ├── bad-write2.ck │ │ ├── boundary.c │ │ ├── boundary.h │ │ ├── child-bad.c │ │ ├── child-close.c │ │ ├── child-rox.c │ │ ├── child-simple.c │ │ ├── close-bad-fd.c │ │ ├── close-bad-fd.ck │ │ ├── close-normal.c │ │ ├── close-normal.ck │ │ ├── close-stdin.c │ │ ├── close-stdin.ck │ │ ├── close-stdout.c │ │ ├── close-stdout.ck │ │ ├── close-twice.c │ │ ├── close-twice.ck │ │ ├── create-bad-ptr.c │ │ ├── create-bad-ptr.ck │ │ ├── create-bound.c │ │ ├── create-bound.ck │ │ ├── create-empty.c │ │ ├── create-empty.ck │ │ ├── create-exists.c │ │ ├── create-exists.ck │ │ ├── create-long.c │ │ ├── create-long.ck │ │ ├── create-normal.c │ │ ├── create-normal.ck │ │ ├── create-null.c │ │ ├── create-null.ck │ │ ├── exec-arg.c │ │ ├── exec-arg.ck │ │ ├── exec-bad-ptr.c │ │ ├── exec-bad-ptr.ck │ │ ├── exec-missing.c │ │ ├── exec-missing.ck │ │ ├── exec-multiple.c │ │ ├── exec-multiple.ck │ │ ├── exec-once.c │ │ ├── exec-once.ck │ │ ├── exit.c │ │ ├── exit.ck │ │ ├── halt.c │ │ ├── halt.ck │ │ ├── lib │ │ │ ├── .gitignore │ │ │ └── user │ │ │ │ ├── .dummy │ │ │ │ └── .gitignore │ │ ├── multi-child-fd.c │ │ ├── multi-child-fd.ck │ │ ├── multi-recurse.c │ │ ├── multi-recurse.ck │ │ ├── no-vm │ │ │ ├── Make.tests │ │ │ ├── Rubric │ │ │ ├── multi-oom.c │ │ │ └── multi-oom.ck │ │ ├── null.ck │ │ ├── open-bad-ptr.c │ │ ├── open-bad-ptr.ck │ │ ├── open-boundary.c │ │ ├── open-boundary.ck │ │ ├── open-empty.c │ │ ├── open-empty.ck │ │ ├── open-missing.c │ │ ├── open-missing.ck │ │ ├── open-normal.c │ │ ├── open-normal.ck │ │ ├── open-null.c │ │ ├── open-null.ck │ │ ├── open-twice.c │ │ ├── open-twice.ck │ │ ├── read-bad-fd.c │ │ ├── read-bad-fd.ck │ │ ├── read-bad-ptr.c │ │ ├── read-bad-ptr.ck │ │ ├── read-boundary.c │ │ ├── read-boundary.ck │ │ ├── read-normal.c │ │ ├── read-normal.ck │ │ ├── read-stdout.c │ │ ├── read-stdout.ck │ │ ├── read-zero.c │ │ ├── read-zero.ck │ │ ├── rox-child.c │ │ ├── rox-child.ck │ │ ├── rox-child.inc │ │ ├── rox-multichild.c │ │ ├── rox-multichild.ck │ │ ├── rox-simple.c │ │ ├── rox-simple.ck │ │ ├── sample.inc │ │ ├── sample.txt │ │ ├── sc-bad-arg.c │ │ ├── sc-bad-arg.ck │ │ ├── sc-bad-sp.c │ │ ├── sc-bad-sp.ck │ │ ├── sc-boundary-2.c │ │ ├── sc-boundary-2.ck │ │ ├── sc-boundary.c │ │ ├── sc-boundary.ck │ │ ├── wait-bad-pid.c │ │ ├── wait-bad-pid.ck │ │ ├── wait-killed.c │ │ ├── wait-killed.ck │ │ ├── wait-simple.c │ │ ├── wait-simple.ck │ │ ├── wait-twice.c │ │ ├── wait-twice.ck │ │ ├── write-bad-fd.c │ │ ├── write-bad-fd.ck │ │ ├── write-bad-ptr.c │ │ ├── write-bad-ptr.ck │ │ ├── write-boundary.c │ │ ├── write-boundary.ck │ │ ├── write-normal.c │ │ ├── write-normal.ck │ │ ├── write-stdin.c │ │ ├── write-stdin.ck │ │ ├── write-zero.c │ │ └── write-zero.ck │ └── vm │ │ ├── Grading │ │ ├── Make.tests │ │ ├── Rubric.functionality │ │ ├── Rubric.robustness │ │ ├── child-inherit.c │ │ ├── child-linear.c │ │ ├── child-mm-wrt.c │ │ ├── child-qsort-mm.c │ │ ├── child-qsort.c │ │ ├── child-sort.c │ │ ├── mmap-bad-fd.c │ │ ├── mmap-bad-fd.ck │ │ ├── mmap-clean.c │ │ ├── mmap-clean.ck │ │ ├── mmap-close.c │ │ ├── mmap-close.ck │ │ ├── mmap-exit.c │ │ ├── mmap-exit.ck │ │ ├── mmap-inherit.c │ │ ├── mmap-inherit.ck │ │ ├── mmap-misalign.c │ │ ├── mmap-misalign.ck │ │ ├── mmap-null.c │ │ ├── mmap-null.ck │ │ ├── mmap-over-code.c │ │ ├── mmap-over-code.ck │ │ ├── mmap-over-data.c │ │ ├── mmap-over-data.ck │ │ ├── mmap-over-stk.c │ │ ├── mmap-over-stk.ck │ │ ├── mmap-overlap.c │ │ ├── mmap-overlap.ck │ │ ├── mmap-read.c │ │ ├── mmap-read.ck │ │ ├── mmap-remove.c │ │ ├── mmap-remove.ck │ │ ├── mmap-shuffle.c │ │ ├── mmap-shuffle.ck │ │ ├── mmap-twice.c │ │ ├── mmap-twice.ck │ │ ├── mmap-unmap.c │ │ ├── mmap-unmap.ck │ │ ├── mmap-write.c │ │ ├── mmap-write.ck │ │ ├── mmap-zero.c │ │ ├── mmap-zero.ck │ │ ├── page-linear.c │ │ ├── page-linear.ck │ │ ├── page-merge-mm.c │ │ ├── page-merge-mm.ck │ │ ├── page-merge-par.c │ │ ├── page-merge-par.ck │ │ ├── page-merge-seq.c │ │ ├── page-merge-seq.ck │ │ ├── page-merge-stk.c │ │ ├── page-merge-stk.ck │ │ ├── page-parallel.c │ │ ├── page-parallel.ck │ │ ├── page-shuffle.c │ │ ├── page-shuffle.ck │ │ ├── parallel-merge.c │ │ ├── parallel-merge.h │ │ ├── process_death.pm │ │ ├── pt-bad-addr.c │ │ ├── pt-bad-addr.ck │ │ ├── pt-bad-read.c │ │ ├── pt-bad-read.ck │ │ ├── pt-big-stk-obj.c │ │ ├── pt-big-stk-obj.ck │ │ ├── pt-grow-bad.c │ │ ├── pt-grow-bad.ck │ │ ├── pt-grow-pusha.c │ │ ├── pt-grow-pusha.ck │ │ ├── pt-grow-stack.c │ │ ├── pt-grow-stack.ck │ │ ├── pt-grow-stk-sc.c │ │ ├── pt-grow-stk-sc.ck │ │ ├── pt-write-code-2.c │ │ ├── pt-write-code.c │ │ ├── pt-write-code.ck │ │ ├── pt-write-code2.ck │ │ ├── qsort.c │ │ ├── qsort.h │ │ ├── sample.inc │ │ └── sample.txt │ ├── threads │ ├── .gitignore │ ├── Make.vars │ ├── Makefile │ ├── flags.h │ ├── init.c │ ├── init.h │ ├── interrupt.c │ ├── interrupt.h │ ├── intr-stubs.S │ ├── intr-stubs.h │ ├── io.h │ ├── kernel.lds.S │ ├── loader.S │ ├── loader.h │ ├── malloc.c │ ├── malloc.h │ ├── palloc.c │ ├── palloc.h │ ├── pte.h │ ├── start.S │ ├── switch.S │ ├── switch.h │ ├── synch.c │ ├── synch.h │ ├── thread.c │ ├── thread.h │ └── vaddr.h │ ├── userprog │ ├── .gitignore │ ├── Make.vars │ ├── Makefile │ ├── exception.c │ ├── exception.h │ ├── gdt.c │ ├── gdt.h │ ├── pagedir.c │ ├── pagedir.h │ ├── process.c │ ├── process.h │ ├── syscall.c │ ├── syscall.h │ ├── tss.c │ └── tss.h │ ├── utils │ ├── .gitignore │ ├── Makefile │ ├── Pintos.pm │ ├── backtrace │ ├── pintos │ ├── pintos-gdb │ ├── pintos-mkdisk │ ├── pintos-set-cmdline │ ├── setitimer-helper.c │ ├── squish-pty.c │ └── squish-unix.c │ └── vm │ ├── .gitignore │ ├── Make.vars │ └── Makefile └── proj2 ├── README.md ├── p1.png ├── p2.png ├── src ├── .gitignore ├── LICENSE ├── Make.config ├── Makefile ├── Makefile.build ├── Makefile.kernel ├── Makefile.userprog ├── devices │ ├── block.c │ ├── block.h │ ├── ide.c │ ├── ide.h │ ├── input.c │ ├── input.h │ ├── intq.c │ ├── intq.h │ ├── kbd.c │ ├── kbd.h │ ├── partition.c │ ├── partition.h │ ├── pit.c │ ├── pit.h │ ├── rtc.c │ ├── rtc.h │ ├── serial.c │ ├── serial.h │ ├── shutdown.c │ ├── shutdown.h │ ├── speaker.c │ ├── speaker.h │ ├── timer.c │ ├── timer.h │ ├── vga.c │ └── vga.h ├── examples │ ├── .gitignore │ ├── Makefile │ ├── bubsort.c │ ├── cat.c │ ├── cmp.c │ ├── cp.c │ ├── echo.c │ ├── halt.c │ ├── hex-dump.c │ ├── insult.c │ ├── lib │ │ ├── .gitignore │ │ └── user │ │ │ ├── .dummy │ │ │ └── .gitignore │ ├── lineup.c │ ├── ls.c │ ├── matmult.c │ ├── mcat.c │ ├── mcp.c │ ├── mkdir.c │ ├── pwd.c │ ├── recursor.c │ ├── rm.c │ └── shell.c ├── filesys │ ├── .gitignore │ ├── Make.vars │ ├── Makefile │ ├── directory.c │ ├── directory.h │ ├── file.c │ ├── file.h │ ├── filesys.c │ ├── filesys.h │ ├── free-map.c │ ├── free-map.h │ ├── fsutil.c │ ├── fsutil.h │ ├── inode.c │ ├── inode.h │ └── off_t.h ├── lib │ ├── arithmetic.c │ ├── ctype.h │ ├── debug.c │ ├── debug.h │ ├── inttypes.h │ ├── kernel │ │ ├── bitmap.c │ │ ├── bitmap.h │ │ ├── console.c │ │ ├── console.h │ │ ├── debug.c │ │ ├── hash.c │ │ ├── hash.h │ │ ├── list.c │ │ ├── list.h │ │ └── stdio.h │ ├── limits.h │ ├── packed.h │ ├── random.c │ ├── random.h │ ├── round.h │ ├── stdarg.h │ ├── stdbool.h │ ├── stddef.h │ ├── stdint.h │ ├── stdio.c │ ├── stdio.h │ ├── stdlib.c │ ├── stdlib.h │ ├── string.c │ ├── string.h │ ├── syscall-nr.h │ ├── user │ │ ├── console.c │ │ ├── debug.c │ │ ├── entry.c │ │ ├── stdio.h │ │ ├── syscall.c │ │ ├── syscall.h │ │ └── user.lds │ ├── ustar.c │ └── ustar.h ├── misc │ ├── bochs-2.2.6-big-endian.patch │ ├── bochs-2.2.6-build.sh │ ├── bochs-2.2.6-gdbstub-ENN.patch │ ├── bochs-2.2.6-jitter.patch │ ├── bochs-2.2.6-ms-extensions.patch │ ├── bochs-2.2.6-namespace.patch │ ├── bochs-2.2.6-page-fault-segv.patch │ ├── bochs-2.2.6-paranoia.patch │ ├── bochs-2.2.6-solaris-link.patch │ ├── bochs-2.2.6-solaris-tty.patch │ ├── bochs-2.2.6-triple-fault.patch │ ├── bochs-2.6.2-build.sh │ ├── bochs-2.6.2-jitter-plus-segv.patch │ ├── bochs-2.6.2-xrandr-pkgconfig.patch │ ├── gcc-3.3.6-cross-howto │ └── gdb-macros ├── tests │ ├── Algorithm │ │ └── Diff.pm │ ├── Make.tests │ ├── arc4.c │ ├── arc4.h │ ├── arc4.pm │ ├── cksum.c │ ├── cksum.h │ ├── cksum.pm │ ├── filesys │ │ ├── Grading.no-vm │ │ ├── Grading.with-vm │ │ ├── base │ │ │ ├── Make.tests │ │ │ ├── Rubric │ │ │ ├── child-syn-read.c │ │ │ ├── child-syn-wrt.c │ │ │ ├── full.inc │ │ │ ├── lg-create.c │ │ │ ├── lg-create.ck │ │ │ ├── lg-full.c │ │ │ ├── lg-full.ck │ │ │ ├── lg-random.c │ │ │ ├── lg-random.ck │ │ │ ├── lg-seq-block.c │ │ │ ├── lg-seq-block.ck │ │ │ ├── lg-seq-random.c │ │ │ ├── lg-seq-random.ck │ │ │ ├── random.inc │ │ │ ├── seq-block.inc │ │ │ ├── seq-random.inc │ │ │ ├── sm-create.c │ │ │ ├── sm-create.ck │ │ │ ├── sm-full.c │ │ │ ├── sm-full.ck │ │ │ ├── sm-random.c │ │ │ ├── sm-random.ck │ │ │ ├── sm-seq-block.c │ │ │ ├── sm-seq-block.ck │ │ │ ├── sm-seq-random.c │ │ │ ├── sm-seq-random.ck │ │ │ ├── syn-read-max.c │ │ │ ├── syn-read-max.ck │ │ │ ├── syn-read.c │ │ │ ├── syn-read.ck │ │ │ ├── syn-read.h │ │ │ ├── syn-remove.c │ │ │ ├── syn-remove.ck │ │ │ ├── syn-write.c │ │ │ ├── syn-write.ck │ │ │ └── syn-write.h │ │ ├── create.inc │ │ ├── extended │ │ │ ├── Make.tests │ │ │ ├── Rubric.functionality │ │ │ ├── Rubric.persistence │ │ │ ├── Rubric.robustness │ │ │ ├── child-syn-rw.c │ │ │ ├── dir-empty-name-persistence.ck │ │ │ ├── dir-empty-name.c │ │ │ ├── dir-empty-name.ck │ │ │ ├── dir-mk-tree-persistence.ck │ │ │ ├── dir-mk-tree.c │ │ │ ├── dir-mk-tree.ck │ │ │ ├── dir-mkdir-persistence.ck │ │ │ ├── dir-mkdir.c │ │ │ ├── dir-mkdir.ck │ │ │ ├── dir-open-persistence.ck │ │ │ ├── dir-open.c │ │ │ ├── dir-open.ck │ │ │ ├── dir-over-file-persistence.ck │ │ │ ├── dir-over-file.c │ │ │ ├── dir-over-file.ck │ │ │ ├── dir-rm-cwd-persistence.ck │ │ │ ├── dir-rm-cwd.c │ │ │ ├── dir-rm-cwd.ck │ │ │ ├── dir-rm-parent-persistence.ck │ │ │ ├── dir-rm-parent.c │ │ │ ├── dir-rm-parent.ck │ │ │ ├── dir-rm-root-persistence.ck │ │ │ ├── dir-rm-root.c │ │ │ ├── dir-rm-root.ck │ │ │ ├── dir-rm-tree-persistence.ck │ │ │ ├── dir-rm-tree.c │ │ │ ├── dir-rm-tree.ck │ │ │ ├── dir-rmdir-persistence.ck │ │ │ ├── dir-rmdir.c │ │ │ ├── dir-rmdir.ck │ │ │ ├── dir-under-file-persistence.ck │ │ │ ├── dir-under-file.c │ │ │ ├── dir-under-file.ck │ │ │ ├── dir-vine-persistence.ck │ │ │ ├── dir-vine.c │ │ │ ├── dir-vine.ck │ │ │ ├── grow-create-persistence.ck │ │ │ ├── grow-create.c │ │ │ ├── grow-create.ck │ │ │ ├── grow-dir-lg-persistence.ck │ │ │ ├── grow-dir-lg.c │ │ │ ├── grow-dir-lg.ck │ │ │ ├── grow-dir.inc │ │ │ ├── grow-file-size-persistence.ck │ │ │ ├── grow-file-size.c │ │ │ ├── grow-file-size.ck │ │ │ ├── grow-root-lg-persistence.ck │ │ │ ├── grow-root-lg.c │ │ │ ├── grow-root-lg.ck │ │ │ ├── grow-root-sm-persistence.ck │ │ │ ├── grow-root-sm.c │ │ │ ├── grow-root-sm.ck │ │ │ ├── grow-seq-lg-persistence.ck │ │ │ ├── grow-seq-lg.c │ │ │ ├── grow-seq-lg.ck │ │ │ ├── grow-seq-sm-persistence.ck │ │ │ ├── grow-seq-sm.c │ │ │ ├── grow-seq-sm.ck │ │ │ ├── grow-seq.inc │ │ │ ├── grow-sparse-persistence.ck │ │ │ ├── grow-sparse.c │ │ │ ├── grow-sparse.ck │ │ │ ├── grow-tell-persistence.ck │ │ │ ├── grow-tell.c │ │ │ ├── grow-tell.ck │ │ │ ├── grow-two-files-persistence.ck │ │ │ ├── grow-two-files.c │ │ │ ├── grow-two-files.ck │ │ │ ├── mk-tree.c │ │ │ ├── mk-tree.h │ │ │ ├── syn-rw-persistence.ck │ │ │ ├── syn-rw.c │ │ │ ├── syn-rw.ck │ │ │ ├── syn-rw.h │ │ │ └── tar.c │ │ ├── seq-test.c │ │ └── seq-test.h │ ├── internal │ │ ├── list.c │ │ ├── stdio.c │ │ └── stdlib.c │ ├── lib.c │ ├── lib.h │ ├── lib.pm │ ├── main.c │ ├── main.h │ ├── make-grade │ ├── random.pm │ ├── tests.pm │ ├── threads │ │ ├── Grading │ │ ├── Make.tests │ │ ├── Rubric.alarm │ │ ├── Rubric.mlfqs │ │ ├── Rubric.priority │ │ ├── alarm-multiple.ck │ │ ├── alarm-negative.c │ │ ├── alarm-negative.ck │ │ ├── alarm-priority.c │ │ ├── alarm-priority.ck │ │ ├── alarm-simultaneous.c │ │ ├── alarm-simultaneous.ck │ │ ├── alarm-single.ck │ │ ├── alarm-wait.c │ │ ├── alarm-zero.c │ │ ├── alarm-zero.ck │ │ ├── alarm.pm │ │ ├── mlfqs-block.c │ │ ├── mlfqs-block.ck │ │ ├── mlfqs-fair-2.ck │ │ ├── mlfqs-fair-20.ck │ │ ├── mlfqs-fair.c │ │ ├── mlfqs-load-1.c │ │ ├── mlfqs-load-1.ck │ │ ├── mlfqs-load-60.c │ │ ├── mlfqs-load-60.ck │ │ ├── mlfqs-load-avg.c │ │ ├── mlfqs-load-avg.ck │ │ ├── mlfqs-nice-10.ck │ │ ├── mlfqs-nice-2.ck │ │ ├── mlfqs-recent-1.c │ │ ├── mlfqs-recent-1.ck │ │ ├── mlfqs.pm │ │ ├── priority-change.c │ │ ├── priority-change.ck │ │ ├── priority-condvar.c │ │ ├── priority-condvar.ck │ │ ├── priority-donate-chain.c │ │ ├── priority-donate-chain.ck │ │ ├── priority-donate-lower.c │ │ ├── priority-donate-lower.ck │ │ ├── priority-donate-multiple.c │ │ ├── priority-donate-multiple.ck │ │ ├── priority-donate-multiple2.c │ │ ├── priority-donate-multiple2.ck │ │ ├── priority-donate-nest.c │ │ ├── priority-donate-nest.ck │ │ ├── priority-donate-one.c │ │ ├── priority-donate-one.ck │ │ ├── priority-donate-sema.c │ │ ├── priority-donate-sema.ck │ │ ├── priority-fifo.c │ │ ├── priority-fifo.ck │ │ ├── priority-preempt.c │ │ ├── priority-preempt.ck │ │ ├── priority-sema.c │ │ ├── priority-sema.ck │ │ ├── tests.c │ │ └── tests.h │ ├── userprog │ │ ├── Grading │ │ ├── Make.tests │ │ ├── Rubric.functionality │ │ ├── Rubric.robustness │ │ ├── args-dbl-space.ck │ │ ├── args-many.ck │ │ ├── args-multiple.ck │ │ ├── args-none.ck │ │ ├── args-single.ck │ │ ├── args.c │ │ ├── bad-jump.c │ │ ├── bad-jump.ck │ │ ├── bad-jump2.c │ │ ├── bad-jump2.ck │ │ ├── bad-read.c │ │ ├── bad-read.ck │ │ ├── bad-read2.c │ │ ├── bad-read2.ck │ │ ├── bad-write.c │ │ ├── bad-write.ck │ │ ├── bad-write2.c │ │ ├── bad-write2.ck │ │ ├── boundary.c │ │ ├── boundary.h │ │ ├── child-bad.c │ │ ├── child-close.c │ │ ├── child-rox.c │ │ ├── child-simple.c │ │ ├── close-bad-fd.c │ │ ├── close-bad-fd.ck │ │ ├── close-normal.c │ │ ├── close-normal.ck │ │ ├── close-stdin.c │ │ ├── close-stdin.ck │ │ ├── close-stdout.c │ │ ├── close-stdout.ck │ │ ├── close-twice.c │ │ ├── close-twice.ck │ │ ├── create-bad-ptr.c │ │ ├── create-bad-ptr.ck │ │ ├── create-bound.c │ │ ├── create-bound.ck │ │ ├── create-empty.c │ │ ├── create-empty.ck │ │ ├── create-exists.c │ │ ├── create-exists.ck │ │ ├── create-long.c │ │ ├── create-long.ck │ │ ├── create-normal.c │ │ ├── create-normal.ck │ │ ├── create-null.c │ │ ├── create-null.ck │ │ ├── exec-arg.c │ │ ├── exec-arg.ck │ │ ├── exec-bad-ptr.c │ │ ├── exec-bad-ptr.ck │ │ ├── exec-missing.c │ │ ├── exec-missing.ck │ │ ├── exec-multiple.c │ │ ├── exec-multiple.ck │ │ ├── exec-once.c │ │ ├── exec-once.ck │ │ ├── exit.c │ │ ├── exit.ck │ │ ├── halt.c │ │ ├── halt.ck │ │ ├── lib │ │ │ ├── .gitignore │ │ │ └── user │ │ │ │ ├── .dummy │ │ │ │ └── .gitignore │ │ ├── multi-child-fd.c │ │ ├── multi-child-fd.ck │ │ ├── multi-recurse.c │ │ ├── multi-recurse.ck │ │ ├── no-vm │ │ │ ├── Make.tests │ │ │ ├── Rubric │ │ │ ├── multi-oom.c │ │ │ └── multi-oom.ck │ │ ├── null.ck │ │ ├── open-bad-ptr.c │ │ ├── open-bad-ptr.ck │ │ ├── open-boundary.c │ │ ├── open-boundary.ck │ │ ├── open-empty.c │ │ ├── open-empty.ck │ │ ├── open-missing.c │ │ ├── open-missing.ck │ │ ├── open-normal.c │ │ ├── open-normal.ck │ │ ├── open-null.c │ │ ├── open-null.ck │ │ ├── open-twice.c │ │ ├── open-twice.ck │ │ ├── read-bad-fd.c │ │ ├── read-bad-fd.ck │ │ ├── read-bad-ptr.c │ │ ├── read-bad-ptr.ck │ │ ├── read-boundary.c │ │ ├── read-boundary.ck │ │ ├── read-normal.c │ │ ├── read-normal.ck │ │ ├── read-stdout.c │ │ ├── read-stdout.ck │ │ ├── read-zero.c │ │ ├── read-zero.ck │ │ ├── rox-child.c │ │ ├── rox-child.ck │ │ ├── rox-child.inc │ │ ├── rox-maxchild.c │ │ ├── rox-maxchild.ck │ │ ├── rox-multichild.c │ │ ├── rox-multichild.ck │ │ ├── rox-simple.c │ │ ├── rox-simple.ck │ │ ├── sample.inc │ │ ├── sample.txt │ │ ├── sc-bad-arg.c │ │ ├── sc-bad-arg.ck │ │ ├── sc-bad-sp.c │ │ ├── sc-bad-sp.ck │ │ ├── sc-boundary-2.c │ │ ├── sc-boundary-2.ck │ │ ├── sc-boundary.c │ │ ├── sc-boundary.ck │ │ ├── wait-bad-pid.c │ │ ├── wait-bad-pid.ck │ │ ├── wait-killed.c │ │ ├── wait-killed.ck │ │ ├── wait-simple.c │ │ ├── wait-simple.ck │ │ ├── wait-twice.c │ │ ├── wait-twice.ck │ │ ├── write-bad-fd.c │ │ ├── write-bad-fd.ck │ │ ├── write-bad-ptr.c │ │ ├── write-bad-ptr.ck │ │ ├── write-boundary.c │ │ ├── write-boundary.ck │ │ ├── write-normal.c │ │ ├── write-normal.ck │ │ ├── write-stdin.c │ │ ├── write-stdin.ck │ │ ├── write-zero.c │ │ └── write-zero.ck │ └── vm │ │ ├── Grading │ │ ├── Make.tests │ │ ├── Rubric.functionality │ │ ├── Rubric.robustness │ │ ├── child-inherit.c │ │ ├── child-linear.c │ │ ├── child-mm-wrt.c │ │ ├── child-qsort-mm.c │ │ ├── child-qsort.c │ │ ├── child-sort.c │ │ ├── mmap-bad-fd.c │ │ ├── mmap-bad-fd.ck │ │ ├── mmap-clean.c │ │ ├── mmap-clean.ck │ │ ├── mmap-close.c │ │ ├── mmap-close.ck │ │ ├── mmap-exit.c │ │ ├── mmap-exit.ck │ │ ├── mmap-inherit.c │ │ ├── mmap-inherit.ck │ │ ├── mmap-misalign.c │ │ ├── mmap-misalign.ck │ │ ├── mmap-null.c │ │ ├── mmap-null.ck │ │ ├── mmap-over-code.c │ │ ├── mmap-over-code.ck │ │ ├── mmap-over-data.c │ │ ├── mmap-over-data.ck │ │ ├── mmap-over-stk.c │ │ ├── mmap-over-stk.ck │ │ ├── mmap-overlap.c │ │ ├── mmap-overlap.ck │ │ ├── mmap-read.c │ │ ├── mmap-read.ck │ │ ├── mmap-remove.c │ │ ├── mmap-remove.ck │ │ ├── mmap-shuffle.c │ │ ├── mmap-shuffle.ck │ │ ├── mmap-twice.c │ │ ├── mmap-twice.ck │ │ ├── mmap-unmap.c │ │ ├── mmap-unmap.ck │ │ ├── mmap-write.c │ │ ├── mmap-write.ck │ │ ├── mmap-zero.c │ │ ├── mmap-zero.ck │ │ ├── page-linear.c │ │ ├── page-linear.ck │ │ ├── page-merge-mm.c │ │ ├── page-merge-mm.ck │ │ ├── page-merge-par.c │ │ ├── page-merge-par.ck │ │ ├── page-merge-seq.c │ │ ├── page-merge-seq.ck │ │ ├── page-merge-stk.c │ │ ├── page-merge-stk.ck │ │ ├── page-parallel.c │ │ ├── page-parallel.ck │ │ ├── page-shuffle.c │ │ ├── page-shuffle.ck │ │ ├── parallel-merge.c │ │ ├── parallel-merge.h │ │ ├── process_death.pm │ │ ├── pt-bad-addr.c │ │ ├── pt-bad-addr.ck │ │ ├── pt-bad-read.c │ │ ├── pt-bad-read.ck │ │ ├── pt-big-stk-obj.c │ │ ├── pt-big-stk-obj.ck │ │ ├── pt-grow-bad.c │ │ ├── pt-grow-bad.ck │ │ ├── pt-grow-pusha.c │ │ ├── pt-grow-pusha.ck │ │ ├── pt-grow-stack.c │ │ ├── pt-grow-stack.ck │ │ ├── pt-grow-stk-sc.c │ │ ├── pt-grow-stk-sc.ck │ │ ├── pt-write-code-2.c │ │ ├── pt-write-code.c │ │ ├── pt-write-code.ck │ │ ├── pt-write-code2.ck │ │ ├── qsort.c │ │ ├── qsort.h │ │ ├── sample.inc │ │ └── sample.txt ├── threads │ ├── .gitignore │ ├── Make.vars │ ├── Makefile │ ├── flags.h │ ├── init.c │ ├── init.h │ ├── interrupt.c │ ├── interrupt.h │ ├── intr-stubs.S │ ├── intr-stubs.h │ ├── io.h │ ├── kernel.lds.S │ ├── loader.S │ ├── loader.h │ ├── malloc.c │ ├── malloc.h │ ├── palloc.c │ ├── palloc.h │ ├── pte.h │ ├── start.S │ ├── switch.S │ ├── switch.h │ ├── synch.c │ ├── synch.h │ ├── thread.c │ ├── thread.h │ └── vaddr.h ├── userprog │ ├── .gitignore │ ├── Make.vars │ ├── Makefile │ ├── exception.c │ ├── exception.h │ ├── gdt.c │ ├── gdt.h │ ├── pagedir.c │ ├── pagedir.h │ ├── process.c │ ├── process.h │ ├── syscall.c │ ├── syscall.h │ ├── tss.c │ └── tss.h ├── utils │ ├── .gitignore │ ├── Makefile │ ├── Pintos.pm │ ├── backtrace │ ├── pintos │ ├── pintos-gdb │ ├── pintos-mkdisk │ ├── pintos-set-cmdline │ ├── setitimer-helper.c │ ├── setitimer-helper.o │ ├── squish-pty.c │ ├── squish-pty.o │ ├── squish-unix.c │ └── squish-unix.o └── vm │ ├── .gitignore │ ├── Make.vars │ └── Makefile ├── test1.jpg ├── test2.jpg └── testall.jpg /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/.gitignore -------------------------------------------------------------------------------- /Notes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/README.md -------------------------------------------------------------------------------- /Notes/img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/1.png -------------------------------------------------------------------------------- /Notes/img/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/10.png -------------------------------------------------------------------------------- /Notes/img/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/11.png -------------------------------------------------------------------------------- /Notes/img/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/12.png -------------------------------------------------------------------------------- /Notes/img/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/13.png -------------------------------------------------------------------------------- /Notes/img/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/14.png -------------------------------------------------------------------------------- /Notes/img/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/15.png -------------------------------------------------------------------------------- /Notes/img/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/16.png -------------------------------------------------------------------------------- /Notes/img/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/17.png -------------------------------------------------------------------------------- /Notes/img/18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/18.png -------------------------------------------------------------------------------- /Notes/img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/2.png -------------------------------------------------------------------------------- /Notes/img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/3.png -------------------------------------------------------------------------------- /Notes/img/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/4.png -------------------------------------------------------------------------------- /Notes/img/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/5.png -------------------------------------------------------------------------------- /Notes/img/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/6.png -------------------------------------------------------------------------------- /Notes/img/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/7.png -------------------------------------------------------------------------------- /Notes/img/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/8.png -------------------------------------------------------------------------------- /Notes/img/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/Notes/img/9.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/README.md -------------------------------------------------------------------------------- /lab00/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab00/hello.c -------------------------------------------------------------------------------- /lab00/hello.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | NAME="cs302" 4 | echo $NAME 5 | -------------------------------------------------------------------------------- /lab00/hello2.c: -------------------------------------------------------------------------------- 1 | ` 2 | -------------------------------------------------------------------------------- /lab00/ls.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab00/ls.out -------------------------------------------------------------------------------- /lab01/dis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab01/dis.sh -------------------------------------------------------------------------------- /lab01/file.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab01/file.info -------------------------------------------------------------------------------- /lab01/opt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab01/opt.c -------------------------------------------------------------------------------- /lab01/opt.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab01/opt.s -------------------------------------------------------------------------------- /lab01/opt0.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab01/opt0.s -------------------------------------------------------------------------------- /lab01/opt1.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab01/opt1.s -------------------------------------------------------------------------------- /lab02/README.md: -------------------------------------------------------------------------------- 1 | # OS_Lab2 2 | -------------------------------------------------------------------------------- /lab02/fork/fork1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/fork/fork1 -------------------------------------------------------------------------------- /lab02/fork/fork1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/fork/fork1.c -------------------------------------------------------------------------------- /lab02/fork/fork2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/fork/fork2 -------------------------------------------------------------------------------- /lab02/fork/fork2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/fork/fork2.c -------------------------------------------------------------------------------- /lab02/fork/fork_ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/fork/fork_ex -------------------------------------------------------------------------------- /lab02/fork/fork_ex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/fork/fork_ex.c -------------------------------------------------------------------------------- /lab02/getpid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/getpid -------------------------------------------------------------------------------- /lab02/getpid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/getpid.c -------------------------------------------------------------------------------- /lab02/pipe/pipe_creation: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/pipe/pipe_creation -------------------------------------------------------------------------------- /lab02/pipe/pipe_creation.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/pipe/pipe_creation.c -------------------------------------------------------------------------------- /lab02/pipe/pipe_ex1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/pipe/pipe_ex1.c -------------------------------------------------------------------------------- /lab02/pipe/pipe_lsless.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/pipe/pipe_lsless.c -------------------------------------------------------------------------------- /lab02/pipe/pipe_withfork.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/pipe/pipe_withfork.c -------------------------------------------------------------------------------- /lab02/pipe/pipe_withfork2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/pipe/pipe_withfork2.c -------------------------------------------------------------------------------- /lab02/report/fork: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/report/fork -------------------------------------------------------------------------------- /lab02/report/fork.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/report/fork.c -------------------------------------------------------------------------------- /lab02/report/pipe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/report/pipe.c -------------------------------------------------------------------------------- /lab02/report/process: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/report/process -------------------------------------------------------------------------------- /lab02/report/process.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/report/process.c -------------------------------------------------------------------------------- /lab02/report/signal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/report/signal.c -------------------------------------------------------------------------------- /lab02/report/sys.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/report/sys.c -------------------------------------------------------------------------------- /lab02/signals/custom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/signals/custom -------------------------------------------------------------------------------- /lab02/signals/custom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/signals/custom.c -------------------------------------------------------------------------------- /lab02/signals/kill: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/signals/kill -------------------------------------------------------------------------------- /lab02/signals/kill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/signals/kill.c -------------------------------------------------------------------------------- /lab02/signals/sigign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab02/signals/sigign.c -------------------------------------------------------------------------------- /lab03/Lcode/deq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/deq -------------------------------------------------------------------------------- /lab03/Lcode/deq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/deq.c -------------------------------------------------------------------------------- /lab03/Lcode/enq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/enq -------------------------------------------------------------------------------- /lab03/Lcode/enq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/enq.c -------------------------------------------------------------------------------- /lab03/Lcode/job.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/job.h -------------------------------------------------------------------------------- /lab03/Lcode/sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/sample -------------------------------------------------------------------------------- /lab03/Lcode/sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/sample.c -------------------------------------------------------------------------------- /lab03/Lcode/scheduler: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/scheduler -------------------------------------------------------------------------------- /lab03/Lcode/scheduler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/scheduler.c -------------------------------------------------------------------------------- /lab03/Lcode/scheduler.c~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/scheduler.c~ -------------------------------------------------------------------------------- /lab03/Lcode/stat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/stat -------------------------------------------------------------------------------- /lab03/Lcode/stat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Lcode/stat.c -------------------------------------------------------------------------------- /lab03/Tcode/reparent.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Tcode/reparent.c -------------------------------------------------------------------------------- /lab03/Tcode/time_1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Tcode/time_1.c -------------------------------------------------------------------------------- /lab03/Tcode/time_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Tcode/time_2.c -------------------------------------------------------------------------------- /lab03/Tcode/time_example_fast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Tcode/time_example_fast.c -------------------------------------------------------------------------------- /lab03/Tcode/time_example_slow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Tcode/time_example_slow.c -------------------------------------------------------------------------------- /lab03/Tcode/wait_and_exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab03/Tcode/wait_and_exit.c -------------------------------------------------------------------------------- /lab04/a.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab04/a.c -------------------------------------------------------------------------------- /lab04/a_sol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab04/a_sol.c -------------------------------------------------------------------------------- /lab04/b.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab04/b.c -------------------------------------------------------------------------------- /lab04/b_sol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab04/b_sol.c -------------------------------------------------------------------------------- /lab04/semaphore.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab04/semaphore.c -------------------------------------------------------------------------------- /lab05/producer_consumer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab05/producer_consumer.c -------------------------------------------------------------------------------- /lab05/reader-writer/BUFFER.TXT: -------------------------------------------------------------------------------- 1 | G -------------------------------------------------------------------------------- /lab05/reader-writer/Main_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab05/reader-writer/Main_file -------------------------------------------------------------------------------- /lab05/reader-writer/Main_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab05/reader-writer/Main_file.c -------------------------------------------------------------------------------- /lab05/reader-writer/init.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab05/reader-writer/init.h -------------------------------------------------------------------------------- /lab05/reader-writer/output_sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab05/reader-writer/output_sample.txt -------------------------------------------------------------------------------- /lab05/reader-writer/read.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab05/reader-writer/read.h -------------------------------------------------------------------------------- /lab05/reader-writer/write.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab05/reader-writer/write.h -------------------------------------------------------------------------------- /lab06/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/CMakeLists.txt -------------------------------------------------------------------------------- /lab06/cmake-build-debug/CMakeCache.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/cmake-build-debug/CMakeCache.txt -------------------------------------------------------------------------------- /lab06/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /lab06/cmake-build-debug/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/cmake-build-debug/Makefile -------------------------------------------------------------------------------- /lab06/cmake-build-debug/lab6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/cmake-build-debug/lab6 -------------------------------------------------------------------------------- /lab06/cmake-build-debug/lab6.cbp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/cmake-build-debug/lab6.cbp -------------------------------------------------------------------------------- /lab06/lab7.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/lab7.cpp -------------------------------------------------------------------------------- /lab06/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/main.cpp -------------------------------------------------------------------------------- /lab06/temp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab06/temp.cpp -------------------------------------------------------------------------------- /lab07/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/CMakeLists.txt -------------------------------------------------------------------------------- /lab07/cmake-build-debug/CMakeCache.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/cmake-build-debug/CMakeCache.txt -------------------------------------------------------------------------------- /lab07/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /lab07/cmake-build-debug/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/cmake-build-debug/Makefile -------------------------------------------------------------------------------- /lab07/cmake-build-debug/code: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/cmake-build-debug/code -------------------------------------------------------------------------------- /lab07/cmake-build-debug/code.cbp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/cmake-build-debug/code.cbp -------------------------------------------------------------------------------- /lab07/lab7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/lab7.c -------------------------------------------------------------------------------- /lab07/lab7.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/lab7.cpp -------------------------------------------------------------------------------- /lab07/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/main.c -------------------------------------------------------------------------------- /lab07/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab07/test.txt -------------------------------------------------------------------------------- /lab08/1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/1.in -------------------------------------------------------------------------------- /lab08/2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/2.in -------------------------------------------------------------------------------- /lab08/3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/3.in -------------------------------------------------------------------------------- /lab08/Algo_real: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/Algo_real -------------------------------------------------------------------------------- /lab08/Algo_real.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/Algo_real.cpp -------------------------------------------------------------------------------- /lab08/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/CMakeLists.txt -------------------------------------------------------------------------------- /lab08/cmake-build-debug/CMakeCache.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/cmake-build-debug/CMakeCache.txt -------------------------------------------------------------------------------- /lab08/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /lab08/cmake-build-debug/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/cmake-build-debug/Makefile -------------------------------------------------------------------------------- /lab08/cmake-build-debug/lab8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/cmake-build-debug/lab8 -------------------------------------------------------------------------------- /lab08/cmake-build-debug/lab8.cbp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/cmake-build-debug/lab8.cbp -------------------------------------------------------------------------------- /lab08/real_correct_code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab08/real_correct_code.cpp -------------------------------------------------------------------------------- /lab09/0.in: -------------------------------------------------------------------------------- 1 | 50 200 8 2 | 95 180 34 119 11 123 62 64 -------------------------------------------------------------------------------- /lab09/1.in: -------------------------------------------------------------------------------- 1 | 300 555 6 2 | 312 360 265 289 171 550 -------------------------------------------------------------------------------- /lab09/2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/2.in -------------------------------------------------------------------------------- /lab09/3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/3.in -------------------------------------------------------------------------------- /lab09/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/CMakeLists.txt -------------------------------------------------------------------------------- /lab09/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/a.out -------------------------------------------------------------------------------- /lab09/additional-test/4-1.in: -------------------------------------------------------------------------------- 1 | 50 200 1 2 | 50 -------------------------------------------------------------------------------- /lab09/additional-test/4-2.in: -------------------------------------------------------------------------------- 1 | 50 200 1 2 | 40 -------------------------------------------------------------------------------- /lab09/additional-test/4-3.in: -------------------------------------------------------------------------------- 1 | 50 200 1 2 | 60 -------------------------------------------------------------------------------- /lab09/additional-test/5-1.in: -------------------------------------------------------------------------------- 1 | 50 200 3 2 | 50 40 60 -------------------------------------------------------------------------------- /lab09/additional-test/5-2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/additional-test/5-2.in -------------------------------------------------------------------------------- /lab09/additional-test/5-3.in: -------------------------------------------------------------------------------- 1 | 50 200 4 2 | 60 70 80 90 -------------------------------------------------------------------------------- /lab09/cmake-build-debug/CMakeCache.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/cmake-build-debug/CMakeCache.txt -------------------------------------------------------------------------------- /lab09/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /lab09/cmake-build-debug/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/cmake-build-debug/Makefile -------------------------------------------------------------------------------- /lab09/cmake-build-debug/lab9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/cmake-build-debug/lab9 -------------------------------------------------------------------------------- /lab09/cmake-build-debug/lab9.cbp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/cmake-build-debug/lab9.cbp -------------------------------------------------------------------------------- /lab09/disk-scheduling-master/README.md: -------------------------------------------------------------------------------- 1 | disk-scheduling 2 | -------------------------------------------------------------------------------- /lab09/disk-scheduling-master/clook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/disk-scheduling-master/clook.c -------------------------------------------------------------------------------- /lab09/disk-scheduling-master/cscan.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/disk-scheduling-master/cscan.c -------------------------------------------------------------------------------- /lab09/disk-scheduling-master/fcfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/disk-scheduling-master/fcfs.c -------------------------------------------------------------------------------- /lab09/disk-scheduling-master/look.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/disk-scheduling-master/look.c -------------------------------------------------------------------------------- /lab09/disk-scheduling-master/scan.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/disk-scheduling-master/scan.c -------------------------------------------------------------------------------- /lab09/disk-scheduling-master/sstf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/disk-scheduling-master/sstf.c -------------------------------------------------------------------------------- /lab09/lab92.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/lab92.cpp -------------------------------------------------------------------------------- /lab09/lab9_11510225.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab09/lab9_11510225.cpp -------------------------------------------------------------------------------- /lab10/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab10/a.out -------------------------------------------------------------------------------- /lab10/file_system.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab10/file_system.cpp -------------------------------------------------------------------------------- /lab11/11510225.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab11/11510225.cpp -------------------------------------------------------------------------------- /lab11/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab11/CMakeLists.txt -------------------------------------------------------------------------------- /lab11/cmake-build-debug/CMakeCache.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab11/cmake-build-debug/CMakeCache.txt -------------------------------------------------------------------------------- /lab11/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /lab11/cmake-build-debug/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab11/cmake-build-debug/Makefile -------------------------------------------------------------------------------- /lab11/cmake-build-debug/lab11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab11/cmake-build-debug/lab11 -------------------------------------------------------------------------------- /lab11/cmake-build-debug/lab11.cbp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab11/cmake-build-debug/lab11.cbp -------------------------------------------------------------------------------- /lab11/test.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/lab11/test.in -------------------------------------------------------------------------------- /proj1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/README.md -------------------------------------------------------------------------------- /proj1/src/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/.gitignore -------------------------------------------------------------------------------- /proj1/src/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/LICENSE -------------------------------------------------------------------------------- /proj1/src/Make.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/Make.config -------------------------------------------------------------------------------- /proj1/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/Makefile -------------------------------------------------------------------------------- /proj1/src/Makefile.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/Makefile.build -------------------------------------------------------------------------------- /proj1/src/Makefile.kernel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/Makefile.kernel -------------------------------------------------------------------------------- /proj1/src/Makefile.userprog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/Makefile.userprog -------------------------------------------------------------------------------- /proj1/src/devices/block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/block.c -------------------------------------------------------------------------------- /proj1/src/devices/block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/block.h -------------------------------------------------------------------------------- /proj1/src/devices/ide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/ide.c -------------------------------------------------------------------------------- /proj1/src/devices/ide.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/ide.h -------------------------------------------------------------------------------- /proj1/src/devices/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/input.c -------------------------------------------------------------------------------- /proj1/src/devices/input.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/input.h -------------------------------------------------------------------------------- /proj1/src/devices/intq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/intq.c -------------------------------------------------------------------------------- /proj1/src/devices/intq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/intq.h -------------------------------------------------------------------------------- /proj1/src/devices/kbd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/kbd.c -------------------------------------------------------------------------------- /proj1/src/devices/kbd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/kbd.h -------------------------------------------------------------------------------- /proj1/src/devices/partition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/partition.c -------------------------------------------------------------------------------- /proj1/src/devices/partition.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/partition.h -------------------------------------------------------------------------------- /proj1/src/devices/pit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/pit.c -------------------------------------------------------------------------------- /proj1/src/devices/pit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/pit.h -------------------------------------------------------------------------------- /proj1/src/devices/rtc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/rtc.c -------------------------------------------------------------------------------- /proj1/src/devices/rtc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/rtc.h -------------------------------------------------------------------------------- /proj1/src/devices/serial.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/serial.c -------------------------------------------------------------------------------- /proj1/src/devices/serial.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/serial.h -------------------------------------------------------------------------------- /proj1/src/devices/shutdown.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/shutdown.c -------------------------------------------------------------------------------- /proj1/src/devices/shutdown.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/shutdown.h -------------------------------------------------------------------------------- /proj1/src/devices/speaker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/speaker.c -------------------------------------------------------------------------------- /proj1/src/devices/speaker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/speaker.h -------------------------------------------------------------------------------- /proj1/src/devices/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/timer.c -------------------------------------------------------------------------------- /proj1/src/devices/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/timer.h -------------------------------------------------------------------------------- /proj1/src/devices/vga.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/vga.c -------------------------------------------------------------------------------- /proj1/src/devices/vga.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/devices/vga.h -------------------------------------------------------------------------------- /proj1/src/examples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/.gitignore -------------------------------------------------------------------------------- /proj1/src/examples/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/Makefile -------------------------------------------------------------------------------- /proj1/src/examples/bubsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/bubsort.c -------------------------------------------------------------------------------- /proj1/src/examples/cat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/cat.c -------------------------------------------------------------------------------- /proj1/src/examples/cmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/cmp.c -------------------------------------------------------------------------------- /proj1/src/examples/cp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/cp.c -------------------------------------------------------------------------------- /proj1/src/examples/echo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/echo.c -------------------------------------------------------------------------------- /proj1/src/examples/halt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/halt.c -------------------------------------------------------------------------------- /proj1/src/examples/hex-dump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/hex-dump.c -------------------------------------------------------------------------------- /proj1/src/examples/insult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/insult.c -------------------------------------------------------------------------------- /proj1/src/examples/lib/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj1/src/examples/lib/user/.dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proj1/src/examples/lib/user/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj1/src/examples/lineup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/lineup.c -------------------------------------------------------------------------------- /proj1/src/examples/ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/ls.c -------------------------------------------------------------------------------- /proj1/src/examples/matmult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/matmult.c -------------------------------------------------------------------------------- /proj1/src/examples/mcat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/mcat.c -------------------------------------------------------------------------------- /proj1/src/examples/mcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/mcp.c -------------------------------------------------------------------------------- /proj1/src/examples/mkdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/mkdir.c -------------------------------------------------------------------------------- /proj1/src/examples/pwd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/pwd.c -------------------------------------------------------------------------------- /proj1/src/examples/recursor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/recursor.c -------------------------------------------------------------------------------- /proj1/src/examples/rm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/rm.c -------------------------------------------------------------------------------- /proj1/src/examples/shell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/examples/shell.c -------------------------------------------------------------------------------- /proj1/src/filesys/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/.gitignore -------------------------------------------------------------------------------- /proj1/src/filesys/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/Make.vars -------------------------------------------------------------------------------- /proj1/src/filesys/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj1/src/filesys/directory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/directory.c -------------------------------------------------------------------------------- /proj1/src/filesys/directory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/directory.h -------------------------------------------------------------------------------- /proj1/src/filesys/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/file.c -------------------------------------------------------------------------------- /proj1/src/filesys/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/file.h -------------------------------------------------------------------------------- /proj1/src/filesys/filesys.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/filesys.c -------------------------------------------------------------------------------- /proj1/src/filesys/filesys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/filesys.h -------------------------------------------------------------------------------- /proj1/src/filesys/free-map.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/free-map.c -------------------------------------------------------------------------------- /proj1/src/filesys/free-map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/free-map.h -------------------------------------------------------------------------------- /proj1/src/filesys/fsutil.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/fsutil.c -------------------------------------------------------------------------------- /proj1/src/filesys/fsutil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/fsutil.h -------------------------------------------------------------------------------- /proj1/src/filesys/inode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/inode.c -------------------------------------------------------------------------------- /proj1/src/filesys/inode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/inode.h -------------------------------------------------------------------------------- /proj1/src/filesys/off_t.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/filesys/off_t.h -------------------------------------------------------------------------------- /proj1/src/lib/arithmetic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/arithmetic.c -------------------------------------------------------------------------------- /proj1/src/lib/ctype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/ctype.h -------------------------------------------------------------------------------- /proj1/src/lib/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/debug.c -------------------------------------------------------------------------------- /proj1/src/lib/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/debug.h -------------------------------------------------------------------------------- /proj1/src/lib/inttypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/inttypes.h -------------------------------------------------------------------------------- /proj1/src/lib/kernel/bitmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/bitmap.c -------------------------------------------------------------------------------- /proj1/src/lib/kernel/bitmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/bitmap.h -------------------------------------------------------------------------------- /proj1/src/lib/kernel/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/console.c -------------------------------------------------------------------------------- /proj1/src/lib/kernel/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/console.h -------------------------------------------------------------------------------- /proj1/src/lib/kernel/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/debug.c -------------------------------------------------------------------------------- /proj1/src/lib/kernel/hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/hash.c -------------------------------------------------------------------------------- /proj1/src/lib/kernel/hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/hash.h -------------------------------------------------------------------------------- /proj1/src/lib/kernel/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/list.c -------------------------------------------------------------------------------- /proj1/src/lib/kernel/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/list.h -------------------------------------------------------------------------------- /proj1/src/lib/kernel/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/kernel/stdio.h -------------------------------------------------------------------------------- /proj1/src/lib/limits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/limits.h -------------------------------------------------------------------------------- /proj1/src/lib/packed.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/packed.h -------------------------------------------------------------------------------- /proj1/src/lib/random.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/random.c -------------------------------------------------------------------------------- /proj1/src/lib/random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/random.h -------------------------------------------------------------------------------- /proj1/src/lib/round.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/round.h -------------------------------------------------------------------------------- /proj1/src/lib/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stdarg.h -------------------------------------------------------------------------------- /proj1/src/lib/stdbool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stdbool.h -------------------------------------------------------------------------------- /proj1/src/lib/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stddef.h -------------------------------------------------------------------------------- /proj1/src/lib/stdint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stdint.h -------------------------------------------------------------------------------- /proj1/src/lib/stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stdio.c -------------------------------------------------------------------------------- /proj1/src/lib/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stdio.h -------------------------------------------------------------------------------- /proj1/src/lib/stdlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stdlib.c -------------------------------------------------------------------------------- /proj1/src/lib/stdlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/stdlib.h -------------------------------------------------------------------------------- /proj1/src/lib/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/string.c -------------------------------------------------------------------------------- /proj1/src/lib/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/string.h -------------------------------------------------------------------------------- /proj1/src/lib/syscall-nr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/syscall-nr.h -------------------------------------------------------------------------------- /proj1/src/lib/user/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/user/console.c -------------------------------------------------------------------------------- /proj1/src/lib/user/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/user/debug.c -------------------------------------------------------------------------------- /proj1/src/lib/user/entry.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/user/entry.c -------------------------------------------------------------------------------- /proj1/src/lib/user/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/user/stdio.h -------------------------------------------------------------------------------- /proj1/src/lib/user/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/user/syscall.c -------------------------------------------------------------------------------- /proj1/src/lib/user/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/user/syscall.h -------------------------------------------------------------------------------- /proj1/src/lib/user/user.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/user/user.lds -------------------------------------------------------------------------------- /proj1/src/lib/ustar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/ustar.c -------------------------------------------------------------------------------- /proj1/src/lib/ustar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/lib/ustar.h -------------------------------------------------------------------------------- /proj1/src/misc/bochs-2.2.6-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/misc/bochs-2.2.6-build.sh -------------------------------------------------------------------------------- /proj1/src/misc/bochs-2.6.2-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/misc/bochs-2.6.2-build.sh -------------------------------------------------------------------------------- /proj1/src/misc/gcc-3.3.6-cross-howto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/misc/gcc-3.3.6-cross-howto -------------------------------------------------------------------------------- /proj1/src/misc/gdb-macros: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/misc/gdb-macros -------------------------------------------------------------------------------- /proj1/src/tests/Algorithm/Diff.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/Algorithm/Diff.pm -------------------------------------------------------------------------------- /proj1/src/tests/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/Make.tests -------------------------------------------------------------------------------- /proj1/src/tests/arc4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/arc4.c -------------------------------------------------------------------------------- /proj1/src/tests/arc4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/arc4.h -------------------------------------------------------------------------------- /proj1/src/tests/arc4.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/arc4.pm -------------------------------------------------------------------------------- /proj1/src/tests/cksum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/cksum.c -------------------------------------------------------------------------------- /proj1/src/tests/cksum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/cksum.h -------------------------------------------------------------------------------- /proj1/src/tests/cksum.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/cksum.pm -------------------------------------------------------------------------------- /proj1/src/tests/filesys/Grading.no-vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/Grading.no-vm -------------------------------------------------------------------------------- /proj1/src/tests/filesys/base/Rubric: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/base/Rubric -------------------------------------------------------------------------------- /proj1/src/tests/filesys/base/full.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/base/full.inc -------------------------------------------------------------------------------- /proj1/src/tests/filesys/base/lg-full.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/base/lg-full.c -------------------------------------------------------------------------------- /proj1/src/tests/filesys/base/sm-full.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/base/sm-full.c -------------------------------------------------------------------------------- /proj1/src/tests/filesys/create.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/create.inc -------------------------------------------------------------------------------- /proj1/src/tests/filesys/extended/tar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/extended/tar.c -------------------------------------------------------------------------------- /proj1/src/tests/filesys/seq-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/seq-test.c -------------------------------------------------------------------------------- /proj1/src/tests/filesys/seq-test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/filesys/seq-test.h -------------------------------------------------------------------------------- /proj1/src/tests/internal/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/internal/list.c -------------------------------------------------------------------------------- /proj1/src/tests/internal/stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/internal/stdio.c -------------------------------------------------------------------------------- /proj1/src/tests/internal/stdlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/internal/stdlib.c -------------------------------------------------------------------------------- /proj1/src/tests/lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/lib.c -------------------------------------------------------------------------------- /proj1/src/tests/lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/lib.h -------------------------------------------------------------------------------- /proj1/src/tests/lib.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/lib.pm -------------------------------------------------------------------------------- /proj1/src/tests/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/main.c -------------------------------------------------------------------------------- /proj1/src/tests/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/main.h -------------------------------------------------------------------------------- /proj1/src/tests/make-grade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/make-grade -------------------------------------------------------------------------------- /proj1/src/tests/random.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/random.pm -------------------------------------------------------------------------------- /proj1/src/tests/tests.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/tests.pm -------------------------------------------------------------------------------- /proj1/src/tests/threads/Grading: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/Grading -------------------------------------------------------------------------------- /proj1/src/tests/threads/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/Make.tests -------------------------------------------------------------------------------- /proj1/src/tests/threads/Rubric.alarm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/Rubric.alarm -------------------------------------------------------------------------------- /proj1/src/tests/threads/Rubric.mlfqs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/Rubric.mlfqs -------------------------------------------------------------------------------- /proj1/src/tests/threads/alarm-wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/alarm-wait.c -------------------------------------------------------------------------------- /proj1/src/tests/threads/alarm-zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/alarm-zero.c -------------------------------------------------------------------------------- /proj1/src/tests/threads/alarm-zero.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/alarm-zero.ck -------------------------------------------------------------------------------- /proj1/src/tests/threads/alarm.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/alarm.pm -------------------------------------------------------------------------------- /proj1/src/tests/threads/mlfqs-block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/mlfqs-block.c -------------------------------------------------------------------------------- /proj1/src/tests/threads/mlfqs-block.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/mlfqs-block.ck -------------------------------------------------------------------------------- /proj1/src/tests/threads/mlfqs-fair.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/mlfqs-fair.c -------------------------------------------------------------------------------- /proj1/src/tests/threads/mlfqs-load-1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/mlfqs-load-1.c -------------------------------------------------------------------------------- /proj1/src/tests/threads/mlfqs.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/mlfqs.pm -------------------------------------------------------------------------------- /proj1/src/tests/threads/tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/tests.c -------------------------------------------------------------------------------- /proj1/src/tests/threads/tests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/threads/tests.h -------------------------------------------------------------------------------- /proj1/src/tests/userprog/Grading: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/Grading -------------------------------------------------------------------------------- /proj1/src/tests/userprog/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/Make.tests -------------------------------------------------------------------------------- /proj1/src/tests/userprog/args-many.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/args-many.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/args-none.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/args-none.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/args.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-jump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-jump.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-jump.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-jump.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-jump2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-jump2.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-jump2.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-jump2.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-read.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-read.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-read.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-read2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-read2.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-read2.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-read2.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-write.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-write.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-write.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-write.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-write2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-write2.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/bad-write2.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/bad-write2.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/boundary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/boundary.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/boundary.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/boundary.h -------------------------------------------------------------------------------- /proj1/src/tests/userprog/child-bad.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/child-bad.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/child-close.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/child-close.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/child-rox.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/child-rox.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/close-stdin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/close-stdin.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/close-twice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/close-twice.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/create-long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/create-long.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/create-null.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/create-null.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/exec-arg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/exec-arg.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/exec-arg.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/exec-arg.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/exec-once.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/exec-once.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/exec-once.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/exec-once.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/exit.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/exit.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/exit.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/halt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/halt.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/halt.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/halt.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/lib/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj1/src/tests/userprog/lib/user/.dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proj1/src/tests/userprog/lib/user/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj1/src/tests/userprog/no-vm/Rubric: -------------------------------------------------------------------------------- 1 | Functionality of features that VM might break: 2 | 3 | 1 multi-oom 4 | -------------------------------------------------------------------------------- /proj1/src/tests/userprog/null.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/null.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/open-empty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/open-empty.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/open-empty.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/open-empty.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/open-normal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/open-normal.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/open-null.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/open-null.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/open-null.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/open-null.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/open-twice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/open-twice.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/open-twice.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/open-twice.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/read-bad-fd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/read-bad-fd.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/read-normal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/read-normal.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/read-stdout.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/read-stdout.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/read-zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/read-zero.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/read-zero.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/read-zero.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/rox-child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/rox-child.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/rox-child.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/rox-child.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/rox-child.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/rox-child.inc -------------------------------------------------------------------------------- /proj1/src/tests/userprog/rox-simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/rox-simple.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/rox-simple.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/rox-simple.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/sample.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/sample.inc -------------------------------------------------------------------------------- /proj1/src/tests/userprog/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/sample.txt -------------------------------------------------------------------------------- /proj1/src/tests/userprog/sc-bad-arg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/sc-bad-arg.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/sc-bad-arg.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/sc-bad-arg.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/sc-bad-sp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/sc-bad-sp.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/sc-bad-sp.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/sc-bad-sp.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/sc-boundary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/sc-boundary.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/wait-killed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/wait-killed.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/wait-simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/wait-simple.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/wait-twice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/wait-twice.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/wait-twice.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/wait-twice.ck -------------------------------------------------------------------------------- /proj1/src/tests/userprog/write-stdin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/write-stdin.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/write-zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/write-zero.c -------------------------------------------------------------------------------- /proj1/src/tests/userprog/write-zero.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/userprog/write-zero.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/Grading: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/Grading -------------------------------------------------------------------------------- /proj1/src/tests/vm/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/Make.tests -------------------------------------------------------------------------------- /proj1/src/tests/vm/Rubric.robustness: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/Rubric.robustness -------------------------------------------------------------------------------- /proj1/src/tests/vm/child-inherit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/child-inherit.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/child-linear.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/child-linear.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/child-mm-wrt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/child-mm-wrt.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/child-qsort-mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/child-qsort-mm.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/child-qsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/child-qsort.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/child-sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/child-sort.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-bad-fd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-bad-fd.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-bad-fd.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-bad-fd.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-clean.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-clean.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-clean.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-clean.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-close.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-close.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-close.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-close.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-exit.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-exit.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-exit.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-inherit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-inherit.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-inherit.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-inherit.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-misalign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-misalign.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-misalign.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-misalign.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-null.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-null.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-null.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-null.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-over-code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-over-code.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-over-code.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-over-code.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-over-data.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-over-data.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-over-data.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-over-data.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-over-stk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-over-stk.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-over-stk.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-over-stk.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-overlap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-overlap.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-overlap.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-overlap.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-read.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-read.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-read.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-remove.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-remove.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-remove.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-remove.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-shuffle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-shuffle.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-shuffle.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-shuffle.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-twice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-twice.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-twice.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-twice.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-unmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-unmap.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-unmap.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-unmap.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-write.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-write.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-write.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-write.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-zero.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/mmap-zero.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/mmap-zero.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-linear.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-linear.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-linear.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-linear.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-mm.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-mm.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-mm.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-par.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-par.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-par.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-par.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-seq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-seq.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-seq.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-seq.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-stk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-stk.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-merge-stk.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-merge-stk.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-parallel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-parallel.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-parallel.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-parallel.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-shuffle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-shuffle.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/page-shuffle.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/page-shuffle.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/parallel-merge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/parallel-merge.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/parallel-merge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/parallel-merge.h -------------------------------------------------------------------------------- /proj1/src/tests/vm/process_death.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/process_death.pm -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-bad-addr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-bad-addr.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-bad-addr.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-bad-addr.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-bad-read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-bad-read.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-bad-read.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-bad-read.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-big-stk-obj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-big-stk-obj.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-big-stk-obj.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-big-stk-obj.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-bad.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-bad.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-bad.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-bad.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-pusha.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-pusha.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-pusha.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-pusha.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-stack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-stack.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-stack.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-stack.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-stk-sc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-stk-sc.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-grow-stk-sc.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-grow-stk-sc.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-write-code-2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-write-code-2.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-write-code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-write-code.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-write-code.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-write-code.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/pt-write-code2.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/pt-write-code2.ck -------------------------------------------------------------------------------- /proj1/src/tests/vm/qsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/qsort.c -------------------------------------------------------------------------------- /proj1/src/tests/vm/qsort.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/qsort.h -------------------------------------------------------------------------------- /proj1/src/tests/vm/sample.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/sample.inc -------------------------------------------------------------------------------- /proj1/src/tests/vm/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/tests/vm/sample.txt -------------------------------------------------------------------------------- /proj1/src/threads/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/.gitignore -------------------------------------------------------------------------------- /proj1/src/threads/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/Make.vars -------------------------------------------------------------------------------- /proj1/src/threads/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj1/src/threads/flags.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/flags.h -------------------------------------------------------------------------------- /proj1/src/threads/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/init.c -------------------------------------------------------------------------------- /proj1/src/threads/init.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/init.h -------------------------------------------------------------------------------- /proj1/src/threads/interrupt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/interrupt.c -------------------------------------------------------------------------------- /proj1/src/threads/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/interrupt.h -------------------------------------------------------------------------------- /proj1/src/threads/intr-stubs.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/intr-stubs.S -------------------------------------------------------------------------------- /proj1/src/threads/intr-stubs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/intr-stubs.h -------------------------------------------------------------------------------- /proj1/src/threads/io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/io.h -------------------------------------------------------------------------------- /proj1/src/threads/kernel.lds.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/kernel.lds.S -------------------------------------------------------------------------------- /proj1/src/threads/loader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/loader.S -------------------------------------------------------------------------------- /proj1/src/threads/loader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/loader.h -------------------------------------------------------------------------------- /proj1/src/threads/malloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/malloc.c -------------------------------------------------------------------------------- /proj1/src/threads/malloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/malloc.h -------------------------------------------------------------------------------- /proj1/src/threads/palloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/palloc.c -------------------------------------------------------------------------------- /proj1/src/threads/palloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/palloc.h -------------------------------------------------------------------------------- /proj1/src/threads/pte.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/pte.h -------------------------------------------------------------------------------- /proj1/src/threads/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/start.S -------------------------------------------------------------------------------- /proj1/src/threads/switch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/switch.S -------------------------------------------------------------------------------- /proj1/src/threads/switch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/switch.h -------------------------------------------------------------------------------- /proj1/src/threads/synch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/synch.c -------------------------------------------------------------------------------- /proj1/src/threads/synch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/synch.h -------------------------------------------------------------------------------- /proj1/src/threads/thread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/thread.c -------------------------------------------------------------------------------- /proj1/src/threads/thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/thread.h -------------------------------------------------------------------------------- /proj1/src/threads/vaddr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/threads/vaddr.h -------------------------------------------------------------------------------- /proj1/src/userprog/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/.gitignore -------------------------------------------------------------------------------- /proj1/src/userprog/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/Make.vars -------------------------------------------------------------------------------- /proj1/src/userprog/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj1/src/userprog/exception.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/exception.c -------------------------------------------------------------------------------- /proj1/src/userprog/exception.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/exception.h -------------------------------------------------------------------------------- /proj1/src/userprog/gdt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/gdt.c -------------------------------------------------------------------------------- /proj1/src/userprog/gdt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/gdt.h -------------------------------------------------------------------------------- /proj1/src/userprog/pagedir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/pagedir.c -------------------------------------------------------------------------------- /proj1/src/userprog/pagedir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/pagedir.h -------------------------------------------------------------------------------- /proj1/src/userprog/process.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/process.c -------------------------------------------------------------------------------- /proj1/src/userprog/process.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/process.h -------------------------------------------------------------------------------- /proj1/src/userprog/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/syscall.c -------------------------------------------------------------------------------- /proj1/src/userprog/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/syscall.h -------------------------------------------------------------------------------- /proj1/src/userprog/tss.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/tss.c -------------------------------------------------------------------------------- /proj1/src/userprog/tss.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/userprog/tss.h -------------------------------------------------------------------------------- /proj1/src/utils/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/.gitignore -------------------------------------------------------------------------------- /proj1/src/utils/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/Makefile -------------------------------------------------------------------------------- /proj1/src/utils/Pintos.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/Pintos.pm -------------------------------------------------------------------------------- /proj1/src/utils/backtrace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/backtrace -------------------------------------------------------------------------------- /proj1/src/utils/pintos: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/pintos -------------------------------------------------------------------------------- /proj1/src/utils/pintos-gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/pintos-gdb -------------------------------------------------------------------------------- /proj1/src/utils/pintos-mkdisk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/pintos-mkdisk -------------------------------------------------------------------------------- /proj1/src/utils/pintos-set-cmdline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/pintos-set-cmdline -------------------------------------------------------------------------------- /proj1/src/utils/setitimer-helper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/setitimer-helper.c -------------------------------------------------------------------------------- /proj1/src/utils/squish-pty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/squish-pty.c -------------------------------------------------------------------------------- /proj1/src/utils/squish-unix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/utils/squish-unix.c -------------------------------------------------------------------------------- /proj1/src/vm/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/vm/.gitignore -------------------------------------------------------------------------------- /proj1/src/vm/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj1/src/vm/Make.vars -------------------------------------------------------------------------------- /proj1/src/vm/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/README.md -------------------------------------------------------------------------------- /proj2/p1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/p1.png -------------------------------------------------------------------------------- /proj2/p2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/p2.png -------------------------------------------------------------------------------- /proj2/src/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/.gitignore -------------------------------------------------------------------------------- /proj2/src/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/LICENSE -------------------------------------------------------------------------------- /proj2/src/Make.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/Make.config -------------------------------------------------------------------------------- /proj2/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/Makefile -------------------------------------------------------------------------------- /proj2/src/Makefile.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/Makefile.build -------------------------------------------------------------------------------- /proj2/src/Makefile.kernel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/Makefile.kernel -------------------------------------------------------------------------------- /proj2/src/Makefile.userprog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/Makefile.userprog -------------------------------------------------------------------------------- /proj2/src/devices/block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/block.c -------------------------------------------------------------------------------- /proj2/src/devices/block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/block.h -------------------------------------------------------------------------------- /proj2/src/devices/ide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/ide.c -------------------------------------------------------------------------------- /proj2/src/devices/ide.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/ide.h -------------------------------------------------------------------------------- /proj2/src/devices/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/input.c -------------------------------------------------------------------------------- /proj2/src/devices/input.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/input.h -------------------------------------------------------------------------------- /proj2/src/devices/intq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/intq.c -------------------------------------------------------------------------------- /proj2/src/devices/intq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/intq.h -------------------------------------------------------------------------------- /proj2/src/devices/kbd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/kbd.c -------------------------------------------------------------------------------- /proj2/src/devices/kbd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/kbd.h -------------------------------------------------------------------------------- /proj2/src/devices/partition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/partition.c -------------------------------------------------------------------------------- /proj2/src/devices/partition.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/partition.h -------------------------------------------------------------------------------- /proj2/src/devices/pit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/pit.c -------------------------------------------------------------------------------- /proj2/src/devices/pit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/pit.h -------------------------------------------------------------------------------- /proj2/src/devices/rtc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/rtc.c -------------------------------------------------------------------------------- /proj2/src/devices/rtc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/rtc.h -------------------------------------------------------------------------------- /proj2/src/devices/serial.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/serial.c -------------------------------------------------------------------------------- /proj2/src/devices/serial.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/serial.h -------------------------------------------------------------------------------- /proj2/src/devices/shutdown.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/shutdown.c -------------------------------------------------------------------------------- /proj2/src/devices/shutdown.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/shutdown.h -------------------------------------------------------------------------------- /proj2/src/devices/speaker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/speaker.c -------------------------------------------------------------------------------- /proj2/src/devices/speaker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/speaker.h -------------------------------------------------------------------------------- /proj2/src/devices/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/timer.c -------------------------------------------------------------------------------- /proj2/src/devices/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/timer.h -------------------------------------------------------------------------------- /proj2/src/devices/vga.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/vga.c -------------------------------------------------------------------------------- /proj2/src/devices/vga.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/devices/vga.h -------------------------------------------------------------------------------- /proj2/src/examples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/.gitignore -------------------------------------------------------------------------------- /proj2/src/examples/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/Makefile -------------------------------------------------------------------------------- /proj2/src/examples/bubsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/bubsort.c -------------------------------------------------------------------------------- /proj2/src/examples/cat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/cat.c -------------------------------------------------------------------------------- /proj2/src/examples/cmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/cmp.c -------------------------------------------------------------------------------- /proj2/src/examples/cp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/cp.c -------------------------------------------------------------------------------- /proj2/src/examples/echo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/echo.c -------------------------------------------------------------------------------- /proj2/src/examples/halt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/halt.c -------------------------------------------------------------------------------- /proj2/src/examples/hex-dump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/hex-dump.c -------------------------------------------------------------------------------- /proj2/src/examples/insult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/insult.c -------------------------------------------------------------------------------- /proj2/src/examples/lib/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj2/src/examples/lib/user/.dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proj2/src/examples/lib/user/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj2/src/examples/lineup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/lineup.c -------------------------------------------------------------------------------- /proj2/src/examples/ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/ls.c -------------------------------------------------------------------------------- /proj2/src/examples/matmult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/matmult.c -------------------------------------------------------------------------------- /proj2/src/examples/mcat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/mcat.c -------------------------------------------------------------------------------- /proj2/src/examples/mcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/mcp.c -------------------------------------------------------------------------------- /proj2/src/examples/mkdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/mkdir.c -------------------------------------------------------------------------------- /proj2/src/examples/pwd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/pwd.c -------------------------------------------------------------------------------- /proj2/src/examples/recursor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/recursor.c -------------------------------------------------------------------------------- /proj2/src/examples/rm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/rm.c -------------------------------------------------------------------------------- /proj2/src/examples/shell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/examples/shell.c -------------------------------------------------------------------------------- /proj2/src/filesys/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/.gitignore -------------------------------------------------------------------------------- /proj2/src/filesys/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/Make.vars -------------------------------------------------------------------------------- /proj2/src/filesys/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj2/src/filesys/directory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/directory.c -------------------------------------------------------------------------------- /proj2/src/filesys/directory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/directory.h -------------------------------------------------------------------------------- /proj2/src/filesys/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/file.c -------------------------------------------------------------------------------- /proj2/src/filesys/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/file.h -------------------------------------------------------------------------------- /proj2/src/filesys/filesys.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/filesys.c -------------------------------------------------------------------------------- /proj2/src/filesys/filesys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/filesys.h -------------------------------------------------------------------------------- /proj2/src/filesys/free-map.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/free-map.c -------------------------------------------------------------------------------- /proj2/src/filesys/free-map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/free-map.h -------------------------------------------------------------------------------- /proj2/src/filesys/fsutil.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/fsutil.c -------------------------------------------------------------------------------- /proj2/src/filesys/fsutil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/fsutil.h -------------------------------------------------------------------------------- /proj2/src/filesys/inode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/inode.c -------------------------------------------------------------------------------- /proj2/src/filesys/inode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/inode.h -------------------------------------------------------------------------------- /proj2/src/filesys/off_t.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/filesys/off_t.h -------------------------------------------------------------------------------- /proj2/src/lib/arithmetic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/arithmetic.c -------------------------------------------------------------------------------- /proj2/src/lib/ctype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/ctype.h -------------------------------------------------------------------------------- /proj2/src/lib/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/debug.c -------------------------------------------------------------------------------- /proj2/src/lib/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/debug.h -------------------------------------------------------------------------------- /proj2/src/lib/inttypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/inttypes.h -------------------------------------------------------------------------------- /proj2/src/lib/kernel/bitmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/bitmap.c -------------------------------------------------------------------------------- /proj2/src/lib/kernel/bitmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/bitmap.h -------------------------------------------------------------------------------- /proj2/src/lib/kernel/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/console.c -------------------------------------------------------------------------------- /proj2/src/lib/kernel/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/console.h -------------------------------------------------------------------------------- /proj2/src/lib/kernel/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/debug.c -------------------------------------------------------------------------------- /proj2/src/lib/kernel/hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/hash.c -------------------------------------------------------------------------------- /proj2/src/lib/kernel/hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/hash.h -------------------------------------------------------------------------------- /proj2/src/lib/kernel/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/list.c -------------------------------------------------------------------------------- /proj2/src/lib/kernel/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/list.h -------------------------------------------------------------------------------- /proj2/src/lib/kernel/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/kernel/stdio.h -------------------------------------------------------------------------------- /proj2/src/lib/limits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/limits.h -------------------------------------------------------------------------------- /proj2/src/lib/packed.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/packed.h -------------------------------------------------------------------------------- /proj2/src/lib/random.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/random.c -------------------------------------------------------------------------------- /proj2/src/lib/random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/random.h -------------------------------------------------------------------------------- /proj2/src/lib/round.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/round.h -------------------------------------------------------------------------------- /proj2/src/lib/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stdarg.h -------------------------------------------------------------------------------- /proj2/src/lib/stdbool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stdbool.h -------------------------------------------------------------------------------- /proj2/src/lib/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stddef.h -------------------------------------------------------------------------------- /proj2/src/lib/stdint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stdint.h -------------------------------------------------------------------------------- /proj2/src/lib/stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stdio.c -------------------------------------------------------------------------------- /proj2/src/lib/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stdio.h -------------------------------------------------------------------------------- /proj2/src/lib/stdlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stdlib.c -------------------------------------------------------------------------------- /proj2/src/lib/stdlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/stdlib.h -------------------------------------------------------------------------------- /proj2/src/lib/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/string.c -------------------------------------------------------------------------------- /proj2/src/lib/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/string.h -------------------------------------------------------------------------------- /proj2/src/lib/syscall-nr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/syscall-nr.h -------------------------------------------------------------------------------- /proj2/src/lib/user/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/user/console.c -------------------------------------------------------------------------------- /proj2/src/lib/user/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/user/debug.c -------------------------------------------------------------------------------- /proj2/src/lib/user/entry.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/user/entry.c -------------------------------------------------------------------------------- /proj2/src/lib/user/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/user/stdio.h -------------------------------------------------------------------------------- /proj2/src/lib/user/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/user/syscall.c -------------------------------------------------------------------------------- /proj2/src/lib/user/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/user/syscall.h -------------------------------------------------------------------------------- /proj2/src/lib/user/user.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/user/user.lds -------------------------------------------------------------------------------- /proj2/src/lib/ustar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/ustar.c -------------------------------------------------------------------------------- /proj2/src/lib/ustar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/lib/ustar.h -------------------------------------------------------------------------------- /proj2/src/misc/bochs-2.2.6-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/misc/bochs-2.2.6-build.sh -------------------------------------------------------------------------------- /proj2/src/misc/bochs-2.6.2-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/misc/bochs-2.6.2-build.sh -------------------------------------------------------------------------------- /proj2/src/misc/gcc-3.3.6-cross-howto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/misc/gcc-3.3.6-cross-howto -------------------------------------------------------------------------------- /proj2/src/misc/gdb-macros: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/misc/gdb-macros -------------------------------------------------------------------------------- /proj2/src/tests/Algorithm/Diff.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/Algorithm/Diff.pm -------------------------------------------------------------------------------- /proj2/src/tests/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/Make.tests -------------------------------------------------------------------------------- /proj2/src/tests/arc4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/arc4.c -------------------------------------------------------------------------------- /proj2/src/tests/arc4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/arc4.h -------------------------------------------------------------------------------- /proj2/src/tests/arc4.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/arc4.pm -------------------------------------------------------------------------------- /proj2/src/tests/cksum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/cksum.c -------------------------------------------------------------------------------- /proj2/src/tests/cksum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/cksum.h -------------------------------------------------------------------------------- /proj2/src/tests/cksum.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/cksum.pm -------------------------------------------------------------------------------- /proj2/src/tests/filesys/Grading.no-vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/Grading.no-vm -------------------------------------------------------------------------------- /proj2/src/tests/filesys/base/Rubric: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/base/Rubric -------------------------------------------------------------------------------- /proj2/src/tests/filesys/base/full.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/base/full.inc -------------------------------------------------------------------------------- /proj2/src/tests/filesys/base/lg-full.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/base/lg-full.c -------------------------------------------------------------------------------- /proj2/src/tests/filesys/base/sm-full.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/base/sm-full.c -------------------------------------------------------------------------------- /proj2/src/tests/filesys/create.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/create.inc -------------------------------------------------------------------------------- /proj2/src/tests/filesys/extended/tar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/extended/tar.c -------------------------------------------------------------------------------- /proj2/src/tests/filesys/seq-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/seq-test.c -------------------------------------------------------------------------------- /proj2/src/tests/filesys/seq-test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/filesys/seq-test.h -------------------------------------------------------------------------------- /proj2/src/tests/internal/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/internal/list.c -------------------------------------------------------------------------------- /proj2/src/tests/internal/stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/internal/stdio.c -------------------------------------------------------------------------------- /proj2/src/tests/internal/stdlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/internal/stdlib.c -------------------------------------------------------------------------------- /proj2/src/tests/lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/lib.c -------------------------------------------------------------------------------- /proj2/src/tests/lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/lib.h -------------------------------------------------------------------------------- /proj2/src/tests/lib.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/lib.pm -------------------------------------------------------------------------------- /proj2/src/tests/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/main.c -------------------------------------------------------------------------------- /proj2/src/tests/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/main.h -------------------------------------------------------------------------------- /proj2/src/tests/make-grade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/make-grade -------------------------------------------------------------------------------- /proj2/src/tests/random.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/random.pm -------------------------------------------------------------------------------- /proj2/src/tests/tests.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/tests.pm -------------------------------------------------------------------------------- /proj2/src/tests/threads/Grading: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/Grading -------------------------------------------------------------------------------- /proj2/src/tests/threads/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/Make.tests -------------------------------------------------------------------------------- /proj2/src/tests/threads/Rubric.alarm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/Rubric.alarm -------------------------------------------------------------------------------- /proj2/src/tests/threads/Rubric.mlfqs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/Rubric.mlfqs -------------------------------------------------------------------------------- /proj2/src/tests/threads/alarm-wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/alarm-wait.c -------------------------------------------------------------------------------- /proj2/src/tests/threads/alarm-zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/alarm-zero.c -------------------------------------------------------------------------------- /proj2/src/tests/threads/alarm-zero.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/alarm-zero.ck -------------------------------------------------------------------------------- /proj2/src/tests/threads/alarm.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/alarm.pm -------------------------------------------------------------------------------- /proj2/src/tests/threads/mlfqs.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/mlfqs.pm -------------------------------------------------------------------------------- /proj2/src/tests/threads/tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/tests.c -------------------------------------------------------------------------------- /proj2/src/tests/threads/tests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/threads/tests.h -------------------------------------------------------------------------------- /proj2/src/tests/userprog/Grading: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/Grading -------------------------------------------------------------------------------- /proj2/src/tests/userprog/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/Make.tests -------------------------------------------------------------------------------- /proj2/src/tests/userprog/args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/args.c -------------------------------------------------------------------------------- /proj2/src/tests/userprog/bad-jump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/bad-jump.c -------------------------------------------------------------------------------- /proj2/src/tests/userprog/bad-read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/bad-read.c -------------------------------------------------------------------------------- /proj2/src/tests/userprog/boundary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/boundary.c -------------------------------------------------------------------------------- /proj2/src/tests/userprog/boundary.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/boundary.h -------------------------------------------------------------------------------- /proj2/src/tests/userprog/exec-arg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/exec-arg.c -------------------------------------------------------------------------------- /proj2/src/tests/userprog/exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/exit.c -------------------------------------------------------------------------------- /proj2/src/tests/userprog/exit.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/exit.ck -------------------------------------------------------------------------------- /proj2/src/tests/userprog/halt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/halt.c -------------------------------------------------------------------------------- /proj2/src/tests/userprog/halt.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/halt.ck -------------------------------------------------------------------------------- /proj2/src/tests/userprog/lib/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj2/src/tests/userprog/lib/user/.dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proj2/src/tests/userprog/lib/user/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /proj2/src/tests/userprog/no-vm/Rubric: -------------------------------------------------------------------------------- 1 | Functionality of features that VM might break: 2 | 3 | 1 multi-oom 4 | -------------------------------------------------------------------------------- /proj2/src/tests/userprog/null.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/null.ck -------------------------------------------------------------------------------- /proj2/src/tests/userprog/sample.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/sample.inc -------------------------------------------------------------------------------- /proj2/src/tests/userprog/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/userprog/sample.txt -------------------------------------------------------------------------------- /proj2/src/tests/vm/Grading: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/Grading -------------------------------------------------------------------------------- /proj2/src/tests/vm/Make.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/Make.tests -------------------------------------------------------------------------------- /proj2/src/tests/vm/child-inherit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/child-inherit.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/child-linear.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/child-linear.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/child-mm-wrt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/child-mm-wrt.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/child-qsort-mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/child-qsort-mm.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/child-qsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/child-qsort.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/child-sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/child-sort.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-bad-fd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-bad-fd.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-bad-fd.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-bad-fd.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-clean.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-clean.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-clean.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-clean.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-close.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-close.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-close.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-close.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-exit.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-exit.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-exit.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-inherit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-inherit.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-inherit.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-inherit.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-misalign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-misalign.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-misalign.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-misalign.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-null.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-null.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-null.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-null.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-over-code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-over-code.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-over-data.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-over-data.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-over-stk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-over-stk.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-over-stk.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-over-stk.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-overlap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-overlap.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-overlap.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-overlap.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-read.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-read.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-read.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-remove.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-remove.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-remove.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-remove.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-shuffle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-shuffle.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-shuffle.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-shuffle.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-twice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-twice.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-twice.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-twice.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-unmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-unmap.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-unmap.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-unmap.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-write.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-write.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-write.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-write.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-zero.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/mmap-zero.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/mmap-zero.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-linear.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-linear.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-linear.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-linear.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-merge-mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-merge-mm.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-merge-mm.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-merge-mm.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-merge-par.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-merge-par.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-merge-seq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-merge-seq.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-merge-stk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-merge-stk.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-parallel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-parallel.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-parallel.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-parallel.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-shuffle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-shuffle.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/page-shuffle.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/page-shuffle.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/parallel-merge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/parallel-merge.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/parallel-merge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/parallel-merge.h -------------------------------------------------------------------------------- /proj2/src/tests/vm/process_death.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/process_death.pm -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-bad-addr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-bad-addr.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-bad-addr.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-bad-addr.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-bad-read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-bad-read.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-bad-read.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-bad-read.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-big-stk-obj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-big-stk-obj.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-grow-bad.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-grow-bad.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-grow-bad.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-grow-bad.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-grow-pusha.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-grow-pusha.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-grow-pusha.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-grow-pusha.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-grow-stack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-grow-stack.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-grow-stack.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-grow-stack.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-grow-stk-sc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-grow-stk-sc.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-write-code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-write-code.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/pt-write-code.ck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/pt-write-code.ck -------------------------------------------------------------------------------- /proj2/src/tests/vm/qsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/qsort.c -------------------------------------------------------------------------------- /proj2/src/tests/vm/qsort.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/qsort.h -------------------------------------------------------------------------------- /proj2/src/tests/vm/sample.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/sample.inc -------------------------------------------------------------------------------- /proj2/src/tests/vm/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/tests/vm/sample.txt -------------------------------------------------------------------------------- /proj2/src/threads/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/.gitignore -------------------------------------------------------------------------------- /proj2/src/threads/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/Make.vars -------------------------------------------------------------------------------- /proj2/src/threads/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj2/src/threads/flags.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/flags.h -------------------------------------------------------------------------------- /proj2/src/threads/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/init.c -------------------------------------------------------------------------------- /proj2/src/threads/init.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/init.h -------------------------------------------------------------------------------- /proj2/src/threads/interrupt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/interrupt.c -------------------------------------------------------------------------------- /proj2/src/threads/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/interrupt.h -------------------------------------------------------------------------------- /proj2/src/threads/intr-stubs.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/intr-stubs.S -------------------------------------------------------------------------------- /proj2/src/threads/intr-stubs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/intr-stubs.h -------------------------------------------------------------------------------- /proj2/src/threads/io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/io.h -------------------------------------------------------------------------------- /proj2/src/threads/kernel.lds.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/kernel.lds.S -------------------------------------------------------------------------------- /proj2/src/threads/loader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/loader.S -------------------------------------------------------------------------------- /proj2/src/threads/loader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/loader.h -------------------------------------------------------------------------------- /proj2/src/threads/malloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/malloc.c -------------------------------------------------------------------------------- /proj2/src/threads/malloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/malloc.h -------------------------------------------------------------------------------- /proj2/src/threads/palloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/palloc.c -------------------------------------------------------------------------------- /proj2/src/threads/palloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/palloc.h -------------------------------------------------------------------------------- /proj2/src/threads/pte.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/pte.h -------------------------------------------------------------------------------- /proj2/src/threads/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/start.S -------------------------------------------------------------------------------- /proj2/src/threads/switch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/switch.S -------------------------------------------------------------------------------- /proj2/src/threads/switch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/switch.h -------------------------------------------------------------------------------- /proj2/src/threads/synch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/synch.c -------------------------------------------------------------------------------- /proj2/src/threads/synch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/synch.h -------------------------------------------------------------------------------- /proj2/src/threads/thread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/thread.c -------------------------------------------------------------------------------- /proj2/src/threads/thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/thread.h -------------------------------------------------------------------------------- /proj2/src/threads/vaddr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/threads/vaddr.h -------------------------------------------------------------------------------- /proj2/src/userprog/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/.gitignore -------------------------------------------------------------------------------- /proj2/src/userprog/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/Make.vars -------------------------------------------------------------------------------- /proj2/src/userprog/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj2/src/userprog/exception.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/exception.c -------------------------------------------------------------------------------- /proj2/src/userprog/exception.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/exception.h -------------------------------------------------------------------------------- /proj2/src/userprog/gdt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/gdt.c -------------------------------------------------------------------------------- /proj2/src/userprog/gdt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/gdt.h -------------------------------------------------------------------------------- /proj2/src/userprog/pagedir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/pagedir.c -------------------------------------------------------------------------------- /proj2/src/userprog/pagedir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/pagedir.h -------------------------------------------------------------------------------- /proj2/src/userprog/process.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/process.c -------------------------------------------------------------------------------- /proj2/src/userprog/process.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/process.h -------------------------------------------------------------------------------- /proj2/src/userprog/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/syscall.c -------------------------------------------------------------------------------- /proj2/src/userprog/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/syscall.h -------------------------------------------------------------------------------- /proj2/src/userprog/tss.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/tss.c -------------------------------------------------------------------------------- /proj2/src/userprog/tss.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/userprog/tss.h -------------------------------------------------------------------------------- /proj2/src/utils/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/.gitignore -------------------------------------------------------------------------------- /proj2/src/utils/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/Makefile -------------------------------------------------------------------------------- /proj2/src/utils/Pintos.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/Pintos.pm -------------------------------------------------------------------------------- /proj2/src/utils/backtrace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/backtrace -------------------------------------------------------------------------------- /proj2/src/utils/pintos: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/pintos -------------------------------------------------------------------------------- /proj2/src/utils/pintos-gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/pintos-gdb -------------------------------------------------------------------------------- /proj2/src/utils/pintos-mkdisk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/pintos-mkdisk -------------------------------------------------------------------------------- /proj2/src/utils/pintos-set-cmdline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/pintos-set-cmdline -------------------------------------------------------------------------------- /proj2/src/utils/setitimer-helper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/setitimer-helper.c -------------------------------------------------------------------------------- /proj2/src/utils/setitimer-helper.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/setitimer-helper.o -------------------------------------------------------------------------------- /proj2/src/utils/squish-pty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/squish-pty.c -------------------------------------------------------------------------------- /proj2/src/utils/squish-pty.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/squish-pty.o -------------------------------------------------------------------------------- /proj2/src/utils/squish-unix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/squish-unix.c -------------------------------------------------------------------------------- /proj2/src/utils/squish-unix.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/utils/squish-unix.o -------------------------------------------------------------------------------- /proj2/src/vm/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/vm/.gitignore -------------------------------------------------------------------------------- /proj2/src/vm/Make.vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/src/vm/Make.vars -------------------------------------------------------------------------------- /proj2/src/vm/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.kernel 2 | -------------------------------------------------------------------------------- /proj2/test1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/test1.jpg -------------------------------------------------------------------------------- /proj2/test2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/test2.jpg -------------------------------------------------------------------------------- /proj2/testall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lifesaver0129/CS302-Operating-System/HEAD/proj2/testall.jpg --------------------------------------------------------------------------------