My Implementation of Operating System at OSC2021, NYCU.
| 學號 | GitHub 帳號 | 姓名 | |
|---|---|---|---|
0856039 |
ianre657 |
陳奕安 |
ianchen.cs08[at]nycu.edu.tw |
- Required
- qemu
- Python3.7+: https://www.python.org/downloads/
- Dependency for build scripts:
pip3 install -r requirements.txt
- Build for C implementation
- docker
- clang-format: Format C code
- Build for Rust implementation
- Install rust compiler
- Change your toolchain to
nightly - Install cargo-binutils
| Usage | Command | Description |
|---|---|---|
| Build code | make |
Generate output to res |
| Cleanup binary files | make clean |
Delete all outputs |
| Run Kernel | make run-stdio |
Generate kernel image:kernel8.img |
| Enter Virtualenv | make shell |
Start a bash shell (with cross-compiling tool) |
- Download
gdbfrom official gdb website - unzip code and
cdinto folder ./configure --target=aarch64-linuxmakemake install, (the target binary would be installed as/usr/local/bin/aarch64-linux-gdb)
