kupdate
This commit is contained in:
parent
4518e7ef5e
commit
e8221f8513
|
@ -58,7 +58,7 @@ impl log::Log for SimpleLogger {
|
|||
record.args(),
|
||||
);
|
||||
|
||||
println!("{msg}");
|
||||
// println!("{msg}");
|
||||
|
||||
if KERNEL_CONF.logging.log_to_serial {
|
||||
serial_println!(
|
||||
|
|
|
@ -10,6 +10,7 @@ use crate::devices::pci::brute_force_scan;
|
|||
use crate::image::mono_bitmap::bruh;
|
||||
use crate::systeminfo::{KERNEL_VERSION, RELEASE_TYPE};
|
||||
use crate::time::fetch_time;
|
||||
use crate::KERNEL_STATE;
|
||||
use crate::{
|
||||
arch::shutdown, filesystem::FILE_SYSTEM, rhai_shell::KEYBUFF, vterm::VTerm,
|
||||
wasm_jumploader::run_program,
|
||||
|
@ -82,6 +83,7 @@ pub fn scratchpad() {
|
|||
|
||||
disable();
|
||||
let tick_time = fetch_time();
|
||||
let hostname = &KERNEL_STATE.lock().hostname;
|
||||
|
||||
let allocator = ALLOCATOR.lock();
|
||||
let size = allocator.size();
|
||||
|
@ -92,7 +94,7 @@ pub fn scratchpad() {
|
|||
println!(
|
||||
"{}
|
||||
,-------. OS: \0BLUE\0AbleOS\0RESET\0
|
||||
,'\\ _ _`. Host: None
|
||||
,'\\ _ _`. Host: \0PINK\0{}\0RESET\0
|
||||
/ \\)_)-)_)-\\ Kernel: \0RED\0AKern-{}-v{}\0RESET\0
|
||||
: : Uptime: \0GREEN\0{}\0RESET\0
|
||||
\\ / Packages: None
|
||||
|
@ -106,6 +108,7 @@ pub fn scratchpad() {
|
|||
// include_str!("../assets/balloon.txt"),
|
||||
// kstate.hostname,
|
||||
BANNER_WIDTH,
|
||||
hostname,
|
||||
RELEASE_TYPE,
|
||||
KERNEL_VERSION,
|
||||
tick_time,
|
||||
|
|
Loading…
Reference in a new issue