Update main.rs
This commit is contained in:
@@ -30,6 +30,7 @@ entry_point!(main);
|
|||||||
fn main(boot_info: &'static BootInfo) -> ! {
|
fn main(boot_info: &'static BootInfo) -> ! {
|
||||||
CrystalOS::start(boot_info);
|
CrystalOS::start(boot_info);
|
||||||
|
|
||||||
|
// runs the 'mainloop' of the OS;
|
||||||
let mut executor = Executor::new();
|
let mut executor = Executor::new();
|
||||||
executor.spawn(Task::new(shell::command_handler()));
|
executor.spawn(Task::new(shell::command_handler()));
|
||||||
loop {
|
loop {
|
||||||
|
|||||||
Reference in New Issue
Block a user