This Month in Rust OSDev (September 2021)
Welcome to a new issue of "This Month in Rust OSDev". In these posts, we give a regular overview of notable changes in the Rust operating system development ecosystem.
This series is openly developed on GitHub. Feel free to open pull requests there with content you would like to see in the next issue. If you find some issues on this page, please report them by creating an issue or using our comment form at the bottom of this page.
In this section, we give an overview of notable changes to the projects hosted under the
x86_64 crate provides various abstractions for
x86_64 systems, including wrappers for CPU instructions, access to processor-specific registers, and abstraction types for architecture-specific structures such as page tables and descriptor tables.
In September, we merged the following changes:
clean_up_with_filterfor deallocating unused page tables
- Add exception vector type
- Release version 0.14.5
- Move segment types into a new registers::segmentation module
- Release version 0.14.6
uefi crate provides safe and performant wrappers for UEFI, the successor to the BIOS.
This month, we merged the following changes:
- Improve macro errors
- Implement missing methods of
- macros: add compilation tests
- Remove attribute to enable
- Add a test command to build.py and also use it in the CI
bootloader crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables.
We finally merged a long-desired feature this month:
- Framebuffer configuration (published as
Thanks to @anellie for this contribution!
multiboot2 crate provides abstraction types for the boot information of multiboot2 bootloaders.
It is now part of a workspace and lives next to the new crate
The following changes were merged this month:
- Code style improvements + optional CI job (clippy, rustfmt, rustdoc)
- std in tests; hash for TagType
- editorconfig file
- prepared cargo workspace, as discussed in PR #79
The changes were published as
multiboot2-header crate provides abstraction types for the Multiboot2 header
and a builder struct to construct these headers. The corresponding repository was
prepared (#86) and the initial release
is expected in early October. See #95 for more details.
Call for Participation
Want to contribute to a Rust OSDev project, but don't know where to start? Pick up one of these outstanding issues in one of our projects and get started!
If you maintain a Rust OSDev project and are looking for contributors, especially for tasks suited to people
getting started in this space, please create a PR against the
next branch with the tasks you want to include in the next issue.
In this section, we describe updates to personal projects that are not directly related to the
rust-osdev organization. Feel free to create a pull request with the updates of your OS project for the next post.
(Section written by @phil-opp)
We merged two small fixes to the Writing an OS in Rust blog this month:
I don't have any notable news about the upcoming third edition of the blog yet, but I'm doing my best to get back up to speed soon.
Are you interested in Rust-based operating system development? Our
rust-osdev organization is always open to new members and new projects. Just let us know if you want to join! A good way for getting in touch is our gitter channel.