Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aibor/os-in-1000-lines
My version of https://operating-system-in-1000-lines.vercel.app
https://github.com/aibor/os-in-1000-lines
c c-lang os risc-v riscv riscv64 rust rust-lang
Last synced: about 14 hours ago
JSON representation
My version of https://operating-system-in-1000-lines.vercel.app
- Host: GitHub
- URL: https://github.com/aibor/os-in-1000-lines
- Owner: aibor
- License: unlicense
- Created: 2025-01-12T13:12:31.000Z (2 days ago)
- Default Branch: main
- Last Pushed: 2025-01-12T15:00:19.000Z (2 days ago)
- Last Synced: 2025-01-12T15:35:34.786Z (2 days ago)
- Topics: c, c-lang, os, risc-v, riscv, riscv64, rust, rust-lang
- Language: C
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Operating System in 1,000 lines
This project follows the tutorial [OS in 1,000 lines][tutorial] and its
[github repo][repo].As in the original tutorial it is implemented in C, but with a few changes:
* RISCV64 instead of RISCV32
* Makefile used
* bootstrap assembly code extracted
* basic functions with additional optimizationsAdditionally, the idea is adapted to an implementation in Rust. It tries to
as close as possible to the C implementation and shares same basic assembler
and linker code. How to build a minimal Rust binary that can be used as kernel
has been taken from the following projects:
* https://github.com/xiaoyang-sde/rust-kernel-riscv
* https://docs.rust-embedded.org/embedonomicon/smallest-no-std.html[tutorial]: https://operating-system-in-1000-lines.vercel.app
[repo]: https://github.com/nuta/operating-system-in-1000-lines