codecheck: Fix warnings
This commit is contained in:
parent
790c45ecb6
commit
fa676157da
3 changed files with 3 additions and 5 deletions
|
@ -8,7 +8,6 @@ pub mod plic;
|
||||||
|
|
||||||
pub use block::BLOCK_DEVICE;
|
pub use block::BLOCK_DEVICE;
|
||||||
pub use bus::*;
|
pub use bus::*;
|
||||||
pub use chardev::UART;
|
|
||||||
pub use gpu::*;
|
pub use gpu::*;
|
||||||
pub use input::*;
|
pub use input::*;
|
||||||
pub use net::*;
|
pub use net::*;
|
||||||
|
|
|
@ -11,6 +11,6 @@ pub trait File: Send + Sync {
|
||||||
fn write(&self, buf: UserBuffer) -> usize;
|
fn write(&self, buf: UserBuffer) -> usize;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub use inode::{list_apps, open_file, OSInode, OpenFlags, ROOT_INODE};
|
pub use inode::{list_apps, open_file, OpenFlags};
|
||||||
pub use pipe::{make_pipe, Pipe};
|
pub use pipe::make_pipe;
|
||||||
pub use stdio::{Stdin, Stdout};
|
pub use stdio::{Stdin, Stdout};
|
||||||
|
|
|
@ -7,12 +7,11 @@ mod page_table;
|
||||||
pub use address::VPNRange;
|
pub use address::VPNRange;
|
||||||
pub use address::{PhysAddr, PhysPageNum, StepByOne, VirtAddr, VirtPageNum};
|
pub use address::{PhysAddr, PhysPageNum, StepByOne, VirtAddr, VirtPageNum};
|
||||||
pub use frame_allocator::{frame_alloc, frame_alloc_more, frame_dealloc, FrameTracker};
|
pub use frame_allocator::{frame_alloc, frame_alloc_more, frame_dealloc, FrameTracker};
|
||||||
pub use memory_set::remap_test;
|
|
||||||
pub use memory_set::{kernel_token, MapArea, MapPermission, MapType, MemorySet, KERNEL_SPACE};
|
pub use memory_set::{kernel_token, MapArea, MapPermission, MapType, MemorySet, KERNEL_SPACE};
|
||||||
use page_table::PTEFlags;
|
use page_table::PTEFlags;
|
||||||
pub use page_table::{
|
pub use page_table::{
|
||||||
translated_byte_buffer, translated_ref, translated_refmut, translated_str, PageTable,
|
translated_byte_buffer, translated_ref, translated_refmut, translated_str, PageTable,
|
||||||
PageTableEntry, UserBuffer, UserBufferIterator,
|
PageTableEntry, UserBuffer,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn init() {
|
pub fn init() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue