|
| 1 | ++++ |
| 2 | +title = "This Month in Rust OSDev: February 2025" |
| 3 | +date = 2025-03-04 |
| 4 | + |
| 5 | +[extra] |
| 6 | +month = "February 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 (February 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 | +- [This Month in Redox - January 2025](https://www.redox-os.org/news/this-month-250131/) |
| 36 | +- [RSoC 2024: Dynamic Linking - Part 2](https://www.redox-os.org/news/02_rsoc2024_dynamic_linker/) |
| 37 | +- [Asterinas in 2024](https://asterinas.github.io/2025/01/20/asterinas-in-2024.html) |
| 38 | + - [Asterinas](https://github.com/asterinas/asterinas) is a Linux ABI-compatible OS written from scratch in Rust |
| 39 | +- [Towards Practical Formal Verification for a General-Purpose OS in Rust](https://asterinas.github.io/2025/02/13/towards-practical-formal-verification-for-a-general-purpose-os-in-rust.html) |
| 40 | +- [Writing a Simple Windows Driver in Rust](https://scorpiosoftware.net/2025/02/08/writing-a-simple-driver-in-rust/) |
| 41 | +- [FOSDEM talk: Rust for Linux](https://fosdem.org/2025/schedule/event/fosdem-2025-6507-rust-for-linux/) |
| 42 | +- [No-Panic Rust: A Nice Technique for Systems Programming](https://blog.reverberate.org/2025/02/03/no-panic-rust.html) |
| 43 | +- [PSA: uuid's getrandom update may break no-std V4/V7 users](https://www.reddit.com/r/rust/comments/1ihd0hf/psa_uuids_getrandom_update_may_break_nostd_v4v7/) |
| 44 | +- The Embedded Rustacean: [Issue #39](https://www.theembeddedrustacean.com/p/the-embedded-rustacean-issue-39) and [Issue #40](https://www.theembeddedrustacean.com/p/the-embedded-rustacean-issue-40) |
| 45 | + |
| 46 | +## Infrastructure and Tooling |
| 47 | + |
| 48 | +In this section, we collect recent updates to `rustc`, `cargo`, and other tooling that are relevant to Rust OS development. |
| 49 | + |
| 50 | +<!-- |
| 51 | + Please use the following template: |
| 52 | +
|
| 53 | +- [Title](https://example.com) |
| 54 | + - (optional) Some additional context |
| 55 | +--> |
| 56 | + |
| 57 | +- [Create a generic AVR target: avr-none](https://github.com/rust-lang/rust/pull/131651) |
| 58 | +- [x86: use SSE2 to pass float and SIMD types](https://github.com/rust-lang/rust/pull/135408) |
| 59 | +- [add x86-sse2 (32bit) ABI that requires SSE2 target feature](https://github.com/rust-lang/rust/pull/137037) |
| 60 | +- [Update to LLVM 20](https://github.com/rust-lang/rust/pull/135763) |
| 61 | + |
| 62 | +## `rust-osdev` Projects |
| 63 | + |
| 64 | +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. |
| 65 | + |
| 66 | +<!-- |
| 67 | + Please use the following template: |
| 68 | +
|
| 69 | + ### [`repo_name`](https://github.com/rust-osdev/repo_name) |
| 70 | + <span class="maintainers">Maintained by [@maintainer_1](https://github.com/maintainer_1)</span> |
| 71 | +
|
| 72 | + The `repo_name` crate ...<<short introduction>>... |
| 73 | +
|
| 74 | + We merged the following changes this month: |
| 75 | + <<changelog, either in list or text form>> |
| 76 | +--> |
| 77 | + |
| 78 | +### [`uefi-rs`](https://github.com/rust-osdev/uefi-rs) |
| 79 | +<span class="maintainers">Maintained by [@GabrielMajeri](https://github.com/GabrielMajeri), [@nicholasbishop](https://github.com/nicholasbishop), and [@phip1611](https://github.com/phip1611)</span> |
| 80 | + |
| 81 | +`uefi` makes it easy to develop Rust software that leverages safe, convenient, |
| 82 | +and performant abstractions for UEFI functionality. |
| 83 | + |
| 84 | +We merged the following PRs this month: |
| 85 | + |
| 86 | +- [relicensing: Rewrite PR "DevicePathToText and DevicePathFromText Protocol"](https://github.com/rust-osdev/uefi-rs/pull/1528) |
| 87 | +- [Relicense to "MIT OR Apache-2.0"](https://github.com/rust-osdev/uefi-rs/pull/1531) |
| 88 | +- [Add SPDX headers](https://github.com/rust-osdev/uefi-rs/pull/1532) |
| 89 | +- [release: uefi-raw-0.10.0, uefi-macros-0.18.0, uefi-0.34.0](https://github.com/rust-osdev/uefi-rs/pull/1533) |
| 90 | +- [uefi: Update license info in docstring](https://github.com/rust-osdev/uefi-rs/pull/1534) |
| 91 | +- [release: uefi-0.34.1](https://github.com/rust-osdev/uefi-rs/pull/1535) |
| 92 | +- [uefi-raw: add Boolean type](https://github.com/rust-osdev/uefi-rs/pull/1536) |
| 93 | +- [uefi-raw: use new Boolean type ](https://github.com/rust-osdev/uefi-rs/pull/1538) |
| 94 | +- [xtask/uefi-raw: improve check-raw error messages](https://github.com/rust-osdev/uefi-rs/pull/1537) |
| 95 | +- [Fix upcoming lints in clippy 1.85](https://github.com/rust-osdev/uefi-rs/pull/1541) |
| 96 | +- [uefi: clarify situation with `boot::memory_map()` and `Status::BUFFER_TOO_SMALL`](https://github.com/rust-osdev/uefi-rs/pull/1540) |
| 97 | +- [Fix uefi-raw MSRV build, and improve CI for MSRV](https://github.com/rust-osdev/uefi-rs/pull/1542) |
| 98 | +- [Add PXE types to uefi-raw](https://github.com/rust-osdev/uefi-rs/pull/1543) |
| 99 | +- [uefi: Replace definition of MacAddress with a re-export from uefi-raw](https://github.com/rust-osdev/uefi-rs/pull/1547) |
| 100 | +- [Use bitflags definitions from uefi-raw in uefi's pxe module](https://github.com/rust-osdev/uefi-rs/pull/1548) |
| 101 | +- [uefi: Fix the BufferSize argument in SimpleNetwork::transmit](https://github.com/rust-osdev/uefi-rs/pull/1550) |
| 102 | +- [Use newtype enum definitions from uefi-raw in uefi's pxe module](https://github.com/rust-osdev/uefi-rs/pull/1551) |
| 103 | + |
| 104 | +<!-- - [chore(deps): update crate-ci/typos action to v1.29.7](https://github.com/rust-osdev/uefi-rs/pull/1544) --> |
| 105 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1546) --> |
| 106 | +<!-- - [chore(deps): update crate-ci/typos action to v1.29.9](https://github.com/rust-osdev/uefi-rs/pull/1554) --> |
| 107 | + |
| 108 | + |
| 109 | +### [`bootloader`](https://github.com/rust-osdev/bootloader) |
| 110 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp) and [@Freax13](https://github.com/orgs/rust-osdev/people/Freax13)</span> |
| 111 | + |
| 112 | +The `bootloader` crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we merged the following improvements: |
| 113 | + |
| 114 | +- [Update `x86_64` to `0.15.2`](https://github.com/rust-osdev/bootloader/pull/490) |
| 115 | +- [change rustc-abi in custom targets to x86-softfloat](https://github.com/rust-osdev/bootloader/pull/491) |
| 116 | +- [[v0.9] change rustc-abi in custom targets to x86-softfloat](https://github.com/rust-osdev/bootloader/pull/492) |
| 117 | +- [Release `v0.11.10`](https://github.com/rust-osdev/bootloader/pull/493) |
| 118 | +- [Update uart_16550 to 0.3.2](https://github.com/rust-osdev/bootloader/pull/495) |
| 119 | +- [Specify kernel-code virt addr in BootloaderConfig](https://github.com/rust-osdev/bootloader/pull/494) |
| 120 | +- [Use `Result::ok`](https://github.com/rust-osdev/bootloader/pull/496) |
| 121 | + |
| 122 | +Thanks to [@Stazer](https://github.com/Stazer), [@Wasabi375](https://github.com/Wasabi375), and [@ChocolateLoverRaj](https://github.com/ChocolateLoverRaj) for their contributions! |
| 123 | + |
| 124 | + |
| 125 | +### [`x86_64`](https://github.com/rust-osdev/x86_64) |
| 126 | +<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> |
| 127 | + |
| 128 | +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. |
| 129 | + |
| 130 | +We merged the following PRs this month: |
| 131 | + |
| 132 | +- [Ensure that addition and subtraction of addresses panics on overflow/underflow](https://github.com/rust-osdev/x86_64/pull/535) |
| 133 | +- [don't pass -Crelocation-model=static to host targets](https://github.com/rust-osdev/x86_64/pull/536) |
| 134 | + |
| 135 | +Thanks to [@farnz](https://github.com/farnz) for their contribution! |
| 136 | + |
| 137 | + |
| 138 | +### [`acpi`](https://github.com/rust-osdev/acpi) |
| 139 | +<span class="maintainers">Maintained by [@IsaacWoods](https://github.com/IsaacWoods)</span> |
| 140 | + |
| 141 | +The `acpi` repository contains crates for parsing the ACPI tables – data structures that the firmware of modern computers use to relay information about the hardware to the OS. We merged the following changes this month: |
| 142 | + |
| 143 | +- [acpi: fix build errors](https://github.com/rust-osdev/acpi/pull/240) |
| 144 | + |
| 145 | +Thanks to [@jellllly420](https://github.com/jellllly420) for their contribution! |
| 146 | + |
| 147 | + |
| 148 | +### [`ovmf-prebuilt`](https://github.com/rust-osdev/ovmf-prebuilt) |
| 149 | +<span class="maintainers">Maintained by [@nicholasbishop](https://github.com/nicholasbishop) and [@phil-opp](https://github.com/phil-opp)</span> |
| 150 | + |
| 151 | +The `ovmf-prebuilt` project provides pre-built [edk2](https://github.com/tianocore/edk2) releases to make it easier to set up OVMF. We merged the following improvement this month: |
| 152 | + |
| 153 | +- [Add 202408.01, 202411, and 202502 releases](https://github.com/rust-osdev/ovmf-prebuilt/pull/139) |
| 154 | +- [fix(deps): update rust crate ureq to v3](https://github.com/rust-osdev/ovmf-prebuilt/pull/146) |
| 155 | +- [Set `Source::LATEST` to `EDK2_STABLE202502_R1`](https://github.com/rust-osdev/ovmf-prebuilt/pull/145) |
| 156 | +- [release: 0.2.2](https://github.com/rust-osdev/ovmf-prebuilt/pull/140) |
| 157 | +y |
| 158 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/135) --> |
| 159 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/136) --> |
| 160 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/137) --> |
| 161 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/138) --> |
| 162 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/144) --> |
| 163 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/148) --> |
| 164 | + |
| 165 | +Thanks to [@mkroening](https://github.com/mkroening) for their contributions! |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | +## Other Projects |
| 171 | + |
| 172 | +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. |
| 173 | + |
| 174 | +<!-- |
| 175 | + Please use the following template: |
| 176 | +
|
| 177 | + ### [`owner_name/repo_name`](https://github.com/rust-osdev/owner_name/repo_name) |
| 178 | + <span class="maintainers">(Section written by [@your_github_name](https://github.com/your_github_name))</span> |
| 179 | +
|
| 180 | + ...<<your project updates>>... |
| 181 | +--> |
| 182 | + |
| 183 | +<span class="gray">No projects updates were submitted this month.</span> |
| 184 | + |
| 185 | + |
| 186 | +## Join Us? |
| 187 | + |
| 188 | +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