|
| 1 | ++++ |
| 2 | +title = "This Month in Rust OSDev: November 2024" |
| 3 | +date = 2024-12-08 |
| 4 | + |
| 5 | +[extra] |
| 6 | +month = "November 2024" |
| 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 (November 2024)" 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 | +- [VEKOS, a cryptographically verified hobby OS written in Rust](https://www.reddit.com/r/rust/comments/1h5vh2g/vekos_a_cryptographically_verified_hobby_os/) |
| 36 | +- [Rust in Production: Oxide Computer Company with Steve Klabnik (Podcast Interview)](https://www.reddit.com/r/rust/comments/1gr9tqp/rust_in_production_oxide_computer_company_with/) |
| 37 | +- [This Month in Redox - November 2024](https://www.redox-os.org/news/this-month-241130/) |
| 38 | +- [‘Tis the Season for COSMIC Alpha 4!](https://blog.system76.com/post/cosmic-alpha-4/) |
| 39 | +- [a #![no_std], #![no_main], no-[#tokio] runtime for AWS Lambda](https://www.reddit.com/r/rust/comments/1h40cdd/a_no_std_no_main_notokio_runtime_for_aws_lambda/) |
| 40 | +- [Ferrocene 24.11.0 released with medical qualification](https://public-docs.ferrocene.dev/main/release-notes/24.11.0.html) ([reddit discussion](https://www.reddit.com/r/rust/comments/1h1261s/ferrocene_24110_update_medical_qualification_is/)) |
| 41 | +- [Embive: A low-level sandboxing library for RISC-V bytecode](https://www.reddit.com/r/rust/comments/1gxm414/embive_a_lowlevel_sandboxing_library_for_riscv/) |
| 42 | +- [Rust in QEMU roadmap ](https://lore.kernel.org/all/[email protected]/) |
| 43 | +- [kartoffels, a game where you implement a firmware for a potato, v0.6 released! 🥔](https://www.reddit.com/r/rust/comments/1gvrtnq/kartoffels_a_game_where_you_implement_a_firmware/) |
| 44 | + |
| 45 | +## Infrastructure and Tooling |
| 46 | + |
| 47 | +In this section, we collect recent updates to `rustc`, `cargo`, and other tooling that are relevant to Rust OS development. |
| 48 | + |
| 49 | +<!-- |
| 50 | + Please use the following template: |
| 51 | +
|
| 52 | +- [Title](https://example.com) |
| 53 | + - (optional) Some additional context |
| 54 | +--> |
| 55 | + |
| 56 | +- [mark some target features as 'forbidden' so they cannot be (un)set with `-Ctarget-feature`](https://github.com/rust-lang/rust/pull/129884) |
| 57 | +- [show `abi_unsupported_vector_types` lint in future breakage reports](https://github.com/rust-lang/rust/pull/133374) |
| 58 | +- [Stabilize `extended_varargs_abi_support`](https://github.com/rust-lang/rust/pull/116161) |
| 59 | + |
| 60 | +## `rust-osdev` Projects |
| 61 | + |
| 62 | +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. |
| 63 | + |
| 64 | +<!-- |
| 65 | + Please use the following template: |
| 66 | +
|
| 67 | + ### [`repo_name`](https://github.com/rust-osdev/repo_name) |
| 68 | + <span class="maintainers">Maintained by [@maintainer_1](https://github.com/maintainer_1)</span> |
| 69 | +
|
| 70 | + The `repo_name` crate ...<<short introduction>>... |
| 71 | +
|
| 72 | + We merged the following changes this month: |
| 73 | + <<changelog, either in list or text form>> |
| 74 | +--> |
| 75 | + |
| 76 | +### [`x86_64`](https://github.com/rust-osdev/x86_64) |
| 77 | +<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> |
| 78 | + |
| 79 | +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. |
| 80 | + |
| 81 | +We merged the following PRs this month: |
| 82 | + |
| 83 | +- [fix field order for INVPCID descriptor](https://github.com/rust-osdev/x86_64/pull/508) |
| 84 | +- [fix CI job for building on MSRV](https://github.com/rust-osdev/x86_64/pull/510) |
| 85 | +- [gate HandlerFunc behind target_arch = "x86{_64}"](https://github.com/rust-osdev/x86_64/pull/507) |
| 86 | +- [fix typo in "InvPicdCommand"](https://github.com/rust-osdev/x86_64/pull/509) |
| 87 | +- [TryFrom implementation for ExceptionVector](https://github.com/rust-osdev/x86_64/pull/506) |
| 88 | +- [Typo fix in TaskStateSegment comment](https://github.com/rust-osdev/x86_64/pull/504) |
| 89 | +- [Minor clarification DescriptorTablePointer::limit comment](https://github.com/rust-osdev/x86_64/pull/503) |
| 90 | +- [fix signature of Step::steps_between implementations](https://github.com/rust-osdev/x86_64/pull/513) |
| 91 | +- [release 0.15.2](https://github.com/rust-osdev/x86_64/pull/519) |
| 92 | +- [backport #513](https://github.com/rust-osdev/x86_64/pull/520) |
| 93 | + |
| 94 | +Thanks to [@mrjbom](https://github.com/mrjbom) for their contribution! |
| 95 | + |
| 96 | + |
| 97 | +### [`acpi`](https://github.com/rust-osdev/acpi) |
| 98 | +<span class="maintainers">Maintained by [@IsaacWoods](https://github.com/IsaacWoods)</span> |
| 99 | + |
| 100 | +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: |
| 101 | + |
| 102 | +- [Implement the multiprocessor wakeup mechanism.](https://github.com/rust-osdev/acpi/pull/225) |
| 103 | +- [acpi-dumper: fix invocation of compile_error!](https://github.com/rust-osdev/acpi/pull/229) |
| 104 | +- [aml: make resource descriptor fields public](https://github.com/rust-osdev/acpi/pull/228) |
| 105 | +- [acpi: fix clippy warnings and run clippy in CI](https://github.com/rust-osdev/acpi/pull/230) |
| 106 | +- [acpi: fix doc warnings and add missing links](https://github.com/rust-osdev/acpi/pull/231) |
| 107 | +- [acpi: spcr: fix typo](https://github.com/rust-osdev/acpi/pull/232) |
| 108 | + |
| 109 | +Thanks to [@pjhades](https://github.com/pjhades), [@00xc](https://github.com/00xc), and [@Hsy-Intel](https://github.com/Hsy-Intel) for their contributions! |
| 110 | + |
| 111 | + |
| 112 | +### [`bootloader`](https://github.com/rust-osdev/bootloader) |
| 113 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp) and [@Freax13](https://github.com/orgs/rust-osdev/people/Freax13)</span> |
| 114 | + |
| 115 | +The `bootloader` crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we merged the following improvements: |
| 116 | + |
| 117 | +- [Remove 3dnow features from stage4 target](https://github.com/rust-osdev/bootloader/pull/471) |
| 118 | +- [mention E820 in docs for UnknownBios](https://github.com/rust-osdev/bootloader/pull/461) |
| 119 | +- [release v0.11.8](https://github.com/rust-osdev/bootloader/pull/469) |
| 120 | +- [copy more PML4 entries](https://github.com/rust-osdev/bootloader/pull/466) |
| 121 | +- [Convert LF to CRLF when writing to serial port](https://github.com/rust-osdev/bootloader/pull/474) |
| 122 | +- [Update x86_64](https://github.com/rust-osdev/bootloader/pull/478) |
| 123 | +- [release v0.11.9](https://github.com/rust-osdev/bootloader/pull/479) |
| 124 | + |
| 125 | +Thanks to [@Ollrogge](https://github.com/Ollrogge), [@ChocolateLoverRaj](https://github.com/ChocolateLoverRaj), and [@Makonede](https://github.com/Makonede) for their contributions! |
| 126 | + |
| 127 | + |
| 128 | +### [`uefi-rs`](https://github.com/rust-osdev/uefi-rs) |
| 129 | +<span class="maintainers">Maintained by [@GabrielMajeri](https://github.com/GabrielMajeri), [@nicholasbishop](https://github.com/nicholasbishop), and [@phip1611](https://github.com/phip1611)</span> |
| 130 | + |
| 131 | +`uefi` makes it easy to develop Rust software that leverages safe, convenient, |
| 132 | +and performant abstractions for UEFI functionality. |
| 133 | + |
| 134 | +We merged the following PRs this month: |
| 135 | + |
| 136 | +- [chore(config): migrate renovate config](https://github.com/rust-osdev/uefi-rs/pull/1456) |
| 137 | +- [uefi: Deny clippy::ref_as_ptr](https://github.com/rust-osdev/uefi-rs/pull/1455) |
| 138 | +- [Move the UnicodeCollation protocol definition to `uefi-raw` and use it from `uefi`](https://github.com/rust-osdev/uefi-rs/pull/1459) |
| 139 | +- [Use ovmf-prebuilt](https://github.com/rust-osdev/uefi-rs/pull/1454) |
| 140 | +- [xtask: Update OVMF prebuilts](https://github.com/rust-osdev/uefi-rs/pull/1463) |
| 141 | +- [uefi-raw: Drop unused dependency on ptr_meta](https://github.com/rust-osdev/uefi-rs/pull/1465) |
| 142 | +- [Fix `cargo xtask fmt --check`](https://github.com/rust-osdev/uefi-rs/pull/1464) |
| 143 | +- [Fix minor typo in protocols.md](https://github.com/rust-osdev/uefi-rs/pull/1467) |
| 144 | +- [Add TCG protocols to `uefi-raw` and use them from `uefi`](https://github.com/rust-osdev/uefi-rs/pull/1469) |
| 145 | +- [Mention to turn off secure boot.](https://github.com/rust-osdev/uefi-rs/pull/1468) |
| 146 | +- [Clean up some use of unsafe in MemoryMapRefMut](https://github.com/rust-osdev/uefi-rs/pull/1483) |
| 147 | + |
| 148 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1457) --> |
| 149 | +<!-- - [chore(deps): update crate-ci/typos action to v1.27.0](https://github.com/rust-osdev/uefi-rs/pull/1460) --> |
| 150 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1461) --> |
| 151 | +<!-- - [chore(deps): update crate-ci/typos action to v1.27.3](https://github.com/rust-osdev/uefi-rs/pull/1471) --> |
| 152 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1475) --> |
| 153 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1479) --> |
| 154 | +<!-- - [chore(deps): update codecov/codecov-action action to v5](https://github.com/rust-osdev/uefi-rs/pull/1478) --> |
| 155 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1482) --> |
| 156 | + |
| 157 | +Thanks to [@diekmann](https://github.com/diekmann) for their contribution! |
| 158 | + |
| 159 | + |
| 160 | +### [`ovmf-prebuilt`](https://github.com/rust-osdev/ovmf-prebuilt) |
| 161 | +<span class="maintainers">Maintained by [@nicholasbishop](https://github.com/nicholasbishop) and [@phil-opp](https://github.com/phil-opp)</span> |
| 162 | + |
| 163 | +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: |
| 164 | + |
| 165 | +- [ovmf-prebuilt: Update readme](https://github.com/rust-osdev/ovmf-prebuilt/pull/101) |
| 166 | +- [release: 0.2.1](https://github.com/rust-osdev/ovmf-prebuilt/pull/102) |
| 167 | + |
| 168 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/105) --> |
| 169 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/106) --> |
| 170 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/107) --> |
| 171 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/109) --> |
| 172 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/110) --> |
| 173 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/111) --> |
| 174 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/112) --> |
| 175 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/ovmf-prebuilt/pull/113) --> |
| 176 | + |
| 177 | + |
| 178 | +### [`uart_16550`](https://github.com/rust-osdev/uart_16550) |
| 179 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp)</span> |
| 180 | + |
| 181 | +The `uart_16550` crate provides basic support for serial port I/O for 16550-compatible UARTs. We merged the following change this month: |
| 182 | + |
| 183 | +- [feat(mmio): add `new_with_stride`](https://github.com/rust-osdev/uart_16550/pull/36) |
| 184 | + |
| 185 | +Thanks to [@kouchekiniad](https://github.com/kouchekiniad) for their contribution! |
| 186 | + |
| 187 | +## Other Projects |
| 188 | + |
| 189 | +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. |
| 190 | + |
| 191 | +<!-- |
| 192 | + Please use the following template: |
| 193 | +
|
| 194 | + ### [`owner_name/repo_name`](https://github.com/rust-osdev/owner_name/repo_name) |
| 195 | + <span class="maintainers">(Section written by [@your_github_name](https://github.com/your_github_name))</span> |
| 196 | +
|
| 197 | + ...<<your project updates>>... |
| 198 | +--> |
| 199 | + |
| 200 | +<span class="gray"> |
| 201 | + |
| 202 | +_No projects were proposed for this section this month._ |
| 203 | + |
| 204 | +</span> |
| 205 | + |
| 206 | + |
| 207 | +## Join Us? |
| 208 | + |
| 209 | +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