Remove garbage coloring from various pre-display bits
This commit is contained in:
parent
5404428b4a
commit
17bcf67667
|
@ -14,9 +14,7 @@ void
|
|||
dump_multiboot(
|
||||
struct multiboot *mboot_ptr
|
||||
) {
|
||||
brighttextcolor();
|
||||
kprintf("MULTIBOOT header at 0x%x:\n", (uintptr_t)mboot_ptr);
|
||||
resettextcolor();
|
||||
kprintf("Flags : 0x%x ", mboot_ptr->flags);
|
||||
kprintf("Mem Lo: 0x%x ", mboot_ptr->mem_lower);
|
||||
kprintf("Mem Hi: 0x%x ", mboot_ptr->mem_upper);
|
||||
|
@ -41,7 +39,6 @@ dump_multiboot(
|
|||
kprintf("VBE se: 0x%x ", mboot_ptr->vbe_interface_seg);
|
||||
kprintf("VBE of: 0x%x ", mboot_ptr->vbe_interface_off);
|
||||
kprintf("VBE le: 0x%x\n", mboot_ptr->vbe_interface_len);
|
||||
brighttextcolor();
|
||||
if (mboot_ptr->flags & (1 << 2)) {
|
||||
kprintf("Started with: %s\n", (char *)mboot_ptr->cmdline);
|
||||
}
|
||||
|
@ -65,6 +62,5 @@ dump_multiboot(
|
|||
}
|
||||
}
|
||||
}
|
||||
resettextcolor();
|
||||
}
|
||||
|
||||
|
|
|
@ -161,9 +161,9 @@ start_shell() {
|
|||
} else if (!strcmp(cmd, "info")) {
|
||||
kprintf("Flags: 0x%x\n", node->flags);
|
||||
} else if (!strcmp(cmd, "help")) {
|
||||
settextcolor(9,0);
|
||||
kprintf("\033[1;34m");
|
||||
kprintf(" - ToAruOS Kernel Debug Shell - \n");
|
||||
resettextcolor();
|
||||
kprintf("\033[0m");
|
||||
kprintf(" This is the ToAruOS kernel debugging environment.\n");
|
||||
kprintf(" From here, you have access to the virtual file system layer and \n");
|
||||
kprintf(" can read files, list files in directories, dump memory, registers,\n");
|
||||
|
|
|
@ -112,7 +112,6 @@ int main(struct multiboot *mboot_ptr, uint32_t mboot_mag, uintptr_t esp)
|
|||
syscalls_install();
|
||||
|
||||
/* Kernel Version */
|
||||
settextcolor(12, 0);
|
||||
kprintf("[%s %s]\n", KERNEL_UNAME, KERNEL_VERSION_STRING);
|
||||
|
||||
if (boot_mode == multiboot) {
|
||||
|
|
Loading…
Reference in New Issue