8000
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.
inline(never)
1 parent 8f5bd4e commit 2ebe789Copy full SHA for 2ebe789
bios/stage-4/src/main.rs
@@ -262,6 +262,9 @@ fn detect_rsdp() -> Option<PhysAddr> {
262
#[derive(Clone)]
263
struct IdentityMapped;
264
impl AcpiHandler for IdentityMapped {
265
+ // TODO FIXME: This inline(never) annotation is required. Without it,
266
+ // LLVM replaces the `search_for_on_bios` call below with a `ud2`
267
+ // instruction. See https://github.com/rust-osdev/bootloader/issues/425
268
#[inline(never)]
269
unsafe fn map_physical_region<T>(
270
&self,
0 commit comments