keywords: BUAA OS 2021 Beijing University of Aeronautics and Astronautics 6th Department Computer Operating System 2021
2021 Spring Beihang Operating System
This repo does not provide code because there are too many wheels on the network, only recording study notes and content on the computer.
Welcome to fork&pull request.
If you feel the need to conduct a comprehensive check of the entire lab, these task lists can be convenient for you to compare one by one. Of course, you can use base64 to get your repo locally and then use professional comparison software (Beyond Compare) for comparison.
include.mkreadelf/readelf.ctools/scse0_3.lds and adjust the kernel to the correct position.boot/start.Slib/print.c: lp_Print()include/queue.h: LIST_INSERT_AFTER(), LIST_INSERT_TAIL()mm/pamp.c: mips_detect_memory()mm/pamp.c: page_init()mm/pamp.c: page_alloc, page_free()mm/pamp.c: boot_pgdir_walk, pgdir_walk()mm/pamp.c: boot_map_ segment()mm/pamp.c: page_insert()mm/tlb_asm.S: tlb_out()mm/pmap.c: mips_vm_init()lib/env.c: env_init()lib/env.c: envid2env()lib/env.c: env_setup_vm()lib/env.c: env_alloc()lib/env.c: load_icode_mapper()lib/kernel_elfloader.c: load_elf() and lib/env.c: load_icode()lib/env.c: env_create(), env_create_priority()init/init.clib/env.c: env_run()boot/start.Stools/scse0_3.ldslib/kclock.c: kclock_init()lib/sched.c: sched_yield()user/syscall_wrap.S: msyscall()lib/syscall.S: handle_sys()lib/syscall_all.c: sys__mem_alloc()lib/syscall_all.c: sys_mem_map()lib/syscall_all.c: sys_mem_unmap()lib/syscall_all.c: sys_yield()lib/syscall_all.c: sys_ipc_recv(), sys_ipc_can_send()lib/syscall_all.c: sys_env_alloc()user/fork.c: fork() about sys_env_alloc and the "subprocess" execution partuser/fork.c: duppage()lib/traps.c: page_fault_handler()lib/syscall_all.c: sys_set_pgfault_handler()user/fork.c: pgfault()lib/syscall_all.c: sys_set_env_status()user/fork.c: fork() on the execution of "parent process"sys_write_dev(), sys_read_dev() ; complete the interface of the corresponding system call in user/lib.h, user/syscall_lib.c .fs/ide.c: ide_write(), ide_read()fs/fs.c: free_block()fs/fsformat.c: create_file()fs/fs.c: diskaddr()map_block(), unmap_block()fs.c: dir_lookup()user/file.c: open()user/fd.c: read()user/fsipc.c: fsipc_remove() , user/file.c: remove() , fs/serv.c: serve_remove()user/fork.c: duppage()user/pipe.c: piperead(), pipewrite(), _pipeisclosed()user/pipe.c: pipeclose() and user/fd.c: dup()user/pipe.c: _pipeisclosed()user/spawn.c: spawn(), usr_load_elf()user/sh.c: runcmd()lab4_challenge-semaphore implementation-lpxofbuaa
lab5_challenge-Memory Protection-VOIDMalkuth
Because the course requirements may change every year, try to look at the code that is closer.
The code of senior login256 may not be fully applicable to the course requirements of spring 2020, and it has been a beginning in the process scheduling of lab3.
2020 Spring-refkxh code
2020 Spring-C7ABT Code
2019 Spring-login256 code
Spring 2019 - Eadral's code
lab1~6 experimental report-shh
lab1~6 experimental report-VOIDMalkuth
lab1~6 experimental report-hky1999
lab1 thinking questions answers-moc-85422729
lab1 thinking questions answers-Suxy-99
lab2-code_view-riyuejiuzhao
Lab2-code_view-littlenyima
lab2 thinking questions answers-moc-85422729
lab2 thinking questions answers-Suxy-99
lab3-code_view-riyuejiuzhao
lab3-code_view-FFChyan
lab3-code_view-SivilTaram
lab3-code_view-CindyZhou
lab3-code_view-puublog
lab3 thinking questions answers-blshuidi
lab3 thinking questions answers-moc-85422729
lab3 thinking questions answers-Suxy-99
lab4-code_view-FFChyan
lab4-code_view-Nortonary
lab4-code_view-CindyZhou
lab4-code_view-sharinka0715
lab4-code_view-SivilTaram
lab4-code_view-p_wk
lab4-Thinkings-Suxy-99
lab4-Thinkings-blshuidi
lab5-code_view-Nortonary
lab5-Thinkings-blshuidi
It's a pigeon
2021 Spring - Exercise Summary - rfhits
2017 Spring - Partial answers to midterm exam papers-super_dmz
2019 Spring - Course Notes - Jay1Zhang
Compilation linking principle
Redirection of input and output under linux
The GCC compiler in Linux runs the first program "Helloworld!"
How to write Makefile-bilibili-Lighting of Lanterns in the first lunar month
Thank you to all the teachers, teaching assistants, seniors and bigwigs who provide information and devote themselves to this course!