内容简介:Welcome to a new issue ofThis series is openly developedIn this section, we give an overview of notable changes to the projects hosted under the
Welcome to a new issue of "This Month in Rust OSDev" . In these posts, we will give a regular overview of notable changes in the Rust operating system development ecosystem.
This series is openly developed on GitHub . 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 .
Project Updates
In this section, we give an overview of notable changes to the projects hosted under the
rust-osdev
organization.
x86_64
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.
In June, the crate received some smaller improvements:
-
Remove needless
try_into
calls to fix clippy warnings - Correct Cr2::read documentation
-
Export
PhysAddrNotValid
andVirtAddrNotValid
(published asv0.11.1
)
Thanks to @samueltardieu and @leecannon for their contributions!
cargo-xbuild
The cargo-xbuild
project provides cargo
command wrappers to cross-compile the sysroot crates core
and alloc
. This month, support for the cargo-features
manifest key was added and a deprecated dependency was replaced:
-
Propagate
cargo-features
from project's Cargo.toml (published asv0.5.34
) -
Replace tempdir with tempfile
(published as
v0.5.35
)
Thanks to @eggyal and @Eijebong for these contributions!
bootloader
The
bootloader
crate
implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we fixed a newly introduced Rust warning:
-
Rename
_improper_ctypes_check
functions (published asv0.9.5
)
Thanks to @Freax13 for this contribution!
While we do not have to report any news yet, we are still working on a rewrite of the crate in order to make it more robust (use Rust instead of assembly for boot stages) and composable (in order to add UEFI and multiboot2 support).
acpi
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. This month, the crate received two small improvements to the RSDP
-related code:
uefi
The uefi
crate provides abstractions for the
UEFI
standard that replaces the traditional BIOS on modern systems. This month, the contribution docs were extended with information how to add new UEFI protocols:
Personal Projects
In this section, we describe updates to personal projects that are not directly related to the rust-osdev
organization. Feel free to create a pull request
with the updates of your OS project for the next post.
phil-opp/blog_os
(Section written by @phil-opp )
In June, I pushed two small improvements to the blog_os
repository and the Writing an OS in Rust
blog:
- Create a testable trait for printing test messages automatically . This required updates to some blog posts:
- Do a volatile read in stack_overflow test to avoid tail recursion . This required an update to the Double Faults post:
There were also lots of small contributions this month that fixed typos and dead links and updated the Chinese translation. Thanks a lot to all contributors!
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 gitter channel
.
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Java 8实战
厄马(Raoul-Gabriel Urma)、弗斯科(Mario Fusco)、米克罗夫特(Alan Mycroft) / 陆明刚、劳佳 / 人民邮电出版社 / 2016-4-1 / CNY 79.00
本书全面介绍了Java 8 这个里程碑版本的新特性,包括Lambdas、流和函数式编程。有了函数式的编程特性,可以让代码更简洁,同时也能自动化地利用多核硬件。全书分四个部分:基础知识、函数式数据处理、高效Java 8 编程和超越Java 8,清晰明了地向读者展现了一幅Java 与时俱进的现代化画卷。一起来看看 《Java 8实战》 这本书的介绍吧!