made significant upgrades to the rendering API. now need to move all applications to the new API and deprecate the old one.
This commit is contained in:
+2
-1
@@ -7,7 +7,7 @@
|
||||
use bootloader::{entry_point, BootInfo};
|
||||
use core::panic::PanicInfo;
|
||||
use CrystalOS::std::tasks::{Executor, Task};
|
||||
use CrystalOS::{printerr, std::syscall};
|
||||
use CrystalOS::{printerr, serial_println, std::syscall};
|
||||
extern crate alloc;
|
||||
use CrystalOS::user::bin::shell;
|
||||
|
||||
@@ -16,6 +16,7 @@ use CrystalOS::user::bin::shell;
|
||||
fn panic(_info: &PanicInfo) -> ! {
|
||||
syscall::terminal_mode_force();
|
||||
printerr!("{}", _info);
|
||||
serial_println!("{}", _info);
|
||||
CrystalOS::hlt();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user