- added a new API for switching between terminal and application mode

- removed unneeded imports to reduce the dumb amount of warnings from the compiler
- added a bounds check in frame.rs to avoid a panic when a frame tries to render a character out of bounds, instead returning an error
This commit is contained in:
FantasyPvP
2024-03-22 00:12:15 +00:00
parent 5c6ec299ee
commit d5d9e031d5
29 changed files with 439 additions and 436 deletions
+1 -5
View File
@@ -7,7 +7,7 @@
use bootloader::{entry_point, BootInfo};
use core::panic::PanicInfo;
use CrystalOS::std::tasks::{Executor, Task};
use CrystalOS::{print, print_log, printerr, println, println_log, std::syscall};
use CrystalOS::{printerr, std::syscall};
extern crate alloc;
use CrystalOS::user::bin::shell;
@@ -40,9 +40,5 @@ fn main(boot_info: &'static BootInfo) -> ! {
loop {
executor.try_run();
}
loop {}
}