Remove warnings

This commit is contained in:
Jeremy Soller 2016-08-17 16:54:48 -06:00
parent 78432b3875
commit b756dd59eb
6 changed files with 8 additions and 10 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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.