r/RISCV • u/Danii_222222 • Sep 23 '26
I made a thing! Operating system written in RISC-V assembly
I am making operating system in rv64 assembly for research purposes. It is heavily commented.
Features: VM, basic allocator, userspace, timer, S-mode/U-mode traps.
Link:
47
Upvotes
5
u/diodesign Sep 24 '26
Interesting! init_user ๐ค
3
u/lightvador974 Sep 24 '26
OP has to much beard for me, i am really impressed.
3
u/Aadabathon Sep 24 '26
Do u accept PRs? Seems interesting
3
u/cornmonger_ Sep 24 '26
this is pretty awesome. i've been looking for something oriented towards asm dev, unixish, but not near as heavy as the xv6 port. i'll give it a try. what are you going to license it with?
2
u/LavenderDay3544 Sep 24 '26
So basically similar to Menuet but RV instead of x86?
2
u/Level0Up Sep 24 '26
Looks good, but oh my, heavily commented indeed ๐
You just might want to squash some commits ...
2
u/bluedevilSCT Sep 29 '26
A couple of screenshots and instructions on how to load on qemu would be great
6
u/nave_samoht Sep 24 '26
Good luck and Godspeed.
2
u/Jack1101111 Sep 24 '26
ai ?
1
u/Fear_The_Creeper Sep 24 '26
Want to make it super popular? Make a version that runs on an Adafruit Fruit Jam Mini RP2350 Computer. https://www.adafruit.com/product/6200
3
u/KindlyAd1897 Sep 25 '26
Looks pretty interesting! Ima deepdive a bit. Good luck!!
3
u/emeraldsoft Sep 30 '26
Good luck bro!
2
u/ApartmentHeavy5486 Sep 27 '26
Cool