https://github.com/xeqlol/rustonly-kernel
Tiny os kernel written only in Rust (without assembler, except inline)
https://github.com/xeqlol/rustonly-kernel
kernel os rust
Last synced: 12 months ago
JSON representation
Tiny os kernel written only in Rust (without assembler, except inline)
- Host: GitHub
- URL: https://github.com/xeqlol/rustonly-kernel
- Owner: xeqlol
- License: mit
- Created: 2017-02-13T13:18:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T15:33:22.000Z (over 9 years ago)
- Last Synced: 2024-12-05T11:41:00.135Z (over 1 year ago)
- Topics: kernel, os, rust
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rustonly kernel
> Tiny OS kernel written only in Rust (without assembler, except inline).
After i saw this [masterpiece](https://github.com/hawkw/sos-kernel) written by Eliza Weisman, i wondered: damn, how can it works without bootloader written in asm? So, i decide to write minimal kernel that can be compiled, works fine and written only in Rust. Here it is. It simply prints "OK" on green background and then hangs.
### build
- Just download master and run "make run" in terminal.
### linux dependencies
- `ld`: linker (makes binary out of other files)
- `grub`: creates the bootable iso
- `xorriso`: req'd by grub, filesystem manipulator
- `QEMU`: fake-computer emulator
- `cargo/rustc`: Rust lang compiler (!) nightly version is necessary (!)
### QEMU output
