fix: cleanup
This commit is contained in:
+1
-6
@@ -15,6 +15,7 @@ use crate::{
|
||||
};
|
||||
|
||||
#[derive(Debug)]
|
||||
#[allow(unused)]
|
||||
enum KernelStackCreateError {
|
||||
AddressOverflow,
|
||||
OutOfFrames,
|
||||
@@ -194,12 +195,6 @@ pub unsafe extern "C" fn kernel_main(handoff: *mut KernelHandoff) -> ! {
|
||||
|
||||
println!("interrupt controller: {:?}", interrupt_controller);
|
||||
|
||||
println!("delaying 5 seconds...");
|
||||
interrupt_controller
|
||||
.delay(core::time::Duration::from_secs(5))
|
||||
.unwrap();
|
||||
println!("done!");
|
||||
|
||||
hcf();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user