├── .gitignore ├── README.md ├── ch2 └── project │ ├── Makefile │ ├── clear.sh │ ├── remove.sh │ ├── run.sh │ └── simple.c ├── ch3 ├── problem3.1 │ ├── Makefile │ └── main.c ├── problem3.13 │ ├── Makefile │ └── main.c ├── problem3.14 │ ├── Makefile │ └── main.c ├── problem3.17 │ ├── Makefile │ └── main.c ├── problem3.19 │ ├── Makefile │ └── main.c ├── problem3.20 │ ├── Makefile │ ├── main.c │ ├── pid_manager.c │ └── pid_manager.h ├── problem3.21 │ ├── Makefile │ └── main.c ├── problem3.22 │ ├── Makefile │ └── main.c ├── problem3.23 │ ├── DateClient.java │ ├── DateServer.java │ └── Makefile ├── problem3.25 │ ├── DateClient.java │ ├── DateServer.java │ └── Makefile ├── problem3.26 │ ├── Makefile │ └── main.c ├── problem3.27 │ ├── Makefile │ └── main.c ├── project1 │ ├── Makefile │ └── main.c ├── project2.part1 │ ├── Makefile │ └── simple.c └── project2.part2 │ ├── Makefile │ └── simple.c ├── ch4 ├── problem4.20 │ ├── Makefile │ ├── main.c │ ├── pid_manager.c │ └── pid_manager.h ├── problem4.21 │ ├── Makefile │ └── main.c ├── problem4.22 │ ├── Makefile │ └── main.c ├── problem4.23 │ ├── Makefile │ └── main.c ├── problem4.24 │ ├── Makefile │ └── main.c ├── problem4.25 │ ├── DateClient.java │ ├── DateServer.java │ └── Makefile ├── problem4.26 │ ├── Makefile │ └── main.c ├── problem4.27 │ ├── DateClient.java │ ├── DateServer.java │ └── Makefile ├── project1 │ ├── Makefile │ ├── main.c │ ├── sudoku.txt │ └── sudoku.txt1 └── project2 │ ├── Makefile │ └── main.c └── ch5 ├── problem5.36 ├── Makefile ├── main.c ├── pid_manager.c └── pid_manager.h ├── problem5.37 ├── Makefile └── main.c ├── problem5.38 ├── Makefile └── main.c └── problem5.39 ├── Makefile └── main.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/README.md -------------------------------------------------------------------------------- /ch2/project/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch2/project/Makefile -------------------------------------------------------------------------------- /ch2/project/clear.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch2/project/clear.sh -------------------------------------------------------------------------------- /ch2/project/remove.sh: -------------------------------------------------------------------------------- 1 | sudo rmmod simple 2 | -------------------------------------------------------------------------------- /ch2/project/run.sh: -------------------------------------------------------------------------------- 1 | sudo insmod simple.ko 2 | -------------------------------------------------------------------------------- /ch2/project/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch2/project/simple.c -------------------------------------------------------------------------------- /ch3/problem3.1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.1/Makefile -------------------------------------------------------------------------------- /ch3/problem3.1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.1/main.c -------------------------------------------------------------------------------- /ch3/problem3.13/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.13/Makefile -------------------------------------------------------------------------------- /ch3/problem3.13/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.13/main.c -------------------------------------------------------------------------------- /ch3/problem3.14/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.14/Makefile -------------------------------------------------------------------------------- /ch3/problem3.14/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.14/main.c -------------------------------------------------------------------------------- /ch3/problem3.17/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.17/Makefile -------------------------------------------------------------------------------- /ch3/problem3.17/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.17/main.c -------------------------------------------------------------------------------- /ch3/problem3.19/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.19/Makefile -------------------------------------------------------------------------------- /ch3/problem3.19/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.19/main.c -------------------------------------------------------------------------------- /ch3/problem3.20/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.20/Makefile -------------------------------------------------------------------------------- /ch3/problem3.20/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.20/main.c -------------------------------------------------------------------------------- /ch3/problem3.20/pid_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.20/pid_manager.c -------------------------------------------------------------------------------- /ch3/problem3.20/pid_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.20/pid_manager.h -------------------------------------------------------------------------------- /ch3/problem3.21/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.21/Makefile -------------------------------------------------------------------------------- /ch3/problem3.21/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.21/main.c -------------------------------------------------------------------------------- /ch3/problem3.22/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.22/Makefile -------------------------------------------------------------------------------- /ch3/problem3.22/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.22/main.c -------------------------------------------------------------------------------- /ch3/problem3.23/DateClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.23/DateClient.java -------------------------------------------------------------------------------- /ch3/problem3.23/DateServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.23/DateServer.java -------------------------------------------------------------------------------- /ch3/problem3.23/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.23/Makefile -------------------------------------------------------------------------------- /ch3/problem3.25/DateClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.25/DateClient.java -------------------------------------------------------------------------------- /ch3/problem3.25/DateServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.25/DateServer.java -------------------------------------------------------------------------------- /ch3/problem3.25/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.25/Makefile -------------------------------------------------------------------------------- /ch3/problem3.26/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.26/Makefile -------------------------------------------------------------------------------- /ch3/problem3.26/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.26/main.c -------------------------------------------------------------------------------- /ch3/problem3.27/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.27/Makefile -------------------------------------------------------------------------------- /ch3/problem3.27/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/problem3.27/main.c -------------------------------------------------------------------------------- /ch3/project1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/project1/Makefile -------------------------------------------------------------------------------- /ch3/project1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/project1/main.c -------------------------------------------------------------------------------- /ch3/project2.part1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/project2.part1/Makefile -------------------------------------------------------------------------------- /ch3/project2.part1/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/project2.part1/simple.c -------------------------------------------------------------------------------- /ch3/project2.part2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/project2.part2/Makefile -------------------------------------------------------------------------------- /ch3/project2.part2/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch3/project2.part2/simple.c -------------------------------------------------------------------------------- /ch4/problem4.20/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.20/Makefile -------------------------------------------------------------------------------- /ch4/problem4.20/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.20/main.c -------------------------------------------------------------------------------- /ch4/problem4.20/pid_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.20/pid_manager.c -------------------------------------------------------------------------------- /ch4/problem4.20/pid_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.20/pid_manager.h -------------------------------------------------------------------------------- /ch4/problem4.21/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.21/Makefile -------------------------------------------------------------------------------- /ch4/problem4.21/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.21/main.c -------------------------------------------------------------------------------- /ch4/problem4.22/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.22/Makefile -------------------------------------------------------------------------------- /ch4/problem4.22/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.22/main.c -------------------------------------------------------------------------------- /ch4/problem4.23/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.23/Makefile -------------------------------------------------------------------------------- /ch4/problem4.23/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.23/main.c -------------------------------------------------------------------------------- /ch4/problem4.24/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.24/Makefile -------------------------------------------------------------------------------- /ch4/problem4.24/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.24/main.c -------------------------------------------------------------------------------- /ch4/problem4.25/DateClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.25/DateClient.java -------------------------------------------------------------------------------- /ch4/problem4.25/DateServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.25/DateServer.java -------------------------------------------------------------------------------- /ch4/problem4.25/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.25/Makefile -------------------------------------------------------------------------------- /ch4/problem4.26/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.26/Makefile -------------------------------------------------------------------------------- /ch4/problem4.26/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.26/main.c -------------------------------------------------------------------------------- /ch4/problem4.27/DateClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.27/DateClient.java -------------------------------------------------------------------------------- /ch4/problem4.27/DateServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.27/DateServer.java -------------------------------------------------------------------------------- /ch4/problem4.27/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/problem4.27/Makefile -------------------------------------------------------------------------------- /ch4/project1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/project1/Makefile -------------------------------------------------------------------------------- /ch4/project1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/project1/main.c -------------------------------------------------------------------------------- /ch4/project1/sudoku.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/project1/sudoku.txt -------------------------------------------------------------------------------- /ch4/project1/sudoku.txt1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/project1/sudoku.txt1 -------------------------------------------------------------------------------- /ch4/project2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/project2/Makefile -------------------------------------------------------------------------------- /ch4/project2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch4/project2/main.c -------------------------------------------------------------------------------- /ch5/problem5.36/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.36/Makefile -------------------------------------------------------------------------------- /ch5/problem5.36/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.36/main.c -------------------------------------------------------------------------------- /ch5/problem5.36/pid_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.36/pid_manager.c -------------------------------------------------------------------------------- /ch5/problem5.36/pid_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.36/pid_manager.h -------------------------------------------------------------------------------- /ch5/problem5.37/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.37/Makefile -------------------------------------------------------------------------------- /ch5/problem5.37/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.37/main.c -------------------------------------------------------------------------------- /ch5/problem5.38/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.38/Makefile -------------------------------------------------------------------------------- /ch5/problem5.38/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.38/main.c -------------------------------------------------------------------------------- /ch5/problem5.39/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.39/Makefile -------------------------------------------------------------------------------- /ch5/problem5.39/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SheldonZhong/OS_practice/HEAD/ch5/problem5.39/main.c --------------------------------------------------------------------------------