From 9cb1124a0515d5aa3c809bb3040997c64e71bd99 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 7 Oct 2024 20:10:54 +0200 Subject: [PATCH 1/3] Add draft for October update --- content/this-month/2024-10/index.md | 80 +++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 content/this-month/2024-10/index.md diff --git a/content/this-month/2024-10/index.md b/content/this-month/2024-10/index.md new file mode 100644 index 00000000..d850ad8e --- /dev/null +++ b/content/this-month/2024-10/index.md @@ -0,0 +1,80 @@ ++++ +title = "This Month in Rust OSDev: October 2024" +date = 2024-10-07 + +[extra] +month = "October 2024" +editors = ["phil-opp"] ++++ + +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](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 _comment form_ at the bottom of this page. + + + +## Announcements, News, and Blog Posts + +Here we collect news, blog posts, etc. related to OS development in Rust. + + + +## Infrastructure and Tooling + +In this section, we collect recent updates to `rustc`, `cargo`, and other tooling that are relevant to Rust OS development. + + + + +## `rust-osdev` Projects + +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. + + + + +## Other Projects + +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. + + + + +## Join Us? + +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). From b515ecfdd6b64863c9c59334ea080d6767fb31e6 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 7 Oct 2024 20:11:58 +0200 Subject: [PATCH 2/3] Set preliminary publish date --- content/this-month/2024-10/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/this-month/2024-10/index.md b/content/this-month/2024-10/index.md index d850ad8e..975dcd0a 100644 --- a/content/this-month/2024-10/index.md +++ b/content/this-month/2024-10/index.md @@ -1,6 +1,6 @@ +++ title = "This Month in Rust OSDev: October 2024" -date = 2024-10-07 +date = 2024-11-03 [extra] month = "October 2024" From 609da516afd671bb3fd9eeb924d662241ab0c3c6 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 14 Nov 2024 16:00:05 +0100 Subject: [PATCH 3/3] Prepare content for (late) October newsletter --- content/this-month/2024-10/index.md | 113 +++++++++++++++++++++++++++- 1 file changed, 112 insertions(+), 1 deletion(-) diff --git a/content/this-month/2024-10/index.md b/content/this-month/2024-10/index.md index 975dcd0a..c7b53985 100644 --- a/content/this-month/2024-10/index.md +++ b/content/this-month/2024-10/index.md @@ -1,6 +1,6 @@ +++ title = "This Month in Rust OSDev: October 2024" -date = 2024-11-03 +date = 2024-11-14 [extra] month = "October 2024" @@ -32,6 +32,12 @@ Please follow this template: - (optional) Some additional context --> +- [This Month in Redox - October 2024](https://www.redox-os.org/news/this-month-241031/) +- [Smart pointers for the kernel](https://lwn.net/Articles/992055/) +- [On Rust in enterprise kernels](https://lwn.net/Articles/993337/) +- [Unsafe Rust Is Harder Than C](https://chadaustin.me/2024/10/intrusive-linked-list-in-rust/) +- [Version `v2.0.0` of `thiserror` released with `no_std` support](https://github.com/dtolnay/thiserror/releases/tag/2.0.0) + ## Infrastructure and Tooling In this section, we collect recent updates to `rustc`, `cargo`, and other tooling that are relevant to Rust OS development. @@ -43,6 +49,10 @@ In this section, we collect recent updates to `rustc`, `cargo`, and other toolin - (optional) Some additional context --> +- [Taking a raw ref (`&raw (const|mut)`) of a deref of pointer (`*ptr`) is always safe](https://github.com/rust-lang/rust/pull/129248) +- [mark some target features as 'forbidden' so they cannot be (un)set with `-Ctarget-feature`](https://github.com/rust-lang/rust/pull/129884) +- [make `unsupported_calling_conventions` a hard error](https://github.com/rust-lang/rust/pull/129935) + ## `rust-osdev` Projects @@ -60,6 +70,106 @@ In this section, we give an overview of notable changes to the projects hosted u <> --> +### [`uefi-rs`](https://github.com/rust-osdev/uefi-rs) +Maintained by [@GabrielMajeri](https://github.com/GabrielMajeri), [@nicholasbishop](https://github.com/nicholasbishop), and [@phip1611](https://github.com/phip1611) + +`uefi` makes it easy to develop Rust software that leverages safe, convenient, +and performant abstractions for UEFI functionality. + +We merged the following PRs this month: + +- [uefi-macros: Require that the entry function takes zero args](https://github.com/rust-osdev/uefi-rs/pull/1418) +- [uefi: Delete the deprecated `uefi::table::{boot,system}` modules](https://github.com/rust-osdev/uefi-rs/pull/1417) +- [uefi: Derive Eq/PartialEq for GptPartitionEntry](https://github.com/rust-osdev/uefi-rs/pull/1421) +- [uefi: Add CStr16 conversions from slices with interior nuls](https://github.com/rust-osdev/uefi-rs/pull/1422) +- [uefi: Improve the VariableKey type and iterator](https://github.com/rust-osdev/uefi-rs/pull/1424) +- [Update timeline section of funcs_migration.md](https://github.com/rust-osdev/uefi-rs/pull/1429) +- [xtask: Add action to generate a code coverage report](https://github.com/rust-osdev/uefi-rs/pull/1423) +- [nix: add cargo-llvm-cov to nix shell + niv update](https://github.com/rust-osdev/uefi-rs/pull/1439) +- [Codecov configuration updates](https://github.com/rust-osdev/uefi-rs/pull/1440) +- [Move DeviceType and DeviceSubType enums to uefi-raw](https://github.com/rust-osdev/uefi-rs/pull/1442) +- [Add device path node types to uefi-raw](https://github.com/rust-osdev/uefi-rs/pull/1445) +- [release: uefi-raw-0.9.0, uefi-macros-0.17.0, uefi-0.33.0](https://github.com/rust-osdev/uefi-rs/pull/1446) +- [Increase MSRV to 1.79](https://github.com/rust-osdev/uefi-rs/pull/1448) + + + + + + + + + + + + + + +### [`x86_64`](https://github.com/rust-osdev/x86_64) +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) + +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. + +We merged the following PRs this month: + +- [Remove stabilized `const_mut_refs` feature](https://github.com/rust-osdev/x86_64/pull/501) +- [Fix clippy warnings](https://github.com/rust-osdev/x86_64/pull/502) + + +### [`pci_types`](https://github.com/rust-osdev/pci_types) +Maintained by [@IsaacWoods](https://github.com/IsaacWoods) + +The `pci_types` library provides types for accessing and configuring PCI devices from Rust operating systems. We merged the following change this month: + +- [Add set bus number funcs](https://github.com/rust-osdev/pci_types/pull/36) + +Thanks to [@ZR233](https://github.com/ZR233) for their contributions! + + +### [`ovmf-prebuilt`](https://github.com/rust-osdev/ovmf-prebuilt) +Maintained by [@nicholasbishop](https://github.com/nicholasbishop) and [@phil-opp](https://github.com/phil-opp) + +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: + +- [Implement ovmf-prebuilt library](https://github.com/rust-osdev/ovmf-prebuilt/pull/92) +- [Add release workflow](https://github.com/rust-osdev/ovmf-prebuilt/pull/93) +- [release: 0.2.0](https://github.com/rust-osdev/ovmf-prebuilt/pull/96) +- [release: 0.2.0 (take two)](https://github.com/rust-osdev/ovmf-prebuilt/pull/98) + + + + + + + + + + +### [`multiboot2`](https://github.com/rust-osdev/multiboot2) +Maintained by [@phip1611](https://github.com/phip1611) + +_Convenient and safe parsing of Multiboot2 Boot Information (MBI) structures and +the contained information tags. Usable in no_std environments, such as a kernel. +An optional builder feature also allows the construction of the corresponding +structures._ + +We merged the following PRs this month: + + + +- [multiboot2: various small fixes and doc improvements](https://github.com/rust-osdev/multiboot2/pull/245) +- [multiboot2: bug fixes](https://github.com/rust-osdev/multiboot2/pull/246) + + +### [`acpi`](https://github.com/rust-osdev/acpi) +Maintained by [@IsaacWoods](https://github.com/IsaacWoods) + +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: + +- [Add `from_rsdt` method for `AcpiTables`.](https://github.com/rust-osdev/acpi/pull/222) + +Thanks to [@Hsy-Intel](https://github.com/Hsy-Intel) for their contributions! + ## Other Projects @@ -74,6 +184,7 @@ In this section, we describe updates to Rust OS projects that are not directly r ...<>... --> +_No updates were proposed for this section this month._ ## Join Us?