neutron_kernel

Crates.ioneutron_kernel
lib.rsneutron_kernel
version0.1.1
sourcesrc
created_at2022-01-30 11:33:53.012343
updated_at2022-01-30 12:36:38.120792
descriptionA rust-based kernel for riscv and arm
homepage
repository
max_upload_size
id523996
size42,962
Jason Qin (hyperswine)

documentation

README

Neutron

A rust based kernel built on first principles.

Testing

A core idea is TDD. The only way to really verify that things work. Each mod.rs should contain cfg() for build and test, esp for arch dependent code. For arch independent code, should try not to rely on arch dependent code. I.e. only arch dependent code should rely on arch independent code. Or the interface should be isolated, i.e. in kernel manager.

Dependencies

Rust (rustup recommended)

  • rust-src
  • target aarch64 and riscv64 (unknown-none) QEMU Toolchains (add to path or specify sysroot when using cargo build)
  • aarch64-gcc
  • riscv64-gcc

Building

cargo build

Running

run.sh

Commit count: 0

cargo fmt