├── .gitignore ├── LICENSE ├── LICENSE_xv6 ├── README.md ├── SUMMARY.md ├── book.json ├── knowledge_points ├── continuous_memory_allocation │ ├── README.md │ ├── buddy_system │ │ ├── buddy_system.c │ │ └── buddy_system.md │ ├── kr_malloc_free_1 │ │ ├── kr_malloc_free.c │ │ └── kr_malloc_free.md │ ├── kr_malloc_free_2 │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── main.c │ │ ├── memory.c │ │ └── memory.h │ └── watch_linux_pagefault.md ├── overview-os-kernel-interface │ ├── copy.c │ ├── exec.c │ ├── fork.c │ ├── forkexec.c │ ├── list.c │ ├── open.c │ ├── pipe1.c │ ├── pipe2.c │ ├── redirect.c │ └── strecho.c └── semaphore-vs-monitor │ ├── README.md │ ├── producer_consumer_monitor.c │ └── producer_consumer_semaphore.c ├── ostep ├── README.md ├── ostep1-relocation.md ├── ostep1-relocation.py ├── ostep10-lottery.md ├── ostep10-lottery.py ├── ostep11-threadintro │ ├── race.md │ └── x86.py ├── ostep12-threadlock │ ├── locks.md │ └── x86.py ├── ostep13-vsfs.md ├── ostep13-vsfs.py ├── ostep14-afs.md ├── ostep14-afs.py ├── ostep15-disk │ ├── disk-precise.py │ ├── disk.md │ └── disk.py ├── ostep16-raid.md ├── ostep16-raid.py ├── ostep2-segmentation.md ├── ostep2-segmentation.py ├── ostep3-malloc.md ├── ostep3-malloc.py ├── ostep4-paging-linear-translate.md ├── ostep4-paging-linear-translate.py ├── ostep5-paging-multilevel-translate.md ├── ostep5-paging-multilevel-translate.py ├── ostep6-paging-policy.md ├── ostep6-paging-policy.py ├── ostep7-process-run.md ├── ostep7-process-run.py ├── ostep8-scheduler.md ├── ostep8-scheduler.py ├── ostep9-mlfq.md └── ostep9-mlfq.py ├── riscv ├── qemu │ └── show-rom-code.txt └── s-mode │ └── helloworld-with-paging │ ├── Makefile │ ├── kernel.cpp │ ├── kernel.lds │ └── start.S ├── v9_computer ├── README.md ├── app_funcall │ ├── Makefile │ ├── funcall-simple.c │ └── funcall.c ├── docs │ └── v9_computer.md ├── os_bad_phys_addr │ ├── Makefile │ └── os_bad_phys_addr.c ├── os_divid_by_zero │ ├── Makefile │ └── os_divid_by_zero.c ├── os_helloworld │ ├── Makefile │ └── os_helloworld.c ├── os_invalid_intruction │ ├── Makefile │ └── os_invalid_instruction.c ├── os_page_fault │ ├── Makefile │ └── os_page_fault.c ├── os_task_switch │ ├── Makefile │ └── os_task_switch.c ├── os_timer_interrupt │ ├── Makefile │ └── os_timer_interrupt.c ├── os_user_task_switch │ ├── Makefile │ └── os_user_task_switch.c ├── os_user_task_syscall │ ├── Makefile │ └── os_user_task_syscall.c ├── tools │ ├── c.c │ ├── changeheader.c │ ├── ctype.h │ ├── dir.h │ ├── dis.c │ ├── em.c │ ├── libc.h │ ├── libm.h │ ├── mem.h │ ├── mkfs.c │ └── u.h ├── ucore_enable_filesystem │ ├── Makefile │ ├── ucore_enable_filesystem.c │ └── usrapps │ │ ├── badarg.c │ │ ├── divzero.c │ │ ├── exit.c │ │ ├── faultread.c │ │ ├── faultreadkernel.c │ │ ├── forktree.c │ │ ├── hello.c │ │ ├── matrix.c │ │ ├── pgdir.c │ │ ├── priority.c │ │ ├── sh.c │ │ ├── spin.c │ │ ├── waitkill.c │ │ └── yield.c ├── ucore_enable_interrupt │ ├── Makefile │ └── ucore_enable_interrupt.c ├── ucore_enable_mutexsync │ ├── Makefile │ ├── ucore_enable_mutexsync.c │ └── usrapp_priority.c ├── ucore_enable_paging │ ├── Makefile │ └── ucore_enable_paging.c ├── ucore_enable_scheduling │ ├── Makefile │ ├── ucore_enable_scheduling.c │ └── usrapp_priority.c ├── ucore_enable_usrapp │ ├── Makefile │ ├── ucore_enable_usrapp.c │ └── usrapp_exit.c ├── ucore_enable_virt_mem │ ├── Makefile │ └── ucore_enable_virt_mem.c ├── ucore_helloworld │ ├── Makefile │ └── ucore_helloworld.c └── xv6_os │ ├── boot.sh │ ├── clean.sh │ ├── linux │ ├── dir.h │ ├── gld.c │ ├── libc.h │ ├── libm.h │ ├── net.h │ └── u.h │ └── root │ ├── bin │ ├── bin2c.c │ ├── c.c │ ├── cat.c │ ├── cp.c │ ├── echo.c │ ├── edit.c │ ├── em.c │ ├── emfast.c │ ├── emsafe.c │ ├── eu.c │ ├── fsd.c │ ├── ftpd.c │ ├── grep.c │ ├── halt.c │ ├── httpd.c │ ├── kill.c │ ├── ln.c │ ├── ls.c │ ├── man.c │ ├── mkdir.c │ ├── mv.c │ ├── pwd.c │ ├── rm.c │ ├── rmdir.c │ ├── sh.c │ ├── shd.c │ ├── term.c │ ├── vt.c │ └── wc.c │ ├── dev │ └── empty.txt │ ├── etc │ ├── init.c │ ├── mkfs.c │ └── os.c │ ├── lib │ ├── ctype.h │ ├── curses.h │ ├── dir.h │ ├── font.h │ ├── forms.h │ ├── gl.h │ ├── glut.h │ ├── libc.h │ ├── libm.h │ ├── mem.h │ ├── net.h │ └── u.h │ └── usr │ ├── demo │ ├── asteroids.c │ ├── bounce.c │ ├── calc.c │ ├── gears.c │ ├── sdk.c │ ├── triangle.c │ └── tris.c │ ├── emhello.c │ ├── euhello.c │ ├── hello.c │ ├── os │ ├── os0.c │ ├── os1.c │ ├── os2.c │ └── os3.c │ └── prseg.c └── x86-32 ├── boot_related ├── Makefile ├── defines.h ├── lab1-boot-with-grub2-in-udisk.md ├── lab1-ex0.S ├── lab1-ex0.md ├── lab1-ex1.c ├── lab1-ex1.md ├── lab1-ex2.c ├── lab1-ex2.md ├── lab1-ex3.c ├── lab1-ex3.md ├── pmbootloader │ ├── Makefile │ ├── pmboot.S │ └── pmboot.md └── toybootloader │ ├── Makefile │ ├── toy.S │ └── toy.md └── userapp_related ├── defs.h ├── lab0_ex1.c ├── lab0_ex1.md ├── lab0_ex2.c ├── lab0_ex2.md ├── lab0_ex3.c ├── lab0_ex3.md ├── lab0_ex4.c ├── lab0_ex4.md ├── lab0_ex5.c ├── lab0_ex5.md ├── lab0_ex6.c ├── lab0_ex6.md └── list.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE_xv6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/LICENSE_xv6 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/README.md -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/SUMMARY.md -------------------------------------------------------------------------------- /book.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/book.json -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/README.md -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/buddy_system/buddy_system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/buddy_system/buddy_system.c -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/buddy_system/buddy_system.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/buddy_system/buddy_system.md -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_1/kr_malloc_free.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_1/kr_malloc_free.c -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_1/kr_malloc_free.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_1/kr_malloc_free.md -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_2/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_2/LICENSE -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_2/Makefile -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_2/README.md -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_2/main.c -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_2/memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_2/memory.c -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/kr_malloc_free_2/memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/kr_malloc_free_2/memory.h -------------------------------------------------------------------------------- /knowledge_points/continuous_memory_allocation/watch_linux_pagefault.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/continuous_memory_allocation/watch_linux_pagefault.md -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/copy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/copy.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/exec.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/fork.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/fork.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/forkexec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/forkexec.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/list.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/open.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/open.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/pipe1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/pipe1.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/pipe2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/pipe2.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/redirect.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/redirect.c -------------------------------------------------------------------------------- /knowledge_points/overview-os-kernel-interface/strecho.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/overview-os-kernel-interface/strecho.c -------------------------------------------------------------------------------- /knowledge_points/semaphore-vs-monitor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/semaphore-vs-monitor/README.md -------------------------------------------------------------------------------- /knowledge_points/semaphore-vs-monitor/producer_consumer_monitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/semaphore-vs-monitor/producer_consumer_monitor.c -------------------------------------------------------------------------------- /knowledge_points/semaphore-vs-monitor/producer_consumer_semaphore.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/knowledge_points/semaphore-vs-monitor/producer_consumer_semaphore.c -------------------------------------------------------------------------------- /ostep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/README.md -------------------------------------------------------------------------------- /ostep/ostep1-relocation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep1-relocation.md -------------------------------------------------------------------------------- /ostep/ostep1-relocation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep1-relocation.py -------------------------------------------------------------------------------- /ostep/ostep10-lottery.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep10-lottery.md -------------------------------------------------------------------------------- /ostep/ostep10-lottery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep10-lottery.py -------------------------------------------------------------------------------- /ostep/ostep11-threadintro/race.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep11-threadintro/race.md -------------------------------------------------------------------------------- /ostep/ostep11-threadintro/x86.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep11-threadintro/x86.py -------------------------------------------------------------------------------- /ostep/ostep12-threadlock/locks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep12-threadlock/locks.md -------------------------------------------------------------------------------- /ostep/ostep12-threadlock/x86.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep12-threadlock/x86.py -------------------------------------------------------------------------------- /ostep/ostep13-vsfs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep13-vsfs.md -------------------------------------------------------------------------------- /ostep/ostep13-vsfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep13-vsfs.py -------------------------------------------------------------------------------- /ostep/ostep14-afs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep14-afs.md -------------------------------------------------------------------------------- /ostep/ostep14-afs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep14-afs.py -------------------------------------------------------------------------------- /ostep/ostep15-disk/disk-precise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep15-disk/disk-precise.py -------------------------------------------------------------------------------- /ostep/ostep15-disk/disk.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep15-disk/disk.md -------------------------------------------------------------------------------- /ostep/ostep15-disk/disk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep15-disk/disk.py -------------------------------------------------------------------------------- /ostep/ostep16-raid.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep16-raid.md -------------------------------------------------------------------------------- /ostep/ostep16-raid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep16-raid.py -------------------------------------------------------------------------------- /ostep/ostep2-segmentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep2-segmentation.md -------------------------------------------------------------------------------- /ostep/ostep2-segmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep2-segmentation.py -------------------------------------------------------------------------------- /ostep/ostep3-malloc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep3-malloc.md -------------------------------------------------------------------------------- /ostep/ostep3-malloc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep3-malloc.py -------------------------------------------------------------------------------- /ostep/ostep4-paging-linear-translate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep4-paging-linear-translate.md -------------------------------------------------------------------------------- /ostep/ostep4-paging-linear-translate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep4-paging-linear-translate.py -------------------------------------------------------------------------------- /ostep/ostep5-paging-multilevel-translate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep5-paging-multilevel-translate.md -------------------------------------------------------------------------------- /ostep/ostep5-paging-multilevel-translate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep5-paging-multilevel-translate.py -------------------------------------------------------------------------------- /ostep/ostep6-paging-policy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep6-paging-policy.md -------------------------------------------------------------------------------- /ostep/ostep6-paging-policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep6-paging-policy.py -------------------------------------------------------------------------------- /ostep/ostep7-process-run.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep7-process-run.md -------------------------------------------------------------------------------- /ostep/ostep7-process-run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep7-process-run.py -------------------------------------------------------------------------------- /ostep/ostep8-scheduler.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep8-scheduler.md -------------------------------------------------------------------------------- /ostep/ostep8-scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep8-scheduler.py -------------------------------------------------------------------------------- /ostep/ostep9-mlfq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep9-mlfq.md -------------------------------------------------------------------------------- /ostep/ostep9-mlfq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/ostep/ostep9-mlfq.py -------------------------------------------------------------------------------- /riscv/qemu/show-rom-code.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/riscv/qemu/show-rom-code.txt -------------------------------------------------------------------------------- /riscv/s-mode/helloworld-with-paging/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/riscv/s-mode/helloworld-with-paging/Makefile -------------------------------------------------------------------------------- /riscv/s-mode/helloworld-with-paging/kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/riscv/s-mode/helloworld-with-paging/kernel.cpp -------------------------------------------------------------------------------- /riscv/s-mode/helloworld-with-paging/kernel.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/riscv/s-mode/helloworld-with-paging/kernel.lds -------------------------------------------------------------------------------- /riscv/s-mode/helloworld-with-paging/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/riscv/s-mode/helloworld-with-paging/start.S -------------------------------------------------------------------------------- /v9_computer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/README.md -------------------------------------------------------------------------------- /v9_computer/app_funcall/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/app_funcall/Makefile -------------------------------------------------------------------------------- /v9_computer/app_funcall/funcall-simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/app_funcall/funcall-simple.c -------------------------------------------------------------------------------- /v9_computer/app_funcall/funcall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/app_funcall/funcall.c -------------------------------------------------------------------------------- /v9_computer/docs/v9_computer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/docs/v9_computer.md -------------------------------------------------------------------------------- /v9_computer/os_bad_phys_addr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_bad_phys_addr/Makefile -------------------------------------------------------------------------------- /v9_computer/os_bad_phys_addr/os_bad_phys_addr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_bad_phys_addr/os_bad_phys_addr.c -------------------------------------------------------------------------------- /v9_computer/os_divid_by_zero/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_divid_by_zero/Makefile -------------------------------------------------------------------------------- /v9_computer/os_divid_by_zero/os_divid_by_zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_divid_by_zero/os_divid_by_zero.c -------------------------------------------------------------------------------- /v9_computer/os_helloworld/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_helloworld/Makefile -------------------------------------------------------------------------------- /v9_computer/os_helloworld/os_helloworld.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_helloworld/os_helloworld.c -------------------------------------------------------------------------------- /v9_computer/os_invalid_intruction/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_invalid_intruction/Makefile -------------------------------------------------------------------------------- /v9_computer/os_invalid_intruction/os_invalid_instruction.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_invalid_intruction/os_invalid_instruction.c -------------------------------------------------------------------------------- /v9_computer/os_page_fault/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_page_fault/Makefile -------------------------------------------------------------------------------- /v9_computer/os_page_fault/os_page_fault.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_page_fault/os_page_fault.c -------------------------------------------------------------------------------- /v9_computer/os_task_switch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_task_switch/Makefile -------------------------------------------------------------------------------- /v9_computer/os_task_switch/os_task_switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_task_switch/os_task_switch.c -------------------------------------------------------------------------------- /v9_computer/os_timer_interrupt/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_timer_interrupt/Makefile -------------------------------------------------------------------------------- /v9_computer/os_timer_interrupt/os_timer_interrupt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_timer_interrupt/os_timer_interrupt.c -------------------------------------------------------------------------------- /v9_computer/os_user_task_switch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_user_task_switch/Makefile -------------------------------------------------------------------------------- /v9_computer/os_user_task_switch/os_user_task_switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_user_task_switch/os_user_task_switch.c -------------------------------------------------------------------------------- /v9_computer/os_user_task_syscall/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_user_task_syscall/Makefile -------------------------------------------------------------------------------- /v9_computer/os_user_task_syscall/os_user_task_syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/os_user_task_syscall/os_user_task_syscall.c -------------------------------------------------------------------------------- /v9_computer/tools/c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/c.c -------------------------------------------------------------------------------- /v9_computer/tools/changeheader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/changeheader.c -------------------------------------------------------------------------------- /v9_computer/tools/ctype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/ctype.h -------------------------------------------------------------------------------- /v9_computer/tools/dir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/dir.h -------------------------------------------------------------------------------- /v9_computer/tools/dis.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/dis.c -------------------------------------------------------------------------------- /v9_computer/tools/em.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/em.c -------------------------------------------------------------------------------- /v9_computer/tools/libc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/libc.h -------------------------------------------------------------------------------- /v9_computer/tools/libm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/libm.h -------------------------------------------------------------------------------- /v9_computer/tools/mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/mem.h -------------------------------------------------------------------------------- /v9_computer/tools/mkfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/mkfs.c -------------------------------------------------------------------------------- /v9_computer/tools/u.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/tools/u.h -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/ucore_enable_filesystem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/ucore_enable_filesystem.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/badarg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/badarg.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/divzero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/divzero.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/exit.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/faultread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/faultread.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/faultreadkernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/faultreadkernel.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/forktree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/forktree.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/hello.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/matrix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/matrix.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/pgdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/pgdir.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/priority.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/priority.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/sh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/sh.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/spin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/spin.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/waitkill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/waitkill.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_filesystem/usrapps/yield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_filesystem/usrapps/yield.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_interrupt/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_interrupt/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_enable_interrupt/ucore_enable_interrupt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_interrupt/ucore_enable_interrupt.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_mutexsync/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_mutexsync/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_enable_mutexsync/ucore_enable_mutexsync.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_mutexsync/ucore_enable_mutexsync.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_mutexsync/usrapp_priority.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_mutexsync/usrapp_priority.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_paging/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_paging/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_enable_paging/ucore_enable_paging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_paging/ucore_enable_paging.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_scheduling/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_scheduling/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_enable_scheduling/ucore_enable_scheduling.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_scheduling/ucore_enable_scheduling.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_scheduling/usrapp_priority.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_scheduling/usrapp_priority.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_usrapp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_usrapp/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_enable_usrapp/ucore_enable_usrapp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_usrapp/ucore_enable_usrapp.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_usrapp/usrapp_exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_usrapp/usrapp_exit.c -------------------------------------------------------------------------------- /v9_computer/ucore_enable_virt_mem/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_virt_mem/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_enable_virt_mem/ucore_enable_virt_mem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_enable_virt_mem/ucore_enable_virt_mem.c -------------------------------------------------------------------------------- /v9_computer/ucore_helloworld/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_helloworld/Makefile -------------------------------------------------------------------------------- /v9_computer/ucore_helloworld/ucore_helloworld.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/ucore_helloworld/ucore_helloworld.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/boot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/boot.sh -------------------------------------------------------------------------------- /v9_computer/xv6_os/clean.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/clean.sh -------------------------------------------------------------------------------- /v9_computer/xv6_os/linux/dir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/linux/dir.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/linux/gld.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/linux/gld.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/linux/libc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/linux/libc.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/linux/libm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/linux/libm.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/linux/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/linux/net.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/linux/u.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/linux/u.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/bin2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/bin2c.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/c.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/cat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/cat.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/cp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/cp.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/echo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/echo.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/edit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/edit.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/em.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/em.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/emfast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/emfast.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/emsafe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/emsafe.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/eu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/eu.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/fsd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/fsd.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/ftpd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/ftpd.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/grep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/grep.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/halt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/halt.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/httpd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/httpd.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/kill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/kill.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/ln.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/ln.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/ls.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/man.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/man.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/mkdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/mkdir.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/mv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/mv.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/pwd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/pwd.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/rm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/rm.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/rmdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/rmdir.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/sh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/sh.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/shd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/shd.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/term.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/vt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/vt.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/bin/wc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/bin/wc.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/dev/empty.txt: -------------------------------------------------------------------------------- 1 | empty 2 | -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/etc/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/etc/init.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/etc/mkfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/etc/mkfs.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/etc/os.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/etc/os.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/ctype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/ctype.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/curses.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/curses.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/dir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/dir.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/font.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/forms.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/forms.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/gl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/gl.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/glut.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/glut.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/libc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/libc.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/libm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/libm.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/mem.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/net.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/lib/u.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/lib/u.h -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/demo/asteroids.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/demo/asteroids.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/demo/bounce.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/demo/bounce.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/demo/calc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/demo/calc.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/demo/gears.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/demo/gears.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/demo/sdk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/demo/sdk.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/demo/triangle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/demo/triangle.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/demo/tris.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/demo/tris.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/emhello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/emhello.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/euhello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/euhello.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/hello.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/os/os0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/os/os0.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/os/os1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/os/os1.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/os/os2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/os/os2.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/os/os3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/os/os3.c -------------------------------------------------------------------------------- /v9_computer/xv6_os/root/usr/prseg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/v9_computer/xv6_os/root/usr/prseg.c -------------------------------------------------------------------------------- /x86-32/boot_related/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/Makefile -------------------------------------------------------------------------------- /x86-32/boot_related/defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/defines.h -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-boot-with-grub2-in-udisk.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-boot-with-grub2-in-udisk.md -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex0.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex0.S -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex0.md -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex1.c -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex1.md -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex2.c -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex2.md -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex3.c -------------------------------------------------------------------------------- /x86-32/boot_related/lab1-ex3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/lab1-ex3.md -------------------------------------------------------------------------------- /x86-32/boot_related/pmbootloader/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/pmbootloader/Makefile -------------------------------------------------------------------------------- /x86-32/boot_related/pmbootloader/pmboot.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/pmbootloader/pmboot.S -------------------------------------------------------------------------------- /x86-32/boot_related/pmbootloader/pmboot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/pmbootloader/pmboot.md -------------------------------------------------------------------------------- /x86-32/boot_related/toybootloader/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/toybootloader/Makefile -------------------------------------------------------------------------------- /x86-32/boot_related/toybootloader/toy.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/toybootloader/toy.S -------------------------------------------------------------------------------- /x86-32/boot_related/toybootloader/toy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/boot_related/toybootloader/toy.md -------------------------------------------------------------------------------- /x86-32/userapp_related/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/defs.h -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex1.c -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex1.md -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex2.c -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex2.md -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex3.c -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex3.md -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex4.c -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex4.md -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex5.c -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex5.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex5.md -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex6.c -------------------------------------------------------------------------------- /x86-32/userapp_related/lab0_ex6.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/lab0_ex6.md -------------------------------------------------------------------------------- /x86-32/userapp_related/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chyyuu/os_tutorial_lab/HEAD/x86-32/userapp_related/list.h --------------------------------------------------------------------------------