Skip to content

Reimplement Zircon microkernel in Rust.

License

Notifications You must be signed in to change notification settings

ricardoforever/zCore

 
 

Repository files navigation

zCore

CI Docs Coverage Status

Reimplement Zircon microkernel in safe Rust as a userspace program!

Dev Status

🚧 Working In Progress

  • 2020.04.16: Zircon console is working on zCore! 🎉

Getting started

Environments:

Clone repo and pull prebuilt fuchsia images:

git clone https://github.com/rcore-os/zCore --recursive
cd zCore
git lfs pull

Prepare Alpine Linux rootfs:

make rootfs

Run native Linux program (Busybox):

cargo run --release -p linux-loader /bin/busybox [args]

Run native Zircon program (shell):

cargo run --release -p zircon-loader prebuilt/zircon

Run Zircon on bare-metal (zCore):

cd zCore && make run mode=release [graphic=on] [accel=1]

To debug, set RUST_LOG environment variable to one of error, warn, info, debug, trace.

Components

Overview

Hardware Abstraction Layer

Bare Metal Linux / macOS
Virtual Memory Management Page Table Mmap
Thread Management executor async-std::task
Exception Handling Interrupt Signal

About

Reimplement Zircon microkernel in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 98.5%
  • Other 1.5%