You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/this-month/2021-05/index.md
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ month = "May 2021"
7
7
authors = [
8
8
"phil-opp",
9
9
"GabrielMajeri",
10
+
"IsaacWoods",
10
11
"toku-sa-n",
11
12
# add yourself here
12
13
]
@@ -55,6 +56,21 @@ The `xhci` crate provides types of xHCI structures such as Contexts, Extended Ca
55
56
56
57
In May we finished implementing all of these structures and field getters/setters. Still there may exist missings. If you find one, feel free to send a PR!
57
58
59
+
### [`acpi`](https://github.com/rust-osdev/acpi)
60
+
61
+
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.
62
+
63
+
This month was fairly quiet, but an important regression was fixed. When native methods were introduced in March,
64
+
`AmlContext` lost its `Send + Sync`, as these native methods weren't required to be thread-safe. This meant that
65
+
`AmlContext` could no longer be stored in types such as `spin::Once`, or shared between threads/tasks. This is
66
+
undesirable for `AmlContext`, as it is very expensive to construct, and AML does (in theory) provide mechanisms to
67
+
make itself thread-safe, so any probject should only need one.
68
+
69
+
This was fixed by requiring native methods to be `Send + Sync`. If you're hitting this issue, please upgrade to the
70
+
latest version. <spanclass="gray">(published as `v0.13.0`)</span>
71
+
72
+
Thanks to [@michaelmelanson](https://github.com/michaelmelanson) for his contribution!
73
+
58
74
## Call for Participation
59
75
60
76
Want to contribute to a Rust OSDev project, but don't know where to start? Pick up one of these outstanding
@@ -65,11 +81,8 @@ Please use the following template for adding items:
0 commit comments