
osblog | riscv | |
---|---|---|
3 | 1 | |
517 | 5 | |
- | - | |
0.0 | 10.0 | |
over 2 years ago | about 2 years ago | |
Rust | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
osblog
-
My RISC-V OSDev journey, so far
How to automate building and running the project using make; in particular, leveraging variables in the Makefile to elegantly apply the same command line options for compiling each file in the codebase - because trust me, you'll need a ton of command-line options ;-) For this, I based my initial Makefile on that found in the source code for "The Adventures of OS", e.g. this
-
Getting started with OSDev on RISC-V
I would like to thank the authors of RISC-V from scratch and The Adventures of OS for their high-quality articles that go into great detail on how RISC-V works. Without their well-written articles, I wouldn't have known how to get started with kernel development on RISC-V. My initial project setup - the minimal C runtime crt0.s in assembly and the linker script riscv64-virt.lds - is based on the former, while my UART driver code is adapted from the latter and I intend to closely follow the latter going forward.
-
RV32I Stack and stack pointer in hardware implementation
Here's an example of an interrupt routine (m_trap_vector): https://github.com/sgmarz/osblog/blob/master/risc_v/src/asm/trap.S
riscv
-
Getting started with OSDev on RISC-V
Playing around with userspace RISC-V assembly in multiarch containers with QEMU user mode emulation
What are some alternatives?
riscv-elf-psabi-doc - A RISC-V ELF psABI Document
marvelos - Marvelous RISC-V Operating System, by donaldsebleung
avr-device - Register access crate for AVR microcontrollers
Judge0 API - 🔥 The most advanced open-source online code execution system in the world.
riscv-from-scratch - The code for the RISC-V from scratch blog post series.
molten-nvim - A neovim plugin for interactively running code with the jupyter kernel. Fork of magma-nvim with improvements in image rendering, performance, and more
awesome-riscv - 😎 A curated list of awesome RISC-V implementations
linux - @superna9999's Linux kernel source fork for upstream development
book - The Rust Programming Language
sniprun - A neovim plugin to run lines/blocs of code (independently of the rest of the file), supporting multiples languages
