Remove warnings
This commit is contained in:
parent
78432b3875
commit
b756dd59eb
6 changed files with 8 additions and 10 deletions
|
@ -2,9 +2,7 @@
|
|||
//! Code to parse the ACPI tables
|
||||
|
||||
use core::intrinsics::{atomic_load, atomic_store};
|
||||
use x86::controlregs;
|
||||
|
||||
use allocator::{HEAP_START, HEAP_SIZE};
|
||||
use memory::Frame;
|
||||
use paging::{entry, ActivePageTable, Page, PhysicalAddress, VirtualAddress};
|
||||
use start::kstart_ap;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
use core::marker::PhantomData;
|
||||
use core::ops::{Index, IndexMut};
|
||||
|
||||
use memory::{allocate_frame, deallocate_frame};
|
||||
use memory::allocate_frame;
|
||||
|
||||
use super::entry::*;
|
||||
use super::ENTRY_COUNT;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! Temporarily map a page
|
||||
//! From [Phil Opp's Blog](http://os.phil-opp.com/remap-the-kernel.html)
|
||||
|
||||
use memory::{Frame, FrameAllocator};
|
||||
use memory::Frame;
|
||||
|
||||
use super::{ActivePageTable, Page, VirtualAddress};
|
||||
use super::entry::EntryFlags;
|
||||
|
|
|
@ -8,7 +8,7 @@ use allocator::{HEAP_START, HEAP_SIZE};
|
|||
use externs::memset;
|
||||
use gdt;
|
||||
use idt;
|
||||
use memory::{self, FrameAllocator};
|
||||
use memory;
|
||||
use paging::{self, entry, Page, VirtualAddress};
|
||||
|
||||
/// Test of zero values in BSS.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue