|
| 1 | ++++ |
| 2 | +title = "This Month in Rust OSDev: February 2024" |
| 3 | +date = 2024-03-07 |
| 4 | + |
| 5 | +[extra] |
| 6 | +month = "February 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 (February 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 | +- [Redox OS - Porting Strategy](https://www.redox-os.org/news/porting-strategy/) |
| 36 | +- [This Month in Redox](https://redox-os.org/news/this-month-240229/) |
| 37 | +- [Tock Compiles on Stable Rust!](https://tockos.org/blog/2024/talking-tock-55/) |
| 38 | +- [Making an RISC-V OS (Part 2): Kernel in virtual addresses](https://traxys.me/riscv_os_2.html) |
| 39 | +- The Embedded Rustacean [Issue 13](https://www.theembeddedrustacean.com/p/the-embedded-rustacean-issue-13) and [Issue 14](https://www.theembeddedrustacean.com/p/the-embedded-rustacean-issue-14) |
| 40 | +- [Linux Kernel: Rewrite the VP9 codec library in Rust ](https://lore.kernel.org/lkml/[email protected]/) |
| 41 | +- [Anouncing stabby 3.0.0](https://www.reddit.com/r/rust/comments/1amjknw/anouncing_stabby_300_and_rustconf_video_available/) |
| 42 | + |
| 43 | +## Infrastructure and Tooling |
| 44 | + |
| 45 | +In this section, we collect recent updates to `rustc`, `cargo`, and other tooling that are relevant to Rust OS development. |
| 46 | + |
| 47 | +<!-- |
| 48 | + Please use the following template: |
| 49 | +
|
| 50 | +- [Title](https://example.com) |
| 51 | + - (optional) Some additional context |
| 52 | +--> |
| 53 | + |
| 54 | +- [only set noalias on Box with the global allocator](https://github.com/rust-lang/rust/pull/122018) |
| 55 | +- [Add stubs in IR and ABI for `f16` and `f128`](https://github.com/rust-lang/rust/pull/121728) |
| 56 | +- [`f16` and `f128` step 2: intrinsics](https://github.com/rust-lang/rust/pull/121841) |
| 57 | +- [Add armv8r-none-eabihf target for the Cortex-R52](https://github.com/rust-lang/rust/pull/110482) |
| 58 | +- [Add a new `wasm32-wasip1` target to rustc](https://github.com/rust-lang/rust/pull/120468) |
| 59 | +- [Add a new `wasm32-wasi-preview2` target](https://github.com/rust-lang/rust/pull/119616) |
| 60 | +- [rename `ptr::invalid` -> `ptr::without_provenance`](https://github.com/rust-lang/rust/pull/117658) |
| 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 | + |
| 79 | +### [`x86_64`](https://github.com/rust-osdev/x86_64) |
| 80 | +<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> |
| 81 | + |
| 82 | +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. |
| 83 | + |
| 84 | +We merged the following PRs this month: |
| 85 | + |
| 86 | +- [Fix data layout in custom target used for testing](https://github.com/rust-osdev/x86_64/pull/454) |
| 87 | +- [optimize `from_page_table_indices`](https://github.com/rust-osdev/x86_64/pull/456) |
| 88 | +- [mark as 0.15 as beta release](https://github.com/rust-osdev/x86_64/pull/455) |
| 89 | +- [Release v0.14.12](https://github.com/rust-osdev/x86_64/pull/457) |
| 90 | +- [Fix release script](https://github.com/rust-osdev/x86_64/pull/459) |
| 91 | +- [Merge next into master: releasing `v0.15.0-beta`](https://github.com/rust-osdev/x86_64/pull/458) |
| 92 | +- [Update data layout of test target for LLVM 18](https://github.com/rust-osdev/x86_64/pull/460) |
| 93 | +- [optimize `Step` impl for `VirtAddr`](https://github.com/rust-osdev/x86_64/pull/462) |
| 94 | +- [Miscellaneous improvements](https://github.com/rust-osdev/x86_64/pull/464) |
| 95 | +- [Release v0.15.0](https://github.com/rust-osdev/x86_64/pull/463) |
| 96 | + |
| 97 | + |
| 98 | +### [`uefi-rs`](https://github.com/rust-osdev/uefi-rs) |
| 99 | +<span class="maintainers">Maintained by [@GabrielMajeri](https://github.com/GabrielMajeri), [@nicholasbishop](https://github.com/nicholasbishop), and [@phip1611](https://github.com/phip1611)</span> |
| 100 | + |
| 101 | +The `uefi-rs` crate provides safe and performant wrappers for [UEFI](https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface), the successor to the BIOS. We merged the following PRs this month: |
| 102 | + |
| 103 | + |
| 104 | +<!-- |
| 105 | +- [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1067) |
| 106 | +- [chore(deps): update crate-ci/typos action to v1.18.0](https://github.com/rust-osdev/uefi-rs/pull/1066) |
| 107 | +- [fix(deps): update rust crate itertools to v0.12.1](https://github.com/rust-osdev/uefi-rs/pull/1063) |
| 108 | +- [fix(deps): update rust crate ureq to v2.9.4](https://github.com/rust-osdev/uefi-rs/pull/1065) |
| 109 | +- [chore(deps): update crate-ci/typos action to v1.18.2](https://github.com/rust-osdev/uefi-rs/pull/1069) |
| 110 | +- [fix(deps): update rust crate tempfile to v3.10.0](https://github.com/rust-osdev/uefi-rs/pull/1072) |
| 111 | +- [fix(deps): update rust crate ureq to v2.9.5](https://github.com/rust-osdev/uefi-rs/pull/1070) |
| 112 | +- [fix(deps): update rust crate syn to v2.0.49](https://github.com/rust-osdev/uefi-rs/pull/1075) |
| 113 | +- [chore(deps): update dorny/paths-filter action to v3](https://github.com/rust-osdev/uefi-rs/pull/1078) |
| 114 | +- [fix(deps): update rust crate ureq to v2.9.6](https://github.com/rust-osdev/uefi-rs/pull/1076) |
| 115 | +- [fix(deps): update rust crate anyhow to v1.0.80](https://github.com/rust-osdev/uefi-rs/pull/1079) |
| 116 | +- [fix(deps): update rust crate serde_json to v1.0.114](https://github.com/rust-osdev/uefi-rs/pull/1080) |
| 117 | +- [fix(deps): update rust crate crates-index to v2.6.0](https://github.com/rust-osdev/uefi-rs/pull/1083) |
| 118 | +- [fix(deps): update rust crate syn to v2.0.50](https://github.com/rust-osdev/uefi-rs/pull/1082) |
| 119 | +--> |
| 120 | + |
| 121 | +- [Add a method to create a MemoryMap from a raw buffer](https://github.com/rust-osdev/uefi-rs/pull/1074) |
| 122 | + |
| 123 | +Thanks to [@bjorn3](https://github.com/bjorn3) for their contribution! |
| 124 | + |
| 125 | + |
| 126 | +### [`bootloader`](https://github.com/rust-osdev/bootloader) |
| 127 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp) and [@Freax13](https://github.com/orgs/rust-osdev/people/Freax13)</span> |
| 128 | + |
| 129 | +The `bootloader` crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we merged the following improvements: |
| 130 | + |
| 131 | +- [Set `NO_EXECUTE` flag for all writable memory regions](https://github.com/rust-osdev/bootloader/pull/409) |
| 132 | +- [[v0.9] Fix data layout for custom targets for LLVM 18](https://github.com/rust-osdev/bootloader/pull/421) |
| 133 | +- [[v0.9] Fix map errors during kernel loading](https://github.com/rust-osdev/bootloader/pull/422) |
| 134 | +- [[v0.9] Fix: unify flags if multiple segments are mapped to same frame with different flags](https://github.com/rust-osdev/bootloader/pull/423) |
| 135 | +- [Fix invalid mapping to zero page caused by off-by-one bug](https://github.com/rust-osdev/bootloader/pull/424) |
| 136 | +- [adapt data layout to match LLVM's](https://github.com/rust-osdev/bootloader/pull/420) |
| 137 | +- [Release `v0.11.7`](https://github.com/rust-osdev/bootloader/pull/426) |
| 138 | +- [Remove unused paging imports](https://github.com/rust-osdev/bootloader/pull/430) |
| 139 | + |
| 140 | +Thanks to [@vinc](https://github.com/vinc) and [@tsatke](https://github.com/tsatke) for their contributions! |
| 141 | + |
| 142 | +## Other Projects |
| 143 | + |
| 144 | +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. |
| 145 | + |
| 146 | +<!-- |
| 147 | + Please use the following template: |
| 148 | +
|
| 149 | + ### [`owner_name/repo_name`](https://github.com/rust-osdev/owner_name/repo_name) |
| 150 | + <span class="maintainers">(Section written by [@your_github_name](https://github.com/your_github_name))</span> |
| 151 | +
|
| 152 | + ...<<your project updates>>... |
| 153 | +--> |
| 154 | + |
| 155 | +<span class="gray">No projects updates were submitted this month.</span> |
| 156 | + |
| 157 | +## Join Us? |
| 158 | + |
| 159 | +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](https://gitter.im/rust-osdev/Lobby). |
0 commit comments