|
| 1 | ++++ |
| 2 | +title = "This Month in Rust OSDev: July 2025" |
| 3 | +date = 2025-08-08 |
| 4 | + |
| 5 | +[extra] |
| 6 | +month = "July 2025" |
| 7 | +editors = ["phil-opp"] |
| 8 | ++++ |
| 9 | + |
| 10 | +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. |
| 11 | + |
| 12 | +<!-- more --> |
| 13 | + |
| 14 | +This series is openly developed [on GitHub](https://github.com/rust-osdev/homepage/). 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](https://github.com/rust-osdev/homepage/issues/new) or using our <a href="#comment-form">_comment form_</a> at the bottom of this page. |
| 15 | + |
| 16 | +<!-- |
| 17 | + This is a draft for the upcoming "This Month in Rust OSDev (July 2025)" post. |
| 18 | + Feel free to create pull requests against the `next` branch to add your |
| 19 | + content here. |
| 20 | + Please take a look at the past posts on https://rust-osdev.com/ to see the |
| 21 | + general structure of these posts. |
| 22 | +--> |
| 23 | + |
| 24 | +## Announcements, News, and Blog Posts |
| 25 | + |
| 26 | +Here we collect news, blog posts, etc. related to OS development in Rust. |
| 27 | + |
| 28 | +<!-- |
| 29 | +Please follow this template: |
| 30 | +
|
| 31 | +- [Title](https://example.com) |
| 32 | + - (optional) Some additional context |
| 33 | +--> |
| 34 | + |
| 35 | +- [You Are The BIOS Now: Building A Hypervisor In Rust With KVM](https://yeet.cx/blog/you-are-the-bios-now) |
| 36 | +- [How to write Rust in the kernel: part 3](https://lwn.net/Articles/1026694/) |
| 37 | +- [Vivo BlueOS Kernel open-sourced](https://github.com/vivoblueos/kernel) |
| 38 | + - Vivo is a Chinese company selling smartphones and [smartwatches](https://www.vivo.com/en/products/watch3) |
| 39 | + - BlueOS appears to be their smartwatch OS, now its kernel is open source (Apache license) |
| 40 | + - POSIX-compatible, targets ARM and RISCV, supports Rust's `std` library |
| 41 | + - Chinese homepage: https://blueos.vivo.com/kernel |
| 42 | +- [This Month in Redox - July 2025](https://www.redox-os.org/news/this-month-250731/) |
| 43 | +- [Writing a Rust GPU kernel driver: a brief introduction on how GPU drivers work](https://www.collabora.com/news-and-blog/blog/2025/08/06/writing-a-rust-gpu-kernel-driver-a-brief-introduction-on-how-gpu-drivers-work/) |
| 44 | +- [`bitpiece`: a crate for defining and manipulating bitfields with procedural macros](https://github.com/roeeshoshani/bitpiece) |
| 45 | +- [A Clone of the Linux Kernel's Red-Black Tree in Rust](https://www.reddit.com/r/rust/comments/1lyad9b/rougenoir_a_clone_of_the_linux_kernels_redblack/) |
| 46 | +- [Rex: Closing the language-verifier gap with safe and usable kernel extensions](https://www.usenix.org/conference/atc25/presentation/jia) |
| 47 | +- [Dynamic Indirect Syscalls via JOP or ROP in Rust](https://kirchware.com/Dynamic-Indirect-Syscalls-via-JOP-or-ROP-in-Rust) |
| 48 | +- [Practicing Linux Syscalls with Rust and x86_64 Assembly](https://www.reddit.com/r/rust/comments/1lyxyoa/practicing_linux_syscalls_with_rust_and_x86_64/) |
| 49 | + |
| 50 | +## Infrastructure and Tooling |
| 51 | + |
| 52 | +In this section, we collect recent updates to `rustc`, `cargo`, and other tooling that are relevant to Rust OS development. |
| 53 | + |
| 54 | +<!-- |
| 55 | + Please use the following template: |
| 56 | +
|
| 57 | +- [Title](https://example.com) |
| 58 | + - (optional) Some additional context |
| 59 | +--> |
| 60 | + |
| 61 | +- [Allow volatile access to non-Rust memory, including address 0](https://github.com/rust-lang/rust/pull/141260) |
| 62 | + |
| 63 | + |
| 64 | +## `rust-osdev` Projects |
| 65 | + |
| 66 | +In this section, we give an overview of notable changes to the projects hosted under the [`rust-osdev`](https://github.com/rust-osdev/about) organization. |
| 67 | + |
| 68 | +<!-- |
| 69 | + Please use the following template: |
| 70 | +
|
| 71 | + ### [`repo_name`](https://github.com/rust-osdev/repo_name) |
| 72 | + <span class="maintainers">Maintained by [@maintainer_1](https://github.com/maintainer_1)</span> |
| 73 | +
|
| 74 | + The `repo_name` crate ...<<short introduction>>... |
| 75 | +
|
| 76 | + We merged the following changes this month: |
| 77 | + <<changelog, either in list or text form>> |
| 78 | +--> |
| 79 | + |
| 80 | +### [`bootloader`](https://github.com/rust-osdev/bootloader) |
| 81 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp) and [@Freax13](https://github.com/orgs/rust-osdev/people/Freax13)</span> |
| 82 | + |
| 83 | +The `bootloader` crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we merged the following fix: |
| 84 | + |
| 85 | +- [Fixes the type of target-c-int-width in target jsons.](https://github.com/rust-osdev/bootloader/pull/509) |
| 86 | + |
| 87 | +Thanks to [@OmegaMetor](https://github.com/OmegaMetor) for their contribution! |
| 88 | + |
| 89 | + |
| 90 | +### [`uart_16550`](https://github.com/rust-osdev/uart_16550) |
| 91 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp)</span> |
| 92 | + |
| 93 | +The `uart_16550` crate provides basic support for serial port I/O for 16550-compatible UARTs. We merged the following change this month: |
| 94 | + |
| 95 | +- [Update port.rs to do \r\n](https://github.com/rust-osdev/uart_16550/pull/40) |
| 96 | + |
| 97 | +Thanks to [@rsahwe](https://github.com/rsahwe) for their contribution! |
| 98 | + |
| 99 | + |
| 100 | +### [`uefi-rs`](https://github.com/rust-osdev/uefi-rs) |
| 101 | +<span class="maintainers">Maintained by [@GabrielMajeri](https://github.com/GabrielMajeri), [@nicholasbishop](https://github.com/nicholasbishop), and [@phip1611](https://github.com/phip1611)</span> |
| 102 | + |
| 103 | +`uefi` makes it easy to develop Rust software that leverages safe, convenient, |
| 104 | +and performant abstractions for UEFI functionality. |
| 105 | + |
| 106 | +We merged the following PRs this month: |
| 107 | + |
| 108 | +- [doc: fix broken links](https://github.com/rust-osdev/uefi-rs/pull/1716) |
| 109 | +- [uefi: Add HiiKeywordHandler and HiiConfigAccess protocol](https://github.com/rust-osdev/uefi-rs/pull/1684) |
| 110 | +- [protocols: Add ACPI Table protocol](https://github.com/rust-osdev/uefi-rs/pull/1731) |
| 111 | +- [feat: `uefi-raw` IoMmu Protocol Impl](https://github.com/rust-osdev/uefi-rs/pull/1732) |
| 112 | + |
| 113 | +Thanks to [@seijikun](https://github.com/seijikun), [@Jonathas-Conceicao](https://github.com/Jonathas-Conceicao) and [@PelleKrab](https://github.com/PelleKrab) for their contributions! |
| 114 | + |
| 115 | +<!-- - [chore(deps): update crate-ci/typos action to v1.34.0](https://github.com/rust-osdev/uefi-rs/pull/1717) |
| 116 | +- [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1718) |
| 117 | +- [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1729) |
| 118 | +- [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1730) --> |
| 119 | + |
| 120 | +### [`x86_64`](https://github.com/rust-osdev/x86_64) |
| 121 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp), [@josephlr](https://github.com/orgs/rust-osdev/people/josephlr), and [@Freax13](https://github.com/orgs/rust-osdev/people/Freax13)</span> |
| 122 | + |
| 123 | +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. |
| 124 | + |
| 125 | +We merged the following PRs this month: |
| 126 | + |
| 127 | +- [docs(offset_page_table): fix typo](https://github.com/rust-osdev/x86_64/pull/555) |
| 128 | +- [feat: add forwarding `impl PageTableFrameMapping for &P`](https://github.com/rust-osdev/x86_64/pull/556) |
| 129 | + |
| 130 | +Thanks to [@mkroening](https://github.com/mkroening) for their contributions! |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | +## Other Projects |
| 135 | + |
| 136 | +In this section, we describe updates to Rust OS projects that are not directly related to the `rust-osdev` organization. Feel free to [create a pull request](https://github.com/rust-osdev/homepage/pulls) with the updates of your OS project for the next post. |
| 137 | + |
| 138 | +<!-- |
| 139 | + Please use the following template: |
| 140 | +
|
| 141 | + ### [`owner_name/repo_name`](https://github.com/rust-osdev/owner_name/repo_name) |
| 142 | + <span class="maintainers">(Section written by [@your_github_name](https://github.com/your_github_name))</span> |
| 143 | +
|
| 144 | + ...<<your project updates>>... |
| 145 | +--> |
| 146 | + |
| 147 | + |
| 148 | +<!-- <span class="gray">No projects updates were submitted this month.</span> --> |
| 149 | + |
| 150 | +### [`phil-opp/blog_os`](https://github.com/phil-opp/blog_os) |
| 151 | +<span class="maintainers">(Section written by [@phil-opp](https://github.com/phil-opp))</span> |
| 152 | + |
| 153 | +We merged the following changes to the [_Writing an OS in Rust_](https://os.phil-opp.com/) blog this month: |
| 154 | + |
| 155 | +- [Fix: `target-c-int-width` field now expects an integer](https://github.com/phil-opp/blog_os/pull/1425) |
| 156 | + - [Update blog for `target-c-int-width` change](https://github.com/phil-opp/blog_os/pull/1426) |
| 157 | +- [Add `[[bin]]` section with `test=false` to Cargo.toml](https://github.com/phil-opp/blog_os/pull/1412) (thanks to [@tigeryant](https://github.com/tigeryant)) |
| 158 | + - [Update first post to set `test=false` for binary](https://github.com/phil-opp/blog_os/pull/1427) |
| 159 | + |
| 160 | +## Join Us? |
| 161 | + |
| 162 | +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 [Zulip chat](https://rust-osdev.zulipchat.com). |
0 commit comments