Rust Barebones Kernel
A barebones framework for a rust kernel.
Install / Use
npx skills add thepowersgang/rust-barebones-kernelInstalls into whichever agent you are using.
README
Rust Bare-Bones Kernel
This is designed to be a rust equivalent of the OSDev.org Bare_Bones article, presenting the bare minimum you need to get started.
Requirements
- A recent (nightly) build of rustc (at least the date of the most recent commit to this repo)
- A suitable cross-compiling copy of binutils (i586-elf or x86_64-elf)
- by running
TRIPLE= makeinstead ofmake, you can use the system linker, but it may not work.
Features
- x86 and x86_64 (amd64) "ports"
- Initial paging for both (with higher-half)
- Serial output using the classic PC serial port, formatted using
::core::fmt - Links with libcore
Building
Roughly, this:
$ git clone https://github.com/thepowersgang/rust-barebones-kernel
$ cd rust-barebones-kernel
$ cd Kernel
$ make
$ cd ..
$ qemu-system-x86_64 -kernel kernel.amd64.bin -serial stdio
You should see a
[main] Hello world!
print to the console.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
