Remove block device test.
This commit is contained in:
parent
1ad242a886
commit
15bc00732c
3 changed files with 2 additions and 2 deletions
|
@ -20,6 +20,7 @@ lazy_static! {
|
|||
pub static ref BLOCK_DEVICE: Arc<dyn BlockDevice> = Arc::new(BlockDeviceImpl::new());
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn block_device_test() {
|
||||
let block_device = BLOCK_DEVICE.clone();
|
||||
let mut write_buffer = [0u8; 512];
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
mod block;
|
||||
|
||||
pub use block::{BLOCK_DEVICE, block_device_test};
|
||||
pub use block::BLOCK_DEVICE;
|
|
@ -44,7 +44,6 @@ pub fn rust_main() -> ! {
|
|||
println!("[kernel] Hello, world!");
|
||||
mm::init();
|
||||
mm::remap_test();
|
||||
drivers::block_device_test();
|
||||
task::add_initproc();
|
||||
trap::init();
|
||||
trap::enable_timer_interrupt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue