Skip to content

About

Custom hobby kernel / OS targeting RISC-V written by hand

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Karesansui

Custom hobby kernel / OS targeting RISC-V (currently QEMU's virt machine).

A project implemented as a relaxation / meditation practice with close proximity to the hardware and little noise in between. It's supposed to become a small and fully comprehensible system with nothing I didn't choose between me and the metal.

For this project, I aim to work as much as feasible from physical sources. That means a paper copy of the OSTEP book and printed and ring-bound versions of (parts of) the RISC-V privileged and unprivileged specification and additional documents like the RISC-V Assembly Programmer's Manual and the RISC-V ABIs Specification. This captures some of the vibe of working with the C64 and the C64 Programmer's Reference Guide without the noise of internet and AI. There are valid uses for internet and AI as sources of information, but for this project, there is absolutely no AI-generated code allowed.

Building and Running

To build the kernel run

make

and then run it with

make qemu

To exit the emulation in QEMU, press Ctrl+A X.

About

Custom hobby kernel / OS targeting RISC-V written by hand

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages