We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577c622 commit c769ad0Copy full SHA for c769ad0
crates/kernel/src/lib.rs
@@ -5,7 +5,7 @@
5
#![feature(maybe_uninit_uninit_array)]
6
#![feature(int_roundings)]
7
#![feature(generic_const_exprs)]
8
-#![feature(ptr_to_from_bits)]
+#![feature(strict_provenance)]
9
#![feature(naked_functions)]
10
11
#[macro_use]
crates/kernel/src/timer.rs
@@ -47,7 +47,7 @@ fn get_lapic_frequency(acpi2_rsdp: Option<*const core::ffi::c_void>) -> Result<u
47
48
fn unmap_physical_region<T>(region: &acpi::PhysicalMapping<Self, T>) {}
49
}
50
- let table = unsafe { acpi::AcpiTables::from_rsdp(Handler, rsdp.to_bits())? };
+ let table = unsafe { acpi::AcpiTables::from_rsdp(Handler, rsdp.addr())? };
51
let timer = table
52
.platform_info()?
53
.pm_timer
0 commit comments