From 41320292d76fb7802d8f2b346f020cf1c94aeb7f Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 22 Dec 2023 19:20:23 +0000 Subject: [PATCH] trivial: Silence a warning Something that was created was not referenced, which caused a lint, which fails CI. This trivial change just references the thing that was created but previously unreferenced. Signed-off-by: Dan Cross --- theon/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theon/src/main.rs b/theon/src/main.rs index 0f1e012..e4de3b0 100644 --- a/theon/src/main.rs +++ b/theon/src/main.rs @@ -140,7 +140,7 @@ const BINARY_LOAD_REGION_END: HPA = load_addr(BINARY_TABLE.len()); #[cfg_attr(not(test), no_mangle)] pub extern "C" fn main(mbinfo_phys: u64) -> ! { arch::lapic::enable_x2apic(); - let multiboot = x86_64::pc::init::start(mbinfo_phys); + let multiboot = x86_64::platform::init::start(mbinfo_phys); let crate::x86_64::pc::multiboot1::InitInfo { memory_regions, regions, modules } = multiboot.info(); assert!(theon_fits(®ions));