Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 920 Bytes

README.md

File metadata and controls

58 lines (42 loc) · 920 Bytes

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