Fix some clippy errors

This commit is contained in:
2025-03-03 14:53:30 +00:00
parent 5703032f87
commit 2d3bc56962
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use x86_64::{
};
use crate::arch::x86_64::cpu::msr::*;
use crate::arch::x86_64::memory::memory::{FRAME_ALLOCATOR, OFFSET_PAGE_TABLE};
use crate::arch::x86_64::memory::{FRAME_ALLOCATOR, OFFSET_PAGE_TABLE};
const IA32_APIC_BASE_MSR: u32 = 0x1b;
const IA32_APIC_BASE_MSR_BSP: u64 = 0x100;
+1 -1
View File
@@ -6,7 +6,7 @@ use x86_64::structures::paging::mapper::MapperFlushAll;
use x86_64::structures::paging::{FrameAllocator, Mapper, Page, PageTableFlags, Size4KiB};
use super::gdt;
use crate::arch::x86_64::memory::memory::{FRAME_ALLOCATOR, OFFSET_PAGE_TABLE};
use crate::arch::x86_64::memory::{FRAME_ALLOCATOR, OFFSET_PAGE_TABLE};
use crate::{println_log, serial_println};
use spin::{Lazy, Mutex};