Microdragon / Kernel

A microkernel written in Rust
Mozilla Public License 2.0
0 stars 1 forks source link

Rust Bootloader support and cargo xtask project #8

Closed Rain336 closed 9 months ago

Rain336 commented 9 months ago

Adds support for a new bootloader, the Rust Bootloader from the rust-osdev project.

As part of that I also decided to replace the current Just-based build system with a [cargo xtask] project. The xtask currently supports three operations:

The primary and secondary stack sizes where moved into the interface crate, since they should be the same between each bootloader and are technically part of the contract between the kernel and bootloader.

The CriticalSection has been removed from the common crate and replaced by the interrupt library which is now re-exported by the common crate.