├── ELF手册.pdf ├── Makefile ├── README.md ├── boot ├── .ipynb_checkpoints │ └── start-checkpoint.S ├── Makefile └── start.S ├── drivers ├── Makefile └── gxconsole │ ├── .ipynb_checkpoints │ ├── console-checkpoint.c │ └── dev_cons-checkpoint.h │ ├── Makefile │ ├── console.c │ └── dev_cons.h ├── fork_test.c ├── fs ├── .ipynb_checkpoints │ └── Makefile-checkpoint ├── Makefile ├── bintoc ├── fs.c ├── fs.h ├── fsformat ├── fsformat.c ├── ide.c ├── ide_asm.S ├── motd ├── newmotd ├── serv.c ├── test.c └── view ├── guide-book-05-23.pdf ├── gxemul ├── .DS_Store ├── elfinfo ├── fsformat ├── r3000 ├── r3000_test ├── test ├── view └── vm.dump ├── include.mk ├── include ├── .ipynb_checkpoints │ ├── mmu-checkpoint.h │ ├── print-checkpoint.h │ └── printf-checkpoint.h ├── args.h ├── asm-mips3k │ ├── asm.h │ ├── asm.h~ │ ├── cp0regdef.h │ └── regdef.h ├── asm │ ├── asm.h │ ├── asm.h~ │ ├── cp0regdef.h │ └── regdef.h ├── env.h ├── error.h ├── fs.h ├── kclock.h ├── kerelf.h ├── mmu.h ├── pmap.h ├── print.h ├── printf.h ├── queue.h ├── sched.h ├── stackframe.h ├── trap.h ├── types.h └── unistd.h ├── init ├── .ipynb_checkpoints │ ├── init-checkpoint.c │ └── main-checkpoint.c ├── Makefile ├── code.c ├── code_a.c ├── code_b.c ├── init.c └── main.c ├── lib ├── .ipynb_checkpoints │ ├── print-checkpoint.c │ ├── printf-checkpoint.c │ └── sched-checkpoint.c ├── Makefile ├── env.c ├── env_asm.S ├── genex.S ├── getc.S ├── kclock.c ├── kclock_asm.S ├── kernel_elfloader.c ├── print.c ├── printf.c ├── sched.c ├── syscall.S ├── syscall_all.c └── traps.c ├── mm ├── Makefile ├── pmap.all ├── pmap.c └── tlb_asm.S ├── readelf ├── .ipynb_checkpoints │ ├── Makefile-checkpoint │ ├── kerelf-checkpoint.h │ ├── main-checkpoint.c │ ├── readelf-checkpoint.c │ └── types-checkpoint.h ├── Makefile ├── kerelf.h ├── main.c ├── readelf.c ├── testELF └── types.h ├── src ├── .ipynb_checkpoints │ └── fibo-checkpoint.c └── sh_test │ ├── .ipynb_checkpoints │ └── hello_os-checkpoint.c │ └── hello_os.c ├── tools ├── .ipynb_checkpoints │ └── scse0_3-checkpoint.lds ├── fsformat ├── scse0_3.lds └── scse0_3.lds~ └── user ├── .ipynb_checkpoints ├── Makefile-checkpoint ├── cat-checkpoint.c ├── echo-checkpoint.c ├── fd-checkpoint.c ├── ls-checkpoint.c ├── pipe-checkpoint.c ├── sh-checkpoint.c ├── spawn-checkpoint.c └── string-checkpoint.c ├── Makefile ├── bintoc ├── cat.c ├── console.c ├── echo.c ├── entry.S ├── fd.c ├── fd.h ├── file.c ├── fktest.c ├── fork.c ├── fprintf.c ├── fsipc.c ├── fstest.c ├── icode.c ├── idle.c ├── init.c ├── ipc.c ├── lib.h ├── libos.c ├── ls.c ├── num.c ├── pageref.c ├── pgfault.c ├── pingpong.c ├── pipe.c ├── print.c ├── printf.c ├── sh.c ├── spawn.c ├── string.c ├── syscall_lib.c ├── syscall_wrap.S ├── testarg.c ├── testfdsharing.c ├── testpipe.c ├── testpiperace.c ├── testptelibrary.c ├── user.lds └── wait.c /ELF手册.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/ELF手册.pdf -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/README.md -------------------------------------------------------------------------------- /boot/.ipynb_checkpoints/start-checkpoint.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/boot/.ipynb_checkpoints/start-checkpoint.S -------------------------------------------------------------------------------- /boot/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/boot/Makefile -------------------------------------------------------------------------------- /boot/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/boot/start.S -------------------------------------------------------------------------------- /drivers/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/drivers/Makefile -------------------------------------------------------------------------------- /drivers/gxconsole/.ipynb_checkpoints/console-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/drivers/gxconsole/.ipynb_checkpoints/console-checkpoint.c -------------------------------------------------------------------------------- /drivers/gxconsole/.ipynb_checkpoints/dev_cons-checkpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/drivers/gxconsole/.ipynb_checkpoints/dev_cons-checkpoint.h -------------------------------------------------------------------------------- /drivers/gxconsole/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/drivers/gxconsole/Makefile -------------------------------------------------------------------------------- /drivers/gxconsole/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/drivers/gxconsole/console.c -------------------------------------------------------------------------------- /drivers/gxconsole/dev_cons.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/drivers/gxconsole/dev_cons.h -------------------------------------------------------------------------------- /fork_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fork_test.c -------------------------------------------------------------------------------- /fs/.ipynb_checkpoints/Makefile-checkpoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/.ipynb_checkpoints/Makefile-checkpoint -------------------------------------------------------------------------------- /fs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/Makefile -------------------------------------------------------------------------------- /fs/bintoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/bintoc -------------------------------------------------------------------------------- /fs/fs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/fs.c -------------------------------------------------------------------------------- /fs/fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/fs.h -------------------------------------------------------------------------------- /fs/fsformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/fsformat -------------------------------------------------------------------------------- /fs/fsformat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/fsformat.c -------------------------------------------------------------------------------- /fs/ide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/ide.c -------------------------------------------------------------------------------- /fs/ide_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/ide_asm.S -------------------------------------------------------------------------------- /fs/motd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/motd -------------------------------------------------------------------------------- /fs/newmotd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/newmotd -------------------------------------------------------------------------------- /fs/serv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/serv.c -------------------------------------------------------------------------------- /fs/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/test.c -------------------------------------------------------------------------------- /fs/view: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/fs/view -------------------------------------------------------------------------------- /guide-book-05-23.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/guide-book-05-23.pdf -------------------------------------------------------------------------------- /gxemul/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/.DS_Store -------------------------------------------------------------------------------- /gxemul/elfinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/elfinfo -------------------------------------------------------------------------------- /gxemul/fsformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/fsformat -------------------------------------------------------------------------------- /gxemul/r3000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/r3000 -------------------------------------------------------------------------------- /gxemul/r3000_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/r3000_test -------------------------------------------------------------------------------- /gxemul/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/test -------------------------------------------------------------------------------- /gxemul/view: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/view -------------------------------------------------------------------------------- /gxemul/vm.dump: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/gxemul/vm.dump -------------------------------------------------------------------------------- /include.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include.mk -------------------------------------------------------------------------------- /include/.ipynb_checkpoints/mmu-checkpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/.ipynb_checkpoints/mmu-checkpoint.h -------------------------------------------------------------------------------- /include/.ipynb_checkpoints/print-checkpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/.ipynb_checkpoints/print-checkpoint.h -------------------------------------------------------------------------------- /include/.ipynb_checkpoints/printf-checkpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/.ipynb_checkpoints/printf-checkpoint.h -------------------------------------------------------------------------------- /include/args.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/args.h -------------------------------------------------------------------------------- /include/asm-mips3k/asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm-mips3k/asm.h -------------------------------------------------------------------------------- /include/asm-mips3k/asm.h~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm-mips3k/asm.h~ -------------------------------------------------------------------------------- /include/asm-mips3k/cp0regdef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm-mips3k/cp0regdef.h -------------------------------------------------------------------------------- /include/asm-mips3k/regdef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm-mips3k/regdef.h -------------------------------------------------------------------------------- /include/asm/asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm/asm.h -------------------------------------------------------------------------------- /include/asm/asm.h~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm/asm.h~ -------------------------------------------------------------------------------- /include/asm/cp0regdef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm/cp0regdef.h -------------------------------------------------------------------------------- /include/asm/regdef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/asm/regdef.h -------------------------------------------------------------------------------- /include/env.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/env.h -------------------------------------------------------------------------------- /include/error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/error.h -------------------------------------------------------------------------------- /include/fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/fs.h -------------------------------------------------------------------------------- /include/kclock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/kclock.h -------------------------------------------------------------------------------- /include/kerelf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/kerelf.h -------------------------------------------------------------------------------- /include/mmu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/mmu.h -------------------------------------------------------------------------------- /include/pmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/pmap.h -------------------------------------------------------------------------------- /include/print.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/print.h -------------------------------------------------------------------------------- /include/printf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/printf.h -------------------------------------------------------------------------------- /include/queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/queue.h -------------------------------------------------------------------------------- /include/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/sched.h -------------------------------------------------------------------------------- /include/stackframe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/stackframe.h -------------------------------------------------------------------------------- /include/trap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/trap.h -------------------------------------------------------------------------------- /include/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/types.h -------------------------------------------------------------------------------- /include/unistd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/include/unistd.h -------------------------------------------------------------------------------- /init/.ipynb_checkpoints/init-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/.ipynb_checkpoints/init-checkpoint.c -------------------------------------------------------------------------------- /init/.ipynb_checkpoints/main-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/.ipynb_checkpoints/main-checkpoint.c -------------------------------------------------------------------------------- /init/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/Makefile -------------------------------------------------------------------------------- /init/code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/code.c -------------------------------------------------------------------------------- /init/code_a.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/code_a.c -------------------------------------------------------------------------------- /init/code_b.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/code_b.c -------------------------------------------------------------------------------- /init/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/init.c -------------------------------------------------------------------------------- /init/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/init/main.c -------------------------------------------------------------------------------- /lib/.ipynb_checkpoints/print-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/.ipynb_checkpoints/print-checkpoint.c -------------------------------------------------------------------------------- /lib/.ipynb_checkpoints/printf-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/.ipynb_checkpoints/printf-checkpoint.c -------------------------------------------------------------------------------- /lib/.ipynb_checkpoints/sched-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/.ipynb_checkpoints/sched-checkpoint.c -------------------------------------------------------------------------------- /lib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/Makefile -------------------------------------------------------------------------------- /lib/env.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/env.c -------------------------------------------------------------------------------- /lib/env_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/env_asm.S -------------------------------------------------------------------------------- /lib/genex.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/genex.S -------------------------------------------------------------------------------- /lib/getc.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/getc.S -------------------------------------------------------------------------------- /lib/kclock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/kclock.c -------------------------------------------------------------------------------- /lib/kclock_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/kclock_asm.S -------------------------------------------------------------------------------- /lib/kernel_elfloader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/kernel_elfloader.c -------------------------------------------------------------------------------- /lib/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/print.c -------------------------------------------------------------------------------- /lib/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/printf.c -------------------------------------------------------------------------------- /lib/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/sched.c -------------------------------------------------------------------------------- /lib/syscall.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/syscall.S -------------------------------------------------------------------------------- /lib/syscall_all.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/syscall_all.c -------------------------------------------------------------------------------- /lib/traps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/lib/traps.c -------------------------------------------------------------------------------- /mm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/mm/Makefile -------------------------------------------------------------------------------- /mm/pmap.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/mm/pmap.all -------------------------------------------------------------------------------- /mm/pmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/mm/pmap.c -------------------------------------------------------------------------------- /mm/tlb_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/mm/tlb_asm.S -------------------------------------------------------------------------------- /readelf/.ipynb_checkpoints/Makefile-checkpoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/.ipynb_checkpoints/Makefile-checkpoint -------------------------------------------------------------------------------- /readelf/.ipynb_checkpoints/kerelf-checkpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/.ipynb_checkpoints/kerelf-checkpoint.h -------------------------------------------------------------------------------- /readelf/.ipynb_checkpoints/main-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/.ipynb_checkpoints/main-checkpoint.c -------------------------------------------------------------------------------- /readelf/.ipynb_checkpoints/readelf-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/.ipynb_checkpoints/readelf-checkpoint.c -------------------------------------------------------------------------------- /readelf/.ipynb_checkpoints/types-checkpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/.ipynb_checkpoints/types-checkpoint.h -------------------------------------------------------------------------------- /readelf/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/Makefile -------------------------------------------------------------------------------- /readelf/kerelf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/kerelf.h -------------------------------------------------------------------------------- /readelf/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/main.c -------------------------------------------------------------------------------- /readelf/readelf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/readelf.c -------------------------------------------------------------------------------- /readelf/testELF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/testELF -------------------------------------------------------------------------------- /readelf/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/readelf/types.h -------------------------------------------------------------------------------- /src/.ipynb_checkpoints/fibo-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/src/.ipynb_checkpoints/fibo-checkpoint.c -------------------------------------------------------------------------------- /src/sh_test/.ipynb_checkpoints/hello_os-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/src/sh_test/.ipynb_checkpoints/hello_os-checkpoint.c -------------------------------------------------------------------------------- /src/sh_test/hello_os.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/src/sh_test/hello_os.c -------------------------------------------------------------------------------- /tools/.ipynb_checkpoints/scse0_3-checkpoint.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/tools/.ipynb_checkpoints/scse0_3-checkpoint.lds -------------------------------------------------------------------------------- /tools/fsformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/tools/fsformat -------------------------------------------------------------------------------- /tools/scse0_3.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/tools/scse0_3.lds -------------------------------------------------------------------------------- /tools/scse0_3.lds~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/tools/scse0_3.lds~ -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/Makefile-checkpoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/Makefile-checkpoint -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/cat-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/cat-checkpoint.c -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/echo-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/echo-checkpoint.c -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/fd-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/fd-checkpoint.c -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/ls-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/ls-checkpoint.c -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/pipe-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/pipe-checkpoint.c -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/sh-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/sh-checkpoint.c -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/spawn-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/spawn-checkpoint.c -------------------------------------------------------------------------------- /user/.ipynb_checkpoints/string-checkpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/.ipynb_checkpoints/string-checkpoint.c -------------------------------------------------------------------------------- /user/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/Makefile -------------------------------------------------------------------------------- /user/bintoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/bintoc -------------------------------------------------------------------------------- /user/cat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/cat.c -------------------------------------------------------------------------------- /user/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/console.c -------------------------------------------------------------------------------- /user/echo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/echo.c -------------------------------------------------------------------------------- /user/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/entry.S -------------------------------------------------------------------------------- /user/fd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/fd.c -------------------------------------------------------------------------------- /user/fd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/fd.h -------------------------------------------------------------------------------- /user/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/file.c -------------------------------------------------------------------------------- /user/fktest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/fktest.c -------------------------------------------------------------------------------- /user/fork.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/fork.c -------------------------------------------------------------------------------- /user/fprintf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/fprintf.c -------------------------------------------------------------------------------- /user/fsipc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/fsipc.c -------------------------------------------------------------------------------- /user/fstest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/fstest.c -------------------------------------------------------------------------------- /user/icode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/icode.c -------------------------------------------------------------------------------- /user/idle.c: -------------------------------------------------------------------------------- 1 | #include "lib.h" 2 | 3 | umain() 4 | { 5 | while(1) 6 | writef("IDLE!"); 7 | } 8 | -------------------------------------------------------------------------------- /user/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/init.c -------------------------------------------------------------------------------- /user/ipc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/ipc.c -------------------------------------------------------------------------------- /user/lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/lib.h -------------------------------------------------------------------------------- /user/libos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/libos.c -------------------------------------------------------------------------------- /user/ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/ls.c -------------------------------------------------------------------------------- /user/num.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/num.c -------------------------------------------------------------------------------- /user/pageref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/pageref.c -------------------------------------------------------------------------------- /user/pgfault.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/pgfault.c -------------------------------------------------------------------------------- /user/pingpong.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/pingpong.c -------------------------------------------------------------------------------- /user/pipe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/pipe.c -------------------------------------------------------------------------------- /user/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/print.c -------------------------------------------------------------------------------- /user/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/printf.c -------------------------------------------------------------------------------- /user/sh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/sh.c -------------------------------------------------------------------------------- /user/spawn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/spawn.c -------------------------------------------------------------------------------- /user/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/string.c -------------------------------------------------------------------------------- /user/syscall_lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/syscall_lib.c -------------------------------------------------------------------------------- /user/syscall_wrap.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/syscall_wrap.S -------------------------------------------------------------------------------- /user/testarg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/testarg.c -------------------------------------------------------------------------------- /user/testfdsharing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/testfdsharing.c -------------------------------------------------------------------------------- /user/testpipe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/testpipe.c -------------------------------------------------------------------------------- /user/testpiperace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/testpiperace.c -------------------------------------------------------------------------------- /user/testptelibrary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/testptelibrary.c -------------------------------------------------------------------------------- /user/user.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/user.lds -------------------------------------------------------------------------------- /user/wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitccl/BUAA-OSLAB-2020/HEAD/user/wait.c --------------------------------------------------------------------------------