https://github.com/mssola/farga
A bunch of code that messes with low level stuff.
https://github.com/mssola/farga
assembly c kernel linux riscv
Last synced: 4 months ago
JSON representation
A bunch of code that messes with low level stuff.
- Host: GitHub
- URL: https://github.com/mssola/farga
- Owner: mssola
- License: gpl-3.0
- Created: 2024-08-28T20:52:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-13T13:54:21.000Z (9 months ago)
- Last Synced: 2025-09-13T15:48:12.668Z (9 months ago)
- Topics: assembly, c, kernel, linux, riscv
- Language: C
- Homepage:
- Size: 2.85 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A bunch of code that messes with low level stuff. That is:
- `arch/riscv/`:
- `machine`: prints "hello, world" on the serial port while running in M mode
on QEMU. Check the [README file](./arch/riscv/machine/README.md) for more
info.
- `supervisor/hsm`: using the HSM extension from SBI to gather info from
harts.
- `user/`: user space programs that either delve into RISC-V assembly or that
interface the Linux Kernel on the RISC-V architecture.
- `fs/btrfs`: miscellanous tests on BTRFS.
- `kernel/dtm`: simple kernel module showcasing the API from the `of` driver.
- `lang/c`: miscellanous code on the C programming language.
A lot of this is not taken solely from my brain, and I will give credit whenever
it's relevant to each piece of code. For the rest of the code, the GPLv3+
license applies.