1
1
Fork
You've already forked DreamOSV
0
Another example of riscv Kernel, this time using limine. Hopefully one day it could be integrated into DreamOS64.
  • C 81%
  • Makefile 14.9%
  • Linker Script 4.1%
Find a file
2026年06月25日 20:04:15 +01:00
build Minor refactoring to build process 2024年10月22日 23:47:28 +01:00
src Move mem* functions to string.h/.c files 2026年06月25日 20:04:15 +01:00
.gitignore Add print function 2024年09月04日 16:15:50 +01:00
Makefile Parse memory map 2026年06月16日 20:29:40 +01:00
README.md Parse memory map 2026年06月16日 20:29:40 +01:00

Dreamos V

This is a small experiment in writing a riscv64 kernel. The aim is one day if possible to integrate this code in the codebase of Dreamos64, but that is just a long term idea, and i'm not sure i will ever do it.

Limine will be stcuk to v9.5 for the time being.

Prerequisites

To be built it requires a riscv64 build environment installed, it can be either gcc or clang. For more information on how to build a cross compiler: OSDev Notes/Cross Compiler

It will also need:

  • git
  • qemu (with riscv64 support)

Build

First set the toolchain in build/Config.mk, by changing the value of the TOOLCHAIN variable. Then just run:

make build
make run

All the binaries are placed in the dist/ folder.

Current features

  • Load with limine
  • Serial output (with printf like functionalities)