6.S081-Fall2021 的实现
MIT 6.S081
This repository contains my solution to the labs for MIT’s 6.S081 operating system.
How to use it ?
First, you need to clone this repository by
1 | git clone https://github.com/kosa-as/xv6-labs-2021.git |
Then cd into the file, you are now in the master branch of the projects, to see my answer to a specific lab, e.g. util, syscall …… , you just checkout into that branch by for example
1 | git checkout util |
and now you are in the utils branch which contains my solution to the specific lab.
if you want to have a clean copy of the original lab handout, just go to the course website and follow the lab guidance. Also, you can watch the course videos on the course website. Hope you enjoy your OS journey.
If you want to push to your own GitHub repository, run:
1 | git remote set-url <remote-name> <new-URL> |
Then push to the remote repository as usual.
Lab Reports
For each lab, I wrote a brief report on my implementation, explaining the important part of my code and how to complete the lab step by step. (I wrote these reports in Chinese)
- Lab Utilities
- Lab System Calls
- Lab Page Tables
- Lab Traps
- Lab Copy-on-Write
- Lab Multithreading
- Lab Lock
- Lab File System
Reading materials
I highly recommend you read the xv6 book before watching the course videos and doing the labs.
6.S081-Fall2021 的实现