rust-raspi3-OS-tutorials
multiplix
rust-raspi3-OS-tutorials | multiplix | |
---|---|---|
1 | 3 | |
9,127 | 122 | |
- | - | |
10.0 | 8.3 | |
over 1 year ago | 8 months ago | |
Rust | D | |
Apache License 2.0 | 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.
rust-raspi3-OS-tutorials
multiplix
- Multiplix, operating system kernel for RISC-V and AArch64 SBCs
-
My favorite C compiler flags during development
You need to provide implementations of the callbacks yourself. For example, to use the address sanitizer you should use `-fsanitize=kernel-address`, and then the compiler will generate calls to `__asan_load8_noabort`, `__asan_load4_noabort`, `__asan_store8_noabort`... when loads/stores happen. In those functions, you need to implement the sanitizer yourself, and have it panic if it detects an invalid access (address sanitizers are usually implemented with shadow memory). You'll have to give your sanitizer enough shadow memory during initialization, and also add your own alloc/free sanitizer callbacks to your allocator (so the sanitizer knows when things are allocated/freed). I have an example [here](https://github.com/zyedidia/multiplix/blob/master/kernel/san...) that implements a basic ASAN and UBSAN in a kernel (it's written in D, but could be easily adapted to C or C++). Hopefully it's helpful!
What are some alternatives?
autokernel - A tool for managing your kernel configuration that guarantees semantic correctness
express-c - Fast, unopinionated, minimalist web framework for C
node-to-rust - [Moved to: https://github.com/jsoverson/node-to-rust]
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
felix - 🐱 Experimental operating system written in Rust
build - Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
rustberry-pi-pico - Collection of firmware binaries for Raspberry Pi Pico written in Rust.
guess-the-number - A bare metal kernel with only Guess The Number
database_web_ui_on_server - 07. Tutorial for Coding a Database Web UI in Rust (2022-08)
raspberry-pi-os - Learning operating system development using Linux kernel and Raspberry Pi
pisugar-power-manager-rs - PiSugar Power Manger in rust language
gcc