Skip to content

Commit

Permalink
trivial: Silence a warning
Browse files Browse the repository at this point in the history
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 <cross@gajendra.net>
  • Loading branch information
Dan Cross committed Dec 22, 2023
1 parent aee9a91 commit 4132029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theon/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(&regions));
Expand Down

0 comments on commit 4132029

Please # to comment.