A simple OS microkernel written in Rust, and designed for security and modularity.
Go to file
August 79f7d3711e
All checks were successful
Continuous Integration / Check (push) Successful in 55s
Continuous Integration / Clippy (push) Successful in 58s
Fix Clippy; format
2026-11-10 04:45:06 +00:00
.cargo
.gitea/workflows Fix CI 2026-10-08 19:07:42 +00:00
.vscode Amend nasty design decisions 2026-11-09 19:56:42 +00:00
configs Add dev journal 2026-10-08 18:56:28 +00:00
docs Mess with Userboot loading 2026-11-10 04:41:08 +00:00
resources Initial userboot support 2026-06-30 21:25:33 +00:00
src Fix Clippy; format 2026-11-10 04:45:06 +00:00
.envrc I don't know 2026-10-11 17:37:37 +00:00
.gitignore I don't know 2026-10-11 17:37:37 +00:00
build.rs shut up clippy 2026-06-30 21:27:27 +00:00
Cargo.lock Fix CI 2026-10-08 19:07:42 +00:00
Cargo.toml Fix CI 2026-10-08 19:07:42 +00:00
Dockerfile
flake.lock Switch from shell.nix to flake.nix 2026-10-11 17:37:37 +00:00
flake.nix Switch from shell.nix to flake.nix 2026-10-11 17:37:37 +00:00
LICENSE
Makefile.toml Move x86 specific code out of main.rs 2026-11-09 20:24:05 +00:00
README.md Initial userboot support 2026-06-30 21:25:33 +00:00
rust-toolchain.toml

Gila v0.4.0 - a Rust Microkernel

An illustrated Gila monster, and the text "Gila: A Minimal Rust Microkernel", superimposed over some serial log output.

Gila is a Rust microkernel OS, inspired by microkernel projects such as seL4, Zircon, and Redox. I aim to implement multitasking, userspace drivers, IPC, and sandboxing. I do not aim to make it POSIX-compatible, but it will likely end up sharing many features with POSIX operating systems. Its design philosophy is focused around simplicity, isolation, modularity, and minimal privilege.

Development

Information on the build system, repo structure, features, configuration options, supported architectures, design philosophies, and more, is available in the docs folder. If you want to build Gila for yourself, consider reading DEVELOPMENT.md for explicit instructions.

Features

Complete

  • Valid Limine kernel
  • Boots on x86_64 (both UEFI and BIOS)
  • Kernel command line parameters
  • initramfs loading
  • Logging
    • Serial output
  • Page table enumeration
  • Processor identification

In-Progress

  • Display console
  • Serial console
  • Paging

Future/Desired

  • Multi-architecture features
  • Userspace binaries/processes
  • Interprocess communication
  • Driver server interface
  • Interrupts and timers
  • Context switching
  • Process scheduling
  • System calls (multi-convention?)
  • Capability access control
  • Simultaneous multiprocessing support
  • Hypervisor functionality

Additional Future Features (Userspace)

  • Device drivers
  • Filesystem drivers
  • Shell
  • Standard system API
  • Rust and C stdlib port
  • Display/windowing
  • Application sandboxing

Licensing

Licensed under the MIT License. See LICENSE for details.

Credits

  • The linker script stuff is from limine-rust-template, which is available under the BSD 0-Clause License.
  • The Gila kernel mascot, Gilbert (prounounced "Hilbert"), was illustrated by @lilu-the-almighty on Tumblr.