Skip to content

xeome/riscv-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riscv-kernel

This is a simple toy kernel for RISC-V.


Table of Contents


Features

  • Printf
  • Context switching
  • Exception handling
  • Memory allocation
  • Page tables
  • Virtual memory
  • Syscalls
  • User mode
  • Interactive shell
  • Virt-IO basic driver
  • Filesystem

Dependencies

  • clang
  • qemu-system-riscv32
  • llvm-obj-copy
  • lld

For archlinux users:

sudo pacman -S clang qemu-system-riscv llvm lld

Run

make && ./run.sh

Acknowledgements

About

riscv toy kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published