Skip to content

VictorZhangAI/os1000

Repository files navigation

OS1000

OS in 1000 lines re-constructed as the source tutorial has some kind of un-elegant
It turns out that this OS is not suitable for persistent use as it always runs into panic after a second boot.
But anyway, a great toy for operating system teaching, isn't it?
Please feel free to fork this repo and modify it.

after cloning the repo, run following command to download OpenSBI in the project directory:

curl -LO https://github.com/qemu/qemu/raw/v8.0.4/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin

emm...you also need a directory disk which contains file like hello.txt in it.

simply run make will generate the kernel.elf
run

make qemu

will boot the system using kernel.elf

About

Operating System in 1000 lines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published