├── .gitignore ├── lab1 ├── .vscode │ └── settings.json ├── Makefile ├── System.map ├── arch │ └── riscv │ │ ├── Makefile │ │ ├── boot │ │ └── Image │ │ └── kernel │ │ ├── .entry.S.swp │ │ ├── Makefile │ │ ├── clock.c │ │ ├── clock.o │ │ ├── entry.S │ │ ├── entry.o │ │ ├── head.S │ │ ├── head.o │ │ ├── init.c │ │ ├── init.o │ │ ├── main.c │ │ ├── main.o │ │ ├── print.c │ │ ├── print.o │ │ ├── sbi.c │ │ ├── sbi.o │ │ ├── trap.c │ │ ├── trap.o │ │ └── vmlinux.lds ├── include │ ├── defs.h │ ├── riscv.h │ ├── sbi.h │ └── test.h ├── log └── vmlinux ├── lab2 ├── .vscode │ └── settings.json ├── Makefile ├── System.map ├── arch │ └── riscv │ │ ├── Makefile │ │ ├── boot │ │ └── Image │ │ └── kernel │ │ ├── Makefile │ │ ├── clock.c │ │ ├── clock.o │ │ ├── entry.S │ │ ├── entry.o │ │ ├── head.S │ │ ├── head.o │ │ ├── init.c │ │ ├── init.o │ │ ├── main.c │ │ ├── main.o │ │ ├── print.c │ │ ├── print.o │ │ ├── sbi.c │ │ ├── sbi.o │ │ ├── sched.c │ │ ├── sched.o │ │ ├── test.c │ │ ├── test.o │ │ ├── trap.c │ │ ├── trap.o │ │ └── vmlinux.lds ├── include │ ├── clock.h │ ├── defs.h │ ├── init.h │ ├── riscv.h │ ├── sbi.h │ ├── sched.h │ ├── stddef.h │ ├── stdio.h │ └── test.h └── vmlinux ├── lab3 ├── .vscode │ └── settings.json ├── Makefile ├── System.map ├── arch │ └── riscv │ │ ├── Makefile │ │ ├── boot │ │ └── Image │ │ └── kernel │ │ ├── Makefile │ │ ├── entry.S │ │ ├── entry.o │ │ ├── head.S │ │ ├── head.o │ │ ├── main.c │ │ ├── main.o │ │ ├── print.c │ │ ├── print.o │ │ ├── sched.c │ │ ├── sched.o │ │ ├── task_manager.c │ │ ├── task_manager.o │ │ ├── test.c │ │ ├── test.o │ │ ├── trap.c │ │ ├── trap.o │ │ ├── users.S │ │ ├── users.o │ │ ├── vm.c │ │ ├── vm.o │ │ └── vmlinux.lds ├── include │ ├── defs.h │ ├── riscv.h │ ├── sched.h │ ├── stddef.h │ ├── stdio.h │ ├── task_manager.h │ ├── test.h │ └── vm.h └── vmlinux ├── lab4 ├── .vscode │ └── settings.json ├── Makefile ├── System.map ├── arch │ └── riscv │ │ ├── Makefile │ │ ├── boot │ │ └── Image │ │ ├── kernel │ │ ├── Makefile │ │ ├── entry.S │ │ ├── entry.o │ │ ├── head.S │ │ ├── head.o │ │ ├── main.c │ │ ├── main.o │ │ ├── print.c │ │ ├── print.o │ │ ├── sched.c │ │ ├── sched.o │ │ ├── syscall.c │ │ ├── syscall.o │ │ ├── task_manager.c │ │ ├── task_manager.o │ │ ├── test.c │ │ ├── test.o │ │ ├── trap.c │ │ ├── trap.o │ │ ├── vm.c │ │ ├── vm.o │ │ └── vmlinux.lds │ │ └── user │ │ ├── Makefile │ │ ├── lib │ │ ├── Makefile │ │ ├── include │ │ │ ├── getpid.h │ │ │ ├── stddef.h │ │ │ ├── stdio.h │ │ │ ├── syscall.h │ │ │ └── types.h │ │ └── src │ │ │ ├── getpid.c │ │ │ ├── getpid.o │ │ │ ├── printf.c │ │ │ ├── printf.o │ │ │ ├── syscall.c │ │ │ └── syscall.o │ │ ├── src │ │ ├── Makefile │ │ ├── test1.bin │ │ ├── test1.c │ │ ├── test1.o │ │ ├── test2.bin │ │ ├── test2.c │ │ ├── test2.o │ │ ├── test3.bin │ │ ├── test3.c │ │ ├── test3.o │ │ ├── test4.bin │ │ ├── test4.c │ │ ├── test4.o │ │ ├── test5.bin │ │ ├── test5.c │ │ └── test5.o │ │ ├── users.S │ │ └── users.o ├── include │ ├── defs.h │ ├── riscv.h │ ├── sched.h │ ├── stddef.h │ ├── stdio.h │ ├── syscall.h │ ├── task_manager.h │ ├── test.h │ └── vm.h └── vmlinux ├── lab5 ├── .vscode │ └── settings.json ├── Makefile ├── System.map ├── arch │ └── riscv │ │ ├── Makefile │ │ ├── boot │ │ └── Image │ │ ├── kernel │ │ ├── Makefile │ │ ├── entry.S │ │ ├── entry.o │ │ ├── head.S │ │ ├── head.o │ │ ├── main.c │ │ ├── main.o │ │ ├── mm.c │ │ ├── mm.o │ │ ├── print.c │ │ ├── print.o │ │ ├── sched.c │ │ ├── sched.o │ │ ├── slub.c │ │ ├── slub.o │ │ ├── syscall.c │ │ ├── syscall.o │ │ ├── task_manager.c │ │ ├── task_manager.o │ │ ├── test.c │ │ ├── test.o │ │ ├── trap.c │ │ ├── trap.o │ │ ├── vm.c │ │ ├── vm.o │ │ └── vmlinux.lds │ │ └── user │ │ ├── Makefile │ │ ├── lib │ │ ├── Makefile │ │ ├── include │ │ │ ├── getpid.h │ │ │ ├── mm.h │ │ │ ├── stddef.h │ │ │ ├── stdio.h │ │ │ ├── syscall.h │ │ │ └── types.h │ │ └── src │ │ │ ├── getpid.c │ │ │ ├── getpid.o │ │ │ ├── mm.c │ │ │ ├── mm.o │ │ │ ├── printf.c │ │ │ ├── printf.o │ │ │ ├── syscall.c │ │ │ └── syscall.o │ │ ├── src │ │ ├── Makefile │ │ ├── test1.bin │ │ ├── test1.c │ │ ├── test1.o │ │ ├── test2.bin │ │ ├── test2.c │ │ ├── test2.o │ │ ├── test3.bin │ │ ├── test3.c │ │ ├── test3.o │ │ ├── test4.bin │ │ ├── test4.c │ │ ├── test4.o │ │ ├── test5.bin │ │ ├── test5.c │ │ └── test5.o │ │ ├── users.S │ │ └── users.o ├── include │ ├── defs.h │ ├── list.h │ ├── mm.h │ ├── riscv.h │ ├── sched.h │ ├── slub.h │ ├── stddef.h │ ├── stdio.h │ ├── syscall.h │ ├── task_manager.h │ ├── test.h │ └── vm.h └── vmlinux └── lab6 ├── .vscode └── settings.json ├── Makefile ├── System.map ├── arch └── riscv │ ├── Makefile │ ├── boot │ └── Image │ ├── kernel │ ├── Makefile │ ├── entry.S │ ├── entry.o │ ├── head.S │ ├── head.o │ ├── main.c │ ├── main.o │ ├── mm.c │ ├── mm.o │ ├── print.c │ ├── print.o │ ├── sched.c │ ├── sched.o │ ├── slub.c │ ├── slub.o │ ├── syscall.c │ ├── syscall.o │ ├── task_manager.c │ ├── task_manager.o │ ├── trap.c │ ├── trap.o │ ├── vm.c │ ├── vm.o │ └── vmlinux.lds │ └── user │ ├── Makefile │ ├── lib │ ├── Makefile │ ├── include │ │ ├── getchar.h │ │ ├── getpid.h │ │ ├── mm.h │ │ ├── proc.h │ │ ├── stddef.h │ │ ├── stdio.h │ │ ├── syscall.h │ │ └── types.h │ └── src │ │ ├── getchar.c │ │ ├── getchar.o │ │ ├── getpid.c │ │ ├── getpid.o │ │ ├── mm.c │ │ ├── mm.o │ │ ├── printf.c │ │ ├── printf.o │ │ ├── proc.c │ │ ├── proc.o │ │ ├── syscall.c │ │ └── syscall.o │ ├── src │ ├── Makefile │ ├── head.o │ ├── head.s │ ├── test1.bin │ ├── test1.c │ ├── test1.o │ ├── test2.bin │ ├── test2.c │ ├── test2.o │ ├── test3.bin │ ├── test3.c │ ├── test3.o │ ├── test4.bin │ ├── test4.c │ ├── test4.o │ ├── test5.bin │ ├── test5.c │ ├── test5.o │ └── user.lds │ ├── users.S │ └── users.o ├── include ├── defs.h ├── list.h ├── mm.h ├── riscv.h ├── sched.h ├── slub.h ├── stddef.h ├── stdio.h ├── syscall.h ├── task_manager.h └── vm.h └── vmlinux /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/.gitignore -------------------------------------------------------------------------------- /lab1/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/.vscode/settings.json -------------------------------------------------------------------------------- /lab1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/Makefile -------------------------------------------------------------------------------- /lab1/System.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/System.map -------------------------------------------------------------------------------- /lab1/arch/riscv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/Makefile -------------------------------------------------------------------------------- /lab1/arch/riscv/boot/Image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/boot/Image -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/.entry.S.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/.entry.S.swp -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/Makefile -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/clock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/clock.c -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/clock.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/clock.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/entry.S -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/entry.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/entry.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/head.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/head.S -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/head.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/head.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/init.c -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/init.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/init.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/main.c -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/main.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/print.c -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/print.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/print.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/sbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/sbi.c -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/sbi.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/sbi.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/trap.c -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/trap.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/trap.o -------------------------------------------------------------------------------- /lab1/arch/riscv/kernel/vmlinux.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/arch/riscv/kernel/vmlinux.lds -------------------------------------------------------------------------------- /lab1/include/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/include/defs.h -------------------------------------------------------------------------------- /lab1/include/riscv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/include/riscv.h -------------------------------------------------------------------------------- /lab1/include/sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/include/sbi.h -------------------------------------------------------------------------------- /lab1/include/test.h: -------------------------------------------------------------------------------- 1 | int main(); -------------------------------------------------------------------------------- /lab1/log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lab1/vmlinux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab1/vmlinux -------------------------------------------------------------------------------- /lab2/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/.vscode/settings.json -------------------------------------------------------------------------------- /lab2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/Makefile -------------------------------------------------------------------------------- /lab2/System.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/System.map -------------------------------------------------------------------------------- /lab2/arch/riscv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/Makefile -------------------------------------------------------------------------------- /lab2/arch/riscv/boot/Image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/boot/Image -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/Makefile -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/clock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/clock.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/clock.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/clock.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/entry.S -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/entry.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/entry.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/head.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/head.S -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/head.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/head.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/init.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/init.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/init.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/main.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/main.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/print.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/print.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/print.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/sbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/sbi.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/sbi.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/sbi.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/sched.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/sched.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/sched.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/test.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/test.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/test.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/trap.c -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/trap.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/trap.o -------------------------------------------------------------------------------- /lab2/arch/riscv/kernel/vmlinux.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/arch/riscv/kernel/vmlinux.lds -------------------------------------------------------------------------------- /lab2/include/clock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/clock.h -------------------------------------------------------------------------------- /lab2/include/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/defs.h -------------------------------------------------------------------------------- /lab2/include/init.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void init(); 4 | -------------------------------------------------------------------------------- /lab2/include/riscv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/riscv.h -------------------------------------------------------------------------------- /lab2/include/sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/sbi.h -------------------------------------------------------------------------------- /lab2/include/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/sched.h -------------------------------------------------------------------------------- /lab2/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/stddef.h -------------------------------------------------------------------------------- /lab2/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/stdio.h -------------------------------------------------------------------------------- /lab2/include/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/include/test.h -------------------------------------------------------------------------------- /lab2/vmlinux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab2/vmlinux -------------------------------------------------------------------------------- /lab3/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/.vscode/settings.json -------------------------------------------------------------------------------- /lab3/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/Makefile -------------------------------------------------------------------------------- /lab3/System.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/System.map -------------------------------------------------------------------------------- /lab3/arch/riscv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/Makefile -------------------------------------------------------------------------------- /lab3/arch/riscv/boot/Image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/boot/Image -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/Makefile -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/entry.S -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/entry.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/entry.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/head.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/head.S -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/head.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/head.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/main.c -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/main.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/print.c -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/print.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/print.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/sched.c -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/sched.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/sched.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/task_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/task_manager.c -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/task_manager.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/task_manager.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/test.c -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/test.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/test.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/trap.c -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/trap.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/trap.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/users.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/users.S -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/users.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/users.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/vm.c -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/vm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/vm.o -------------------------------------------------------------------------------- /lab3/arch/riscv/kernel/vmlinux.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/arch/riscv/kernel/vmlinux.lds -------------------------------------------------------------------------------- /lab3/include/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/include/defs.h -------------------------------------------------------------------------------- /lab3/include/riscv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/include/riscv.h -------------------------------------------------------------------------------- /lab3/include/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/include/sched.h -------------------------------------------------------------------------------- /lab3/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/include/stddef.h -------------------------------------------------------------------------------- /lab3/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/include/stdio.h -------------------------------------------------------------------------------- /lab3/include/task_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/include/task_manager.h -------------------------------------------------------------------------------- /lab3/include/test.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | extern int ticks; 4 | void init_test_case(); -------------------------------------------------------------------------------- /lab3/include/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/include/vm.h -------------------------------------------------------------------------------- /lab3/vmlinux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab3/vmlinux -------------------------------------------------------------------------------- /lab4/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "C_Cpp.errorSquiggles": "disabled" 3 | } -------------------------------------------------------------------------------- /lab4/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/Makefile -------------------------------------------------------------------------------- /lab4/System.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/System.map -------------------------------------------------------------------------------- /lab4/arch/riscv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/Makefile -------------------------------------------------------------------------------- /lab4/arch/riscv/boot/Image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/boot/Image -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/Makefile -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/entry.S -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/entry.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/entry.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/head.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/head.S -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/head.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/head.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/main.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/main.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/print.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/print.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/print.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/sched.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/sched.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/sched.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/syscall.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/syscall.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/syscall.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/task_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/task_manager.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/task_manager.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/task_manager.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/test.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/test.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/test.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/trap.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/trap.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/trap.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/vm.c -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/vm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/vm.o -------------------------------------------------------------------------------- /lab4/arch/riscv/kernel/vmlinux.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/kernel/vmlinux.lds -------------------------------------------------------------------------------- /lab4/arch/riscv/user/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/Makefile -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/Makefile -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/include/getpid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/include/getpid.h -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/include/stddef.h -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/include/stdio.h -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/include/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/include/syscall.h -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/include/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/include/types.h -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/src/getpid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/src/getpid.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/src/getpid.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/src/getpid.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/src/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/src/printf.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/src/printf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/src/printf.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/src/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/src/syscall.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/lib/src/syscall.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/lib/src/syscall.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/Makefile -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test1.bin -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test1.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test1.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test2.bin -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test2.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test2.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test3.bin -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test3.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test3.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test4.bin -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test4.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test4.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test4.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test5.bin -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test5.c -------------------------------------------------------------------------------- /lab4/arch/riscv/user/src/test5.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/src/test5.o -------------------------------------------------------------------------------- /lab4/arch/riscv/user/users.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/users.S -------------------------------------------------------------------------------- /lab4/arch/riscv/user/users.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/arch/riscv/user/users.o -------------------------------------------------------------------------------- /lab4/include/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/defs.h -------------------------------------------------------------------------------- /lab4/include/riscv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/riscv.h -------------------------------------------------------------------------------- /lab4/include/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/sched.h -------------------------------------------------------------------------------- /lab4/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/stddef.h -------------------------------------------------------------------------------- /lab4/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/stdio.h -------------------------------------------------------------------------------- /lab4/include/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/syscall.h -------------------------------------------------------------------------------- /lab4/include/task_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/task_manager.h -------------------------------------------------------------------------------- /lab4/include/test.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | extern int ticks; 4 | void init_test_case(); -------------------------------------------------------------------------------- /lab4/include/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/include/vm.h -------------------------------------------------------------------------------- /lab4/vmlinux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab4/vmlinux -------------------------------------------------------------------------------- /lab5/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/.vscode/settings.json -------------------------------------------------------------------------------- /lab5/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/Makefile -------------------------------------------------------------------------------- /lab5/System.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/System.map -------------------------------------------------------------------------------- /lab5/arch/riscv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/Makefile -------------------------------------------------------------------------------- /lab5/arch/riscv/boot/Image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/boot/Image -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/Makefile -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/entry.S -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/entry.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/entry.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/head.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/head.S -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/head.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/head.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/main.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/main.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/mm.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/mm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/mm.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/print.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/print.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/print.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/sched.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/sched.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/sched.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/slub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/slub.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/slub.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/slub.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/syscall.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/syscall.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/syscall.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/task_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/task_manager.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/task_manager.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/task_manager.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/test.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/test.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/test.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/trap.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/trap.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/trap.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/vm.c -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/vm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/vm.o -------------------------------------------------------------------------------- /lab5/arch/riscv/kernel/vmlinux.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/kernel/vmlinux.lds -------------------------------------------------------------------------------- /lab5/arch/riscv/user/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/Makefile -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/Makefile -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/include/getpid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/include/getpid.h -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/include/mm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/include/mm.h -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/include/stddef.h -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/include/stdio.h -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/include/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/include/syscall.h -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/include/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/include/types.h -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/getpid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/getpid.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/getpid.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/getpid.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/mm.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/mm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/mm.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/printf.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/printf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/printf.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/syscall.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/lib/src/syscall.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/lib/src/syscall.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/Makefile -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test1.bin -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test1.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test1.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test2.bin -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test2.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test2.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test3.bin -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test3.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test3.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test4.bin -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test4.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test4.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test4.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test5.bin -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test5.c -------------------------------------------------------------------------------- /lab5/arch/riscv/user/src/test5.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/src/test5.o -------------------------------------------------------------------------------- /lab5/arch/riscv/user/users.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/users.S -------------------------------------------------------------------------------- /lab5/arch/riscv/user/users.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/arch/riscv/user/users.o -------------------------------------------------------------------------------- /lab5/include/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/defs.h -------------------------------------------------------------------------------- /lab5/include/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/list.h -------------------------------------------------------------------------------- /lab5/include/mm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/mm.h -------------------------------------------------------------------------------- /lab5/include/riscv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/riscv.h -------------------------------------------------------------------------------- /lab5/include/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/sched.h -------------------------------------------------------------------------------- /lab5/include/slub.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/slub.h -------------------------------------------------------------------------------- /lab5/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/stddef.h -------------------------------------------------------------------------------- /lab5/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/stdio.h -------------------------------------------------------------------------------- /lab5/include/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/syscall.h -------------------------------------------------------------------------------- /lab5/include/task_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/task_manager.h -------------------------------------------------------------------------------- /lab5/include/test.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | extern int ticks; 4 | void init_test_case(); -------------------------------------------------------------------------------- /lab5/include/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/include/vm.h -------------------------------------------------------------------------------- /lab5/vmlinux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab5/vmlinux -------------------------------------------------------------------------------- /lab6/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/.vscode/settings.json -------------------------------------------------------------------------------- /lab6/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/Makefile -------------------------------------------------------------------------------- /lab6/System.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/System.map -------------------------------------------------------------------------------- /lab6/arch/riscv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/Makefile -------------------------------------------------------------------------------- /lab6/arch/riscv/boot/Image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/boot/Image -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/Makefile -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/entry.S -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/entry.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/entry.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/head.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/head.S -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/head.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/head.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/main.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/main.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/mm.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/mm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/mm.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/print.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/print.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/print.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/sched.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/sched.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/sched.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/slub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/slub.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/slub.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/slub.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/syscall.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/syscall.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/syscall.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/task_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/task_manager.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/task_manager.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/task_manager.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/trap.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/trap.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/trap.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/vm.c -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/vm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/vm.o -------------------------------------------------------------------------------- /lab6/arch/riscv/kernel/vmlinux.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/kernel/vmlinux.lds -------------------------------------------------------------------------------- /lab6/arch/riscv/user/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/Makefile -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/Makefile -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/getchar.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int getchar(); -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/getpid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/include/getpid.h -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/mm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/include/mm.h -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/proc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/include/proc.h -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/include/stddef.h -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/include/stdio.h -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/include/syscall.h -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/include/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/include/types.h -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/getchar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/getchar.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/getchar.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/getchar.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/getpid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/getpid.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/getpid.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/getpid.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/mm.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/mm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/mm.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/printf.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/printf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/printf.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/proc.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/proc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/proc.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/syscall.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/lib/src/syscall.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/lib/src/syscall.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/Makefile -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/head.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/head.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/head.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/head.s -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test1.bin -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test1.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test1.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test2.bin -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test2.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test2.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test3.bin -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test3.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test3.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test4.bin -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test4.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test4.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test4.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test5.bin -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test5.c -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/test5.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/test5.o -------------------------------------------------------------------------------- /lab6/arch/riscv/user/src/user.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/src/user.lds -------------------------------------------------------------------------------- /lab6/arch/riscv/user/users.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/users.S -------------------------------------------------------------------------------- /lab6/arch/riscv/user/users.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/arch/riscv/user/users.o -------------------------------------------------------------------------------- /lab6/include/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/defs.h -------------------------------------------------------------------------------- /lab6/include/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/list.h -------------------------------------------------------------------------------- /lab6/include/mm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/mm.h -------------------------------------------------------------------------------- /lab6/include/riscv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/riscv.h -------------------------------------------------------------------------------- /lab6/include/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/sched.h -------------------------------------------------------------------------------- /lab6/include/slub.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/slub.h -------------------------------------------------------------------------------- /lab6/include/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/stddef.h -------------------------------------------------------------------------------- /lab6/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/stdio.h -------------------------------------------------------------------------------- /lab6/include/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/syscall.h -------------------------------------------------------------------------------- /lab6/include/task_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/task_manager.h -------------------------------------------------------------------------------- /lab6/include/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/include/vm.h -------------------------------------------------------------------------------- /lab6/vmlinux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TURING132/ZJU-OS/HEAD/lab6/vmlinux --------------------------------------------------------------------------------